Portál AbcLinuxu, 12. května 2025 08:26
# The unknown_local_recipient_reject_code specifies the SMTP server # response code when a recipient domain matches $mydestination or # ${proxy,inet}_interfaces, while $local_recipient_maps is non-empty # and the recipient address or address local-part is not found. # # The default setting is 550 (reject mail) but it is safer to start # with 450 (try again later) until you are certain that your # local_recipient_maps settings are OK. # unknown_address_reject_code = 554 unknown_client_reject_code = 554 unknown_hostname_reject_code = 554 unknown_local_recipient_reject_code = 554 unknown_relay_recipient_reject_code = 554 unknown_sender_reject_code = 554 unknown_virtual_alias_reject_code = 554 unknown_virtual_mailbox_reject_code = 554 unverified_recipient_reject_code = 554 unverified_sender_reject_code = 554Ale to co chces ty je tohle:
# The luser_relay parameter specifies an optional destination address # for unknown recipients. By default, mail for unknown@$mydestination, # unknown@[$inet_interfaces] or unknown@[$proxy_interfaces] is returned # as undeliverable. # # The following expansions are done on luser_relay: $user (recipient # username), $shell (recipient shell), $home (recipient home directory), # $recipient (full recipient address), $extension (recipient address # extension), $domain (recipient domain), $local (entire recipient # localpart), $recipient_delimiter. Specify ${name?value} or # ${name:value} to expand value only when $name does (does not) exist. # # luser_relay works only for the default Postfix local delivery agent. # # NOTE: if you use this feature for accounts not in the UNIX password # file, then you must specify "local_recipient_maps =" (i.e. empty) in # the main.cf file, otherwise the SMTP server will reject mail for # non-UNIX accounts with "User unknown in local recipient table". # luser_relay = neco@nekam.cz
... Asi bych chtel nejakou auto odpoved, ze tento mail neexistuje ...O tomto má odosielateľa upovedomiť jeho server, nie Tvoj. Skôr by som to videl tak, že server odosielateľa nerešpektuje RFC (a v takom prípade na neho treba hodiť bobek), alebo správy o nedoručiteľnosti na druhej strane nikto nečíta, resp. nerieši (a v takom prípade na neho treba hodiť bobek). Snažiť sa robiť workaround okolo každej cudzej chyby je cestou do pekla. Nech si to pekne nastavia tak ako sa má, resp. nech tam zadajú správnu adresu odosielateľa, ak to chcú mať doručené.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.