On Wednesday 09 September 2009 22:02:25 Xavier Parizet wrote: > Stroller a écrit : > > On 9 Sep 2009, at 19:06, Xavier Parizet wrote: > >>>>> ... > >>>>> Does anyone know how I can force postfix to add the domain to the > >>>>> search > >>>>> query? > >>>> > >>>> Is mydomain parameter set in /etc/postfix/main.cf ? > >>> > >>> Yes, I believe this is necessary for postfix to actually accept emails? > >> > >> I don't think so. > > > > I believe - but I could be mistaken - that the domain must be in > > mydestination. > > I agree with you. The postfix configurations files should help us more... > > > In my case (and by default?) that contains $mydomain > > > > Stroller. I have attached the output of "postconf -n" and the main.cf and master.cf files. Don't have a ldap.cf file as it's configured inside the main.cf file. The aliases are parsed correctly, but I noticed, while researching this, that it doesn't seem to correctly match the users, but relies on cyrus to tell it if the mailbox exists or not. And before I forget, I use fetchmail to collect the email from my ISP and configured fetchmail to hand it over to postfix. As for the versions and USE-flags I use: -- data ~ # eix -e cyrus-imapd [U] net-mail/cyrus-imapd Available versions: 2.3.14 2.3.14-r3 {idled kerberos kolab nntp pam replication sieve snmp ssl tcpd} Installed versions: 2.3.14(01:34:20 07/07/09)(kerberos pam sieve ssl tcpd -idled -nntp -replication -snmp) Homepage: http://asg.web.cmu.edu/cyrus/imapd/ Description: The Cyrus IMAP Server. data ~ # eix -e postfix [U] mail-mta/postfix Available versions: 2.5.5 2.5.7 ~2.5.9 ~2.6.5 {cdb dovecot-sasl hardened ipv6 ldap mailwrapper mbox mysql nis pam postgres sasl selinux ssl vda} Installed versions: 2.5.5(01:32:12 07/07/09)(ldap mailwrapper sasl ssl - cdb -dovecot-sasl -hardened -ipv6 -mbox -mysql -nis -pam -postgres -selinux - vda) Homepage: http://www.postfix.org/ Description: A fast and secure drop-in replacement for sendmail. data ~ # eix -e openldap [I] net-nds/openldap Available versions: 2.3.41 ~2.3.41-r1 2.3.43 ~2.3.43-r1 ~2.4.16 ~2.4.17 ~2.4.17-r1 {berkdb crypt cxx debug experimental gdbm gnutls icu iodbc ipv6 kerberos minimal odbc overlays perl samba sasl selinux slp smbkrb5passwd ssl syslog tcpd} Installed versions: 2.3.43(01:25:35 07/07/09)(berkdb crypt kerberos samba sasl ssl tcpd -debug -gdbm -ipv6 -minimal -odbc -overlays -perl -selinux -slp -smbkrb5passwd) Homepage: http://www.OpenLDAP.org/ Description: LDAP suite of application and development tools -- Thanks, Joost