Hello,
I was using spamassassin+smtpd for a while and everything worked as
expected. Now I added support for more tan one domain and incoming mails
are locked into allop, I can't figure out why.
Here is my /etc/mail/smtpd.conf
table aliases file:/etc/mail/aliases
table virtuals file:/etc/mail/virtuals
table domains file:/etc/mail/domains
pki certsssl key "/etc/ssl/acme/private/mydomain.net-privkey.pem"
pki certsssl certificate "/etc/ssl/acme/mydomain.net-fullchain.pem"
ca certsssl certificate "/etc/ssl/acme/mydomain.net-fullchain.pem"
listen on lo0 port 10028 tag DKIM
listen on lo0 port 10026 tag NOSPAM
listen on lo0
listen on re0 port smtp tls pki certsssl
listen on re0 port submission tls-require pki certsssl auth
accept from local for local alias <aliases> deliver to maildir
"~/Maildir"
accept tagged NOSPAM for domain <domains> virtual <virtuals> deliver to
maildir "/mnt/bigstorage/vmail/%{dest.domain}/%{dest.user}/Maildir"
accept from any for domain <domains> relay via smtp://127.0.0.1:10025
accept tagged DKIM for any relay
accept from local for any relay via smtp://127.0.0.1:10027
table virtuals contains :
[email protected] user1
[email protected] user2
and table domains contains :
mydomain.net
otherdomain.net
In logs, I can see such messages
May 13 08:10:39 master smtpd[22622]: 9d2709d2fddd9a03 smtp
event=message address=127.0.0.1 host=localhost msgid=f23a6ab6
from=<[email protected]> to=<[email protected]> size=4665 ndest=1 proto=ESMTP
May 13 08:10:39 master smtpd[22622]: 9d2709d115477347 mta
event=delivery evpid=2fc2606678f20fd0 from=<[email protected]>
to=<[email protected]> rcpt=<-> source="127.0.0.1" relay="127.0.0.1
(localhost)" delay=1s result="Ok" stat="250 2.0.0: f23a6ab6 Message accepted
for delivery"
May 13 08:10:39 master spampd[11644]: processing message
<[email protected]> for <[email protected]>
ORCPT=rfc822;[email protected]
May 13 08:10:40 master spampd[11644]: clean message
<[email protected]> (1.19/5.00) from <[email protected]>
for <[email protected]> ORCPT=rfc822;[email protected] in 0.68s, 4764
bytes.
May 13 08:10:40 master smtpd[22622]: 9d2709d2fddd9a03 smtp
event=message address=127.0.0.1 host=localhost msgid=cb35fe0a
from=<[email protected]> to=<[email protected]> size=4828 ndest=1 proto=ESMTP
May 13 08:10:40 master smtpd[22622]: 9d2709d115477347 mta
event=delivery evpid=f23a6ab6dbaeb160 from=<[email protected]>
to=<[email protected]> rcpt=<-> source="127.0.0.1" relay="127.0.0.1
(localhost)" delay=1s result="Ok" stat="250 2.0.0: cb35fe0a Message accepted
for delivery"
May 13 08:10:40 master spampd[11644]: processing message
<[email protected]> for <[email protected]>
ORCPT=rfc822;[email protected]
May 13 08:10:41 master spampd[11644]: clean message
<[email protected]> (1.19/5.00) from <[email protected]>
for <[email protected]> ORCPT=rfc822;[email protected] in 0.67s, 4931
bytes.
May 13 08:10:41 master smtpd[22622]: 9d2709d2fddd9a03 smtp
event=message address=127.0.0.1 host=localhost msgid=994ab936
from=<[email protected]> to=<[email protected]> size=4991 ndest=1 proto=ESMTP
Please, any advise is welcome.
Regards.
--
<thuban