What should I write in the DELIVERY variable in ~/.tmda/config??
I'm using Postfix/Cyrus/Spamassassin...
When the SpamAssassin script finishes, it's posted back to postfix via sendmail...
How'll I do something like this with the DELIVERY var??
I'm currently testing with TMDA inserting the message back into procmail, and then being delivered to Cyrus.
(and it works fine)
Procmail will use the postfix sendmail-compatibility interface to put the message up for final delivery, with some testing rules available to be able to select the folder where the message needs to be put in directly.
My DELIVER line for that is: deliver=| /usr/local/bin/procmail $HOME/Procmail/rc.aftertmda
An example of rc.aftertmda:
# # If it's to nivo+test, drop it in the correct mailbox # :0 * ^TO_nivo\+test ! [EMAIL PROTECTED]
# Else just drop it in the main mailbox :0 E ! [EMAIL PROTECTED]
In my postfix config, cyrus.yuckfou.org has a nexthop of the Cyrus lmtpd (unix socket).
I'm still seeing if this kind of setup would cause massive scalability issues, but don't think so .. the user-based procmail can be converted into a system-wide one and at that point in /etc/tmdarc the DELIVER could be set to head messages off to [EMAIL PROTECTED]
HTH,
Nils.
--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and dance like no one can see you.
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
