I googled around looking for this, apparantly my google-fu is failing this morning. I just switched over to using a Postfix/Dovecot virtual set-up with Dovecot as the delivery agent. One of my users mistyped his email address when he paid for something through Paypal and the reciept got forwarded to everyone. It didn't bounce or just go to Postmaster, it was delivered to every valid user on the system.
Below is my conf comments stripped:
base_dir= /var/run/dovecot/ login_process_per_connection = no max_mail_processes = 2048 mail_process_size = 1024 protocols = imap imaps pop3 pop3s shutdown_clients = yes log_path = /var/log/dovecot info_log_path = /var/log.dovecot.info log_timestamp = "%b %d %H:%M:%S " ssl_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem ssl_key_file = /etc/ssl/private/ssl-cert-snakeoil.key ssl_disable = no disable_plaintext_auth = no login_dir = /var/run/dovecot/login login_chroot = yes login_user = dovecot login_greeting = Dovecot ready mail_location = maildir:/home/vmail/%d/%n mmap_disable = no valid_chroot_dirs = /var/spool/mail
protocol lda { postmaster_address = kat@amtpolitics.com log_path = /home/vmail/dovecot-deliver.log
# UNIX socket path to master auth server to find users: auth_socket_path = /var/run/dovecot/auth-master
# Enabling Sieve plugin for server-side mail filtering # Will be handy for Spam - will be implemented later. #mail_plugins = cmusieve #global_script_path = /home/vmail/globalsieverc }
protocol imap { login_executable = /usr/lib/dovecot/imap-login mail_executable = /usr/lib/dovecot/imap } protocol pop3 { login_executable = /usr/lib/dovecot/pop3-login mail_executable = /usr/lib/dovecot/pop3 pop3_uidl_format = %08Xu%08Xv } auth_executable = /usr/lib/dovecot/dovecot-auth auth_verbose = yes auth_debug = yes auth default_with_listener { socket listen { master { path = /var/run/dovecot/auth-master mode = 0600 user = vmail } client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } } mechanisms = plain login passdb sql { # Path for SQL configuration file, see /etc/dovecot/dovecot-sql.conf for example args = /etc/dovecot/dovecot-sql.conf } userdb static { args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes }
}
imap_client_workarounds = delay-newmail outlook-idle netscape-eoh pop3_client_workarounds = outlook-no-nuls oe-ns-eoh login_process_size = 64
namespace private { separator = . prefix = INBOX. inbox = yes }
And here's the mail.log from a test message that I sent out: Mar 16 09:52:46 byron postfix/smtpd[24082]: C75E84F006D: client=unknown[xxx.xx.xxx.xx], sasl_method=LOGIN, sasl_username=kat@amtpolitics.com Mar 16 09:52:46 byron postfix/cleanup[24085]: C75E84F006D: message-id=46497375E9264D2BA3BFB31BE37918BC@Kat Mar 16 09:52:46 byron postfix/qmgr[19409]: C75E84F006D: from=kat@amtpolitics.com, size=887, nrcpt=10 (queue active) Mar 16 09:52:47 byron postfix/smtpd[24082]: disconnect from unknown[216.70.186.80] Mar 16 09:52:47 byron postfix/pipe[24096]: C75E84F006D: to=xxxx@amtpolitics.com, orig_to=nonexistantemail@amtpolitics.com, relay=dovecot, delay=0.27, delays=0.2/0.01/0/0.06, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 16 09:52:47 byron postfix/pipe[24092]: C75E84F006D: to=xxxxx@amtpolitics.com, orig_to=nonexistantemail@amtpolitics.com, relay=dovecot, delay=0.27, delays=0.2/0.01/0/0.07, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 16 09:52:47 byron postfix/pipe[24107]: C75E84F006D: to=xxxxx@amtpolitics.com, orig_to=nonexistantemail@amtpolitics.com, relay=dovecot, delay=0.3, delays=0.2/0.04/0/0.06, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 16 09:52:47 byron postfix/pipe[24098]: C75E84F006D: to=xxxxx@amtpolitics.com, orig_to=nonexistantemail@amtpolitics.com, relay=dovecot, delay=0.3, delays=0.2/0.02/0/0.08, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 16 09:52:47 byron postfix/pipe[24102]: C75E84F006D: to=kat@amtpolitics.com, orig_to=nonexistantemail@amtpolitics.com, relay=dovecot, delay=0.3, delays=0.2/0.03/0/0.08, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 16 09:52:47 byron postfix/pipe[24086]: C75E84F006D: to=xxxx@amtpolitics.com, orig_to=nonexistantemail@amtpolitics.com, relay=dovecot, delay=0.31, delays=0.2/0/0/0.1, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 16 09:52:47 byron postfix/pipe[24094]: C75E84F006D: to=xxxxx@amtpolitics.com, orig_to=nonexistantemail@amtpolitics.com, relay=dovecot, delay=0.31, delays=0.2/0.01/0/0.09, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 16 09:52:47 byron postfix/pipe[24105]: C75E84F006D: to=xxxx@amtpolitics.com, orig_to=nonexistantemail@amtpolitics.com, relay=dovecot, delay=0.31, delays=0.2/0.03/0/0.07, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 16 09:52:47 byron postfix/pipe[24109]: C75E84F006D: to=xxxxx@amtpolitics.com, orig_to=nonexistantemail@amtpolitics.com, relay=dovecot, delay=0.31, delays=0.2/0.04/0/0.06, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 16 09:52:47 byron postfix/pipe[24101]: C75E84F006D: to=xxxxx@amtpolitics.com, orig_to=nonexistantemail@amtpolitics.com, relay=dovecot, delay=0.33, delays=0.2/0.02/0/0.1, dsn=2.0.0, status=sent (delivered via dovecot service) Mar 16 09:52:47 byron postfix/qmgr[19409]: C75E84F006D: removed
Thanks for any help, Kat