LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2002, 10:04 AM   #1
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Procmail problem


I try to use procmail in my user directory on a server to filter my mail. Procmail is called from .forward in my home directory.
However, it seems that sendmail ignores .forward and mails are not passed through procmail (the local mailer is mail).
I suspect know, what causes my problem: my home directory is not given in the
forward_path option in sendmail.cf, or an other forward path takes precedence there.
If so, I may dare to include $z/.forward there (I know the su password).
However, I am afraid that I make a mess in the config file if I edit it directly (and block the mails of 50 other users), as I read somewhere that the .cf files are compiled from *.mc files by m4.
So, can I directly edit sendmail.cf to add a new forward_path?
Should I stop sendmail meanwhile (or after) and restart it so that the new configuration be effected?
Do I have to specify procmail as a feature or mailer, even if it is called explicitly from .forward? (I'd rather avoid that, if possible).
Please help me!

Last edited by J_Szucs; 04-24-2002 at 03:18 PM.
 
Old 04-26-2002, 08:21 AM   #2
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Original Poster
Rep: Reputation: 58
Problem solved

There was no problem with sendmail.
It was a great experience: when editing unix config files from a remote Windows machine, one should rather struggle with ssh and vi than edit them with Wordpad through a network share...
I suspected this from the beginning, but was misleaded by some error messages.

Last edited by J_Szucs; 04-26-2002 at 08:23 AM.
 
  


Reply



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
Procmail problem Tinku Linux - Newbie 2 10-15-2005 09:54 AM
procmail problem Civic Linux - Software 1 04-07-2005 10:39 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
procmail problem Red Squirrel Linux - Software 4 01-28-2005 09:50 PM
procmail problem odious1 Linux - Networking 1 12-11-2003 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:23 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