Re: [gentoo-user] alternate mta's

2013-05-05 Thread Todd Goodman
* Tanstaafl  [130504 16:18]:
> On 2013-05-04 3:27 PM, Alan McKinnon  wrote:
> > On 04/05/2013 18:52, Tanstaafl wrote:
> >> Ok, I have msmpt installed and working just fine.
> >>
> >> Now, all of a sudden, emerge -pvuDN world wants to install mailx.
> >>
> >> equery depends mailx says rkhunter is pulling it in via virtual/mailx
> >>
> >> Why isn't this dependency satisfied by the presence of msmtp?
> >>
> >> And more importantly, how can I fix it without installing mailx?
> 
> > Simplest answer:
> >
> > It was never done because nobody did it.
> >
> > Whoever maintains virtual/mailx does so believing they have a decent set
> > of implementations available for you to use. There was never any
> > guarantee there that all possible satisfiers for virtual/mailx would be
> > listed.
> >
> > File a feature request at b.g.o. if you feel msmtp satsifies virtual/mailx.
> 
> Actually, I'm not really concerned about virtual/mails...
> 
> My question is why does it want to install the full program 
> 'net-mail/mailx'? That would mean I had two mta's on my system, which 
> should be a conflict, right? I know if I try to install postfix, it 
> complains about msmtp as a blocker.

mailx is an MUA, not an MTA.  You can have as many MUAs as you like.



Re: [gentoo-user] alternate mta's

2013-05-05 Thread Tanstaafl

On 2013-05-05 5:23 AM, Alan McKinnon  wrote:

All you seem to be dealing with is what looks like a incomplete list of
providers for virtual/mailx. Portage won't consider msmtp as satisfying
that need as the ebuild for virtual/mailx does not list msmtp.

Your options:

- install mail-client/mailx, or
- have msmtp added to virtual/mailx as a feature request.


And makes even more sense now. Thanks for your patience...



SOLVED - Re: [gentoo-user] alternate mta's

2013-05-05 Thread Tanstaafl

On 2013-05-04 7:46 PM, Thanasis  wrote:

on 05/05/2013 01:15 AM Tanstaafl wrote the following:

Oh... ok, well, now I'm  just wondering why it decided to install it all
of a sudden...



mail-client/mailx : The /bin/mail program, which is used to send mail
via shell scripts

mail-mta/ssmtp: Extremely simple MTA to get mail off the system to a Mailhub

They are totally different and not alternate of each other.


Well, I'm using msmtp not ssmtp, but yeah, I was having tunnel vision.

On 2013-05-05 5:45 AM, Marc Joliet  wrote:
> /usr/portage/app-forensics/rkhunter/ChangeLog shows two recent
> dependency fixes, which each reference a bug report. In this case
> it's bug #398123, according to which rkhunter uses the "mail" command
> in its daily cron job. Obviously, without a /bin/mail provider
> installed (what virtual/mailx is for), the mails will never get sent.
> Instead, you (hopefully) get error messages from cron.

Ah, ok, makes sense now. I had installed rkhunter a week or two ago but 
had commented the cron job when working on something else, but never 
re-enabled it, and hadn't noticed I wasn't getting those emails (to 
remind me to go back and re-enable it).


I was getting other system emails (ie, portage), so didn't realize I 
needed something else (a client) for these kinds of emails.


Anyway, sorry for the noise...



Re: [gentoo-user] alternate mta's

2013-05-05 Thread Marc Joliet
Am Sat, 04 May 2013 18:15:20 -0400
schrieb Tanstaafl :

> On 2013-05-04 6:01 PM, Marc Joliet  wrote:
> > I have both postfix and mailx. You'll notice that the category of mailx is
> > mail-client and not mail-mta (or "net-mail", as you wrote). 
> > mail-client/mailx is
> > simply a command line email client used for automating the sending and
> > receiving of emails; on my system it is as far as I can tell only used by
> > smartmontools.
> >
> > Unless msmtp also provides {,/usr}/bin/mail there isn't really an issue 
> > here.
> 
> Oh... ok, well, now I'm  just wondering why it decided to install it all 
> of a sudden...
> 
> 

That's what the ChangeLog files are
for: /usr/portage/app-forensics/rkhunter/ChangeLog shows two recent dependency
fixes, which each reference a bug report. In this case it's bug #398123,
according to which rkhunter uses the "mail" command in its daily cron job.
Obviously, without a /bin/mail provider installed (what virtual/mailx is for),
the mails will never get sent. Instead, you (hopefully) get error messages from
cron.

> Thanks

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] alternate mta's

2013-05-05 Thread Alan McKinnon
On 04/05/2013 22:17, Tanstaafl wrote:
> On 2013-05-04 3:27 PM, Alan McKinnon  wrote:
>> On 04/05/2013 18:52, Tanstaafl wrote:
>>> Ok, I have msmpt installed and working just fine.
>>>
>>> Now, all of a sudden, emerge -pvuDN world wants to install mailx.
>>>
>>> equery depends mailx says rkhunter is pulling it in via virtual/mailx
>>>
>>> Why isn't this dependency satisfied by the presence of msmtp?
>>>
>>> And more importantly, how can I fix it without installing mailx?
> 
>> Simplest answer:
>>
>> It was never done because nobody did it.
>>
>> Whoever maintains virtual/mailx does so believing they have a decent set
>> of implementations available for you to use. There was never any
>> guarantee there that all possible satisfiers for virtual/mailx would be
>> listed.
>>
>> File a feature request at b.g.o. if you feel msmtp satsifies
>> virtual/mailx.
> 
> Actually, I'm not really concerned about virtual/mails...

You should be, it's at the core of the problem surely?

Your original mail said that rkhunter was pulling in mailx via
virtual/mailx. Which mailx do you mean by that? virtual/mailx or
mail-client/mailx?

I assumed the latter as that's the only reading that makes sense.

> 
> My question is why does it want to install the full program
> 'net-mail/mailx'? That would mean I had two mta's on my system, which
> should be a conflict, right? I know if I try to install postfix, it
> complains about msmtp as a blocker.

That's as an MTA. This thread is about mail clients. Not related

All you seem to be dealing with is what looks like a incomplete list of
providers for virtual/mailx. Portage won't consider msmtp as satisfying
that need as the ebuild for virtual/mailx does not list msmtp.

Your options:

- install mail-client/mailx, or
- have msmtp added to virtual/mailx as a feature request.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] alternate mta's

2013-05-04 Thread Thanasis
on 05/05/2013 01:15 AM Tanstaafl wrote the following:
> On 2013-05-04 6:01 PM, Marc Joliet  wrote:
>> I have both postfix and mailx. You'll notice that the category of
>> mailx is
>> mail-client and not mail-mta (or "net-mail", as you wrote).
>> mail-client/mailx is
>> simply a command line email client used for automating the sending and
>> receiving of emails; on my system it is as far as I can tell only used by
>> smartmontools.
>>
>> Unless msmtp also provides {,/usr}/bin/mail there isn't really an
>> issue here.
> 
> Oh... ok, well, now I'm  just wondering why it decided to install it all
> of a sudden...
> 
> 
> 
> Thanks
> 
> 
> 
mail-client/mailx : The /bin/mail program, which is used to send mail
via shell scripts

mail-mta/ssmtp: Extremely simple MTA to get mail off the system to a Mailhub

They are totally different and not alternate of each other.



Re: [gentoo-user] alternate mta's

2013-05-04 Thread Tanstaafl

On 2013-05-04 6:01 PM, Marc Joliet  wrote:

I have both postfix and mailx. You'll notice that the category of mailx is
mail-client and not mail-mta (or "net-mail", as you wrote). mail-client/mailx is
simply a command line email client used for automating the sending and
receiving of emails; on my system it is as far as I can tell only used by
smartmontools.

Unless msmtp also provides {,/usr}/bin/mail there isn't really an issue here.


Oh... ok, well, now I'm  just wondering why it decided to install it all 
of a sudden...




Thanks



Re: [gentoo-user] alternate mta's

2013-05-04 Thread Marc Joliet
Am Sat, 04 May 2013 16:17:01 -0400
schrieb Tanstaafl :

> On 2013-05-04 3:27 PM, Alan McKinnon  wrote:
> > On 04/05/2013 18:52, Tanstaafl wrote:
> >> Ok, I have msmpt installed and working just fine.
> >>
> >> Now, all of a sudden, emerge -pvuDN world wants to install mailx.
> >>
> >> equery depends mailx says rkhunter is pulling it in via virtual/mailx
> >>
> >> Why isn't this dependency satisfied by the presence of msmtp?
> >>
> >> And more importantly, how can I fix it without installing mailx?
> 
> > Simplest answer:
> >
> > It was never done because nobody did it.
> >
> > Whoever maintains virtual/mailx does so believing they have a decent set
> > of implementations available for you to use. There was never any
> > guarantee there that all possible satisfiers for virtual/mailx would be
> > listed.
> >
> > File a feature request at b.g.o. if you feel msmtp satsifies virtual/mailx.
> 
> Actually, I'm not really concerned about virtual/mails...
> 
> My question is why does it want to install the full program 
> 'net-mail/mailx'? That would mean I had two mta's on my system, which 
> should be a conflict, right? I know if I try to install postfix, it 
> complains about msmtp as a blocker.

I have both postfix and mailx. You'll notice that the category of mailx is
mail-client and not mail-mta (or "net-mail", as you wrote). mail-client/mailx is
simply a command line email client used for automating the sending and
receiving of emails; on my system it is as far as I can tell only used by
smartmontools.

Unless msmtp also provides {,/usr}/bin/mail there isn't really an issue here.

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


signature.asc
Description: PGP signature


Re: [gentoo-user] alternate mta's

2013-05-04 Thread Tanstaafl

On 2013-05-04 3:27 PM, Alan McKinnon  wrote:

On 04/05/2013 18:52, Tanstaafl wrote:

Ok, I have msmpt installed and working just fine.

Now, all of a sudden, emerge -pvuDN world wants to install mailx.

equery depends mailx says rkhunter is pulling it in via virtual/mailx

Why isn't this dependency satisfied by the presence of msmtp?

And more importantly, how can I fix it without installing mailx?



Simplest answer:

It was never done because nobody did it.

Whoever maintains virtual/mailx does so believing they have a decent set
of implementations available for you to use. There was never any
guarantee there that all possible satisfiers for virtual/mailx would be
listed.

File a feature request at b.g.o. if you feel msmtp satsifies virtual/mailx.


Actually, I'm not really concerned about virtual/mails...

My question is why does it want to install the full program 
'net-mail/mailx'? That would mean I had two mta's on my system, which 
should be a conflict, right? I know if I try to install postfix, it 
complains about msmtp as a blocker.




Re: [gentoo-user] alternate mta's

2013-05-04 Thread Alan McKinnon
On 04/05/2013 18:52, Tanstaafl wrote:
> Ok, I have msmpt installed and working just fine.
> 
> Now, all of a sudden, emerge -pvuDN world wants to install mailx.
> 
> equery depends mailx says rkhunter is pulling it in via virtual/mailx
> 
> Why isn't this dependency satisfied by the presence of msmtp?
> 
> And more importantly, how can I fix it without installing mailx?
> 
> Thanks,
> 
> Charles
> 


Simplest answer:

It was never done because nobody did it.

Whoever maintains virtual/mailx does so believing they have a decent set
of implementations available for you to use. There was never any
guarantee there that all possible satisfiers for virtual/mailx would be
listed.

File a feature request at b.g.o. if you feel msmtp satsifies virtual/mailx.


-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] alternate mta's

2013-05-04 Thread Tanstaafl

Ok, I have msmpt installed and working just fine.

Now, all of a sudden, emerge -pvuDN world wants to install mailx.

equery depends mailx says rkhunter is pulling it in via virtual/mailx

Why isn't this dependency satisfied by the presence of msmtp?

And more importantly, how can I fix it without installing mailx?

Thanks,

Charles