I am working at getting SA working. No luck, yet.

Currently, I do not even see the log messages in the logs.

Here is what I have:

[12:35am]raw /usr/lib/courier/etc# cat maildropfilter
/usr/lib/courier/bin/maildrop
[12:35am]raw /usr/lib/courier/etc# cat maildrop
/usr/lib/courier/bin/maildrop


[12:36am]raw /home/mail/ed-ed# ls -l .
total 4
-rw-------  1 vmail  vmail    0 Feb 21  2003 .courier-default
drwx------  2 vmail  vmail  512 Dec 19 00:09 .mailfilters
drwx------  5 vmail  vmail  512 Dec 19 00:28 Maildir

[12:36am]raw /home/mail/ed-ed# ls -l .mailfilters/
total 4
-rw-------  1 vmail  vmail   39 Dec 19 00:19 rcptfilter
-rw-------  1 vmail  vmail  347 Dec 19 00:18 smtpfilter

[12:37am]raw /home/mail/ed-ed# cat .mailfilters/rcptfilter
log "########%%%%%%% test"
EXITCODE 99

[12:37am]raw /home/mail/ed-ed# cat .mailfilters/smtpfilter
import SENDER
import RECIPIENT
import HOME
import USER
PATH=/bin:/usr/bin::/usr/pkg/bin:/usr/local/bin:/usr/lib/courier/bin/
INBOX="Maildir/"
DEFAULT="$INBOX"
#SPAMFLD="$INBOX.Trash/"
SHELL=/bin/sh

log "******########3test"

exception {
# filter message
if ( $SIZE < 512000 )
{
        xfilter "/usr/pkg/bin/spamc"
}
}

#EXITCODE 0
to "$DEFAULT"



The email address [EMAIL PROTECTED] is set up in mysql as a virtual
account. The real mail user for these is vmail.

Aliases for him are setup like this:

[12:42am]raw /usr/lib/courier/etc/aliases# cat spamlessshanemp.com
@spamlessshanemp.com: dps-ed


Sending a test results in:

Dec 19 00:38:42 raw courierd: Waiting.  shutdown time=Fri Dec 19 01:20:15
2003, wakeup time=Fri Dec 19 01:20:15 2003, queuedelivering=1,
inprogress=0
Dec 19 00:38:51 raw courierd: newmsg,id=002DD1A2.3FE29CFB.00004001: dns;
localhost (localhost [127.0.0.1])
Dec 19 00:38:51 raw courierd:
started,id=002DD1A2.3FE29CFB.00004001,from=<[EMAIL 
PROTECTED]>,module=local,host=dps-ed!ed!777!777!/home/mail/ed-ed!!50000000S,addr=<dps-ed>
Dec 19 00:38:51 raw courierd: Waiting.  shutdown time=none, wakeup
time=Fri Dec 19 01:39:15 2003, queuedelivering=2, inprogress=1
Dec 19 00:38:51 raw courierlocal:
id=002DD1A2.3FE29CFB.00004001,from=<[EMAIL PROTECTED]>,addr=<[EMAIL 
PROTECTED]>,size=319,success:
Message delivered.
Dec 19 00:38:51 raw courierd: completed,id=002DD1A2.3FE29CFB.00004001


Does my problem have something to do with the fact that he is an alias? Do
I need to use some kind of specially named filter based on the alias? This
was not so clear in the docs (to me).

Thanks!

--
Joe Laffey              |  Want to convert subnet masks between different
LAFFEY Computer Imaging |  notations, or figure the number of IPs in a block?
St. Louis, MO           |  Whatmask - It's FREE (GPL) - NEW Version 1.2!
USA                     |  http://www.laffeycomputer.com/wm.html
------------------------------------------------------------------------------
Mail here will be rejected  -----> "Sigfried Trap" <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to