[Kolab-devel] Kolab 2.1 Distribution list

gelpi@corona.it corona at gelpi.it
Thu Jan 19 15:13:36 CET 2006


Tobias Brunner wrote:
> Hi everybody
> 
> I'm having the same problems as Andrea.
> I installed the 2.1 development december 15 snapshot.
> The distribution lists are not working.
> 
> As discussed, I changed the ownership definition in the file  
> ldapdistlist.cf.template to OWNERSHIP=kolab-n:kolab-r. After running  
> kolabconf, the permission on the file was changed correctly.
> I also deleted the entry "root: /dev/null" in  
> /kolab/etc/postfix/aliases so the mails to root doesn't end in the  
> nirvana.
> 
> Now when I send a mail to for example postmaster at tobru.ch, it looks  
> like this in the postfix.log:
> 
> Jan 19 14:08:50 iffigenia <info> postfix/smtpd[13204]: connect from  
> mail.suisa.ch[193.8.197.11]
> Jan 19 14:08:50 iffigenia <info> postfix/smtpd[13204]: D544F20717:  
> client=mail.suisa.ch[193.8.197.11]
> Jan 19 14:08:50 iffigenia <info> postfix/cleanup[13207]: D544F20717:  
> message-id=<OF64A7BC49.5DDA4E1B-ONC12570FB.00491C2E-C12570FB.00492093 at SUISA.CH>
> Jan 19 14:08:50 iffigenia <info> postfix/qmgr[8644]: D544F20717:  
> from=<Tobias.Brunner at suisa.ch>, size=1059, nrcpt=1 (queue active)
> Jan 19 14:08:50 iffigenia <info> postfix/smtpd[13204]: disconnect from  
> mail.suisa.ch[193.8.197.11]
> Jan 19 14:08:51 iffigenia <info> postfix/smtpd[13210]: connect from  
> localhost[127.0.0.1]
> Jan 19 14:08:51 iffigenia <info> postfix/smtpd[13210]: 13E8420719:  
> client=localhost[127.0.0.1]
> Jan 19 14:08:51 iffigenia <info> postfix/cleanup[13211]: 13E8420719:  
> message-id=<OF64A7BC49.5DDA4E1B-ONC12570FB.00491C2E-C12570FB.00492093 at SUISA.CH>
> Jan 19 14:08:51 iffigenia <info> postfix/qmgr[8644]: 13E8420719:  
> from=<tobias.brunner at suisa.ch>, size=1237, nrcpt=1 (queue active)
> Jan 19 14:08:51 iffigenia <info> postfix/smtpd[13210]: disconnect from  
> localhost[127.0.0.1]
> Jan 19 14:08:51 iffigenia <info> postfix/pipe[13208]: D544F20717:  
> to=<postmaster at tobru.ch>, relay=kolabfilter, delay=1, status=sent  
> (iffigenia.tobru.ch)
> Jan 19 14:08:51 iffigenia <info> postfix/qmgr[8644]: D544F20717: removed
> Jan 19 14:08:51 iffigenia <info> postfix/smtpd[13215]: connect from  
> localhost[127.0.0.1]
> Jan 19 14:08:51 iffigenia <info> postfix/smtpd[13215]: BD7D62071B:  
> client=localhost[127.0.0.1]
> Jan 19 14:08:51 iffigenia <info> postfix/cleanup[13211]: BD7D62071B:  
> message-id=<OF64A7BC49.5DDA4E1B-ONC12570FB.00491C2E-C12570FB.00492093 at SUISA.CH>
> Jan 19 14:08:51 iffigenia <info> postfix/qmgr[8644]: BD7D62071B:  
> from=<tobias.brunner at suisa.ch>, size=1833, nrcpt=1 (queue active)
> Jan 19 14:08:51 iffigenia <info> postfix/smtpd[13215]: disconnect from  
> localhost[127.0.0.1]
> Jan 19 14:08:51 iffigenia <info> postfix/smtp[13212]: 13E8420719:  
> to=<postmaster at tobru.ch>, relay=127.0.0.1[127.0.0.1], delay=0,  
> status=sent (250 2.6.0 Ok, id=12726-01, from MTA([127.0.0.1]:10026):  
> 250 Ok: queued as BD7D62071B)
> Jan 19 14:08:51 iffigenia <info> postfix/qmgr[8644]: 13E8420719: removed
> Jan 19 14:08:51 iffigenia <info> postfix/pipe[13217]: BD7D62071B:  
> to=<root at tobru.ch>, orig_to=<postmaster at tobru.ch>,  
> relay=kolabmailboxfilter, delay=0, status=bounced (service  
> unavailable. Command output: Failed to set recipient: Invalid response  
> code received from server, code 550 )
> Jan 19 14:08:51 iffigenia <info> postfix/cleanup[13207]: EDD232071C:  
> message-id=<20060119130851.EDD232071C at iffigenia.tobru.ch>
> Jan 19 14:08:52 iffigenia <info> postfix/qmgr[8644]: EDD232071C:  
> from=<>, size=3758, nrcpt=1 (queue active)
> Jan 19 14:08:52 iffigenia <info> postfix/qmgr[8644]: BD7D62071B: removed
> Jan 19 14:08:52 iffigenia <info> postfix/smtp[13221]: EDD232071C:  
> to=<tobias.brunner at suisa.ch>, relay=mail.suisa.ch[193.8.197.11],  
> delay=1, status=sent (250 2.0.0 Message received OK)
> Jan 19 14:08:52 iffigenia <info> postfix/qmgr[8644]: EDD232071C: removed
> 
> Why is postfix trying to send this mail to root at tobru.ch? The  
> distribtion List points to tobruadmin at tobru.ch and this account exists  
> in Kolab and is able to receive mails directly sent to this mail  
> address.
> Ok, it sends this mail to root at tobru.ch because this is defined in the  
> aliases file. But why is that defined? Do I have to add a user  
> "root at tobru.ch"? I tried to add an alias to tobruadmin at tobru.ch but is  
> isn't working either.
> Mails to distribution list addresses which are not defined in the  
> aliases file don't work either (f.e. virusalert). The output to the  
> postfix.log looks similar to this above (code 550).
> 
> Please help me to get the distribution lists working!
> 
> Thanks a lot
> Tobias
> 
> 

Try this:

Add virtual_alias_maps that points to virtual_maps.

Run kolabconf and verify all is working.

After that remove virtual_alias_maps and verify aliases are still working.

When I run into that problem I remember that postconf doesn't show 
virtual_alias_maps till I add it manually.

I think this is a postfix problem. If you search your logs Postifix says 
the lookup table are not owned by root.

Let me know.

Andrea Gelpi




More information about the devel mailing list