> On Sep 12, 2016, at 19:06, Edgar Pettijohn <[email protected]> wrote:
> 
> 
> 
> Sent from my iPhone
> 
>> On Sep 12, 2016, at 10:40 AM, Wilhelm Schuster <[email protected]> wrote:
>> 
>> Hi,
>> 
>> I’ve set up opensmtpd to first relay every messages to spampd (running on 
>> localhost, port 10025) via:
>> 
>>   accept from any for domain "wilhelm.re" relay via smtp://127.0.0.1:10025
>> 
>> Unfortunately, I had a configuration error where I had opensmtpd relay the 
>> messages to lmtp://127.0.0.1:10025, which didn’t work and delivery failed 
>> with "Network error on destination MXs”.
>> 
>> I’ve since corrected the config and mails get delivered again… Except for 
>> the ones that arrived in the time window where I had the faulty config, 
>> which opensmtpd tries to deliver to lmtp://127.0.0.1:10025 again and again.
>> 
>> Is there a way I can modify these mails in the queue to get relayed to 
>> smtp://127.0.0.1:10025?
>> 
>> Cheers, Wilhelm Schuster.
>> -- 
>> You received this mail because you are subscribed to [email protected]
>> To unsubscribe, send a mail to: [email protected]
> 
> I know I've seen this asked before. Found this one:
> 
> https://marc.info/?l=opensmtpd-misc&m=143639072009982&w=2
> 
> There are probably others with different solutions.

Thanks for the suggestion. That sounds like an interesting workaround, but this 
wouldn’t work in my case since opensmtpd tries to relay the messages via LMTP, 
but opensmtpd does not support LMTP for receiving mail. That’s why I had the 
issue in the first place, because spampd switches between SMTP and LMTP 
depending on how the sending mta opens the connection (EHLO vs LHLO).

So if opensmtpd submits via LMTP, spampd resubmits the mail to opensmtpd via 
LMTP which is not supported by opensmtpd.

Cheers, Wilhelm Schuster.


--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to