Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Procmail help needed

Status
Not open for further replies.

awingnut

Programmer
Joined
Feb 24, 2003
Messages
759
Location
US
I am in desperate need of some help with a procmail problem. I cannot seem to find anyone who has been willing to reply on other forums so even though I am not running Linux I hope someone here might be able to point me in the right direction.

The problem is that I had a working procmail until a UPS problem brought down my network. While this seems unrelated it is the only event that corresponds to the start of my problem. As result of the failure I had to reboot the mail server which seems like no big deal. However, I can no longer run procmail because local delivery fails with the message:

Warning: connect #nn to subsystem private/procmail: connection refused

I am not a procmail expert so I have absolutely no idea where to even start looking to solve this. Would someone please point me in the right direction? TIA.
 
Do a 'locate private/procmail' and look at the permissions on the file. Maybe a package got updated and was helpful with a newer expected location of procmail binary (I don't like 'too helpful' myself). Also try running a legitimate command to feed something to procmail, but use 'strace -o output.log <command>' and you can get a healthy dose of what exactly is going on. Would maybe be helpful to see where procmail is being looked for so you can fix it.

----
JBR
 
Sorry for the long delay in replying but things sort of went down hill for a while (unrelated to this problem). Thanks for the reply.

I am not sure 'locate' can find that path as it might not be public. In any case 'locate' came up empty (as does 'find'). On the other hand, it might mean the path does not exist which could be the crux of the problem. Assuming it does not exist, how can I get it back and where is it supposed to be?
 
I finally stumbled across the file, I think. It is /var/spool/postfix/private/procmail. It is a socket with permissions set to srw-rw-rw. I've had strange problems with socket type files before where even with correct permissions it could not propery open the socket. If I delete this will procmail or postfix automagically recreate it or do I need to run some rebuild utility? TIA.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top