My dspam version is 3.68 I am at a loss. I am forwarding an email I consider spam to [email protected]. The orginal email came to [email protected]. The mail client used to forward the email is on mynetwork and outgoing stmp points to dspam server. My
mysql> select * from dspam_virtual_uids; +-----+---------------------+ | uid | username | +-----+---------------------+ | 2 | [email protected] | +-----+---------------------+ Do I need to add this entry ( 2, [email protected]) ,to this table? main.cf local_recipient_maps = local_transport = error:local mail delivery is disabled myhostname = mail.abc.com mynetworks = 127.0.0.0/8 192.168.3.0/24 192.168.1.0/24 dspam_destination_recipient_limit = 1 parent_domain_matches_subdomains = debug_peer_list, smtpd_access_maps smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, check_recipient_access pcre:/etc/postfix/dspam_check_aliases, check_sender_access pcre:/etc/postfix/dspam_check_aliases smtpd_client_restrictions = check_client_access pcre:/etc/postfix/dspam_filter_access nested_header_checks= transport_maps = pcre:/etc/postfix/dspam-retrain.pcre hash:/etc/postfix/transport virtual_transport = lmtp:unix:/tmp/dspam.sock virtual_mailbox_domains = abc.com def.com virtual_mailbox_maps = mysql:/etc/postfix/vmailbox.cf :/etc/postfix/dspam-retrain.pcre /^(spam|junk)\...@.*$/ dspam-retrain:spam /^(notspam|ham)\...@.*$/ dspam-retrain:innocent :/etc/postfix/transport abc.com smtp:mail2.abc.com def.com smtp: mail2.def.com /etc/postfix/dspam_check_aliases /^.*(spam|ham)@.*$/ REJECT /etc/postfix/dspam_filter_access /^(spam|ham)@.*$/ OK # The rest is redirected to be filtered /./ FILTER dspam:dspam master.cf smtp inet n - n - - smtpd -o content_filter=lmtp:unix:/tmp/dspam.sock localhost:10026 inet n - n - - smtpd -o content_filter= -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks -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 pickup fifo n - - 60 1 pickup cleanup unix n - - - 0 cleanup qmgr fifo n - n 300 1 qmgr #qmgr fifo n - - 300 1 oqmgr tlsmgr unix - - - 1000? 1 tlsmgr rewrite unix - - - - - trivial-rewrite bounce unix - - - - 0 bounce defer unix - - - - 0 bounce trace unix - - - - 0 bounce verify unix - - - - 1 verify flush unix n - - 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - - - - smtp relay unix - - - - - smtp -o smtp_fallback_relay= showq unix n - - - - showq error unix - - - - - error retry unix - - - - - error discard unix - - - - - discard #local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - - - - lmtp anvil unix - - - - 1 anvil scache unix - - - - 1 scache maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient scalemail-backend unix - n n - 2 pipe flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension} mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} dspam unix - n n - - pipe flags=Ru user=dspam argv=/usr/bin/dspam --client --deliver=innocent,spam --user ${recipient} --mail-from=${sender} dspam-retrain unix - n n - - pipe flags=Rhq user=dspam argv=/usr/bin/dspam --class=${nexthop} --source=error --deliver=spam,innocent --stdout
------------------------------------------------------------------------------
_______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
