I'm no expert, but wanted to make it clear that you *do not* need the
recipient to have a valid shell login. I run a virtual system with all
my users in MySQL, and it works fine. The way I do autoresponding is
with the maildroprc file (instead of .mailfilter for each user), which
checks for the existence of a vacation.txt file in the user's home dir
(I have a set of "home" directories for my virtual users that are ONLY
used to place vacation messages in)... if maildroprc finds the
vacation.txt file, it sends an autoresponse...
if maildrop is running fine from the command line, perhaps there is a
problem with how you are invoking it from postfix (and the user error
message might be referring to the user that is trying to run the
> -----Original Message-----
> From: courier-maildrop-admin@... [mailto:courier-
> maildrop-admin@...] On Behalf Of Scott Renda
> Sent: Tuesday, May 13, 2003 9:47 AM
> To: courier-maildrop@...
> Subject: [maildropl] Mailbot/Autoreply Question
> I have searched the archives, and think I have an idea regarding my
> but I may be off. Using Postifx/Courier IMAP/Maildrop as MDA. Also
> Anomy Sanitizer/Spamassassin. Incoming mail runs through a user who
> Anomy and Spamassassin, then hands off to maildrop for local delivery.
> users, mostly of them squirrelmail have system accounts with shadow
> passwords, but no valid login shell, i.e., /sbin/nologin.
> It seems when I try to run mailbot to send an autoreply with a
> file, it just queues the mail. Eventually postifx delivers a bounce
> "/usr/local/bin/maildrop". Command output: This account is currently
> available." By account, it is referring to the intended recpipient.
> Running maildrop manually works. So I know my mailfilter syntax is
> If I remove the .mailfilter file, mail delivery resumes normally.
> I found this posting in the archive:
> Andy Bradford writes: It appears that maildrop requires that a user
> valid shell in > /etc/passwd to be able to send out autoreplies using
> mailbot command > (and possibly any other command run from
> this correct?
> Sam replied: Anything that runs an external command (xfilter,
> runs $SHELL to invoke the command, and $SHELL is initialized from the
> password file.
> My questions:
> *How is the maildrop daemon run, with what privileges or as what user?
> *When executing the cc command to copy the mail, does maildrop pass
> another user? Perhaps it runs in the context of the intended mail
> recipient, in this case, a local user?
> If I missed something obvious here, my apologies. Also, thanks to Sam
> the hard work.
> Scott Renda
> High Technology Solutions, Inc.
> Phone: 858-495-0508
> Fax: 858-571-5423
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> The only event dedicated to issues related to Linux enterprise
> Courier-maildrop mailing list