D. J. Bernstein
Internet mail
qmail
Frequently asked questions

Configuring UNIX MUAs to work with qmail


How do I make pine use qmail-inject instead of SMTP? I have some Pine users who would like to take advantage of qmail-inject's header-rewriting features.

Answer: Find your system-wide pine.conf and put

     sendmail-path=/usr/lib/sendmail -oem -oi -t
into it. (This will work with sendmail too.) Beware that pine is neither secure nor reliable.
How do I make MH use qmail-inject instead of SMTP? I have some MH users who would like to take advantage of qmail-inject's header-rewriting features.

Answer: Put

     postproc: /usr/mh/lib/spost
into each user's .mh_profile. (This will work with sendmail too.) Beware that MH is neither secure nor reliable.

Alternatively, install nmh, using

     ./configure --with-mts=sendmail
before compilation. (This will work with sendmail too.)
How do I make BSD mail/mailx generate a Date with the local time zone? When I send mail, I'd rather use the local time zone than GMT, since some MUAs don't know how to display Date in the receiver's time zone.

Answer: Put

     set sendmail=/var/qmail/bin/datemail
into your .mailrc or your system-wide Mail.rc. Beware that BSD mail is neither secure nor reliable.
How do I stop Sun's dtcm from hanging?

Answer: There is a novice programming error in dtcm, known as ``failure to close the output side of the pipe in the child.'' I do not know whether Sun has fixed this in Solaris 2.7. Sorry.