Here's my situation... I have a Debian 8 server originally setup according to the guide howtoforge (dot) com/tutorial/perfect-server-debian-8-jessie-apache-bind-dovecot-ispconfig-3/. The server sends a lot of outgoing emails. Unfortunately, amavis crashes about every 5 minutes for no apparent reason. I'll see this in mail.log: status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused If I restart amavis, do postqueue -f, it will send maybe 15-20 emails correctly, and then amavis crashes again. So I setup monit to monitor port 10024 and restart amavis automatically if it fails. This works, except it's literally restarting amavis every 5 minutes. Now the problem is just the lag time between monit triggering the amavis restart, and then postfix finally trying to process the queue again. Because of this, the mail queue never catches up, it just grows and grows over time. So.... how can I bypass amavis completely for all outgoing mail? I've tried howtoforge (dot) com/community/threads/amavisd-question-outbound-scan-emails-falko-howto-debian.6879/ but it didn't work, outgoing emails are still passing through amavis. I tried serverfault (dot) com/questions/688755/make-postfix-bypass-amavis-completely-for-specific-domains, but same problem. I tried editing my postfix/main.cf, changing this: smtpd_sender_restrictions = check_sender_access regexp:/etc/postfix/tag_as_originating.re, permit_mynetworks, permit_sasl_authenticated, check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf, check_sender_access regexp:/etc/postfix/tag_as_foreign.re to this: smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf because both tag_as_originating.re and tag_as_foreign.re references amavis. I also changed this: content_filter = amavis:[127.0.0.1]:10024 to this: content_filter = ... and yet outgoing emails are STILL passing through amavis. (How??) I tried editing my postfix/master.cf, commenting out this entire section: amavis unix - - - - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o smtp_bind_address= ... but when I did that, no emails could be sent anymore. I got "mail transport unavailable" errors. I've searched my entire /etc/postfix directory for any other references to "amavis" or "10024", and these are not found anywhere else in my config files. And yes I restarted postfix after each config change. I'm at a loss. What must I do to simply bypass amavis once and for all?