Ricardo Kleemann <ricardo(_at_)americasnet(_dot_)com> writes:
I want to install procmail but first have a couple of questions...
1. does it at all support maildir format (in contrast to mailbox format)?
Someone has released a patch with add maildir support. Check the qmail
site.
2. If it doesnt support maildir (which makes mailboxes over NFS very
feasible) is there a reliable NFS solution for delivering the mail? (I'm
using Linux 2.0.30)
Unless your NFS server is _totally_ broken, procmail reliably delivers
over NFS.
3. I heard of hlsfd or something like that, mentioned in the sendmail
site... can that be used reliably for mail delivery over NFS?
hlsfd is for moving mailspools to user home directories. It has nothing
to do with NFS mail delivery.
4. Can procmail be used to deliver a message BOTH to a local program and
at the same time redirect to a user? What I mean is, I have a makemap file
for sendmail which redirects email to some outside users... however I'd
like to also pipe the message (at least the "To:" header) into a program.
What's the best way to do that?
Yes. If the values in your sendmail map are in "mailer:host" format
and it's checked from ruleset 0, then you should just be able to say
whateveraddress procmail:/etc/procmailrcs/whatever
then make sure you include the procmail mailer in your .cf and put your
procmail recipes in /etc/procmailrcs/whatever. (Locating the rcfile in
/etc/procmailrcs so that procmail knows to setuid itself to the owner
of the rcfile. That way you can control who the program is run as.)
:0 c
| some-program
:0
! some(_at_)remote(_dot_)address
Philip Guenther