6 messages in net.sourceforge.lists.courier-maildrop[maildropl] Problems with autoresponse
FromSent OnAttachments
Goutam BaulJul 7, 2008 10:07 pm 
Goutam BaulJul 8, 2008 3:04 am 
Sam VarshavchikJul 8, 2008 4:02 am 
Goutam BaulJul 8, 2008 4:32 am 
EndaJul 8, 2008 5:04 am 
Goutam BaulJul 8, 2008 5:53 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Problems with autoresponseActions...
From:Goutam Baul (gout@gmail.com)
Date:Jul 8, 2008 3:04:40 am
List:net.sourceforge.lists.courier-maildrop

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 ab@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 xy@mycompany.in to the mailbox of ab@mycompany.in then the message is getting delivered in the mail box of ab@mycompany.in but instead of getting a autoresponse, the mail box of the user xy@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 <ab@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

sendmail xy@mycompany.in <xy@mycompany.in>

from the command prompt

With regards,

Goutam