LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-02-2006, 12:33 AM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
procmail


hi there,

This is my setup, I have a RHEL4 box auth Authenticating against Active
directory using winbind, all my users home directories are stored in the
home/username format.

i'm trying to setup procmail, spamassassin and postfix.

so far this is my /etc/procmailrc file

USER=$1
LOGNAME=$USER
HOME=/home/$USER
ORGMAIL=/var/spool/mail/$USER
MAILDIR=$HOME
DEFAULT=$ORGMAIL
LOGFILE=/var/log/procmail/procmail.log

DROPPRIVS=yes
:0fw
| /usr/bin/spamassassin
:0
* ^X-Spam-Status: Yes
* Subject: [SPAM]
$HOME/mail/Junk

and this is my error log from procmail

Cannot write to /home//.spamassassin/user_prefs: Permission denied
Failed to create default user preference file /home//.spamassassin/user_prefs
procmail: Couldn't create or rename temp file
"/var/spool/mail/tmp/1146537874.5128_0.mail.cathedral.qld.edu.au"
>From root@cathedral.qld.edu.au Tue May 2 12:44:30 2006
Subject: test
Folder: **Requeued**
0
Cannot write to /home//.spamassassin/user_prefs: Permission denied
Failed to create default user preference file /home//.spamassassin/user_prefs
procmail: Couldn't create or rename temp file
"/var/spool/mail/tmp/1146537912.5338_1.mail.cathedral.qld.edu.au"
>From bounce-qsite-lan_qsite_edu_au-750900....ozhosting.com Tue May 2
12:45:07 2006
Subject: [qsite-lan_qsite_edu_au] RE: Remote Permission Settings
Folder: **Requeued**
17365

Can someon help me fix or tell me what is goign wrong?
 
Old 05-03-2006, 10:43 AM   #2
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
oops, ignore me

Last edited by ioerror; 05-03-2006 at 10:45 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 08:01 PM
procmail divali Linux - Software 2 03-04-2005 09:09 AM
Procmail rcstest Red Hat 2 02-09-2005 03:53 AM
procmail help markehb Linux - Software 0 05-20-2004 10:23 AM
Procmail PcHammer Linux - Software 1 04-23-2003 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration