Re: SA 3.0.2

From: Mike Vanecek (rh_list_at_mm-vanecek.cc)
Date: 02/24/05


To: General Red Hat Linux discussion list <redhat-list@redhat.com>
Date: Thu, 24 Feb 2005 12:49:32 -0600

On Thu, 24 Feb 2005 07:10:18 -0600, Benjamin J. Weiss wrote
> Mike Vanecek wrote:
>
> >I am reinstalling spamassassin. I have main.cf to call procmail
> >(mailbox_command = /usr/bin/procmail). I have /etc/procmail set with
> >
> ><snip>
> >
>
> >Outgoing mail is not filtered and incoming mail is filtered. However, I am
> >getting a write logfile error on incoming:
> >
> >Feb 17 17:24:07 www procmail[30460]: Error while writing to
> >"/var/log/procmail.log"
> >
> >-rw-rw-r-- 1 root wheel 0 Feb 17 16:54 procmail.log
> >
> >As what user does procmail run? I suspect that the procmail process does
not
> >have write permission for the log? Other than not logging, is there an easy
> >workaround?
> >
> >
> Procmail changes to run as whichever user is receiving the email.
> My procmail logs all go to ~/Procmail/log:
>
> [benjamin@www benjamin]$ ls -alh /home/benjamin/Procmail/log
> -rw------- 1 benjamin benjamin 160 Feb 24 07:12
> /home/benjamin/Procmail/log
>
> The appropriate entries from my .procmailrc (which I have a default
> in /etc/skel) PMDIR=$HOME/Procmail LOGFILE=$PMDIR/log
>
> HTH,

Yes it does, thank you. Rather than have a procmail log for each user, I have
a every user group which has write permission to one log file. That way I
only need to look at a single log. I normally do not run log except when
debugging.

Thanks again.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


Relevant Pages

  • Re: [SLE] [OT] Proposed SuSE List Etiquette
    ... I suspect this issue is not particularly well suited to being ... Then what others do with headers doesn't matter. ... to automatically set my Reply-to field for outgoing mail to the list's ... this isn't something that procmail ...
    (SuSE)
  • SA 3.0.2
    ... I have main.cf to call procmail ... Outgoing mail is not filtered and incoming mail is filtered. ...
    (RedHat)
  • Re: configure spamassassin to only check incoming email
    ... I've ran into a problem related to spamassassin. ... Because spamassassin also checks outgoing mail, ... call spamc from procmail, at delivery time. ...
    (Fedora)
  • Re: [SLE] [OT] Proposed SuSE List Etiquette
    ... like to automatically set my Reply-to field for outgoing mail to the ... procmail can do, ... A simple matter to add a 'Reply-To:' header on your incoming mail ...
    (SuSE)
  • Re: How to restrict the outgoing mail with sendmail
    ... nilesh vaghela wrote: ... Need to have restriction of size 10MB for some of user for outgoing mail. ... procmail will do this easily. ... I think milter is right solution but do not know which milter to be explore. ...
    (RedHat)