OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: "reject_unverified_recipient" and "unverified_recipient_reject_code" question

From: Justin Piszcz (jpiszczlucidpixels.com)
Date: Thu Feb 07 2008 - 09:17:26 CST


On Thu, 7 Feb 2008, Noel Jones wrote:

> Alejandro Facultad wrote:
>> Dear all, I have Postfix 2.3.8 as my mail server and I want this: if
>> someone write a message to a non existant mail account from my domain,
>> he/she must get a response code = 250 and not 550. I want the same
>> response code that he/she will obtain in case of writting to an
>> existing mail account.
>>
>> I edit the main.cf adding "reject_unverified_recipient" and
>> "unverified_recipient_reject_code = 250" in this way but people
>> writting to a non valid mail account still get the 550 error code:
>>
>> smtpd_recipient_restrictions =
>> check_recipient_access hash:/etc/postfix/access
>> permit_mynetworks
>> reject_unknown_sender_domain
>> reject_unauth_destination
>> check_policy_service unix:private/policy
>> reject_unverified_recipient
>>
>>
>> unverified_recipient_reject_code = 250
>>
>> Thanks in advance
>>
>> Alejandro
>
> What exactly is the point of this? This sounds like a really bad idea.
It sounds like he wants a catch-all e-mail/address?
>
> Don't use reject_unverified_recipient if you don't want to reject unverified
> recipients.
>
> --
> Noel Jones
>