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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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é |
|
|||
|
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? |
|
|||
|
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é |
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|