3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Maildrop Standalone + Pos...
FromSent OnAttachments
JamesOct 16, 2007 1:04 pm 
Sam VarshavchikOct 16, 2007 3:31 pm 
JamesOct 16, 2007 4:30 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] Maildrop Standalone + Postfix + LDAPActions...
From:James (jam@nttmcl.com)
Date:Oct 16, 2007 1:04:39 pm
List:net.sourceforge.lists.courier-maildrop

Hi guys i can't seem to get this combination of things to work was hoping someone could help me out. I don't think my maildrop is getting the info from authldaprc correctly. So i need help with this since i'm kinda new to maildrop.

I get this message in syslog B3D6F1A85FA: to=<jam@example.com>, relay=maildrop, delay=1.5, delays=0.51/0.05/0/0.93, dsn=5.1.1, status=bounced (user unknown. Command output: ERR: authdaemon: s_connect() failed: Permission denied Invalid user specified. )

Mails are located in folder structure like /home/vmail/domains/*username*/Maildir

Any help would be great TIA -James

Here's my postfix main.cf ########################## relayhost = mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all owner_request_special = no mailman_destination_recipient_limit = 1 mail_owner=postfix maildrop_destination_recipient_limit = 1 virtual_transport = maildrop virtual_uid_maps = static:800 virtual_gid_maps = static:800 virtual_mailbox_base = /home/vmail/domains virtual_mailbox_maps = ldap:/etc/postfix/ldap-mailboxes.cf virtual_mailbox_domains = example.com localhost, localhost.example.com, master.example.com virtual_alias_maps = $alias_database, hash:/etc/aliases, hash:/etc/postfix/aliases.mailman, ldap:/etc/postfix/ldap-groups.cf, hash:/etc/postfix/virtual

########################################

Here's the relevant master.cf part ######################################## maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} # flags=DRhu user=vmail argv=/usr/bin/maildrop -d $${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop} ${sender} ########################################

Here's /etc/maildroprc ######################################## # Global maildrop filter file

# Uncomment this line to make maildrop default to ~/Maildir for # delivery- this is where courier-imap (amongst others) will look. #DEFAULT="$HOME/Maildir" LOGNAME=tolower("$LOGNAME") EXTENSION="$1" RECIPIENT=tolower("$2") USER="$3" HOST="$4" SENDER="$5" DEFAULT="/home/vmail/domains/$USER/Maildir" logfile "/var/log/maildroprc.log" #########################################

Here's my /etc/courier/authldaprc ######################################## LDAP_URI ldap://localhost LDAP_PROTOCOL_VERSION 3 LDAP_BASEDN ou=People,dc=example,dc=com LDAP_TIMEOUT 5 LDAP_AUTHBIND 0 LDAP_MAIL mail LDAP_GLOB_UID vmail LDAP_GLOB_GID vmail LDAP_HOMEDIR uid LDAP_MAILROOT /home/vmail/domains/ LDAP_MAILDIR ./Maildir LDAP_DEFAULTDELIVERY defaultDelivery LDAP_FULLNAME cn LDAP_CLEARPW clearPassword LDAP_CRYPTPW userPassword LDAP_DEREF never LDAP_TLS 0 #######################################