View previous topic :: View next topic |
Author |
Message |
bssteph l33t
Joined: 26 Feb 2003 Posts: 652 Location: Wisconsin
|
Posted: Fri May 11, 2007 6:27 am Post subject: ssmtp and msmtp installed, eselect mailer list empty? |
|
|
Okay, I'm not entirely sure if I'm barking up the wrong tree or not, but maybe someone can point me in the right direction. I have an x86 box with ssmtp and msmtp both installed. ssmtp is for various system level things to send mail through my ISP's server. msmtp is used as a sendmail replacement for myself in mutt, using other systems' mail; I'm pleased with both, they serve their purpose and send mail fine, etc. etc.
My problem though is the following: both packages want to make themselves sendmail/mailq/etc in /etc/mail/mailer.conf. Whenever either is merged, they want to overwrite the config. I want ssmtp to always be the system's mailer. It seems like eselect mailer is made for this, but mine is empty:
Code: | cthulhu@kaylee ~ % sudo eselect mailer list
Available mailer.conf profiles:
(none found)
|
My packages:
Code: | cthulhu@kaylee ~ % emerge -pv ssmtp msmtp
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] mail-mta/ssmtp-2.61-r2 USE="ipv6 mailwrapper ssl -md5sum" 0 kB
[ebuild R ] mail-mta/msmtp-1.4.7 USE="mailwrapper nls ssl -doc -gnutls -sasl" 0 kB
|
Am I wrong in expecting eselect to do what I want (make it so that ssmtp is always the system default, and I never have to make sure I don't overwrite a config file when emerging), or is there something more I need to do? Thanks. |
|
Back to top |
|
|
terminal9 Apprentice
Joined: 12 Oct 2006 Posts: 157
|
Posted: Fri May 11, 2007 2:18 pm Post subject: |
|
|
It seems both ebuilds have a common misunderstanding of how mailwrapper works. They both copy a mailer.conf under /etc/mail, which should be named [profile].mailer instead and mailer.conf has to be symlink to one these managed by eselect.
You can rename mailer.conf of each ebuild with a .mailer extension to remedy your situation, eselect can then work as expected in this case. |
|
Back to top |
|
|
|
|
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
|
|