I resend that question to the mailing list, because i need a solution.
Sorry. Anyone have an idea of how to do that?
The situation right now is:
Dspam is called by an smtpd restriction filter, like this in main.cf:
smtpd_recipient_restrictions =
#check_recipient_access hash:/etc/postfix/vacation,
check_recipient_access hash:/etc/postfix/dspam_learning,
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_unauth_destination,
check_policy_service inet:127.0.0.1:10031 (that is postgrey)
check_recipient_access hash:/etc/postfix/dspam_users
/etc/postfix/dspam_users
domain.net FILTER dspam:
/etc/postfix/dspam_learning
[EMAIL PROTECTED] FILTER spam:
[EMAIL PROTECTED] FILTER nospam:
/etc/postfix/master.cf
dspam unix - n n - 10 pipe
flags=u user=nobody argv=/usr/bin/dspam --deliver=innocent
--feature=noise,chained --user ${recipient}
spam unix - n n - - pipe
flags=u user=nobody argv=/usr/bin/dspam --class=spam --source=error
--user spam
nospam unix - n n - - pipe
flags=u user=nobody argv=/usr/bin/dspam --class=innocent --source=error
--user spam
Vacation (is vacation.pl contained in postfixadmin) is called by that
manner:
in /etc/postfix/transport
autoreply.domain.net vacation:
postfixadmin when a vacation is activated, adds an alias to the user
like user [EMAIL PROTECTED]@autoreply.domain.net, it matches the transport
and triggers the vacation.pl script.
But it was triggered before dspam, so it reply also to all the spam,
with so many "undeliverable mail" errors and similar things... and this
is no good.
I need to vacation be triggered only after dspam, so it responds to the
good mails and not to the bad mails.
Thank u,
Claudio Prono.
--
------------
Claudio Prono
Systems Development @ Atpss.net Srl, Divisione Implementazione Sistemi
Via San Bernardino, 17 - 10137 Torino (TO) - IT
Tel +39-011.32.72.100 Fax +39-011.32.46.497
PGP Fingerprint: 75C2 4049 E23D 2FBF A65F 40DB EA5C 11AC C2B0 3647
Disclaimer: http://atpss.net/disclaimer
------------