Re: mail.lmtp: net: service not supported by ai_socktype

2018-07-16 Thread Matt Schwartz
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  wrote:
>
> Quoting Vijay Sankar :
>
>> 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]:  mda event=delivery
>> evpid=fd06d20741a44021 from= to=
>> rcpt= 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
>> vsan...@foretell.ca
>>
>>
>> --
>> You received this mail because you are subscribed to misc@opensmtpd.org
>> To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
>
>
> 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
> vsan...@foretell.ca
>
>
> --
> You received this mail because you are subscribed to misc@opensmtpd.org
> To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
>

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



mail.lmtp: net: service not supported by ai_socktype

2018-07-16 Thread Vijay Sankar



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]:  mda  
event=delivery evpid=fd06d20741a44021 from=  
to= rcpt= 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
vsan...@foretell.ca


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org