NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: postfix different behavior for mail command and python smtplib



On Mon, Jul 06, 2020 at 12:26:38AM +0530, Mayuresh wrote:
> Is there a way to find the exact difference between mail command's
> behavior vs smtplib and achieve the desired behavior?

From postfix logs the difference between both scenarios is: the mails
generated by mail command are picked up by the `pickup' daemon while those
sent using python library are picked up directly by smtpd.

Via pickup route protected destination checks don't get applied while on
smtpd they do.

Wondering how to get python app follow the pickup route.

Mayuresh



Home | Main Index | Thread Index | Old Index