[Kolab-devel] Kolab 2.1 Distribution list

Tobias Brunner tobias at tobru.ch
Fri Jan 20 08:46:26 CET 2006


Quoting "gelpi at corona.it" <corona at gelpi.it>:

> 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
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel
>
>
>

Hi

Hmm, this does not help.
If I look at the logfiles, it is still the same as before =(

Mail to postmaster at tobru.ch:
Jan 20 08:35:27 iffigenia <info> postfix/smtpd[17560]: connect from  
mail.suisa.ch[193.8.197.11]
Jan 20 08:35:27 iffigenia <info> postfix/smtpd[17560]: 6A14D18384:  
client=mail.suisa.ch[193.8.197.11]
Jan 20 08:35:27 iffigenia <info> postfix/cleanup[17564]: 6A14D18384:  
message-id=<OFABE72608.2CB80228-ONC12570FC.0029DA17-C12570FC.0029DE9B at SUISA.CH>
Jan 20 08:35:27 iffigenia <info> postfix/qmgr[17493]: 6A14D18384:  
from=<Tobias.Brunner at suisa.ch>, size=1072, nrcpt=1 (queue active)
Jan 20 08:35:27 iffigenia <info> postfix/smtpd[17560]: disconnect from  
mail.suisa.ch[193.8.197.11]
Jan 20 08:35:27 iffigenia <info> postfix/smtpd[17567]: connect from  
localhost[127.0.0.1]
Jan 20 08:35:27 iffigenia <info> postfix/smtpd[17567]: 9203920750:  
client=localhost[127.0.0.1]
Jan 20 08:35:27 iffigenia <info> postfix/cleanup[17568]: 9203920750:  
message-id=<OFABE72608.2CB80228-ONC12570FC.0029DA17-C12570FC.0029DE9B at SUISA.CH>
Jan 20 08:35:27 iffigenia <info> postfix/qmgr[17493]: 9203920750:  
from=<tobias.brunner at suisa.ch>, size=1250, nrcpt=1 (queue active)
Jan 20 08:35:27 iffigenia <info> postfix/smtpd[17567]: disconnect from  
localhost[127.0.0.1]
Jan 20 08:35:27 iffigenia <info> postfix/pipe[17565]: 6A14D18384:  
to=<postmaster at tobru.ch>, relay=kolabfilter, delay=0, status=sent  
(iffigenia.tobru.ch)
Jan 20 08:35:27 iffigenia <info> postfix/qmgr[17493]: 6A14D18384: removed
Jan 20 08:35:28 iffigenia <info> postfix/smtpd[17572]: connect from  
localhost[127.0.0.1]
Jan 20 08:35:28 iffigenia <info> postfix/smtpd[17572]: 0366818384:  
client=localhost[127.0.0.1]
Jan 20 08:35:28 iffigenia <info> postfix/cleanup[17568]: 0366818384:  
message-id=<OFABE72608.2CB80228-ONC12570FC.0029DA17-C12570FC.0029DE9B at SUISA.CH>
Jan 20 08:35:28 iffigenia <info> postfix/qmgr[17493]: 0366818384:  
from=<tobias.brunner at suisa.ch>, size=1848, nrcpt=1 (queue active)
Jan 20 08:35:28 iffigenia <info> postfix/smtpd[17572]: disconnect from  
localhost[127.0.0.1]
Jan 20 08:35:28 iffigenia <info> postfix/smtp[17569]: 9203920750:  
to=<postmaster at tobru.ch>, relay=127.0.0.1[127.0.0.1], delay=1,  
status=sent (250 2.6.0 Ok, id=14714-05, from MTA([127.0.0.1]:10026):  
250 Ok: queued as 0366818384)
Jan 20 08:35:28 iffigenia <info> postfix/qmgr[17493]: 9203920750: removed
Jan 20 08:35:28 iffigenia <info> postfix/pipe[17574]: 0366818384:  
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 20 08:35:28 iffigenia <info> postfix/cleanup[17564]: 2C99220750:  
message-id=<20060120073528.2C99220750 at iffigenia.tobru.ch>
Jan 20 08:35:28 iffigenia <info> postfix/qmgr[17493]: 2C99220750:  
from=<>, size=3773, nrcpt=1 (queue active)
Jan 20 08:35:28 iffigenia <info> postfix/qmgr[17493]: 0366818384: removed
Jan 20 08:35:28 iffigenia <info> postfix/smtp[17579]: 2C99220750:  
to=<tobias.brunner at suisa.ch>, relay=mail.suisa.ch[193.8.197.11],  
delay=0, status=sent (250 2.0.0 Message received OK)
Jan 20 08:35:28 iffigenia <info> postfix/qmgr[17493]: 2C99220750: removed

Mail to gugus at tobru.ch (defined distribution list):
Jan 20 08:36:35 iffigenia <info> postfix/smtpd[17560]: connect from  
mail.suisa.ch[193.8.197.11]
Jan 20 08:36:35 iffigenia <info> postfix/smtpd[17560]: 7124420750:  
client=mail.suisa.ch[193.8.197.11]
Jan 20 08:36:35 iffigenia <info> postfix/cleanup[17564]: 7124420750:  
message-id=<OF073EA3E5.97353458-ONC12570FC.0029FD40-C12570FC.0029FE8D at SUISA.CH>
Jan 20 08:36:35 iffigenia <info> postfix/qmgr[17493]: 7124420750:  
from=<Tobias.Brunner at suisa.ch>, size=1039, nrcpt=1 (queue active)
Jan 20 08:36:35 iffigenia <info> postfix/smtpd[17560]: disconnect from  
mail.suisa.ch[193.8.197.11]
Jan 20 08:36:35 iffigenia <info> postfix/smtpd[17567]: connect from  
localhost[127.0.0.1]
Jan 20 08:36:35 iffigenia <info> postfix/smtpd[17567]: 9CC8220763:  
client=localhost[127.0.0.1]
Jan 20 08:36:35 iffigenia <info> postfix/cleanup[17568]: 9CC8220763:  
message-id=<OF073EA3E5.97353458-ONC12570FC.0029FD40-C12570FC.0029FE8D at SUISA.CH>
Jan 20 08:36:35 iffigenia <info> postfix/qmgr[17493]: 9CC8220763:  
from=<tobias.brunner at suisa.ch>, size=1212, nrcpt=1 (queue active)
Jan 20 08:36:35 iffigenia <info> postfix/smtpd[17567]: disconnect from  
localhost[127.0.0.1]
Jan 20 08:36:35 iffigenia <info> postfix/pipe[17565]: 7124420750:  
to=<gugus at tobru.ch>, relay=kolabfilter, delay=0, status=sent  
(iffigenia.tobru.ch)
Jan 20 08:36:35 iffigenia <info> postfix/qmgr[17493]: 7124420750: removed
Jan 20 08:36:36 iffigenia <info> postfix/smtpd[17572]: connect from  
localhost[127.0.0.1]
Jan 20 08:36:36 iffigenia <info> postfix/smtpd[17572]: 1661920750:  
client=localhost[127.0.0.1]
Jan 20 08:36:36 iffigenia <info> postfix/cleanup[17568]: 1661920750:  
message-id=<OF073EA3E5.97353458-ONC12570FC.0029FD40-C12570FC.0029FE8D at SUISA.CH>
Jan 20 08:36:36 iffigenia <info> postfix/qmgr[17493]: 1661920750:  
from=<tobias.brunner at suisa.ch>, size=1800, nrcpt=1 (queue active)
Jan 20 08:36:36 iffigenia <info> postfix/smtp[17569]: 9CC8220763:  
to=<gugus at tobru.ch>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent  
(250 2.6.0 Ok, id=14715-05, from MTA([127.0.0.1]:10026): 250 Ok:  
queued as 1661920750)
Jan 20 08:36:36 iffigenia <info> postfix/qmgr[17493]: 9CC8220763: removed
Jan 20 08:36:36 iffigenia <info> postfix/smtpd[17572]: disconnect from  
localhost[127.0.0.1]
Jan 20 08:36:36 iffigenia <info> postfix/pipe[17574]: 1661920750:  
to=<gugus 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 20 08:36:36 iffigenia <info> postfix/cleanup[17564]: 43B5820763:  
message-id=<20060120073636.43B5820763 at iffigenia.tobru.ch>
Jan 20 08:36:36 iffigenia <info> postfix/qmgr[17493]: 43B5820763:  
from=<>, size=3635, nrcpt=1 (queue active)
Jan 20 08:36:36 iffigenia <info> postfix/qmgr[17493]: 1661920750: removed
Jan 20 08:36:36 iffigenia <info> postfix/smtp[17579]: 43B5820763:  
to=<tobias.brunner at suisa.ch>, relay=mail.suisa.ch[193.8.197.11],  
delay=0, status=sent (250 2.0.0 Message received OK)
Jan 20 08:36:36 iffigenia <info> postfix/qmgr[17493]: 43B5820763: removed

Regards
Tobias


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.






More information about the devel mailing list