Sender-Dependent SASL

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Sender-Dependent SASL

luistkd4
Hi I'm using Sender-Dependent SASL authentication and sending to sendgrid but afters a few days we have this errors for all clients:

Dec 19 14:35:44 UBMSASENDWEB01 postfix/error[16038]: 4631114A2E3: to=<[hidden email]>, relay=none, delay=579, delays=569/9.3/0/0.06, dsn=4.0.0, status=deferred (delivery temporarily suspended: SASL authentication failed; server smtp.sendgrid.net[167.89.123.53] said: 451 Authentication failed: Maximum credits exceeded)
Dec 19 14:35:34 UBMSASENDWEB01 postfix/qmgr[2438]: 4631114A2E3: from=<postmaster@vivala.exemple>, size=1280, nrcpt=1 (queue active)
Dec 19 14:26:06 UBMSASENDWEB01 postfix/error[11170]: 4631114A2E3: to=<[hidden email]>, relay=none, delay=1, delays=1/0/0/0.01, dsn=4.0.0, status=deferred (delivery temporarily suspended: SASL authentication failed; server smtp.sendgrid.net[167.89.115.53] said: 451 Authentication failed: Maximum credits exceeded)
Dec 19 14:26:06 UBMSASENDWEB01 amavis[12818]: (12818-07) Passed BAD-HEADER-8 {RelayedInbound,Quarantined,Archived}, [::1] [177.55.116.72] /ESMTP <postmaster@vivala.exemple> -> <[hidden email]>, (ESMTPSA://177.55.116.72), quarantine: G/badh-GUnyCByQvlOz, archive/G/GUnyCByQvlOz.gz, Message-ID: <[hidden email]>, mail_id: GUnyCByQvlOz, b: oe6n-XsOM, Hits: 4.1, size: 1279, queued_as: 4631114A2E3, Subject: "injekan anyar Bos", From: <postmaster@vivala.exemple>, helo=, Tests: [ALL_TRUSTED=-1,FROM_NO_USER=2.599,URIBL_BLOCKED=0.001,URIBL_DBL_ABUSE_PHISH=2.5], autolearn=no autolearn_force=no, autolearnscore=5.099, 1428 ms
Dec 19 14:26:06 UBMSASENDWEB01 postfix/qmgr[2438]: 4631114A2E3: from=<postmaster@vivala.exemple>, size=1280, nrcpt=1 (queue active)
Dec 19 14:26:06 UBMSASENDWEB01 postfix/cleanup[13488]: 4631114A2E3: message-id=<[hidden email]>
Dec 19 14:26:05 UBMSASENDWEB01 postfix/smtpd[10274]: 4631114A2E3: client=localhost[127.0.0.1]

I know it's a sendgrid error, but when try send direct message message was sucefful sent, and when try send message (like postqueue -i 4631114A2E3) message is delivery successful. I'm thinking if the postfix try connect using another account diferent of "[hidden email]", I enabled verbose but didn't found nothing clear.

Running  postmap -q [hidden email] mysql:/etc/postfix/sender_passwd.cf  show the correct data.

Log after postqueue -i:
Dec 19 14:37:25 UBMSASENDWEB01 postfix/smtp[16439]: 4631114A2E3: to=<[hidden email]>, relay=smtp.sendgrid.net[167.89.115.18]:587, delay=680, delays=679/0.03/0.57/0.3, dsn=2.0.0, status=sent (250 Ok: queued as VAFfNi5BRgq-QjSjWnMAyg)


What I can see in my side?  Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Sender-Dependent SASL

Wietse Venema
Luis Miguel Flores dos Santos:
[ Charset ISO-8859-1 converted... ]
> Hi I'm using Sender-Dependent SASL authentication and sending to sendgrid but afters a few days we have this errors for all clients:
>
> Dec 19 14:35:44 UBMSASENDWEB01 postfix/error[16038]: 4631114A2E3: to=<[hidden email]>, relay=none, delay=579, delays=569/9.3/0/0.06, dsn=4.0.0, status=deferred (delivery temporarily suspended: SASL authentication failed; server smtp.sendgrid.net[167.89.123.53] said: 451 Authentication failed: Maximum credits exceeded)

The *sendgrid server* says:

    451 Authentication failed: Maximum credits exceeded

For more info, I suggest the sendgrid website.

        Wietse
Reply | Threaded
Open this post in threaded view
|

RE: Sender-Dependent SASL

luistkd4
Of course, but whenever I force the message using postqueue -i the message was delivered nicely. Is there a way to see in the log when postfix tries to send to sendgird, which user and pass are called? I think maybe the user are wrong when they try to send in the queue, but when the message is forced it's delivered.

Thanks for all !


De: [hidden email] <[hidden email]> em nome de Wietse Venema <[hidden email]>
Enviado: quarta-feira, 19 de dezembro de 2018 15:40
Para: Postfix users
Assunto: Re: Sender-Dependent SASL
 
Luis Miguel Flores dos Santos:
[ Charset ISO-8859-1 converted... ]
> Hi I'm using Sender-Dependent SASL authentication and sending to sendgrid but afters a few days we have this errors for all clients:
>
> Dec 19 14:35:44 UBMSASENDWEB01 postfix/error[16038]: 4631114A2E3: to=<[hidden email]>, relay=none, delay=579, delays=569/9.3/0/0.06, dsn=4.0.0, status=deferred (delivery temporarily suspended: SASL authentication failed; server smtp.sendgrid.net[167.89.123.53] said: 451 Authentication failed: Maximum credits exceeded)

The *sendgrid server* says:

    451 Authentication failed: Maximum credits exceeded

For more info, I suggest the sendgrid website.

        Wietse