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

Re: Why does sendmail depend on procmail?

Santiago Vila Doncel wrote:
> This would be the best solution, but deliver and procmail have
> different command-line options. sendmail.cf reads:
>                 A=deliver -r $g $u
> for deliver, and
>                 A=procmail -Y -a $h -d $u
> for procmail.
> Should deliver/procmail postinst change sendmail configuration
> automatically? Should deliver/procmail postinst force a sendmail
> reconfigure? If we do this, why not for the other MTAs?
> Maybe we need a new (real, not virtual) package "mda-base" to manage
> all this? [ I had some ideas about this, see bug #11655 ].

Someone else suggested a /usr/sbin/mda wrapper installed by each mda's
package using the usual alternative method.
You could agree on its interface in sendmail.cf; something like that:

>                 A=/usr/sbin/mda $g $h $u

and deliver's mda :

>                 deliver -r $1 $3

while procmail's mda:

>                 procmail -Y -a $2 -d $3

(please, check sintax)

| fpolacco@icenet.fi    fpolacco@debian.org    fpolacco@pluto.linux.it
| Pluto Leader - Debian Developer & Happy Debian 1.3.1 User - vi-holic
| 6F7267F5 fingerprint 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: