Ignore permanent errors on relay

This is a discussion on Ignore permanent errors on relay within the mailing.postfix.users forums, part of the Mail Servers and Related category; Hi, I set up postfix with relay_domains and transport_maps, so it acts as backup MX and relays mail for certain ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-22-2008
André Hänsel
 
Posts: n/a
Default Ignore permanent errors on relay

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.

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?

Regards,
André
Reply With Quote
  #2 (permalink)  
Old 02-22-2008
Cydrome Leader
 
Posts: n/a
Default Re: Ignore permanent errors on relay

Andr? H?nsel <andre@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.

> 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?
Reply With Quote
  #3 (permalink)  
Old 02-22-2008
André Hänsel
 
Posts: n/a
Default Re: Ignore permanent errors on relay

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?

> > 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.

Regards,
André
Reply With Quote
  #4 (permalink)  
Old 02-22-2008
Cydrome Leader
 
Posts: n/a
Default 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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:06 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0