This is a discussion on [courier-users] mailbot useage within the Courier-Imap forums, part of the Mail Servers and Related category; Hi everyone, I'm trying to use mailbot here, and I'm stuck. I've tried including a rule, similar ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi everyone,
I'm trying to use mailbot here, and I'm stuck. I've tried including a rule, similar to the one that is provided in the man page, in my ..mailfilter file, but with no luck. The rule is: if (/^To:.*kjohnson@hanoveruniform.com.*/) { cc "| /usr/local/bin/mailbot -t /usr/local/virtual/fixertec.net/kjohnson/message -A 'From: kjohnson@hanoveruniform.com' /usr/bin/mail" } I have also tried: if (/^To:.*kjohnson@hanoveruniform.com.*/) { cc "| /usr/local/bin/mailbot -t /home/admin/message -A 'From: kjohnson@hanoveruniform.com' /usr/sbin/sendmail -f ''" } Neither of these work, and I don't even know how to debug mailbot. I've also tried using mailbot from the command line, like: cat file| mailbot -t /home/admin/grepx -A 'From: test@domain.tld' -r kjohnson@fixertec.net /usr/bin/mail and: cat file| mailbot -t /home/admin/grepx -A 'From: test@domain.tld' -r kjohnson@fixertec.net /usr/sbin/sendmail -f '' I guess I'm looking for some more examples on mailbot usage, as well as where my error lies. -- Kyle Johnson Fixertec <http://portal.fixertec.net/> 410-609-4191 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642 _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |