* Edgar Fuß via Postfix-users <[email protected]>: > Hello, > > I'm looking for a method to (during a mailbox migration) temporarily reject > (not bounce) mails to a specific (or a set of specific) local user(s). I.e., > I want the SMTP daemon to reply something like > 450 4.2.1 [email protected]: migration in progress > at the RCPT TO (or DATA) command. > Using an error: transport_maps entry will bounce, not reject.
use check_recipient_access hash:/etc/postfix/tempfail_rcpt in your smtpd_recipient_restrictions. with: [email protected] 450 migration in progress in "/etc/postfix/tempfail_rcpt", and don't forget postmaping the file :) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netz | Netzwerk-Administration Invalidenstraße 120/121 | D-10115 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 [email protected] | https://www.charite.de _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
