Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge wants to install mailwrapper and ssmtp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Sun May 30, 2004 10:48 am    Post subject: Emerge wants to install mailwrapper and ssmtp Reply with quote

Hi all,

In checking whether any packages are to be updated I noticed that when I emerge -uDp world that it wants to install two new packages:

Calculating world dependencies ...done!
[ebuild N ] net-mail/mailwrapper-0.1
[ebuild N ] mail-mta/ssmtp-2.60.7

Using emerge -s to get an idea of what the packages are for it seems that mailwrapper is a wrapper for my MTA and ssmtp an MTA.

Is there any reason I should let emerge install these programs and, if so, any hints on the easiest way to migrate to ssmtp?

Best,

Alex
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Sun May 30, 2004 11:13 am    Post subject: Reply with quote

Quote:
Is there any reason I should let emerge install these programs and, if so, any hints on the easiest way to migrate to ssmtp?

a) You need some MTA, e.g. for cron
b) If you didnt choose another MTA - ssmtp is the default on gentoo, because it is absolutely minimalistic.
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Sun May 30, 2004 11:33 am    Post subject: Reply with quote

bmichaelsen wrote:
Quote:
Is there any reason I should let emerge install these programs and, if so, any hints on the easiest way to migrate to ssmtp?

a) You need some MTA, e.g. for cron
b) If you didnt choose another MTA - ssmtp is the default on gentoo, because it is absolutely minimalistic.


Ah, my bad, I guess I should have clarified that I'm already running postfix.

In any event, I installed both programs and things seem to working as they normally do.

Is there any reason to prefer postfix to ssmtp or the other way around? Mind you, I'm happy if things work, but if ssmtp gives me the same or better security, but takes up less space, is more efficient, etc., well, I would only be too happy to emerge -C postfix.

Best,

Alex
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Sun May 30, 2004 12:42 pm    Post subject: Reply with quote

I've also postfix installed as mta, but portage want's to install ssmtp, too... If I remember there's some "virtual/mta" option in some file where I can set postfix as mta, does some of you remember where?
Or should I simply inject ssmtp and not care at all (I just don't want to mess up my mail-config again :) )...
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1678
Location: Edinburgh, UK

PostPosted: Sun May 30, 2004 12:55 pm    Post subject: Reply with quote

b0fh wrote:
I've also postfix installed as mta, but portage want's to install ssmtp, too... If I remember there's some "virtual/mta" option in some file where I can set postfix as mta, does some of you remember where?
Or should I simply inject ssmtp and not care at all (I just don't want to mess up my mail-config again :) )...


I think the file you're talking about is /etc/mailer.conf. The following lines in mine suggest that ssmtp is now being used as the mta:

# Execute the "real" sendmail program from ssmtp,
# named /usr/sbin/ssmtp
#
sendmail /usr/sbin/ssmtp
send-mail /usr/sbin/ssmtp
mailq /usr/sbin/ssmtp
newaliases /usr/sbin/ssmtp

Further on down you see something that appears to be a way to configure it to use postfix instead:

# Execute the "real" sendmail program from postfix,
# named /usr/sbin/sendmail.postfix
#
#sendmail /usr/sbin/sendmail.postfix
#send-mail /usr/sbin/sendmail.postfix
#mailq /usr/sbin/sendmail.postfix
#newaliases /usr/sbin/sendmail.postfix

I suspect that, should you uncomment the latter and comment out the further, that should work.

For the record, I didn't have any problems after installing those programs and running etc-update.

One thing I do, as I have been burned by etc-update in the past, is to keep a backup of all the /etc files on hand. It's useful because, should something get fscked up, you can always revert back to the original. As I don't have a floppy drive, I just copy the /etc directory to /etc.backup.

Hope this helps!

Best,

Alex
Back to top
View user's profile Send private message
SCHULZISCOMING
n00b
n00b


Joined: 30 May 2004
Posts: 1

PostPosted: Sun May 30, 2004 10:39 pm    Post subject: Reply with quote

I really wonder why someone would install a ssmtp, when he/she uses a postfix (or another) mta?!

I do not need some voodoo-ssmtp on my systems. Please Gentoo people, consider: gentoo admins are really aware of using a sufficient mtas. Please do not think, everyone is a wimp. I hate to install ssmtp by demand and then re-install my postfix-mta. This really sucks (sorry).

I DO NOT NEED SSMTP!

Thank you.
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Tue Jun 01, 2004 6:44 am    Post subject: Reply with quote

Quote:
I hate to install ssmtp by demand and then re-install my postfix-mta.

Install postfix first - it will fill the MTA-virtual and ssmtp will not be pulled in.
Back to top
View user's profile Send private message
b0fh
Guru
Guru


Joined: 16 Jun 2003
Posts: 426

PostPosted: Tue Jun 01, 2004 7:24 am    Post subject: Reply with quote

It also seems to be fixed, at least my one doesn't want to emerge ssmtp after an rsync any more.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum