Re: [exim] 4xx from GMAIL for fatal errors

2019-06-27 Thread Viktor Dukhovni via Exim-users
On Thu, Jun 27, 2019 at 12:51:20PM +0200, Axel Rau via Exim-users wrote:

> > On 27/06/2019 10:17, Axel Rau via Exim-users wrote:
> >> 451-4.3.0 Multiple destination domains per transaction is unsupported.
> >> or
> >> 452-4.2.2 The email account that you tried to reach is over quota.

I don't know whether Exim has a similar feature, but FWIW, Postfix has:

http://www.postfix.org/postconf.5.html#smtp_reply_filter
http://www.postfix.org/postconf.5.html#smtp_delivery_status_filter

which allow, respectively, rewriting (requires some care to not
corrupt multi-line responses) of the remote SMTP server's response,
or of the final delivery status (safer, but takes place only after
all the MX hosts have been tried).  These are power tools for
edge-cases where the remote server is in some plausible way "broken".
They should avoided if at all possible, they can do more harm than
good:

http://postfix.1071664.n5.nabble.com/Mails-to-gmail-bouncing-td101910.html

-- 
Viktor.

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] 4xx from GMAIL for fatal errors

2019-06-27 Thread Jeremy Harris via Exim-users
On 27/06/2019 11:51, Axel Rau via Exim-users wrote:
> „Temporary nature" means to me that the receiver may resolve the issue.

Correct, and I'd expect that of both of the examples you gave.

> Does google treat GOOGLEMAIL.com  and gmail.com 
>  (which both appeared in the recipient list) as different 
> domains?

I think so.

> Both are handled by the same MXes, so I would have to persuade my exim to 
> split by domain but by MX?
> How can this be done?

I'm not sure what you mean by "split by domain but by MX".

I use, on the transport handling my external-smtp :-

multi_domain =${if match{$host}{(?i)google.com\$} {no}{yes}}

-- 
Cheers,
  Jeremy

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] 4xx from GMAIL for fatal errors

2019-06-27 Thread Axel Rau via Exim-users


> Am 27.06.2019 um 12:00 schrieb Jeremy Harris via Exim-users 
> :
> 
> On 27/06/2019 10:17, Axel Rau via Exim-users wrote:
>> 451-4.3.0 Multiple destination domains per transaction is unsupported.
>> or
>> 452-4.2.2 The email account that you tried to reach is over quota.
> 
> You really want to override the temporary nature of the error?
> OK, your call.
> 
> Write a retry rule that matches the error code and possibly the
> destination, having a short ultimate timeout.

Thanks for the tipp.

„Temporary nature" means to me that the receiver may resolve the issue.
Does google treat GOOGLEMAIL.com  and gmail.com 
 (which both appeared in the recipient list) as different 
domains?
Both are handled by the same MXes, so I would have to persuade my exim to split 
by domain but by MX?
How can this be done?

Thanks, Axel
---
PGP-Key: CDE74120  ☀  computing @ chaos claudius

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] 4xx from GMAIL for fatal errors

2019-06-27 Thread Jeremy Harris via Exim-users
On 27/06/2019 10:17, Axel Rau via Exim-users wrote:
> 451-4.3.0 Multiple destination domains per transaction is unsupported.
> or
> 452-4.2.2 The email account that you tried to reach is over quota.

You really want to override the temporary nature of the error?
OK, your call.

Write a retry rule that matches the error code and possibly the
destination, having a short ultimate timeout.

-- 
Cheers,
  Jeremy

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


[exim] 4xx from GMAIL for fatal errors

2019-06-27 Thread Axel Rau via Exim-users
Hello exim users,

a mail with 33 recipients, some of them at gmail was sitting in the queue.
The Google recipients got
451-4.3.0 Multiple destination domains per transaction is unsupported.
or
452-4.2.2 The email account that you tried to reach is over quota.

Are there any configuration recipies known to deal with that situation i.e. 
taking the 451 and 452 from them as 5xx errors?

Thanks, Axel
---
PGP-Key: CDE74120  ☀  computing @ chaos claudius


-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/