Sending to pe...@example.org works with these SA settings in master.cf:
smtp inet n - y - - smtpd
-o content_filter=spamassassin
-o receive_override_options=no_address_mappings
spamassassin unix - n n - - pipe
user=debian-spamd argv=/usr/bin/spamc -u ${user} -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}
However, sending the same email to both pe...@example.org and
pe...@example.org results in neither user receiving the email.
I can fix this problem by removing the -u ${user} bit from the master.cf
file (see above). Once removed, both recipients receive the email.
How can I get the best of both worlds and get per-user SA settings and
actually get email delivered? I tried removing the "-o
receive_override_options=no_address_mappings" line but that didn't help.
Thanks.