I have configured Virtualmin step-by-step with this manual.
After that Virtualmin creates users good, creates records in ldap ‘Virtual’ database, but postfix can’t see the user. In /var/log/mail I see:
[code:1]Jul 11 16:02:56 sea postfix/local[11634]: 94B1CBF6E7: to=<user-domain.com@myhost.com>, orig_to=<user@domain.com>, relay=local, delay=5, delays=4.9/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "user-domain.com")[/code:1]
But this user is exists in system and I can see it with perl and with postfix webmin module.
My main.cf file is:
[code:1]myhostname = myhost.com
alias_maps = hash:/etc/aliases,ldap:/etc/postfix/alias_maps.1.ldap.conf
myorigin = /etc/mailname
mydestination = srv.myhost.com, myhost.com, localhost.myhost.com, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_maps = hash:/etc/postfix/virtual,ldap:/etc/postfix/virtual_alias_maps.1.ldap.conf
sender_bcc_maps = hash:/etc/postfix/bcc
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
[/code:1]
Maybe Virtualmin must add additional parameter ‘virtual_mailbox_maps’ with path to Mailbox folder?
Can anybody post working config with virtualmin & postfix & ldap?
Post edited by: Murz, at: 2008/07/11 05:10<br><br>Post edited by: Murz, at: 2008/07/13 19:55