Dear List,

We want to deliver mails for a particular user in a folder other than his
default mail folder when the user is on vacation and also send a vacation
message to the sender of the mail informing about the vacation. We are using
courier-maildrop that came along with the courier-imap package to do this.
Incidentally our POP3 and IMAP is courier and the MTA is Postfix.

We are able to send the vacation message using the mailbot and we are able
to divert the delivery to a different folder by writing mail filtering
command in the .mailfilter file. But we are not being able to combine both
the commands in a single file.

If the .mailfilter file contain the line

"cc "| mailbot -t /home/goutam.baul/vacation.txt -A 'From:
[email protected]'  /usr/sbin/sendmail -t ''

then the mail gets delivered to the normal mail folder and the recipient
gets a mail informing about the vacation.

If the .mailfilter file contain the line

to /abcd

then the messages are getting delivered to the folder /abcd

We need to have both the functionalities and are unable to do so.

If we simply combine both the commands in a single file as different lines
then we are getting syntax error.

The maildrop –v output is

maildrop 1.8.1 Copyright 1998-2005 Double Precision, Inc.
GDBM extensions enabled.
Courier Authentication Library extension enabled.
Maildir quota extension enabled.
This program is distributed under the terms of the GNU General Public
License. See COPYING for additional information.

Any clues please?

With regards,

Goutam

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to