* Re: [gentoo-user] alternate mta's
2013-05-04 20:17 ` Tanstaafl
@ 2013-05-04 22:01 ` Marc Joliet
2013-05-04 22:15 ` Tanstaafl
2013-05-05 9:23 ` Alan McKinnon
2013-05-05 15:46 ` Todd Goodman
2 siblings, 1 reply; 11+ messages in thread
From: Marc Joliet @ 2013-05-04 22:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]
Am Sat, 04 May 2013 16:17:01 -0400
schrieb Tanstaafl <tanstaafl@libertytrek.org>:
> On 2013-05-04 3:27 PM, Alan McKinnon <alan.mckinnon@gmail.com> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] alternate mta's
2013-05-04 22:01 ` Marc Joliet
@ 2013-05-04 22:15 ` Tanstaafl
2013-05-04 23:46 ` Thanasis
2013-05-05 9:45 ` Marc Joliet
0 siblings, 2 replies; 11+ messages in thread
From: Tanstaafl @ 2013-05-04 22:15 UTC (permalink / raw
To: gentoo-user
On 2013-05-04 6:01 PM, Marc Joliet <marcec@gmx.de> 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...
<shrug>
Thanks
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] alternate mta's
2013-05-04 22:15 ` Tanstaafl
@ 2013-05-04 23:46 ` Thanasis
2013-05-05 14:28 ` SOLVED - " Tanstaafl
2013-05-05 9:45 ` Marc Joliet
1 sibling, 1 reply; 11+ messages in thread
From: Thanasis @ 2013-05-04 23:46 UTC (permalink / raw
To: gentoo-user; +Cc: Tanstaafl
on 05/05/2013 01:15 AM Tanstaafl wrote the following:
> On 2013-05-04 6:01 PM, Marc Joliet <marcec@gmx.de> 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...
>
> <shrug>
>
> 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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* SOLVED - Re: [gentoo-user] alternate mta's
2013-05-04 23:46 ` Thanasis
@ 2013-05-05 14:28 ` Tanstaafl
0 siblings, 0 replies; 11+ messages in thread
From: Tanstaafl @ 2013-05-05 14:28 UTC (permalink / raw
To: gentoo-user
On 2013-05-04 7:46 PM, Thanasis <thanasis@asyr.hopto.org> 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 <marcec@gmx.de> 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...
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] alternate mta's
2013-05-04 22:15 ` Tanstaafl
2013-05-04 23:46 ` Thanasis
@ 2013-05-05 9:45 ` Marc Joliet
1 sibling, 0 replies; 11+ messages in thread
From: Marc Joliet @ 2013-05-05 9:45 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1273 bytes --]
Am Sat, 04 May 2013 18:15:20 -0400
schrieb Tanstaafl <tanstaafl@libertytrek.org>:
> On 2013-05-04 6:01 PM, Marc Joliet <marcec@gmx.de> 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...
>
> <shrug>
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] alternate mta's
2013-05-04 20:17 ` Tanstaafl
2013-05-04 22:01 ` Marc Joliet
@ 2013-05-05 9:23 ` Alan McKinnon
2013-05-05 14:35 ` Tanstaafl
2013-05-05 15:46 ` Todd Goodman
2 siblings, 1 reply; 11+ messages in thread
From: Alan McKinnon @ 2013-05-05 9:23 UTC (permalink / raw
To: gentoo-user
On 04/05/2013 22:17, Tanstaafl wrote:
> On 2013-05-04 3:27 PM, Alan McKinnon <alan.mckinnon@gmail.com> 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.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] alternate mta's
2013-05-05 9:23 ` Alan McKinnon
@ 2013-05-05 14:35 ` Tanstaafl
0 siblings, 0 replies; 11+ messages in thread
From: Tanstaafl @ 2013-05-05 14:35 UTC (permalink / raw
To: gentoo-user
On 2013-05-05 5:23 AM, Alan McKinnon <alan.mckinnon@gmail.com> 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...
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] alternate mta's
2013-05-04 20:17 ` Tanstaafl
2013-05-04 22:01 ` Marc Joliet
2013-05-05 9:23 ` Alan McKinnon
@ 2013-05-05 15:46 ` Todd Goodman
2 siblings, 0 replies; 11+ messages in thread
From: Todd Goodman @ 2013-05-05 15:46 UTC (permalink / raw
To: gentoo-user
* Tanstaafl <tanstaafl@libertytrek.org> [130504 16:18]:
> On 2013-05-04 3:27 PM, Alan McKinnon <alan.mckinnon@gmail.com> 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.
^ permalink raw reply [flat|nested] 11+ messages in thread