From: ferriswheel on
hello,


i wish to change the response code for rejection of unknown user from
450 to 550. all user accounts are held in dbmail and the address/user
maps are via pgsql queries.

i have recently rearranged the email accounts and deleted some but
senders are not getting any useful indication that the accounts are
closed as the response code is 450 .


the active 'reject' response codes from postconf are

access_map_reject_code = 554
invalid_hostname_reject_code = 501
maps_rbl_reject_code = 554
message_reject_characters =
multi_recipient_bounce_reject_code = 550
non_fqdn_reject_code = 504
plaintext_reject_code = 450
reject_code = 554
relay_domains_reject_code = 554
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = no
unknown_address_reject_code = 450
unknown_client_reject_code = 450
unknown_hostname_reject_code = 450
unknown_local_recipient_reject_code = 550
unknown_relay_recipient_reject_code = 550
unknown_virtual_alias_reject_code = 550
unknown_virtual_mailbox_reject_code = 550
unverified_recipient_reject_code = 550
unverified_sender_reject_code = 450


your assistance will be appreciated.


regards

john

From: Wietse Venema on
ferriswheel(a)jetechserv.com:
> hello,
>
>
> i wish to change the response code for rejection of unknown user from
> 450 to 550. all user accounts are held in dbmail and the address/user
> maps are via pgsql queries.

unknown_local_recipient_reject_code = 550
unknown_relay_recipient_reject_code = 550
unknown_virtual_alias_reject_code = 550
unknown_virtual_mailbox_reject_code = 550

The first step is to look at output from the command "postconf -n"
instead of pasting lines from the config file. This is also suggested
in instructions in the mailing list welcome message.

Also, you should show an actual logfile message for a non-existent
recipient that is rejected with a 450 status code. Again, logging
is suggested in the instructions in mailing list welcome message.

Wietse

From: LuKreme on
On 7-Feb-2010, at 19:53, john egan wrote:
> On Sun, 7 Feb 2010 20:49:31 -0500 (EST)
> Wietse Venema <wietse(a)porcupine.org> wrote:
>> unknown_local_recipient_reject_code = 550
>> unknown_relay_recipient_reject_code = 550
>> unknown_virtual_alias_reject_code = 550
>> unknown_virtual_mailbox_reject_code = 550

You do not have all of those in your main.cf

> unknown_local_recipient_reject_code = 550
> unverified_recipient_reject_code = 550

> Feb 8 13:12:21 MacServer zzzserver.yyyyyyy.local/smtpd[37260]:
> NOQUEUE: reject: RCPT from mf1.cn1.myschools.net[113.29.215.8]: 450
> 4.1.1
> <aaa.xxxxx(a)yyyyyyy.nsw.edu.au>: Recipient address rejected: User
> unknown in virtual mailbox table; from=<b.qqqqq(a)rrrrrrr.edu.au>
> to=<aaa.xxxxx(a)yyyyyy.nsw.edu.au> proto=ESMTP
> helo=<mf1.cn1.myschools.net>

You do not, specifically, have a 550 for virtual, do you?