You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Lars Oeschey <oe...@web.de> on 2004/05/06 23:54:58 UTC

mailowner root:mail

Hi,

I got my spamassassin running so far (still not good, but running at
least ;))
Now my problem is, that Mails are created with a ownership of root:mail
and 600 as access rights, so my user can't read them.
I have spamd running with "-u mail" but it didn't make a difference...

Lars

-- 
visit The C.O.R.E. http://www.the-core.net


RE: mailowner root:mail

Posted by Lars Oeschey <oe...@web.de>.
> Care to elaborate on your mail system? What MTA do you use? 
> MDA? How did 
> you integrate SpamAssassin?

hm, ok, seems it is a generic procmail problem first. No I managed to
mangle it so far, that I don't get any "normal" mails anymore, only Spam
is correctly put into the folder and mails to this list. I can't see the
error though, perhaps someone could help me?
The setup is fetchmail->procmail->courier-imap

/etc/procmailrc is just:

DEFAULT=$HOME/Maildir/
MAILDIR=$HOME/Maildir/
include $HOME/.procmailrc

and /home/lars/.procmailrc is:

DEFAULT=$HOME/Maildir/
LOGFILE=/var/log/procmail.log
MAILDIR=$HOME/Maildir/
SPAMIT=$HOME/Maildir/.Spam/

:0
* ^List-Id:.*SpamAssassin
$HOME/Maildir/.Lists.Spamassassin/

:0
* ^Subject:.*[MMM]
$HOME/Maildir/.Lists.MMM/

#:0
#* ^Subject:.*[LARTC]
#$HOME/Maildir/.Lists.lartc/

# bei Fehler zurück in die Queue
:0 e
{ EXITCODE=75 HOST }
# Überprüfung durch Spam Assassin
#
:0fw
| /usr/bin/spamc
:0
* ^X-Spam-Status: Yes
$SPAMIT
# bei Fehler zurück in die Queue
:0 e
{ EXITCODE=75 HOST }
#
:0 w
{
EXITCODE=$?
HOST
}


Re: mailowner root:mail

Posted by Matt Kettler <mk...@evi-inc.com>.
At 05:54 PM 5/6/2004, Lars Oeschey wrote:
>Hi,
>
>I got my spamassassin running so far (still not good, but running at
>least ;))
>Now my problem is, that Mails are created with a ownership of root:mail
>and 600 as access rights, so my user can't read them.
>I have spamd running with "-u mail" but it didn't make a difference...


Care to elaborate on your mail system? What MTA do you use? MDA? How did 
you integrate SpamAssassin?

Changing settings in SpamAssassin will not, and in fact can not fix this 
problem, as SpamAssassin doesn't do message delivery. That's a MDA problem.