procmail
[Top] [All Lists]

Re: Procmail And .forward help.

2003-11-24 13:17:19
I don't know if this made it to the list, I don't have it in my procmail
list folder.

I'd appreciate if someone assists me on this, or if I am missing lots of
things, point me to the correct starting point.

Thank you.



On Fri, 21 Nov 2003 17:00:14 -0800, multimedia-fan(_at_)myrealbox(_dot_)com 
wrote:

Greetings,

I know that this issue is beaten several times here, but reading the man
pages, FAQs, and list archives, and I am still unable to have this issue
resolved.



Issue:

Attempting to have a user level procmail rules (.procmailrc) in addition
to the global procmailrc file in /etc/procmailrc.

Current configuration:
Server: Red Hat Linux 7.2
Sendmail 8.11.6 ( all security updates and patches installed)
procmail v3.21

A small domain of less than 100 users is hosted on the server.


Procmail is configured as a LDA.

I created a test user account and named it someone.

Without a .forward file (as mentioned in the faqs) everything works, and
there is no need to a .forward file, but a local .procmailrc doesn't,
and I don't find an explanation for that.


If I put a .forward file, anything in /etc/procmailrc gets ignored,
nothing in the .procmailrc works (although the .procmailrc works
perfectly in a sand box), and the email gets delivered as is to the
local user.

I tried all the suggested formats suggested in 
http://www.faqs.org/faqs/mail/filtering-faq/section-18.html


"|IFS=' '&&p=/usr/bin/procmail&&test -f $p&&exec $p -f-||exit
75#someone"
"|exec /usr/bin/procmail #someone"
"|exec /usr/bin/procmail USER=someone"
"|IFS=' ';exec /usr/bin/procmail #someone"
"|IFS=' ';exec /usr/bin/procmail USER=someone"
"|/usr/bin/procmail #someone"
"|IFS=' '&&exec /usr/bin/procmail ||exit 75 #someone"

I read somewhere this may work, and although I doubt it, I tried it too.

\someone, "|/usr/bin/procmail"

in my .procmailrc I specified.

LOGFILE=/home/someone/procmail-someone.log

But the file is not even created.

If I run the following

procmail -m .procmailrc < test.msg

Everything works.

I looked in /var/maillog and /var/messages, and I don't see anything
wrong.

The main procmail.log doesn't have any indication of the test emails I
sent to the account someone when configuring the .forward file, which
makes sense for me since a .forward file is controlling the message.

While I am not a procmail expert, I think that I have exhausted any
option that I am aware of.
Do I need to do something else?What did I miss?
You help will be appreciated.

Thank you.





_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>