1 message in net.sourceforge.lists.courier-maildrop[maildropl] /etc/maildroprc does not ...
FromSent OnAttachments
Sagara WijetungaAug 25, 2003 8:04 pm 
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] /etc/maildroprc does not get executed for normal usersActions...
From:Sagara Wijetunga (saga@yahoo.com)
Date:Aug 25, 2003 8:04:02 pm
List:net.sourceforge.lists.courier-maildrop

I have installed maildrop-1.5.3 on Intel Pentium III based server running Red Hat Linux 8.0 as the local delivery agent for sendmail 8.12.5.

I want to execute /etc/maildroprc to all local users (us@mydomain.com) to deliver mail to virtual maildir of the form /var/sites/mydomain/maildir/user.

The maildrop complains “Unable to open mailbox” for us@mydomain.com, but ro@mydomain.com, maildrop delivers the mail as per the rule given in /etc/maildroprc. Is this a bug or feature of maildrop or my side configuration error?

My configuration details are given below.

Regards Sagara

1. ./configure line ./configure --enable-syslog=1 --without-db --with-dirsync --enable-trusted-users=’root mail’ --enable-trusted-groups=’root mail’ --enable-DEBUG

2. /etc/maildroprc logfile "/var/log/maildrop" DEFAULT=/var/spool/mail to /var/sites/mydomain.com/maildir/sagara

3. Sendmail Delivery agent declaration Mprocmail, P=/usr/local/bin/maildrop, U=root, F=DFMDFMSPhnu9, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrFromSMTP, T=DNS/RFC822/X-Unix, A=maildrop -d $u

Mlocal, P=/usr/local/bin/maildrop, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=maildrop -d $u

4. maillog entries for us@mydomain.com Aug 25 23:59:46 lotus sendmail[1205]: h7PHxkvd001205: from=<sag@mydomain.com>, size=1155, class=0, nrcpts=1, msgid=<004101c36b41$703d07c0$0301a8c0@lan>, proto=SMTP, daemon=MTA, relay=[192.168.1.3]

Aug 25 23:59:46 lotus maildrop[1207]: Unable to open mailbox.

Aug 25 23:59:46 lotus sendmail[1206]: h7PHxkvd001205: to=<sag@mydomain.com>, ctladdr=<sag@mydomain.com> (500/500), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31342, dsn=4.0.0, stat=Deferred: local mailer (/usr/local/bin/maildrop) exited with EX_TEMPFAIL

5. maillog entries for ro@mydomain.com Aug 26 00:02:59 lotus sendmail[1211]: h7PI2xvd001211: from=<sag@mydomain.com>, size=1123, class=0, nrcpts=1, msgid=<004c01c36b41$e304e160$0301a8c0@lan>, proto=SMTP, daemon=MTA, relay=[192.168.1.3]

Aug 26 00:02:59 lotus sendmail[1212]: h7PI2xvd001211: to=<ro@mydomain.com>, ctladdr=<sag@mydomain.com> (500/500), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31308, dsn=2.0.0, stat=Sent

6. No .mailfilter under home directories ============