Hi! We are running a pretty big postfix installation for a big corporate customer.
Next week, there are migrations in the backend for some mailboxes, and the inbound mail for these mailboxes should be put on hold on the postfix directly before it is being sent to Exchange. I was under the impression that I could either put the mailboxes directly in a transport table, with a hold: transport - but that results in "transport not found - deferred". The other thing I found was to put it in a recipient_access map with HOLD as the pattern, but that just gets ignored. We have two different smtpd configurations on that server, one which receives the mail from the internet with spam checks etc, and one which sends out the mail to the internet. We have the following recipient restrictions class in our main.cf: internet_inbound_recipient_restrictions = check_recipient_access hash:/mail/postfix/etc/postfix/maps/recipientchecks_inbound.manual-gateway check_recipient_access hash:/mail/postfix/etc/postfix/maps/recipientchecks_inbound.auto-gateway check_recipient_access ldap:/mail/postfix/etc/postfix/ldap/recipientchecks_inbound.cf reject The master.cf entry for the internet inbound mail service looks like this 84.x.x.x:25 inet n - y - 120 smtpd -o smtpd_proxy_filter=127.0.0.1:10035 -o smtpd_banner=$smtpd_internet_banner -o smtpd_recipient_restrictions=internet_inbound_recipient_restrictions -o smtpd_sender_restrictions=internet_inbound_sender_restrictions -o smtpd_client_restrictions=internet_inbound_client_restrictions -o smtpd_relay_restrictions=reject_unauth_destination -o syslog_name=smtpd_internet But the HOLD for an email address just gets ignored. I feel like I have a knot in my brain and cannot figure it out - probably something very obvious. We have an smtp service for reinjection of the mail after the content filter - do we need to have the recipient restriction in that? Or is it something else very simple? Thanks (as always) for your help! Jens _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org