On 2016-01-29 Fri 14:09 PM |, Edd Barrett wrote:
> 
> Some mails I receive are being cut in two by either: opensmtpd, fdm or
> spamassassn. I have opensmtpd running on an OpenBSD-5.8 machine. fdm
> (invoked from cron) picks up mail from /var/mail/edd (an mbox) and
> passes it to spamassassin for spam calssification (X- headers are
> appended). Then fdm puts the mails into maildirs in my $HOME where I
> dovecot then picks them up.
> 

Another thought Edd;

Dovecot can sift mail with the standard sieve protocol. Thunderbird has
a pretty plugin to manage the filters remotely. (No webmail nonsense.)

Mail needs to be delivered from OpenSMTPd to Dovecot, via LMTP is best.

http://wiki2.dovecot.org/Pigeonhole

As you want SpamAssassin too, you could have OpenSMTPd proxy the mail
with spampd, then back to OpenSMTPd for LMTP to Dovecot.

This would stop the need for cron to spawn heavy jobs, several times per
hour, for every user....

Something like this bloke's setup:
http://frozen-geek.net/openbsd-email-server-1/

I have Dovecot keep all mail in dirs under /var/mail/ (a seperate mount
point) and it never goes to $HOME.

/var/mail type ffs (local, noatime, nodev, noexec, nosuid, softdep)

/var/mail & /home have different dump cycles & archive cycles.

Cheers.
-- 
Speer's 1st Law of Proofreading:
        The visibility of an error is inversely proportional
        to the number of times you have looked at it.

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

Reply via email to