* [gentoo-user] mutt probs
@ 2005-07-06 20:37 maxim wexler
2005-07-07 6:31 ` Philip Webb
2005-07-07 10:44 ` Walter Dnes
0 siblings, 2 replies; 6+ messages in thread
From: maxim wexler @ 2005-07-06 20:37 UTC (permalink / raw
To: gentoo-user
Hello everyone,
Following the "Quickstart Guide to Mutt" have
encountered the following problems:
$fetchmail -av -m "/usr/bin/procmail -d %T"
fetchmail: 6.2.5 querying yahoo.com (protocol POP3) at
Wed Jul 6 13:51:41 2005: poll started
fetchmail: timeout after 300 seconds waiting to
connect to server yahoo.com.
fetchmail: socket error while fetching from yahoo.com
fetchmail: 6.2.5 querying yahoo.com (protocol POP3) at
Wed Jul 6 13:56:41 2005: poll completed
fetchmail: Query status=2 (SOCKET)
fetchmail: normal termination, status 2
Is that protocole(POP3) correct for yahoo?
Also, the guide doesn't mention it but do I need to
emerge sendmail? It just says enter m in Muttpager(?)
if I want to use sendmail.
man mutt mentions sendmail but man sendmail drew a
blank.
Here's my attempt at emerging sendmail:
dayglo root # emerge -av sendmail
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[blocks B ] mail-mta/nbsmtp (is blocking
mail-mta/sendmail-8.13.3)
[blocks B ] mail-mta/ssmtp (is blocking
mail-mta/sendmail-8.13.3)
[ebuild N ] mail-mta/sendmail-8.13.3 +ipv6 -ldap
-mailwrapper -mbox -milter -sasl +ssl +tcpd 1,923 kB
Total size of downloads: 1,923 kB
!!! Error: The above package list contains packages
which cannot be installed
!!! on the same system.
Can anybody give me direction?
-mw
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] mutt probs
2005-07-06 20:37 [gentoo-user] mutt probs maxim wexler
@ 2005-07-07 6:31 ` Philip Webb
2005-07-07 10:44 ` Walter Dnes
1 sibling, 0 replies; 6+ messages in thread
From: Philip Webb @ 2005-07-07 6:31 UTC (permalink / raw
To: gentoo-user
050706 maxim wexler wrote:
> Following "Quickstart Guide to Mutt" I encountered the following problems:
> $fetchmail -av -m "/usr/bin/procmail -d %T"
> fetchmail: 6.2.5 querying yahoo.com (protocol POP3) at
> Wed Jul 6 13:51:41 2005: poll started
> fetchmail: timeout after 300 seconds waiting to
> connect to server yahoo.com.
That sounds like a problem at Yahoo: maybe someone else can help there.
> Also, the guide doesn't mention it but do I need to emerge sendmail?
You need to have something to actually send mails from Mutt,
but Ssmtp should be adequate for an ordinary desktop system.
First, 'emerge ssmtp' & edit /etc/ssmtp/ssmtp.conf to taste,
then specify it in ~/.muttrc :
set sendmail="/usr/sbin/ssmtp"
--
========================,,============================================
SUPPORT ___________//___, Philip Webb : purslow@chass.utoronto.ca
ELECTRIC /] [] [] [] [] []| Centre for Urban & Community Studies
TRANSIT `-O----------O---' University of Toronto
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] mutt probs
2005-07-06 20:37 [gentoo-user] mutt probs maxim wexler
2005-07-07 6:31 ` Philip Webb
@ 2005-07-07 10:44 ` Walter Dnes
2005-07-08 10:10 ` Robert Svoboda
1 sibling, 1 reply; 6+ messages in thread
From: Walter Dnes @ 2005-07-07 10:44 UTC (permalink / raw
To: gentoo-user
On Wed, Jul 06, 2005 at 01:37:04PM -0700, maxim wexler wrote
> Hello everyone,
>
> Following the "Quickstart Guide to Mutt" have
> encountered the following problems:
>
> $fetchmail -av -m "/usr/bin/procmail -d %T"
> fetchmail: 6.2.5 querying yahoo.com (protocol POP3) at
> Wed Jul 6 13:51:41 2005: poll started
> fetchmail: timeout after 300 seconds waiting to
> connect to server yahoo.com.
> fetchmail: socket error while fetching from yahoo.com
> fetchmail: 6.2.5 querying yahoo.com (protocol POP3) at
> Wed Jul 6 13:56:41 2005: poll completed
> fetchmail: Query status=2 (SOCKET)
> fetchmail: normal termination, status 2
>
> Is that protocole(POP3) correct for yahoo?
If you're using Yahoo.com, I believe that you have to pay for popmail
access. I.e., it's not part of the free package. If you do have an
account see http://help.yahoo.com/help/us/mail/pop/pop-03.html for the
correct settings.
> Also, the guide doesn't mention it but do I need to
> emerge sendmail? It just says enter m in Muttpager(?)
> if I want to use sendmail.
>
> man mutt mentions sendmail but man sendmail drew a
> blank.
>
> Here's my attempt at emerging sendmail:
mutt needs something to provide the functionality of sendmail.
sendmail is a huge, complex beast, which you probably don't want to
administer. You only need a very basic subset of sendmail in order to
push your email "out the door" from your system to your ISP's smarthost.
ssmtp provides that basic functionality.
The ssmtp binary is "/usr/sbin/ssmtp", and it also usually has a symlink
"/usr/sbin/sendmail", for those programs that expect to see sendmail. I
strongly recommend removing the sendmail symlink, and inserting a dummy
file that cannot be overwritten, by executing the commands...
rm /usr/sbin/sendmail
touch /usr/sbin/sendmail
chmod 555 /usr/sbin/sendmail
chattr +i /usr/sbin/sendmail
If you set up ssmtp with the sendmail symlink, and don't watch what
you're doing, chatty cron jobs will send their output to "root", which
will go to "root@your_isp"; oops. In your .muttrc, enter the line...
set sendmail="/usr/sbin/ssmtp -v -d3"
so that mutt knows which MTA to use for sendmail-type services.
--
Walter Dnes <waltdnes@waltdnes.org>
My musings on technology and security at http://tech_sec.blog.ca
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] mutt probs
2005-07-07 10:44 ` Walter Dnes
@ 2005-07-08 10:10 ` Robert Svoboda
2005-07-08 17:36 ` Walter Dnes
0 siblings, 1 reply; 6+ messages in thread
From: Robert Svoboda @ 2005-07-08 10:10 UTC (permalink / raw
To: gentoo-user
Hi,
* Walter Dnes <waltdnes@waltdnes.org> [2005-07-07 13:00]:
[...]
> If you set up ssmtp with the sendmail symlink, and don't
> watch what you're doing, chatty cron jobs will send their
> output to "root"
I don't think this is the case, ssmtp or bsmtp can't do a
local delivery. (That's the reason I'm running postfix on my
local machine - to get local emails) Or am I mistaken? Please
correct me.
Robert
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] mutt probs
2005-07-08 10:10 ` Robert Svoboda
@ 2005-07-08 17:36 ` Walter Dnes
0 siblings, 0 replies; 6+ messages in thread
From: Walter Dnes @ 2005-07-08 17:36 UTC (permalink / raw
To: gentoo-user
On Fri, Jul 08, 2005 at 12:10:06PM +0200, Robert Svoboda wrote
> Hi,
>
> * Walter Dnes <waltdnes@waltdnes.org> [2005-07-07 13:00]:
>
> > If you set up ssmtp with the sendmail symlink, and don't watch what
> > you're doing, chatty cron jobs will send their output to "root"
>
> I don't think this is the case, ssmtp or bsmtp can't do a
> local delivery.
It *WASN'T* doing "local delivery". *THAT* was the problem. ssmtp
forwards *EVERYTHING*, including email for "root" (no domain specified)
to my ISP's MTA (i.e. "smarthost"). When no domain is specified, the
ISP's MTA defaults to appending the local domain to generate a full
email address. Root at my ISP was getting my cron job outputs.
Yes, it did happen to me. That was my most embarressing moment in
terms of screwing up in linux. What I *SHOULD* have done is set
root=my_user_ID
in /etc/ssmtp/ssmtp.conf and my_user_ID would've gotten the outputs. I
have that set now, but I prefer to play it safe by stepping on the .
The root redirection only applies for userid < 10 (e.g. root = 0). I
don't know if any cron jobs send output to userids between 10 and 999.
--
Walter Dnes <waltdnes@waltdnes.org>
My musings on technology and security at http://tech_sec.blog.ca
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] mutt probs
@ 2005-07-06 20:40 maxim wexler
0 siblings, 0 replies; 6+ messages in thread
From: maxim wexler @ 2005-07-06 20:40 UTC (permalink / raw
To: gentoo-user
Hello everyone,
Following the "Quickstart Guide to Mutt" have
encountered the following problems:
forgot to mention
____________________________________________________
Sell on Yahoo! Auctions no fees. Bid on great items.
http://auctions.yahoo.com/
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-08 17:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-06 20:37 [gentoo-user] mutt probs maxim wexler
2005-07-07 6:31 ` Philip Webb
2005-07-07 10:44 ` Walter Dnes
2005-07-08 10:10 ` Robert Svoboda
2005-07-08 17:36 ` Walter Dnes
-- strict thread matches above, loose matches on Subject: below --
2005-07-06 20:40 maxim wexler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox