"Adriano G. Morao Jr" <samproc(_at_)gsc(_dot_)weblinq(_dot_)com> asks:
i have an account from yahoo. i tried to send
from this email, and still i can received. Pls
check my declaration.
:0h:
* ^From:(_dot_)*myaccount(_at_)yahoo\(_dot_)com
/dev/null
what file is missing?
Assuming the above is in file ".procmailrc" in your home
directory and you have .forward properly set up, no files
are missing.
The "h" flag tells procmail to "filter the header" almost always in
combination with the "f" flag. Here it's meaningless, and likely
generated an error msg in your log file, if you have logging enabled
in your .procmailrc file. You want, if I understand correctly, to
deliver the mail, not filter it, which would use the "H" flag,
telling procmail to search the header for that From: line (except
that "H" is the default so recipes usually omit it).
Try:
:0
* ^From:(_dot_)*myaccount(_at_)yahoo\(_dot_)com
/dev/null
or better yet, so you can see the result more easily while debugging:
:0:
* ^From:(_dot_)*myaccount(_at_)yahoo\(_dot_)com
testfile
You probably want to read the procmailrc man page several times.
Good luck
Jim
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail