Hi,

I finally managed to migrate my ~current OpenBSD's sendmail to smtpd. 
Congratulations is the first thing that comes to mind... at least from a 
configuration perspective, smtpd is a lot simpler - and that's an 
understatement.

Now, for the strange stuff: I've got a pretty straightforward system: smtpd as 
MTA and dovecot as IMAP server. sendmail used to deliver to mbox, as does 
smtpd. I know the benefits of using dovecot to deliver mail, but I haven't 
bothered to do so as I don't have thousands of mails anyway. This is also 
beside the point of this email.

I also use procmail as my mail post processor which just matches a few rules 
and moves mail to specific mbox's. For a strange reason, every time smtpd 
delivers to an mbox directly, mail would be properly appended to the mbox; 
however, when procmail is on the way (and smtpd logs that it delivers via mda), 
the From_ line is removed from the mail, basically invalidating the mbox format 
and appending the delivered mail to the last mail in the file.

What I'm missing exactly is this line:
>From ${sender.email}  Mon Apr 21 17:41:14 2014

where ${sender.email} is the email address of the sender. I had to run procmail 
with "-f -", which basically creates a From_ line if there isn't one or updates 
the timestamp of an existing one. Of course, because the From_ line doesn't 
exist, procmail creates something like:
>From ${USER} Mon Apr 21 17:41:14 2014

I triple checked that smtpd would create the From_ line when there is no 
procmail in between. I double checked that this happens with the original 
configuration that comes with smtpd.

Am I missing something or can this be a bug?

NB: ~current as of 17 April 2014 or thereabouts - I know that ~current is not 
properly supported but I thought I'd let people know anyway.

Thanks,


Gabriel

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

Reply via email to