Re: [Nolug] Yet Another Cox+email Question, but not the one you think.

From: Scott Harney <scotth_at_scottharney.com>
Date: Mon, 23 Jun 2003 09:38:24 -0500
Message-ID: <8765mwg8pr.fsf@zenarcade.local.lan>

Ron Johnson <ron.l.johnson@cox.net> writes:

> I know that it's possible for fetchmail to grab pop3 mail and put
> it in /var/mail/$USER, can exim or postfix be configured to send
> mail out to, say, smtp.east.cox.net, and have both fetchmail and
> exim|postfix retain, in my case, "Ron Johnson <ron.l.johnson@cox.net>",
> instead of "me@localhost"?

hmm. the above is a problem of your mail client, not your mail server.
I use postfix in the way you are describing. I also use fetchmail in
the way you are describing. Actually, in postfix I set myhostname to
equal the reverse lookup for my IP addresses (ie dig -x
my.external.cox.adress). Take a look at full headers to see it. This
was to resolve an issue with sending mail to AOL. It's moot now since
I must relay through smtp.east.cox.net, but "the rigth way to do it"
nonetheless.

I then setup scottharney.com as a virtual domain within postfix. that
handles smtp.

there's nothing particularly special to set fetchmail to retrieval mail
from a place and put it in /var/spool/mail.

> If so, then where does spamassasin fit in to the equation?

Just set up procmailrc to call spamassassin and then filter after that
as described in the spamassassin docs for an individual user session.
When you retrieve via fetchmail, the inbound mail will be passed through
procmail before being dropped in /var/spool/mail/$USERNAME (if procmailrc
sets that as your final mail resting place ;) )

-- 
Scott Harney<scotth@scottharney.com>
"...and one script to rule them all."
gpg key fingerprint=7125 0BD3 8EC4 08D7 321D CEE9 F024 7DA6 0BC7 94E5
___________________
Nolug mailing list
nolug@nolug.org
Received on 06/23/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST