Postfix bounced mails

Sven Gehr mailingliste at dreampixel.de
Tue Nov 9 09:23:06 CET 2010


Am Montag, 8. November 2010, 10:37:43 schrieb Gunnar Wrobel:
> Zitat von Sven Gehr <mailingliste at dreampixel.de>:

> > I have a problem with my kolab-installation. I poll my mais from a
> > external webserver via pop3 (fetchmail) but the mails are rejected. The
> > postfix-log:
> > 
> > Nov 03 14:03:54 mx <info> postfix/smtp[8555]: 38A0FDA277:
> > to=<ich at gmx.de>, relay=mail.gehr-edv.de[62.75.220.38]:25, delay=0.07,
> > delays=0/0/0.05/0.02, dsn=5.0.0, status=bounced (host
> > mail.gehr-edv.de[62.75.220.38] said: 553 sorry, that domain isn't in my
> > list of allowed rcpthosts (#5.7.1) (in reply to
> > RCPT TO command))
> > 
> > what's wrong on my kolab?

> I don't think there is anything wrong. It looks like your fetchmail
> process tries to inject the polled mails with the address of the
> original recipient (<ich at gmx.de>). And I assume your Kolab server does
> not think that "gmx.de" is his own domain. In that case it is quite
> okay to reject the messages.

> If I remember correctly then fetchmail should rewrite the addresses,
> shouldn't it?

I found the problem. My /etc/nsswitch.conf look like this:

passwd:         files ldap
group:          files ldap


hosts:          files dns
services:       ldap [NOTFOUND=return] files
networks:       ldap [NOTFOUND=return] files
protocols:      ldap [NOTFOUND=return] files
rpc:            ldap [NOTFOUND=return] files
ethers:         ldap [NOTFOUND=return] files


netgroup:       ldap [NOTFOUND=return] files

I change it to:


passwd:         files ldap
group:          files ldap


hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
services:       files
networks:       files
protocols:      files
rpc:            files
ethers:         files

netgroup:       ldap [NOTFOUND=return] files

and now it works

-- 
Viele Grüße

Sven Gehr
Mailclient: Linux/K-Mail
Linux-User-Nr: #368994




More information about the users mailing list