Re: Ignore permanent errors on relay
Andr? H?nsel <andre@webkr.de> wrote:
> On 22 Feb., 17:09, Cydrome Leader <prese...@MUNGEpanix.com> wrote:
>> Andr? H?nsel <an...@webkr.de> wrote:
>> > Hi,
>>
>> > I set up postfix with relay_domains and transport_maps, so it acts as
>> > backup MX and relays mail for certain domains. I don't want to
>> > configure the specific mail accounts on the backup MX.
>>
>> you don't have to define mail accounts on a backup server, just the
>> domains it will queue for, and this can even be done without configuring
>> specific domains.
>
> Relay without specific domains? That would be an open relay, wouldn't
> it?
I don't have the configs here, but postfix can queue mail for any domain
in which your mailhost is listed as a backup MX server.
>> > The primary MX rejects mails to invalid recipients during SMTP
>> > conversation with a permanent error. In this cases Postfix sends a
>> > failure report to the original sender.
>>
>> > Can I tell it to silently ignore the permanent error and discard the
>> > mail?
>>
>> So you don't want any mail that should bounce to be send back to the
>> sender at all, ever?
>
> At least I want that.
> It would be nice if failure reports were still generated fot mail that
> is queued manually (by authenticated smtp) but not for mail that is
> relayed to that other server.
I'm not sure how you would do this part. Maybe you can somehow drop any
mail coming from postmaster on your mailserver, but this won't help if the
sender connects to your active mailserver. They will get a non 250 type
reply saying invalid recipient or something like that, and not a bounce
email.
|