Stefano Sasso: > 2011/7/14 Wietse Venema <wie...@porcupine.org>: > >> With content filters I have to use 2 smtpd instances + content filter > >> itself. > >> With this workaround only 2 smtpd instances. > >> Or am I totally wrong? > > > > You're describing a null filter configuration. It provides half of > > the quarantine management solution, namely, the ability to freeze > > mail. If that works for you, then go for it. > > Yes, that's just what i want :) > > The question now is... it's ok to use smtp_destination_recipient_limit > = 1 within the first smtpd instance?
smtp_destination_recipient_limit is a feature of the queue manager, not of the SMTP server, so it has no effect in the SMTP server. I suggest using a dedicated master.cf entry with an smtp client like so: /etc/postfix/master.cf pickup fifo n - n 60 1 pickup -o content_filter=nullfilter:127.0.0.1:10025 smtp inet n - n - - smtpd -o content_filter=nullfilter:127.0.0.1:10025 nullfilter unix - - n - - smtp 127.0.0.1:10025 inet n - n - - smtpd /etc/postfix/main.cf: nullfilter_destination_recipient_limit=1 Besides "-o content_filter" you will also need receive_override_options somewhere as described in CONTENT_FILTER_README. Wietse