Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.