0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

mailtrapで'no mechanism available'が出た

Last updated at Posted at 2022-06-18

Docker環境にpostfix入れてmailtrapで受けようと
メールを送ったら

Jun 18 04:43:33 27f83077ba22 postfix/smtp[1025]: 17DCF77C0D: 
to=<hoge@fuga.com>, relay=smtp.mailtrap.io[xx.xx.xx.xx]:2525, 
delay=471, delays=469/0.05/2.2/0, dsn=4.7.0, status=deferred 
(SASL authentication failed; 
cannot authenticate to server smtp.mailtrap.io[xx.xx.xx.xx]: 
no mechanism available)

と、どうにもメールが送れない・・

自分の環境的(FROM centos:7)では

yum -y install cyrus-sasl-plain cyrus-sasl-md5

とすることで解決できました。

##ちなみに・・
Docker(FROM centos:7)だとsyslogがないから、エラー追っかけ難しいので

RUN yum -y install rsyslog

しておくといいですね

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?