logs archiveIRC Archive / Freenode / #exim / 2010 / May / 26 / 1
mtrg
Hello. Could someone guide me where can I learn exim's internal archeticture? I am aiming at customizing exim for research porposes. Plan B is developping another MTA
petemc
the source code
mtrg
I wanted to know an easier way
petemc
the spec
mtrg
IIRC that is about how to use it
petemc
it also details how it works
try reading it
mtrg
is exim the most flexible MTA?
petemc
i would say so
mtrg
I was aiming to build an MTA that executes external applications on per SMTP command basis
e.g. an executable that handles EHLO, another MAIL FROM..etc
anotehr that just prints lists of avaiable commands
         

petemc
exim is monolithic, qmail and postfix are modular
mtrg
I think with exim, the whole thing is done in smtp_in.c?
petemc
i dont know the source
mtrg
petemc: means, exim is harder to modify?
petemc
thats not what i meant
exim offers a more fine grained control of incoming mail than any other mta im aware of, and can invoke other programs
mtrg
petemc: let's say I want to add a new SMTP command, server says TESTCOMMA, and client responds with TESTCOMMB -- how to do it beside modifying source code of exim?
petemc
im not sure you could
tho i dont know for sure
you've asked this before..
mtrg
and I couldn't find a clear answer from my readings
petemc
you could ask on exim-users
the mailing list
mtrg
i keep forgetting doing that
since I enjoy irc spoon feeding most :P
will mail them -- thank petemc
petemc
np
Baughn
How would I set up exim so all (all!) email to my machine is simply forwarded to another address?
henk
Baughn: by reading the docs, thinking about what you need to do and what tools you have, writing the appropriate configuration and asking here in case you encounter problems.
Baughn
I could do that, but I'd probably get it wrong..
Oh well.
henk: http://hpaste.org/fastcgi/hpaste.fcgi/view?id=25711 <-- Well, sticking this in the router section seems to work. I hope.
..I'm stuck on figuring out how to redirect mail to just /some/ addresses, though.
(I want to reject mail to any others)
"2010-05-26 05:29:10 failed to expand condition "${if eq {$local_part}{threetoe} }" for redirect_zach router: missing or misplaced { or }" <-- What's wrong with this, exactly?
henk
syntax...
Baughn
It's the exact same thing in the example, though
henk
${if eq {$local_part}{postmaster} {yes}{no} }
yes? exactly the same?
Baughn
Okay, almost exactly.
It also says "The second string need not be present"
henk
yes, and?
Baughn
..is it lying?
         

henk
no
Baughn
Then I don't understand.
Though adding the {yes}{no} got rid of the syntax error.
henk
${if <condition> {<string1>}{<string2>}}
The second string need not be present
"second string" == {<string2>}
NOT {<string1>}{<string2>}
Baughn
Oh.
newb0
Hello! I have exim at a Debian machine. I simple need my system messages go to my company email. See, my machine is local, I just want exim send mail to my oficial mailbox (I will test PHP scripts here too, I want test them). Somebody can help me with this?
CunningPike
newb0: Check out /etc/aliases
« prev next »