Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33790 - sendmail not providing virtual-mta properly?
Summary: sendmail not providing virtual-mta properly?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on: 29499
Blocks:
  Show dependency tree
 
Reported: 2003-11-18 16:50 UTC by Zeek
Modified: 2004-03-25 08:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zeek 2003-11-18 16:50:32 UTC
sendmail does not satisfy virtual/mta properly because ssmtp gets emerged after sendmail.  Here is the basic problem:

emerge unmerge ssmtp
emerge sendmail
<ssmtp gets reemerged?>
emerge -e sendmail
<ssmtp blocks sendmail>
Comment 1 Zeek 2003-11-18 17:32:47 UTC
Another part of the problem is that when ssmtp emerges it does this:

>>> /usr/bin/newaliases -> /usr/sbin/ssmtp
>>> /usr/bin/mailq -> /usr/sbin/ssmtp

which overrides the sendmail commands.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-11-20 08:19:30 UTC
emerge -p ssmtp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] net-mail/sendmail ("virtual/mta" from pkg net-mail/ssmtp-2.48)
[ebuild  N    ] net-mail/ssmtp-2.48


where's your problem ?
Comment 3 Dan Markham 2003-11-24 00:21:01 UTC
This bug got me also..... when installling a ebuild that required a virtual/mta it was installing a new mta to satisfy the depenicy killing my sendmail server. Ouch!
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-11-24 01:39:29 UTC
more /var/cache/edb/world  | grep sendmail
should print sendmail

which portage version ?
Comment 5 Daniel Kasak 2003-12-07 20:56:12 UTC
I've got the same problem on a couple of boxen, covering MANY portage versions ( all for the last 4 months or so ).

more /var/cache/edb/world | grep sendmail gives:

net-mail/sendmail

This behaviour ( ssmtp binary replacing sendmail binary ) caused MAJOR havoc here at work today as the sendmail build failed, and left me mailserver-less. Ouch!
Comment 6 Zeek 2003-12-09 11:09:58 UTC
Here is the problem:

sting root # emerge -pv sendmail

> where's your problem ?

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-dns/hesiod-3.0.2
[ebuild  N    ] net-mail/sendmail-8.12.10  +ssl -ldap -sasl +berkdb -tcpd -gdbm -mbox
[ebuild  N    ] net-mail/ssmtp-2.48
[ebuild  N    ] net-mail/procmail-3.22-r6
------->%----

Notice how ssmtp emerges right after sendmail? That is the problem.

Comment 7 Martin Holzer (RETIRED) gentoo-dev 2004-01-18 06:54:03 UTC
should be fixed, see bug #29499 for details