Am 20.07.2021 um 18:31 schrieb Stephane Magnier:>
> Le 20/07/2021 ? 18:25, Alexander Dalloz a ?crit?:
>> Am 20.07.2021 um 09:25 schrieb Stephane Magnier:
>>> Jul 20 09:13:13 mbox1 sendmail[5596]: 16K7D9xA005595: to=user1,
>>> delay=00:00:04, xdelay=00:00:04, mailer=local, pri=3480, dsn=2.0.0,
>>> stat=Sent
>>> Jul 20 09:13:13 mbox1 spamd[1081]: prefork: child states: II
>>>
>>>
>>>
>>> and absolutely NOTHING on Dovecot log file.. and I cannot see
anything
>>
>> Sendmail is using the local mailer as you can see above.
>>
>> Your Sendmail m4 config is overly complex. For which purpose do you set
>>
>> LOCAL_DOMAIN(`mbox1.xxxx.net')dnl
>>
>> And yes, Dovecot is the LMTP server side which provides a TCP socket
>> on port 24. Sendmail is the LMTP client in your case.
>>
>> Alexander
>>
>
> To be honest.. I don't know : I thought that the server being
> mbox1.xxxx.netn, I declared mbox1.xxxx.net in it..
>
> OK I remove it..
You can validate which domains your Sendmail treats as local aka class w by
echo '$=w' | sendmail -bt
In case you want or need to override the Sendmail's host identity you
can specify
define(`confDOMAIN_NAME', `example.com')dnl
Alexander