Ok guys, I have googled the snot out of this one... Maybe someone in here
can give it a try.
I have a mail server running postfix, procmail, spamassassin, fetchmail,
gotmail, and fetchyahoo.
Every thing coming directly to me and the stuff that fetchmail pulls in
gets processed through procmail and spamassassin. the mail that gotmail
and fetchyahoo pull in is going through procmail but is not getting tagged
by spamassassin.
here are all relevant files.
.procmailrc
MAILDIR=$HOME # Default mail directory
DEFAULT=/var/spool/mail/deano
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log.`date +%y-%m-%d`
###SpamAssassin
:0fw
* < 256000
| /usr/bin/spamc
:0e
EXITCODE==$?
##Catch SPAM
:0
* ^X-Spam-Flag: YES
* ^X-Spam-Level: \*\*\*\*\*\*
SPAM
###To '' [EMAIL PROTECTED] '' INBOX '' m
:0:
* [EMAIL PROTECTED]
TriLUG
###To '' [EMAIL PROTECTED] '' Yahoo '' m
:0:
* [EMAIL PROTECTED]
Yahoo
###To '' [EMAIL PROTECTED] '' HotMail '' m
:0:
* [EMAIL PROTECTED]
HotMail
.gotmailrc
# This is a sample gotmail configuration file. Rename it to .gotmailrc
# and place it in your home directory to use it.
# See the manpage for more options!
[EMAIL PROTECTED]
password=XXXXXXXXX
domain=hotmail.com
[EMAIL PROTECTED]
only-new
delete
#use-procmail
#procmail-bin=/usr/bin/procmail
# folders="Inbox , Junk Mail"
retry-limit=3
.fetchmailrc
poll mail.charter.net
proto pop3
user "dprice153"
pass "XXXXXXXX"
is deano
nokeep
.fetchyahoo
username = deano153
password = XXXXXXXX
use-https = 0
use-spool = 1
spool = /usr/bin/procmail
spool-mode = pipe
use-proxy = 0
proxy-host = proxy.hostname.com
proxy-port = 80
proxy-username = proxyAuthenicationUserName
proxy-password = proxyAuthenicationPassword
use-forward = 0
mail-host = localhost
send-to = [EMAIL PROTECTED]
send-from = [EMAIL PROTECTED]
new-messages-only = 1
no-delete = 0
folder = Inbox
quiet = 0
get-external = 0
no-errors = 0
empty-trash-after = 0
empty-trash-before = 0
empty-bulk = 1
repeat-interval = 0
leave-unread = 0
no-from-line = 0
logout = 0
status-only = 0
crontab entries
deano Yes fetchmail -m "/usr/bin/procmail -d %T"
Yes fetchyahoo.pl
Yes gotmail
The only difference here is that fetchmail uses command line options. and
gotmail and fetchyahoo do not accept options.
Dean Price
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
910-797-3895
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc