Date: Wed, 2 May 2001 09:20:03 -0700 (PDT) From: Brian Candler <B.Candler@pobox.com> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/26774: Installation of rmail, even without sendmail Message-ID: <200105021620.f42GK3A41400@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/26774; it has been noted by GNATS. From: Brian Candler <B.Candler@pobox.com> To: freebsd-gnats-submit@freebsd.org, jaco@teaser.fr Cc: Subject: Re: conf/26774: Installation of rmail, even without sendmail Date: Wed, 2 May 2001 16:13:17 +0000 I would like to suggest that there is a better solution to this, which fixes another problem too. The trouble is that rmail is very sendmail-specific. For example, if I install exim 3.22, and change mailer.conf so that /usr/sbin/sendmail invokes exim, rmail does not work: bash# /bin/rmail testuser From root Subject: test exim abandoned: unknown, malformed, or incomplete option -G My preferred solution is therefore as follows. When building sendmail, - install rmail as /usr/libexec/sendmail/rmail - /bin/rmail symlinks to /usr/sbin/mailwrapper - add a new entry to /etc/mail/mailer.conf: rmail /usr/libexec/sendmail/rmail Since many sensible mailers (e.g. exim, smail) have 'rmail' functionality already, then it becomes straightforward to change this to, say, rmail /usr/exim/bin/exim In the case where the MTA supports rmail, this means that jaco's fix is not necessary. But equally it doesn't do any harm to include it, as long as rmail is indirected through mailer.conf. Regards, Brian. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105021620.f42GK3A41400>