Patrick Starrenburg <[EMAIL PROTECTED]> writes: > I am thinking about how to create a "router" (transport for mail) in > Exim 4.x which will allow non-Unix MUAs to send mail normally to the > (Exim) SMTP server instead of through tmda-ofmipd. > > This will simply things on the server side and help with having a > single system installation. It may also help with performance (?)
Cool idea, let us know how it turns out. Probably not much performance improvement, since most of the overhead will be in what tmda-inject does after Exim hands the message off to tmda-sendmail. The tmda-ofmipd daemon is fairly high performance. > I am looking at the Exim side of things but I have a couple of > things I need to clarify about tmda-sendmail and how it processes > mail. When a Linux MUA calls tmda-sendmail it (tmda-sendmail): > > 1) runs in system authority context of user account? Yes. Things will be much easier for you if you're able to make Exim run tmda-inject run under the sending user's uid. > 2) tmda-sendmail looks at sending user name and processes various > white/black lists etc. to determine if and how the sender address is > rewritten? Anything else? Not really looks at the sending user, but rather "~". Many of the default locations are based upon "~". Things again will be much easier if the HOME environment variable is set correctly to the user's home directory first. Also, tmda-sendmail is merely a wrapper that accepts /usr/sbin/sendmail style command-line arguments that Unix MUAs pass in. The real work is done by tmda-inject. You should probably have Exim invoke tmda-inject instead as the wrapper isn't relevant. This is what tmda-ofmipd does. > 3) tmda-sendmail then sends modified email message to actual MTA, by > what process? SMTP connection (don't believe it is this) or other > means? By default, an SMTP connection to localhost:25, but this can be modified in many ways. See http://tmda.net/config-vars.html#OUTGOINGMAIL http://tmda.net/config-vars.html#SMTPHOST _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
