[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rmail, m-t-a, and uucp

Herbert Xu <herbert@gondor.apana.org.au> wrote:
> Marco d'Itri <md@linux.it> wrote:
>> On Mar 25, Peter Palfrader <weasel@debian.org> wrote:

>>>  - Require that the MTA provides rmail (either by having their own,
>>>    or by depending on rmail).

>> This would be easy, as a trivial rmail program is a short shell script:

>> #!/bin/bash
>> # This rmail command can be used on postfix and qmail systems without
>> # a real rmail binary.

>> IFS=" " read -r dummy from dummy

>> exec /usr/sbin/sendmail -i -f "$from" -- "$*"

> If it's so trivial what was the reason that sendmail had to split it
> into a separate package?

Sendmail's rmail is smarter and according to the docs does more. It
not only invokes /us/sbin/sendmail with correct options but also
replaces the usual mbox "From foo..." lines with a bang-path.

However the latter is probably only useful for sendmail and sucks for
other MTAs.
             cu and- ppl should use bsmtp anyway -reas
NMUs aren't an insult, they're not an attack, and they're
not something to avoid or be ashamed of.
                    Anthony Towns in 2004-02 on debian-devel

Reply to: