Problems with autoresponse
Goutam Baul <goutam.baul <at> gmail.com>
2008-07-08 10:05:03 GMT
Hello Everybody,
We are having a mailing system using RHEL 4, postfix, courier and openldap. The message store is in maildir format and all the individual mail stores are under the user and group vmail. The following packages are installed using rpms:
Postfix-2.3.8-4.rhel4
courier-authlib-debuginfo-0.58-1.4AS
courier-imap-4.1.1-1.4AS
courier-authlib-0.58-1.4AS
courier-authlib-devel-0.58-1.4AS
courier-imap-debuginfo-4.1.1-1.4AS
courier-authlib-ldap-0.58-1.4AS
mod_authz_ldap-0.26-2
openldap-2.2.13-6.4E
nss_ldap-226-13
python-ldap-2.0.1-2
openldap-clients-2.2.13-6.4E
php-ldap-4.3.9-3.15
openldap-devel-2.2.13-6.4E
openldap-servers-2.2.13-6.4E
We have compiled pcre-7.2 with the default options and maildrop-2.0.3 have been compiled with the following options:
--without-db --enable-maildrop-uid=vmail --enable-maildrop-gid=vmail --enable-maildropquota --with-etcdir=/etc/maildrop --with-devel
Additionally squirrelmail has been installed.
The mails are running properly. But while trying to setup the autoresponder we are having problems. We are testing it out for a user abcd <at> mycompany.in.
In the folder /home/vmail/mycompany.in/abcd we have created the file .mailfilter. Incidentally the Maildir folder is also in this location only.
The content of the .mailfilter file is
cc "| mailbot -t /home/vmail/mycompany.in/abcd/vacation.txt -A 'From: $RECIPIENT' /usr/sbin/sendmail -t ''"
the corresponding vacation.txt file is containing a text
this is a autoresponse message
When we send a message from a user account xyz <at> mycompany.in to the mailbox of abcd <at> mycompany.in then the message is getting delivered in the mail box of abcd <at> mycompany.in but instead of getting a autoresponse, the mail box of the user xyz <at> mycompany.in is getting a message from the MAILER-DAEMON with the following text
This is the mail system at host mail.mycompany.in. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message.
The Postfix program
<
abc <at> mycompany.in>: Command died with status 1: "/usr/local/bin/maildrop". Command output: sendmail: fatal: open /etc/postfix/
main.cf: Permission denied
We have generated the mail using squirrelmail. Can you please give us some hints regarding the probable cause of this? Search in google has not helped much.
I can send mail using command
from the command prompt
With regards,
Goutam
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Courier-maildrop mailing list
Courier-maildrop <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/courier-maildrop