Hi all,
newby question:
I want to use spamassassin with procmail for special users but the
users donīt have their own directories.

/etc/procmailrc:

## begin
# SpamAssassin sample procmailrc
#
PATH=/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
MAILDIR=/var/spool/mail # You'd better make sure it exists
DEFAULT=$MAILDIR/web1p1
LOGFILE=/var/log/procmail.log
LOCKFILE=/var/lock/.lockmail

DROPPRIVS=yes

:0fw
* < 256000
| /usr/bin/spamassassin

####end###

This seems to work for all users, but I get the following error
message: 

 Subject: *****SPAM***** a great opportunity and wanting in           29165
  Folder: /var/spool/mail/web1p1                                            6737
procmail: Couldn't unlock "/var/lock/.lockmail"


1. How can I fix this, do I have to delete the lock file ? How ? Do I
have to put another line line

:0fw: /var/lock/proclock_$LOCKEXT
??

2. Is there a way to configure only for special users, e.g.
/var/spool/mail/web1p1
in this general config file /etc/procmailrc ?????

Thanks a lot !


-- 
Best regards,
 Toph                            mailto:[EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to