Vijay, Are you using OpenSMTPD for backup MXes? I've been trying unsuccessfully to setup a backup mx with the new version of OpenSMTPD.
On Mon, Jul 16, 2018 at 9:44 PM, Vijay Sankar <[email protected]> wrote: > > Quoting Vijay Sankar <[email protected]>: > >> I am trying to upgrade my old mail server which is using OpenSMTPD, >> Dovecot etc., to one running -current. >> >> So I am trying to use the new grammar and almost everything works great, >> but having problems with LMTP. >> >> If I try: >> >> action "lmtp-local" lmtp "unix:/var/dovecot/lmtp" >> match from any for domain foretell.ca action "lmtp-local" >> >> I get the following error in /var/log/maillog >> >> Jul 16 20:16:08 server10 smtpd[96427]: 0000000000000000 mda event=delivery >> evpid=fd06d20741a44021 from=<[email protected]> to=<[email protected]> >> rcpt=<[email protected]> user=vijay delay=6m result=TempFail stat=Error >> ("mail.lmtp: inet: service not supported for ai_socktype") >> >> Not sure how to troubleshoot this. smtpd -v does not show any syntax >> errors in smtpd.conf. The test server is listening on tcp ports 25 and 587. >> >> Please let me know what I could be doing wrong or if there is any >> additional info I could provide. >> >> Thanks very much, >> >> Vijay >> >> >> >> Vijay Sankar, M.Eng., P.Eng. >> ForeTell Technologies Limited >> [email protected] >> >> >> -- >> You received this mail because you are subscribed to [email protected] >> To unsubscribe, send a mail to: [email protected] > > > Probably this is a mistake few would make but posting this just in case. A > very kind person pointed out in a private email that there was no need to > specify a socket. > > So the syntax that works is > > action "lmtp-local" lmtp "/var/dovecot/lmtp" > match from any for domain foretell.ca action "lmtp-local" > > Vijay > > Vijay Sankar, M.Eng., P.Eng. > ForeTell Technologies Limited > [email protected] > > > -- > You received this mail because you are subscribed to [email protected] > To unsubscribe, send a mail to: [email protected] > -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
