4 messages in net.sourceforge.lists.courier-maildrop[maildropl] postfix + maildrop + cour...
FromSent OnAttachments
bm...@bookcellar.com.auJul 31, 2005 1:04 am 
bm...@bookcellar.com.auJul 31, 2005 2:22 am 
Tony EarnshawJul 31, 2005 3:23 am 
bm...@bookcellar.com.auJul 31, 2005 6:51 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] postfix + maildrop + courier-imapActions...
From:bm...@bookcellar.com.au (bm@bookcellar.com.au)
Date:Jul 31, 2005 1:04:48 am
List:net.sourceforge.lists.courier-maildrop

Greetings, I have been trying to get postfix, maildrop and courier-imap to work together (using virtual domains & users) according to the MAILDROP_README.html [1] on postfix.org but with no luck so far. I am trying to make use of user+extension@domain style addresses (but even without extensions mail is not getting through). Without maildrop, everything works fine.

I am at a bit of a loss as to what the problem is, and couldn't find any direction in the list archive so any help is very much appreciated :-)

The error log (mail.log) says: Jul 31 15:03:50 dumbledore postfix/master[14291]: daemon started -- version 2.1.5 Jul 31 15:03:50 dumbledore postfix/qmgr[14296]: 77DCE20D6: from=<us@example.com.au>, size=570, nrcpt=1 (queue active) Jul 31 15:03:50 dumbledore postfix/pipe[14298]: 77DCE20D6: to=<user+ex@example.com.au>, relay=maildrop, delay=1127, status=deferred (temporary failure. Command out put: /usr/bin/maildrop: Invalid user specified. )

Obviously "user+ex@example.com.au" is an unknown user but addresses without an extension (eg "us@example.com.au") also fail.

I am using: courier-imap 3.0.8-4 postfix 2.1.5-9 maildrop 1.5.3-1.1

Thanks, Brett

[1]http://www.postfix.org/MAILDROP_README.html

Following is bits of my config which I thought might be of some help...

*** /etc/courier/userdb *** us@example.com.au imappw=xxxxxxxxxxxxx|uid=1xx|mail=/var/spool/vmail/example.com.au/user|home=/var/spool/vmail/domain.com.au/user|gid=1xx

*** /etc/maildroprc *** DEFAULT="/var/spool/vmail/$(DOMAIN)/$(USER)/"

*** master.cf *** maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop}

*** main.cf *** smtpd_banner = $myhostname ESMTP $mail_name biff = no append_dot_mydomain = no delay_warning_time = 12h myhostname = mail.example.com.au proxy_interfaces = 218.214.46.95

mydomain = lan alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = localhost, lan relayhost = mynetworks = 192.168.1.0/24 192.168.0.0/24 127.0.0.0/8 mailbox_size_limit = 104857600 message_size_limit = 10485760 recipient_delimiter = + inet_interfaces = all mail_spool_directory = /var/spool/mail/

virtual_mailbox_domains = example.com.au virtual_mailbox_base = /var/spool/vmail/ virtual_mailbox_maps = hash:/etc/postfix/vmailbox virtual_minimum_uid = 100 virtual_uid_maps = static:106 virtual_gid_maps = static:106 virtual_alias_maps = hash:/etc/postfix/virtual virtual_transport = maildrop maildrop_destination_recipient_limit = 1