Hi Franck

Yes this would be a thing to do. I have stick to the mail command
because it is simpler. I have also used this as it has a more standardized
interface than sendmail.

However it could detect the command to use and select accordingly so that
we could have the following dependency.

mailutils | bsd-mailx | mailx | exim4 | sendmail | mail-transport-agent

It would be something like

if [ -x /usr/bin/mail ] ; then
 ...
elif [ -x /usr/sbin/sendmail ] ; then
 ...
else
  # something here?
fi

A patch for this would be nice of course, but I'll add this to the list
of things to do.

Best regards,

// Ola

On Sun, Mar 01, 2009 at 02:50:51PM +0100, Franck Joncourt wrote:
> Package: debarchiver
> Version: 0.8.4-1
> Severity: wishlist
> 
> I was checking why the mailutils package was installed on my system.
> I found out that debarchiver was the culprit :)
> 
> I think debarchiver should not use the mail command but rather the
> sendmail command. According to me, the mail command is more for end users.
> 
> This will require to replace the following dependencies:
> 
>  mailutils | bsd-mailx | mailx
> 
> by
> 
>  exim4 | mail-transport-agent
> 
> and some changes in your email function as well.
> 
> What do you think?
> 
> Regards,
> 
> -- 
> Franck Joncourt
> http://debian.org - http://smhteam.info/wiki/
> 



-- 
 --------------------- Ola Lundqvist ---------------------------
/  o...@debian.org                     Annebergsslingan 37      \
|  o...@inguza.com                      654 65 KARLSTAD          |
|  http://inguza.com/                  +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to