[opendmarc-dev] send reports via smtp

Murray S. Kucherawy msk at blackops.org
Sun Jul 22 14:02:58 PDT 2012


On Sun, 22 Jul 2012, Andreas Schulze wrote:
> At least with postfix injection via smtp ist twice faster then injection 
> via /usr/sbin/sendmail

Why's that?

Deliberately, the current mail generation code injects mail to sendmail in 
a way that it's only queued; no immediate delivery attempt is made.  This 
is because the subprocess then exits almost immediately, rather than 
putting the parent process/thread to sleep while a delivery attempt is 
made.  I don't believe the timing of either notification is critical which 
is why it was done this way.

> Also I like the posibility to handle the application generated mailflows 
> different then system mail flow (mails from cron for example)

How can you tell the difference even with SMTP injection?

-MSK


More information about the opendmarc-dev mailing list