OK, so I am trying to get mutt to work, and in the process I have now gotten
myself utterly stuck in the hell that is known as UNIX email configuration.
this is what I have tried to do (bear in mind I have not even gotten CLOSE
to actually using mutt yet...)

first, I configured fetchmail to grab the actual email off three pop
servers:

the .fetchmailrc file looks as such:

set postmaster "rhad"
set bouncemail
set no spambounce
set properties ""


poll pop.mail.yahoo.com protocol pop3
     user "USERNAME" with pass "BLAHBLAH" is "rhad" here
     user "USERNAME" with pass "BLAHBLAH" is "rhad" here

poll mail.uh.edu protocol pop3
     user "USERNAME" with pass "BLAHBLAH" is "rhad" here


running fetchmail however, resulted in me first needing to copy this file
from my home directory to the root directory, and then running it as root.
This in turn gave me lovely error output:

rhad-linux:/home/rhad # fetchmail -v --keep -a >> /var/log/fetchmail
fetchmail: SMTP connect to localhost failed
fetchmail: can't raise the listener; falling back to /usr/bin/sendmail
fetchmail: MDA returned nonzero status 19968
fetchmail: MDA returned nonzero status 19968
fetchmail: MDA returned nonzero status 19968
fetchmail: socket error while fetching from pop.mail.yahoo.com
fetchmail: SMTP connect to localhost failed
fetchmail: can't raise the listener; falling back to /usr/bin/sendmail
fetchmail: MDA returned nonzero status 19968
fetchmail: MDA returned nonzero status 19968
fetchmail: socket error while fetching from pop.mail.yahoo.com
fetchmail: SMTP connect to localhost failed
fetchmail: can't raise the listener; falling back to /usr/bin/sendmail
fetchmail: MDA returned nonzero status 19968
fetchmail: socket error while fetching from mail.uh.edu
rhad-linux:/home/rhad

not good.  Anyhow, before I ran that at all, I created a sendmail.mc as
such:

include(`/usr/share/sendmail/m4/cf.m4')
VERSIONID(`linux for smtp-only setup')
OSTYPE(linux)
FEATURE(always_add_domain)dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`SMART_HOST',`smtp:[mail.swbell.net]')
MASQUERADE_AS(`swbell.net')
FEATURE(`masquerade_envelope')
define(RELAY_MAILER, TCP)
FEATURE(genericstable,`hash -o /etc/mail/genericstable'
GENERICS_DOMAIN_FILE(`/etc/mail/genericsdomain')
define(`ALIAS_FILE', `/etc/mail/aliases')
FEATURE(redirect)

and then converted it to a .cf file via m4.  I then edited the
genericstable, genericsdomain, and aliases files so that sendmail can
convert local names to internet email addresses, so that my username
collects root's email, and that sendmail knows what mail is to be delivered
locally.

after that I also tried to send some email (local and global) only to get
SMTP errors.  ARGH!

what is going on here!  The more I read and configure the more
unnecessary/wrong stuff I seem to do!

Thanks everyone for any ideas.  If you have a similar config as mine
(multiple pop servers for email, one outgoing mail server at the ISP, a DSL
connection, and linux (2.4 based)) please let me see some of your files so
that I can compare and find out what the hell is going on..

Thanks all,

---rhad

Reply via email to