1 message in net.sourceforge.lists.courier-maildrop[maildropl] Command output: Invalid u...
FromSent OnAttachments
Flora DruApr 5, 2004 7:29 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] Command output: Invalid user specified ErrorActions...
From:Flora Dru (dr@dicts.mak.ac.ug)
Date:Apr 5, 2004 7:29:37 am
List:net.sourceforge.lists.courier-maildrop

Hi, PLEASE HELP

I've a working postfix+courierimap+mysql+amavisd setup handling vitural users. I want to incoorporate maildrop to handle quotas + autorespond.

I've setup maildrop as adviced in th MAILDROP_README in postfix, with the user running maildrop owning the user mailboxes.

1. Maildrop configuration. ./configure --enable-maildirquota --enable-maildropmysql --with-trashquota --enable-maildrop-uid=507 --enable-maildrop-gid=507 --with-mysqlconfig=/etc/maildrop/maildropmysql.config --enable-restirct-trusted=0 --enable-trusted-users='popmail root' --enable-trusted- groups='popmail wheel'

2.master.cf maildrop configuration is maildrop unix - n n - - pipe flags=DRhu user=popmail argv=/usr/local/bin/maildrop -d ${recipient}

3.my transport for the test domain in the mysql DB is bedrock.test.com maildrop:

4. the user mailboxes are owned by the maildrop user (popmail) ls -l /home/popmail/ drwx------ 4 popmail popmail 128 Apr 5 12:24 bedrock.test.com

5. ls -l /usr/local/bin/maildrop -rwxr-xr-x 1 popmail popmail 1132706 Apr 5 12:19 /usr/local/bin/maildrop (I even tried with owner root.wheel but it din't work)

6.ls -l /etc/maildrop/maildropmysql.config -rw------- 1 popmail popmail 3000 Apr 2 10:44 /etc/maildrop/maildropmysql.config

7. postconf -n returns: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no home_mailbox = Maildir/ inet_interfaces = all local_recipient_maps = mysql:/etc/postfix/aliases.cf $alias_maps local_transport = virtual mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_transport = maildrop mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient, envelope_recipient masquerade_domains = masquerade_exceptions = root mydestination = $myhostname, localhost $mydomain mydomain = test.com myhostname = mail.test.com mynetworks = xxx.xxx.xxx.xxx mynetworks_style = subnet myorigin = test.com newaliases_path = /usr/sbin/sendmail queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/packages/postfix/README_FILES sample_directory = /usr/share/doc/packages/postfix/samples sendmail_path = /usr/sbin/sendmail setgid_group = postdrop smtpd_client_restrictions = smtpd_helo_restrictions = transport_maps = mysql:/etc/postfix/transport.cf unknown_local_recipient_reject_code = 450 virtual_gid_maps = mysql:/etc/postfix/ids.cf

When i try to send mail to a user under the bedrock.test.com, i get the following error

to=<di@bedrock.test.com>, relay=maildrop, delay=1, status=bounced (user unknown. Command output: Invalid user specified. )

Please help, i've searched all archives and tried many different setups but in vain.

Thank you,

Florence N Kivunike DICTS Makerere University