procmail and formail
hello everyone
i would like to block the messages that comes with attachment .exe, .bat, and others right, this is working... other thing is send a message to user who send the file this is working too /etc/procmailrc Quote:
how can i do that? should be something like "| (formail $receiver) "... ?? can you help? |
You can extract the sender to a variable like this: SENDER=`formail -rtzxTo:`.
* Make sure you avoid loops (FROM_DAEMON, FROM_MAILER, stuff like that). |
you wanna mean:
Quote:
|
More something like
match a condition SENDER=`formail -rtzxTo:` | echo -en "Subject: some subject\n$(cat some message)\n" | $SENDMAIL -F noreply@yourhost -f noreply@yourhost $SENDER |
doesnt work
:-( |
doesnt work
That reply doesn't contain anything anyone can deal with. Better post the whole procmail recipe and related error messages. |
All times are GMT -5. The time now is 11:48 PM. |