Re: Re: ISPman + CourierIMAP + maildrop + Postfix
Jim <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.user |
|---|---|
| Message-ID | <[email protected]> |
Hmmm. Well, I am unfortunately starting to run out of ideas. I'd try checking your ldap log for clues as to what might be happening. As for as the to=<atestoni_azienda3_it-gH+WsCr1+wQDEN4ujrZYptvLeJWuRmrY@public.gmane.org> goes: Ispman stores a mail routing address in ldap. It uses this address to know where to send the mail. It looks like postfix is indeed picking up the routing address from ldap as it is returning atestoni_azienda3_it-gH+WsCr1+wQDEN4ujrZYpow8niRw+/[email protected] Is virgilio.draksoft.com the address of your mail server? If so, do you have postfix configured to allow mail to that address? If virgilio.draksoft.com is not the address of your mail server, then you need to edit the mail routing attribute in ldap. I'm looking at your /usr/lib/courier-imap/etc/maildrop-ldap.conf and notice a couple things off: * Change mail_attr to mailRoutingAddress * I have &(objectclass=ispmanDomainUser)(ispmanStatus=active) for filter, although I think yours should work also. * Make sure that bindpw is actually the correct password for ldap (if you are disallowing anon binds) Jim Marco Carcano wrote: >> Date: Wed, 29 Dec 2004 11:26:36 -0500 >> From: Jim <[email protected]> >> Subject: Re: ISPman + CourierIMAP + maildrop + Postfix > > > as you suggested I discovered that maildrop were not compiled with > ldap support: > > ldd /usr/bin/maildrop |grep ldap > > gave no results > > So I did as you told: I modified the spec file in configure section > >> --enable-maildropldap >> --with-ldapconfig=%courier_confdir/%confldap > > >> As a side note, I had some problems getting the source rpm to compile > > I have been luky: it compiled without problems. Now the output of > ldd /usr/bin/maildrop |grep ldap > is > libldap-2.2.so.7 > >> Have you edited /usr/lib/courier-imap/etc/maildrop-ldap.conf to reflect > > Yes, here it is: > > hostname localhost > basedn o=ispman > binddn cn=Directory Administrator,o=ispman > bindpw mysecret > filter &(&(objectclass=ispmanDomainUser)) > timeout 5 > search_method mail > mail_attr mailLocalAddress > uid_attr uid > uidnumber_attr uidNumber > gidnumber_attr gidNumber > maildir_attr maildir > homedirectory_attr homeDirectory > quota_attr mailQuota > >> Something else to try: I had to make maildrop suid root before it would >> deliver mail to the user's mailboxes. chmod u+s maildrop will take care >> of that for you. > > > I did it, but without changing the situation: > the content of maillog remains the same: > > virgilio postfix/qmgr[6524]: 483C113B19: from=<[email protected]>, > size=374, nrcpt=1 (queue active) > virgilio postfix/pipe[6530]: 483C113B19: > to=<atestoni_azienda3_it-gH+WsCr1+wQDEN4ujrZYptvLeJWuRmrY@public.gmane.org>, > orig=<[email protected]>, relay=maildrop, delay=16, status=bounced > (user unknown. Command output: invalid user specified) > > Is it right the rewrite did by the server? The recipient is > [email protected], but it appears to be rewrited to > atestoni_azienda3_it-gH+WsCr1+wQDEN4ujrZYptvLeJWuRmrY@public.gmane.org > > Thanks Again Jim > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.824 / Virus Database: 562 - Release Date: 28/12/2004 > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Ispman-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ispman-users -- Jim Canon Research Associate II Network and Systems Engineer National Geospatial Development Center West Virginia University Phone: (304) 293-8232 x6108 Fax: (304) 293-8185 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt