Hi,
After tyding up, here are the files:
*Sendmail :*
define(`DOVECOT_MAILER_ARGS', `TCP $h 24')dnl
MAILER(dovecot)dnl
With: /usr/share/sendmail/mailer/dovecot.m4
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 ?
*On Dovecot I have*
Mail_location = maildir:/var/spool3/mail/%u:LAYOUT=fs
service lmtp {
inet_listener lmtp {
address = 127.0.0.1 ::1
port = 24
}
unix_listener /var/run/lmtp {
group = mail
mode = 0660
user = mail
}
}
and I am still not be able to receive emails into the inbox
3) on /var/spool3/mail/<user1>, I have
0 drwxrwxrwx 7 azt000 azt000? 145 Jul 18 16:26 2019
0 drwxrwxrwx 2 azt000 azt000?? 72 Jul 18 16:25 cur
8 -rw-rw-rw- 1 azt000 azt000 5252 Jul 18 16:25 dovecot.index.cache
4 -rw-rw-rw- 1 azt000 azt000 3808 Jul 18 16:25 dovecot.index.log
4 -rw-rw-rw- 1 azt000 azt000 1616 Jul 18 16:25 dovecot.list.index
4 -rw-rw-rw- 1 azt000 azt000 3696 Jul 18 16:36 dovecot.list.index.log
4 -rw-rw-rw- 1 azt000 azt000 2040 Jul 18 16:30 dovecot.mailbox.log
4 -rw-rw-rw- 1 azt000 azt000? 109 Jul 18 16:25 dovecot-uidlist
4 -rw-rw-rw- 1 azt000 azt000??? 8 Jul 18 16:27 dovecot-uidvalidity
0 -r--r--r-- 1 azt000 azt000??? 0 Jul 16 11:02 dovecot-uidvalidity.60f14b29
0 drwxrwxrwx 5 azt000 azt000?? 87 Jul 16 11:06 Drafts
0 drwxrwxrwx 3 azt000 azt000?? 22 Jul 18 16:27 INBOX
0 drwxrwxrwx 5 azt000 azt000?? 87 Jul 16 11:08 Junk
0 drwxrwxrwx 2 azt000 azt000??? 6 Jul 16 11:02 new
0 drwxrwxrwx 5 azt000 azt000?? 87 Jul 16 12:26 qdqsd
0 drwxrwxrwx 7 azt000 azt000? 112 Jul 16 18:52 qsd
0 drwxrwxrwx 5 azt000 azt000? 114 Jul 18 16:16 Sent
4 -rw-rw-rw- 1 azt000 azt000? 110 Jul 18 16:30 subscriptions
0 drwxrwxrwx 2 azt000 azt000??? 6 Jul 18 16:25 tmp
0 drwxrwxrwx 5 azt000 azt000?? 87 Jul 16 18:53 Trash
That's sounds to me .. OK ??
Thanks and regards
Le 18/07/2021 ? 14:47, Alexander Dalloz a ?crit?:> Am 17.07.2021 um 22:02 schrieb Stephane Magnier:
>> Email are stoill blocked into sendmail
>>
>>
>>
>> Here is my _*sendmail config*_
>>
>> define(`confLOCAL_MAILER', `local_lmtp')dnl
>> dnl ############################? FIN OPENDKIM ######
>> dnl ###### boost traitement ############"dnl
>> FEATURE(`access_db', `hash -T<TMPF> -o
/etc/mail/access.db')dnl
>> dnl # define(`confCONNECTION_RATE_THROTTLE',2800)dnl
>> FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl
>> *FEATURE(`local_lmtp')*
>> MAILER(local)dnl
>> MAILER(smtp)dnl
>> MAILER(procmail)dnl
>> MAILER(dovecot)dnl?? ->maybe totally useless if I declare : MAILER(
>> local )
>
> Hm, this Sendmail config part looks like a mess.
>
> You need a proper MAILER definition which tells Sendmail to use LMTP.
> And remove those mailers you don't make use of like procmail.
>
> Have a look at the cyrusv2 mailer definition and adopt it for dovecot.
>
https://thr3ads.net/dovecot/2019/12/3145682-How-to-rewrite-local_lmpt-ipc-to-tcp-port-24
>
>
> Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://dovecot.org/pipermail/dovecot/attachments/20210718/4720c8fb/attachment.html>