

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
8 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] execute an autoreply ...| From | Sent On | Attachments |
|---|---|---|
| Thierry B | Jan 23, 2005 4:11 pm | |
| Stefan Hornburg | Jan 24, 2005 12:49 am | |
| Thierry B | Jan 24, 2005 1:10 am | |
| Rolan Yang | Jan 24, 2005 6:55 am | |
| Thierry B | Jan 24, 2005 7:06 am | |
| Devin Rubia | Jan 24, 2005 8:37 am | |
| Thierry B | Jan 24, 2005 8:56 am | |
| Devin Rubia | Jan 24, 2005 11:53 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [maildropl] execute an autoreply script in maildroprc | Actions... |
|---|---|---|
| From: | Thierry B (deb...@bouhnik.biz) | |
| Date: | Jan 24, 2005 7:06:05 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Hello,
thanks, but I have aother problem. I'd like that when a mail is sent to te...@linux.thierry.eu.org that he places it at the folder .Teil and that il executs my script, to send an autoreply to the sender. And in my configuration, he does only the first line of: if (/^To: te...@linux.thierry.eu.org/) { exception { xfilter "/etc/autoreply.sh thie...@autoreply.linux.thierry.eu.org $FROM" to "$HOME/$DEFAULT/.Teil/" } }
So he executes my autoreply script but he doesn't place the message in the good folder, and if I change the first an second line, he places in the good folder, but he never executes script.
Do you have an idea to have the both actions?
Thanks a lot.
This is my maildroprc.
if ( $SIZE < 26144 ) { exception { xfilter "/usr/bin/spamassassin --prefspath=$HOME/$DEFAULT/.spamassassin/user_prefs" } }
if (/^X-Spam-Flag: *YES/) { exception { to "$HOME/$DEFAULT/.Spam/" } } if (/^To: te...@linux.thierry.eu.org/) { exception { xfilter "/etc/autoreply.sh thie...@autoreply.linux.thierry.eu.org $FROM" to "$HOME/$DEFAULT/.Teil/" } } else { exception { to "$HOME/$DEFAULT" } }
Rolan Yang wrote:
About 2 weeks ago, I posted my mailfilter script which does autoreply using mailbot. You can see it at the bottom of the courier-imap archives at http://tinyurl.com/49vl4
I put my spam filtering and antivirus scripts in the systemwide /etc/maildrop/maildroprc. It looks like this:
if ($SIZE < 262144) { exception { xfilter "/usr/bin/spamc -u $LOGNAME" ANOMY=/usr/local/anomy xfilter "/usr/local/f-prot/tools/scan-mail.pl" } if (/was a virus\/worm\/trojan. It was removed./:b) { logfile "/var/log/maildrop.log" log "VIRUS DETECTED" to "/dev/null" } }
~Rolan
Thierry B wrote:
Hello, I'd like that my maildroprc, executes a shell script when a message is sent to te...@linux.thierry.eu.org
But it doesn't work.
Could you tell me the good syntax?
Thanks.
this is my maildroprc:
SENDMAIL="/usr/sbin/sendmail -oi -f $FROM"
if ( $SIZE < 26144 ) { exception { xfilter "/usr/bin/spamassassin --prefspath=$HOME/$DEFAULT/.spamassassin/user_prefs" } }
if (/^X-Spam-Flag: *YES/) { exception { to "$HOME/$DEFAULT/.Spam/" } } if (/^To: te...@linux.thierry.eu.org/) { exception { to "$HOME/$DEFAULT/.Teil/" './autoreply.sh thie...@localhost.net $FROM' } } else { exception { to "$HOME/$DEFAULT" } }
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop







