On 2021-07-18 17:48, Alexander Dalloz wrote:

Mdovecot,      P=[IPC],
                F=l59DFMPhnu,
                S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
                U=mail:mail,
*    T=DNS/RFC822/SMTP,*
                A=TCP $h 24
Do you think that T is correct ?

will $h exspan to 127.0.0.1 ? only or localhost only ?, localhost is dual stacked, so try to avoid dualstack hostname from /etc/hosts make a ipv4.localhost alias in this file, and then use TCP ipv4.localhost 24 in A=

note i use postfix so maybe i am incorrect for the sendmail config with it, but it should stay at 127.0.0.1 for that dovecot server


service lmtp {
   inet_listener lmtp {
     address = 127.0.0.1 ::1
     port = 24
   }

dual stack in loop back interface is overkill

   unix_listener /var/run/lmtp {
     group = mail
     mode = 0660
     user = mail
   }
}

and I am still not be able to receive emails into the inbox

And what is being logged by Sendmail and by dovecot?

+1

Reply via email to