Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th November 2005, 04:58
crudolphy crudolphy is offline
Member
 
Join Date: Nov 2005
Location: The Woodlands (Near Houston) Texas USA
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
Default Procmail not delivering to mailboxes

I followed the ISP Server setup using Ubuntu Hoary Hedgehog. Everything was working well. However now it appears that Procmail is not delivering mail to user mailbox. I have checked the setup against the HowTo and I have followed exactly.

After sending test email from a Hotmail account the message I get in my mail.log is:

NOV 17 21:21:27 crud-03 postfix/smtpd [7576]: connect from bay14-f21.bay14.hotmail.com[64.4.49.21]

NOV 17 21:21:27 crud-03 postfix/smtpd[7576]: E64A21421F7: message-id=<BAY14-F21A0D17A39F9D0E8B8E3F8CB5E0@phx.gbl>

NOV 17 21:21:28 crud-03 procmail[7581]: suspicious rcfile "/var/www/web1/.procmailrc"

NOV 17 21:21:28 crud-03 postfix/local[7580]: E64A21421F7: to=<web1_chuck@crud-03.ccrudolphy.net>, orig_to=<chuck@ccrudolphy.net>, relay = local, delay = 1, status = sent (delivered to command: /usr/bin/procmail -f-)

NOV 17 21:21:28 crud-03 postfix/smtpd[7576]: disconnect from bay14-f21.bay14.hotmail.com[64.4.49.21]

When I check my mail with a mail client there is nothing in my mailbox. When I check the directory /var/www/web1/user/web1_chuck/Maildir/cur or new or tmp they are all empty.

The contents of the "suspicious" /var/www/web1/.procmailrc file are:

MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR

INCLUDERC=/var/www/web1/user/web1_chuck/.mailsize.rc
INCLUDERC=/var/www/web1/user/web1_chuck/.quota.rc
INCLUDERC=/var/www/web1/user/web1_chuck/.antivirus.rc
INCLUDERC=/var/www/web1/user/web1_chuck/.local-rules.rc
INCLUDERC=/var/www/web1/user/web1_chuck/.html-trap.rc
INCLUDERC=/var/www/web1/user/web1_chuck/.spamassasin.rc
## INCLUDERC=/var/www/web1/user/web1_chuck/.autoresponder.rc

Don't know what is going on! Sure would appreciate some help as to where to look for answers on how to fix this problem.

Thanks in advance

Chuck Rudolphy
Reply With Quote
Sponsored Links
  #2  
Old 18th November 2005, 05:37
crudolphy crudolphy is offline
Member
 
Join Date: Nov 2005
Location: The Woodlands (Near Houston) Texas USA
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
Default Procmail not delivering to user mailbox

Well, I fixed my own problem. For whatever reason (which I don't remember) I had changed my directory permissions to world writeable. That causes procmail to bomb the mails. The key was the "suspicious" statement in the mail.log. I read the man page for procmail found the message description, checked the permissions, changed them, and now I get mail.

Chuck
Reply With Quote
  #3  
Old 8th February 2006, 22:57
st2xo st2xo is offline
Member
 
Join Date: Jan 2006
Location: Wiesloch [DE]
Posts: 47
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Chuck, thanks for posting the solution! helped me much - especially the hint to read the manpage
__________________
regards,
Stefan.
Reply With Quote
  #4  
Old 9th February 2006, 19:13
crudolphy crudolphy is offline
Member
 
Join Date: Nov 2005
Location: The Woodlands (Near Houston) Texas USA
Posts: 40
Thanks: 1
Thanked 0 Times in 0 Posts
 
Thumbs up Procmail

Appreciate the expression of thanks. I am doing a lot of learning here with the help of others in these forums, especially Till and Falko.

Chuck
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding new mailboxes m u r Installation/Configuration 4 22nd August 2005 16:05
Procmail radioguy General 1 17th August 2005 13:38


All times are GMT +2. The time now is 14:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.