Is there a way to create catchall aliases or virtuals so that SMTPD
would receive email for all domains and all user accounts? I've been
trying different combinations of alias and virtual databases, but
nothing seems to work.
To answer my own question:
# cat /etc/mail/smtpd.conf
listen on lo0 port 9025
table vusers db:/etc/mail/vusers.db
accept from any for any virtual <vusers> deliver to maildir "/var/spamdb"

# cat /etc/mail/vusers
@ _spamdb

And /var/spamdb has to be owned by _spamdb user.

Thanks everyone for your help.

Karlis

Reply via email to