hi

having setup dspam with postfix [1], added a line to /etc/aliases [2] for learning purposes, dspam works well. sometimes, though, I see dspam flag messages sent to [EMAIL PROTECTED] as spam instead of learning from them.

can someone please help me out? it seems i need to find a way to force postfix to expand aliases before handing the email to the content filter.

regards

roy
---
[1] postfix config

smtp      inet  n       -       -       -       -       smtpd
            -o content_filter=lmtp:unix:/tmp/dspam.sock
localhost:10026 inet  n -       -       -       -        smtpd
  -o content_filter=
-o receive_override_options=no_unknown_recipient_checks,no_header_body_chec ks
  -o smtpd_helo_restrictions=
  -o smtpd_client_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
  -o smtpd_authorized_xforward_hosts=127.0.0.0/8

[2] /etc/aliases entry

spam:"|/usr/local/bin/dspam --user=shared --class=spam --source=error"

Reply via email to