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.

Dockerからメールが送れない 原因:eximが消えていた・・

Posted at
Swift_TransportException Connection could not be established with host localhost 
:stream_socket_client()
: unable to connect to localhost:25 (Cannot assign requested address)

Dockerでmailを送るためにeximを入れていたが
なぜかDockerfileでインストールしてたはずのeximが消えていた・・

急遽
yum install -y exim
を行った

備忘録
Dockerからメールを送るためのeximの導入方法

yum install -y exim
mkdir /etc/exim4
vi /etc/exim4/update-exim4.conf
----
dc_eximconfig_configtype='internet'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1;::1'
dc_readhost='exim4'
dc_relay_domains=''
dc_minimaldns='true'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
----
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?