Skip to content

Connect to mailhog container #2

@yoyos

Description

@yoyos

I would like to send my emails from a web container to the mailhog container trough exim4

I changed the config like that

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='27bea122bcdb'
dc_local_interfaces='127.0.0.1 ; ::1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='localhost:1025'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

But I have this error when I'm trying to send a mail in my web container.

2017-01-02 15:45:18 1cO4nW-0000WM-Th <= root@27bea122bcdb U=root P=local S=355
2017-01-02 15:45:18 1cO4nW-0000WM-Th remote host address is the local host: somedomain.tld
2017-01-02 15:45:18 1cO4nW-0000WM-Th == someone@somedomain.tld R=smarthost defer (-1): remote host address is the local host
2017-01-02 15:45:19 1cO4nW-0000WQ-WC <= <> R=1cO4nW-0000WM-Th U=Debian-exim P=local S=566
2017-01-02 15:45:19 1cO4nW-0000WM-Th Frozen
2017-01-02 15:45:19 1cO4nW-0000WQ-WC => /var/mail/mail (root@27bea122bcdb) postmaster@27bea122bcdb R=mail4root T=address_file
2017-01-02 15:45:19 1cO4nW-0000WQ-WC Completed

Do you know what's happening here or how I could fix it ? :)

Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions