Dear List,
Running Postfix 2.8-20101217, with amavisd-new, clamav, spamassassin I'm trying to change the default error messages: host mx.server.com[1.0.0.0] said: 550 5.1.1 <b...@email.com>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command) host mx.server.com[1.0.0.0] said: 550 5.1.1 <b...@email2.com>: Recipient address rejected: User unknown in virtual alias table (in reply to RCPT TO command) To something a normal user would understand like: <b...@email.com>: Recipient address rejected: E-mail Address Unknown Tried to accomplish this by adding this to main.cf: smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination reject_unknown_recipient_domain reject_unverified_recipient unverified_recipient_reject_reason = E-mail Address Unknown But I guess I'm doing something wrong cause Postfix sais: Dec 21 13:33:20 server postfix/smtpd[27862]: warning: unknown smtpd restriction: "unverified_recipient_reject_reason" If there are better/other ways to accomplish the same please let me know, I'm still learning! Thanks! postconf -n alias_database = hash:/usr/local/postfix/etc/aliases alias_maps = hash:/usr/local/postfix/etc/aliases bounce_queue_lifetime = 7d command_directory = /usr/local/postfix/sbin config_directory = /usr/local/postfix/etc content_filter = amavisfeed:[127.0.0.1]:10024 daemon_directory = /usr/local/postfix/libexec data_directory = /var/lib/postfix debug_peer_level = 2 home_mailbox = Maildir/ hopcount_limit = 50 html_directory = no inet_interfaces = all mail_owner = postfix mail_spool_directory = /var/spool/mail mailq_path = /usr/local/postfix/bin/mailq manpage_directory = /usr/local/man maximal_backoff_time = 2h maximal_queue_lifetime = 7d message_size_limit = 13981013 minimal_backoff_time = 30m mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = email.com myhostname = mx.server.com mynetworks = cidr:/usr/local/postfix/etc/mynetworks myorigin = $mydomain newaliases_path = /usr/local/postfix/bin/newaliases queue_directory = /usr/local/postfix/spool queue_run_delay = 300s readme_directory = no sample_directory = /usr/local/postfix/etc sendmail_path = /usr/local/postfix/sbin/sendmail setgid_group = postdrop smtpd_client_restrictions = check_client_access cidr:/usr/local/postfix/etc/access_internal_allow.cidr cidr:/usr/local/postfix/etc/access_external_allow.cidr smtpd_delay_reject = no smtpd_helo_required = yes smtpd_recipient_limit = 100 smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination reject_unknown_recipient_domain reject_unverified_recipient unverified_recipient_reject_reason = Email Address Unknown soft_bounce = no unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/usr/local/postfix/etc/virtual - Marco van Kammen Springer Science+Business Media System Manager & Postmaster - van Godewijckstraat 30 | 3311 GX Office Number: 05E21 Dordrecht | The Netherlands - tel +31(78)6576446 fax +31(78)6576302 - www.springeronline.com <http://www.springeronline.com> www.springer.com <http://www.springer.com/> - Please note that as of 27th of December, i will no longer be working at Springer.