1 |
On Wednesday 09 September 2009 22:02:25 Xavier Parizet wrote: |
2 |
> Stroller a écrit : |
3 |
> > On 9 Sep 2009, at 19:06, Xavier Parizet wrote: |
4 |
> >>>>> ... |
5 |
> >>>>> Does anyone know how I can force postfix to add the domain to the |
6 |
> >>>>> search |
7 |
> >>>>> query? |
8 |
> >>>> |
9 |
> >>>> Is mydomain parameter set in /etc/postfix/main.cf ? |
10 |
> >>> |
11 |
> >>> Yes, I believe this is necessary for postfix to actually accept emails? |
12 |
> >> |
13 |
> >> I don't think so. |
14 |
> > |
15 |
> > I believe - but I could be mistaken - that the domain must be in |
16 |
> > mydestination. |
17 |
> |
18 |
> I agree with you. The postfix configurations files should help us more... |
19 |
> |
20 |
> > In my case (and by default?) that contains $mydomain |
21 |
> > |
22 |
> > Stroller. |
23 |
|
24 |
I have attached the output of "postconf -n" and the main.cf and master.cf |
25 |
files. |
26 |
Don't have a ldap.cf file as it's configured inside the main.cf file. |
27 |
|
28 |
The aliases are parsed correctly, but I noticed, while researching this, that |
29 |
it doesn't seem to correctly match the users, but relies on cyrus to tell it |
30 |
if the mailbox exists or not. |
31 |
|
32 |
And before I forget, I use fetchmail to collect the email from my ISP and |
33 |
configured fetchmail to hand it over to postfix. |
34 |
|
35 |
As for the versions and USE-flags I use: |
36 |
-- |
37 |
data ~ # eix -e cyrus-imapd |
38 |
[U] net-mail/cyrus-imapd |
39 |
Available versions: 2.3.14 2.3.14-r3 {idled kerberos kolab nntp pam |
40 |
replication sieve snmp ssl tcpd} |
41 |
Installed versions: 2.3.14(01:34:20 07/07/09)(kerberos pam sieve ssl |
42 |
tcpd -idled -nntp -replication -snmp) |
43 |
Homepage: http://asg.web.cmu.edu/cyrus/imapd/ |
44 |
Description: The Cyrus IMAP Server. |
45 |
|
46 |
data ~ # eix -e postfix |
47 |
[U] mail-mta/postfix |
48 |
Available versions: 2.5.5 2.5.7 ~2.5.9 ~2.6.5 {cdb dovecot-sasl hardened |
49 |
ipv6 ldap mailwrapper mbox mysql nis pam postgres sasl selinux ssl vda} |
50 |
Installed versions: 2.5.5(01:32:12 07/07/09)(ldap mailwrapper sasl ssl - |
51 |
cdb -dovecot-sasl -hardened -ipv6 -mbox -mysql -nis -pam -postgres -selinux - |
52 |
vda) |
53 |
Homepage: http://www.postfix.org/ |
54 |
Description: A fast and secure drop-in replacement for sendmail. |
55 |
|
56 |
data ~ # eix -e openldap |
57 |
[I] net-nds/openldap |
58 |
Available versions: 2.3.41 ~2.3.41-r1 2.3.43 ~2.3.43-r1 ~2.4.16 ~2.4.17 |
59 |
~2.4.17-r1 {berkdb crypt cxx debug experimental gdbm gnutls icu iodbc ipv6 |
60 |
kerberos minimal odbc overlays perl samba sasl selinux slp smbkrb5passwd ssl |
61 |
syslog tcpd} |
62 |
Installed versions: 2.3.43(01:25:35 07/07/09)(berkdb crypt kerberos |
63 |
samba sasl ssl tcpd -debug -gdbm -ipv6 -minimal -odbc -overlays -perl -selinux |
64 |
-slp -smbkrb5passwd) |
65 |
Homepage: http://www.OpenLDAP.org/ |
66 |
Description: LDAP suite of application and development tools |
67 |
-- |
68 |
|
69 |
Thanks, |
70 |
|
71 |
Joost |