Re: Failed to retrieve helo string

2023-12-13 Thread Kirill Miazine




• Kirill Miazine [2023-12-13 16:46]:

• Kirill Miazine [2023-12-13 15:41]:

• Kirill Miazine [2023-12-13 13:30]:

Hi, list

My log is getting quite a few of

 Failed to retrieve helo string

immediately followed by

 Disabling route


interestingly, I don't see the same behaviour on another smtpd host I 
have... now I am even more puzzled


started to think that this had to be something with my local setup, and 
thanks to Crystal, who suggested running smtpd with -d and -T transfer, 
I went furhter and did a run with -T all, which revealed that smtpd 
could not retrieve helo string from a helo-src table, where I had spaces 
around the equal sign...


so it was not helo string from remote server, but helo string from 
helo-src table.


now spaces around = are removed, and I think "helo string" errors are 
gone. let's see!


they are not... but apparently IPv6 addresses need to be put in square 
brackets:


lookup: lookup "[2a01:4f9:c010:9411::1]" as ADDRNAME in table 
static:helo-names -> "com.krot.org"

warn: failure during helo lookup helo-names:[2a01:4f9:c010:9411::1]
mproc: lka -> dispatcher : 12 IMSG_MTA_LOOKUP_HELO
imsg: dispatcher <- lka: IMSG_MTA_LOOKUP_HELO (len=12)
smtp-out: Error on [2a01:4f9:c010:9411::1] <-> [2a01:4f9:c010:9411::1] 
(com.krot.org): Failed to retrieve helo string




feeling silly now -- sorry for all the noise!



gonna dig later... will report when/if I figure this out



Re: Failed to retrieve helo string

2023-12-13 Thread Kirill Miazine

• Kirill Miazine [2023-12-13 15:41]:

• Kirill Miazine [2023-12-13 13:30]:

Hi, list

My log is getting quite a few of

 Failed to retrieve helo string

immediately followed by

 Disabling route


interestingly, I don't see the same behaviour on another smtpd host I 
have... now I am even more puzzled


started to think that this had to be something with my local setup, and 
thanks to Crystal, who suggested running smtpd with -d and -T transfer, 
I went furhter and did a run with -T all, which revealed that smtpd 
could not retrieve helo string from a helo-src table, where I had spaces 
around the equal sign...


so it was not helo string from remote server, but helo string from 
helo-src table.


now spaces around = are removed, and I think "helo string" errors are 
gone. let's see!


feeling silly now -- sorry for all the noise!



Re: Failed to retrieve helo string

2023-12-13 Thread Kirill Miazine

• Kirill Miazine [2023-12-13 13:30]:

Hi, list

My log is getting quite a few of

 Failed to retrieve helo string

immediately followed by

 Disabling route


interestingly, I don't see the same behaviour on another smtpd host I 
have... now I am even more puzzled