Hi,

Yes, I rebuild every time my sendmail files.....

Restarting Dovecot, I have


Jul 18 20:56:24 mbox1.xxx.net systemd[1]: Starting Dovecot IMAP/POP3 email server...
Jul 18 20:56:24 mbox1.xxx.net systemd[1]: Started Dovecot IMAP/POP3 email server.
Jul 18 20:56:24 mbox1xxx.net dovecot[4629]: master: Dovecot v2.3.8 (9df20d2db) starting up for imap, pop3, lmtp
[root@mbox1 mailer]#

Jul 18 21:25:02 master: Info: Dovecot v2.3.8 (9df20d2db) starting up for imap, pop3, lmtp
Jul 18 21:25:05 imap-login: Info: Login: user=<azt000>, method=PLAIN, rip=109.190.102.80, lip=172.18.3.226, mpid=4833, TLS, session=<JQAwx2rHKv9tvmZQ>
Jul 18 21:25:09 imap-login: Info: Login: user=<azt000>, method=PLAIN, rip=109.190.102.80, lip=172.18.3.226, mpid=4872, TLS, session=<diRnx2rHLf9tvmZQ>
Jul 18 21:25:12 imap-login: Info: Login: user=<azt000>, method=PLAIN, rip=109.190.102.80, lip=172.18.3.226, mpid=4874, TLS, session=<gCaRx2rHL/9tvmZQ>
Jul 18 21:25:12 imap-login: Info: Login: user=<azt000>, method=PLAIN, rip=109.190.102.80, lip=172.18.3.226, mpid=4876, TLS, session=<98SZx2rHMP9tvmZQ>
Jul 18 21:25:13 imap-login: Info: Login: user=<azt000>, method=PLAIN, rip=109.190.102.80, lip=172.18.3.226, mpid=4878, TLS, session=</marx2rHMf9tvmZQ>
Jul 18 21:28:08 master: Info: Dovecot v2.3.8 (9df20d2db) starting up for imap, pop3, lmtp
Jul 18 21:29:18 master: Info: Dovecot v2.3.8 (9df20d2db) starting up for imap, pop3, lmtp

But sending an email.. I've received this


   ----- The following addresses had permanent fatal errors -----
<azer0@sss.com>
    (reason: 554 5.3.5 buildaddr: unknown mailer unknown: Unknown error -30988)


Into sendmail, I have only :

MAILER(dovecot)dnl

with 


Mdovecot,      P=[IPC],
               F=l59DFMPhnu,
               S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
               U=mail:mail,
               T=DNS/RFC822/SMTP,
               A=TCP $h 24

into dovecot ( I removed the lince address = 127.0.0.1 )


service lmtp {
   inet_listener lmtp {
 
     port = 24
   }
   unix_listener /var/run/lmtp {
     group = mail
     mode = 0660
     user = mail
   }
}



and sendmail log file  says

Jul 18 21:39:50 mbox1 sm-msp-queue[3065]: starting daemon (8.15.2): queueing@01:00:00
Jul 18 21:41:15 mbox1 sendmail[3213]: STARTTLS=server, relay=sas.intranet.office.itx [172.18.2.85], version=TLSv1.3, verify=NO, cipher=TLS_AES_256_GCM_SHA384, bits=256/256
Jul 18 21:41:15 mbox1 sendmail[3213]: 16IJfFRE003213: SYSERR(root): buildaddr: unknown mailer unknown: Unknown error -30988

Thanks and regards,


-------- Message transféré --------
Sujet : Re: folders and subfolders
Date : Sun, 18 Jul 2021 17:48:15 +0200
De : Alexander Dalloz <ad+lists@uni-x.org>
Pour : dovecot@dovecot.org


Am 18.07.2021 um 16:48 schrieb Stephane Magnier:
Hi,

Please don't mail me personally. I am subscribed to this list and don't want to get mail conversation twice.

And please check to no send HTML formatted mail to mailing lists. Do not top-post either.

After tyding up, here are the files:


*Sendmail :*

   define(`DOVECOT_MAILER_ARGS', `TCP ipv4.localhost 24')dnl
   MAILER(dovecot)dnl

Ok, sure that those entries, especially the MAILER, are located at the end of the sendmail.mc file? Did you afterwards rebuild the sendmail.cf?

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 ?

Yes.

*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

And what is being logged by Sendmail and by dovecot?

[ ... ]

Alexander