Hello! Will below be OK for holding messages for recipients?
Thanks, Miha On Feb 11, 2013 7:56 PM, "Miha Valencic" <miha.valen...@gmail.com> wrote: > Hi! > > Just want to double check if I am planning this correctly. We're migrating > users from one system to another, and want to HOLD incoming messages for > certain recipients during migration. For that purpose, we'll create a file > with users listed: > > /hold-users: > us...@domain.com HOLD > us...@domain.com HOLD > ... > > postmap that file and configure this HOLD queue in recipient restrictions: > > smtpd_recipient_restrictions = check_recipient_access hash:/opt/zimbra/ > conf/postfix_recipient_access_ldapcheck, reject_non_fqdn_recipient, > permit_sasl_authenticated, permit_mynetworks, > reject_unknown_sender_domain, reject_unauth_destination, permit > > In order to HOLD messages, I need to put "check_recipient_access > hash:/hold-users" somewhere. > > If I put it before "permit_sasl_authenticated", this should do the trick, > correct? > > Thanks, > Miha. > >