[exim] error 501 Invalid MAIL FROM address provided is repor…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: xqm2018@gmail.com
Data:  
Para: exim-users-owner, exim-users
Asunto: [exim] error 501 Invalid MAIL FROM address provided is reported
Section: PREROUTERS
send_via_ses: 
  driver = manualroute 
  domains = ! +local_domains  : ! +manualmx_domains
  .ifdef SRSENABLED
    # if outbound, and forwarding has been done, use an alternate transport
    transport = ${if eq {$local_part@$domain} \
          {$original_local_part@$original_domain} \
          {ses_smtp} {ses_forwarded_smtp}}
  .else
    transport = ses_smtp
  .endif
  route_list = * email-smtp.us-west-2.amazonaws.com;
Section: TRANSPORTSTARTses_smtp: 
  driver = smtp 
  port = 587 
  hosts_require_auth = * 
  hosts_require_tls = *


.ifdef SRSENABLED
  ses_forwarded_smtp:
    driver = smtp
    hosts_require_auth = *
    hosts_require_tls = *
    max_rcpt = 1
    return_path = ${srs_encode {SRS_SECRET} {$return_path} {$original_domain}}
.endif
Section: AUTH
ses_login: 
 driver = plaintext 
 public_name = LOGIN 
 client_send = : USERNAME : PASSWORD
In the exim advanced configuration manager, Amazon SES is used as the global domain to send and forward emails. SRS rewriting the sender has been enabled, but when the automatic forwarding of emails fails and needs to be returned to the original sender, an error 501 Invalid MAIL FROM address provided is reported.
return_path = ${srs_encode {SRS_SECRET} {$return_path} {$original_domain}} So how should this configuration be optimized and modified?


LOG: MAIN
cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1rofcc-009q7L-0t
delivering 1rofcc-009q7L-0t
LOG: MAIN
Unfrozen by forced delivery
Connecting to email-smtp.us-east-1.amazonaws.com [52.206.145.59]:587 ... TFO mode sendto, no data: EINPROGRESS
connected
SMTP<< 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-d-TJCXVEE55 7bADDdgFxQgHJl4QgoYd
SMTP>> EHLO email.akasotech.com

  SMTP<< 250-email-smtp.amazonaws.com
         250-8BITMIME
         250-STARTTLS
         250-AUTH PLAIN LOGIN
         250 Ok

SMTP>> STARTTLS

SMTP<< 220 Ready to start TLS
SMTP>> EHLO email.akasotech.com

  SMTP<< 250-email-smtp.amazonaws.com
         250-8BITMIME
         250-STARTTLS
         250-AUTH PLAIN LOGIN
         250 Ok

SMTP>> AUTH LOGIN

SMTP<< 334 VXNlcm5hbWU6
SMTP>> ****************************

SMTP<< 334 UGFzc3dvcmQ6
SMTP>> ************************************************************

SMTP<< 235 Authentication successful.
SMTP>> MAIL FROM:<>

SMTP<< 501 Invalid MAIL FROM address provided
SMTP+> QUIT
SMTP(TLS shutdown)>>
SMTP(shutdown)>>
SMTP<< 221 Bye
SMTP(close)>>
cmdlog: '220:EHLO:250-:STARTTLS:220:EHLO:250-:AUTH:334:********:334:********:235:MAIL:501:QUIT:221'
LOG: MAIN
** marc.wressig@??? R=send_via_ses T=ses_smtp H=email-smtp.us-east-1.amazonaws.com [52.206.145.59] X=TLS1.3:TLS_AES_256_GCM_SHA384:256 CV=yes: SMTP error from remote mail server after MAIL FROM:<>: 501 Invalid MAIL FROM address provided
LOG: MAIN
Frozen (delivery error message)



xqm2018@???

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/