"Mitch (WebCob)" <[EMAIL PROTECTED]> writes: >> On Behalf Of Jason R. Mastaler >> >> "Mitch (WebCob)" <[EMAIL PROTECTED]> writes: >> >> > can I do this rewrite directly witha tmda program or do I have to >> > wrap it somehow? >> >> I'm not sure what you mean. You'd feed the message to the >> tmda-sendmail program. > > I don't think courier works that way... I can run a maildrop filter on > outgoing mail, just like on incoming mail - but this is different from the > exim system... I meant is there a way to pipe through a tmda program to > effect this rewriting?
You're correct. Neither tmda-sendmail (the wrapper script) nor tmda-inject (the workhorse) work as a filter. Rather, they model the behavior of the sendmail program. >> > Maybe I do - maybe I don't. If tmda-ofmipd will suid to the >> > authenticated users id, then i'd be fine - doubt you guys are doing >> > that though... Actually, tmda-ofmipd does exactly that. tmda-sendmail/tmda-inject are designed to run as the user and tmda-ofmipd must setuid to the appropriate user before running tmda-inject, otherwise it has no idea which crypt_key to use. >> > Everything except cron jobs are typically submitted through >> > authenticated smtp - even when on localhost. >> > >> > Is this easy to add / config? >> >> Are you asking how to make tmda-ofmipd use SMTP AUTH when injecting >> the message into the SMTP server rather than the default of >> /usr/sbin/sendmail? > > In a long winded way - yes - sorry for the muddled ramblings. See (in this order) http://tmda.net/config-vars.html#MAIL_TRANSPORT http://tmda.net/config-vars.html#SMTPHOST http://tmda.net/config-vars.html#SMTPAUTH_USERNAME http://tmda.net/config-vars.html#SMTPAUTH_PASSWORD Tim _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
