<html><body><div>Finally got it!!</div><div><br></div><div>This is a Bug of Kolab Community in pykolab of the Version: 0.7.10-0~kolab1</div><div>In case anyone is also experiencing the issue of not delivered emails; It's the wallace deamon not doing it's job.</div><div><br></div><div>The bug only occurs after rebooting the server:</div><div>Wallace seems to run, but throws exceptions visible in /var/log/kolab/pykolab.log</div><div><br></div><div>To fix this I simply restarted the daemon with "service wallace restart"</div><div>And to make it a bit more consistent I've added a cronjob doing the exact same command at:</div><div><br></div><div><em>crontab -e</em></div><div><em>@reboot /path/to/wallace-hotfix</em></div><div><br></div><div><br>Am 07. April 2015 um 11:37 schrieb Marco Betschart <marbetschar@icloud.com>:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div><div>Ok, found it. For some reason the wrong port was in the /etc/postfix/main.cf for the content_filter option.</div><div>I've corrected it now and this error appeared.</div><div><br></div><div><strong>But now I got a really strange error, which I encountered already yesterday and do not have any clue at all :(</strong></div><div>Here the log from /var/log/mail.log - as far as I can see this indicates that everything runs fine?</div><div><br></div><div>Apr 7 11:29:17 alex postfix/smtpd[3712]: 63CC89A012: client=st11p05mm-asmtp002.mac.com[17.172.108.250]</div><div>Apr 7 11:29:17 alex postfix/cleanup[3722]: 63CC89A012: message-id=<2115c540-a418-4643-99c7-cba6067d78ad@me.com></div><div>Apr 7 11:29:17 alex postfix/qmgr[3709]: 63CC89A012: from=<marbetschar@icloud.com>, size=2148, nrcpt=1 (queue active)</div><div>Apr 7 11:29:17 alex postfix/smtpd[3725]: connect from localhost[127.0.0.1]</div><div>Apr 7 11:29:17 alex postfix/smtpd[3725]: B05F09A013: client=localhost[127.0.0.1], orig_queue_id=63CC89A012, orig_client=st11p05mm-asmtp002.mac.com[17.172.108.250]</div><div>Apr 7 11:29:17 alex postfix/cleanup[3726]: B05F09A013: message-id=<2115c540-a418-4643-99c7-cba6067d78ad@me.com></div><div>Apr 7 11:29:17 alex postfix/qmgr[3709]: B05F09A013: from=<marbetschar@icloud.com>, size=2148, nrcpt=1 (queue active)</div><div>Apr 7 11:29:17 alex amavis[3622]: (03622-01) Passed CLEAN {RelayedInbound}, [17.172.108.250]:47651 [17.172.108.223] <marbetschar@icloud.com> -> <betschart@mandelkind.ch>, Queue-ID: 63CC89A012, Message-ID: <2115c540-a418-4643-99c7-cba6067d78ad@me.com>, mail_id: FnSe4GVIIx5o, Hits: -, size: 2148, queued_as: B05F09A013, 198 ms</div><div>Apr 7 11:29:17 alex postfix/smtpd[3712]: disconnect from st11p05mm-asmtp002.mac.com[17.172.108.250]</div><div>Apr 7 11:29:17 alex postfix/smtp[3723]: 63CC89A012: to=<betschart@mandelkind.ch>, orig_to=<marco@mandelkind.ch>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.87, delays=0.65/0.01/0/0.2, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as B05F09A013)</div><div>Apr 7 11:29:17 alex postfix/qmgr[3709]: 63CC89A012: removed</div><div>Apr 7 11:29:17 alex postfix/smtp[3727]: B05F09A013: to=<betschart@mandelkind.ch>, relay=127.0.0.1[127.0.0.1]:10026, delay=0.09, delays=0.04/0.04/0/0.01, dsn=2.0.0, status=sent (250 Ok)</div><div>Apr 7 11:29:17 alex postfix/qmgr[3709]: B05F09A013: removed</div></div><div><br></div><div><strong>But for some reason, the mail is not dropped to the inbox of the user :(</strong></div><div>Any help would be highly appreciated!</div><div><br>Am 07. April 2015 um 11:19 schrieb Marco Betschart <marbetschar@me.com>:<br> <br></div><div><blockquote type="cite"><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" data-mce-style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="">Some more infos from the /var/log/mail.log:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">Apr 7 11:16:03 alex postfix/smtpd[2880]: connect from <a class="" href="http://st11p05mm-asmtp002.mac.com" data-mce-href="http://st11p05mm-asmtp002.mac.com">st11p05mm-asmtp002.mac.com</a>[17.172.108.250]</div><div class="">Apr 7 11:16:07 alex postfix/smtpd[2880]: 243B09A00D: client=<a class="" href="http://st11p05mm-asmtp002.mac.com" data-mce-href="http://st11p05mm-asmtp002.mac.com">st11p05mm-asmtp002.mac.com</a>[17.172.108.250]</div><div class="">Apr 7 11:16:07 alex postfix/cleanup[3171]: 243B09A00D: message-id=<<a class="" href="mailto:2D480632-8197-42F3-AE48-57C85279E92A@me.com" data-mce-href="mailto:2D480632-8197-42F3-AE48-57C85279E92A@me.com">2D480632-8197-42F3-AE48-57C85279E92A@me.com</a>></div><div class="">Apr 7 11:16:07 alex postfix/qmgr[2794]: 243B09A00D: from=<<a class="" href="mailto:marbetschar@me.com" data-mce-href="mailto:marbetschar@me.com">marbetschar@me.com</a>>, size=1318, nrcpt=1 (queue active)</div><div class="">Apr 7 11:16:07 alex postfix/smtp[3205]: fatal: bad network port in destination: [127.0.0.1]:1002466</div><div class="">Apr 7 11:16:07 alex postfix/smtpd[2880]: disconnect from <a class="" href="http://st11p05mm-asmtp002.mac.com" data-mce-href="http://st11p05mm-asmtp002.mac.com">st11p05mm-asmtp002.mac.com</a>[17.172.108.250]</div><div class="">Apr 7 11:16:08 alex postfix/qmgr[2794]: warning: private/smtp-amavis socket: malformed response</div><div class="">Apr 7 11:16:08 alex postfix/qmgr[2794]: warning: transport smtp-amavis failure -- see a previous warning/fatal/panic logfile record for the problem description</div><div class="">Apr 7 11:16:08 alex postfix/master[2790]: warning: process /usr/lib/postfix/smtp pid 3205 exit status 1</div><div class="">Apr 7 11:16:08 alex postfix/master[2790]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling</div><div class="">Apr 7 11:16:08 alex postfix/error[3135]: 243B09A00D: to=<<a class="" href="mailto:betschart@mandelkind.ch" data-mce-href="mailto:betschart@mandelkind.ch">betschart@mandelkind.ch</a>>, relay=none, delay=3.7, delays=2.7/1/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)</div></div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div><blockquote class="" type="cite"><div class="">Am 07.04.2015 um 11:14 schrieb Marco Betschart <<a class="" href="mailto:marbetschar@me.com" data-mce-href="mailto:marbetschar@me.com">marbetschar@me.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" data-mce-style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="">Hi @All</div><div class=""><br class=""></div><div class="">At first I was able to solve the postfix issue - it was simply a matter of adding the right LDAP queries to local_recipient_maps etc.</div><div class="">The mailserver did start working properly yesterday for about 8 hours.</div><div class=""><br class=""></div><div class="">After adding a few more accounts in the Kolab Webadmin things suddenly stopped working. All I can see now is the following in the /var/log/mail.log:</div><div class=""><br class=""></div><div class=""><div class="">Apr 7 11:08:21 alex postfix/qmgr[2794]: 913B89A004: from=<<a class="" href="mailto:marbetschar@me.com" data-mce-href="mailto:marbetschar@me.com">marbetschar@me.com</a>>, size=1306, nrcpt=1 (queue active)</div><div class="">Apr 7 11:08:21 alex postfix/error[3093]: 913B89A004: to=<<a class="" href="mailto:betschart@mandelkind.ch" data-mce-href="mailto:betschart@mandelkind.ch">betschart@mandelkind.ch</a>>, orig_to=<<a class="" href="mailto:marco@mandelkind.ch" data-mce-href="mailto:marco@mandelkind.ch">marco@mandelkind.ch</a>>, relay=none, delay=1167, delays=1167/0/0/0.01, dsn=4.3.0, status=deferred (unknown mail transport error)</div></div><div class=""><br class=""></div><div class="">Any Ideas?</div><div class=""><br class=""></div><div class="">here’s my</div><div class=""><strong class="">/etc/postfix/main.cf</strong></div><div class=""><br class=""></div><div class=""><div class="">alias_database = hash:/etc/aliases</div><div class="">alias_maps = hash:/etc/aliases</div><div class="">append_dot_mydomain = no</div><div class="">biff = no</div><div class="">config_directory = /etc/postfix</div><div class="">content_filter = smtp-amavis:[127.0.0.1]:1002466</div><div class="">inet_interfaces = all</div><div class="">inet_protocols = all</div><div class="">local_recipient_maps = ldap:/etc/postfix/ldap/hosted_triplet_local_recipient_maps.cf, ldap:/etc/postfix/ldap/hosted_duplet_local_recipient_maps.cf, ldap:/etc/postfix/ldap/local_recipient_maps.cf</div><div class="">mailbox_size_limit = 0</div><div class="">mydestination = ldap:/etc/postfix/ldap/hosted_triplet_mydestination.cf, ldap:/etc/postfix/ldap/hosted_duplet_mydestination.cf, ldap:/etc/postfix/ldap/mydestination.cf</div><div class="">myhostname = <a class="" href="http://mail.mandelkind.ch/" data-mce-href="http://mail.mandelkind.ch/">mail.mandelkind.ch</a></div><div class="">mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128</div><div class="">myorigin = /etc/mailname</div><div class="">readme_directory = no</div><div class="">recipient_delimiter = +</div><div class="">relayhost =</div><div class="">smtp_tls_security_level = may</div><div class="">smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache</div><div class="">smtpd_banner = $myhostname ESMTP $mail_name</div><div class="">smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_rbl_client <a class="" href="http://zen.spamhaus.org/" data-mce-href="http://zen.spamhaus.org/">zen.spamhaus.org</a>, reject_non_fqdn_recipient, reject_invalid_helo_hostname, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service unix:private/recipient_policy_incoming, permit</div><div class="">smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination</div><div class="">smtpd_sasl_auth_enable = yes</div><div class="">smtpd_sender_login_maps = $local_recipient_maps</div><div class="">smtpd_sender_restrictions = permit_mynetworks, check_policy_service unix:private/sender_policy_incoming</div><div class="">smtpd_tls_CAfile = /etc/ssl/DigiCertCA.crt</div><div class="">smtpd_tls_auth_only = yes</div><div class="">smtpd_tls_cert_file = /etc/ssl/ch.mandelkind/wildcard.crt</div><div class="">smtpd_tls_key_file = /etc/ssl/ch.mandelkind/wildcard.key</div><div class="">smtpd_tls_security_level = may</div><div class="">smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache</div><div class="">smtpd_use_tls = yes</div><div class="">submission_data_restrictions = check_policy_service unix:private/submission_policy</div><div class="">submission_recipient_restrictions = check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject</div><div class="">submission_sender_restrictions = reject_non_fqdn_sender, check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject</div><div class="">transport_maps = hash:/etc/postfix/transport, ldap:/etc/postfix/ldap/hosted_triplet_transport_maps.cf, ldap:/etc/postfix/ldap/hosted_duplet_transport_maps.cf, ldap:/etc/postfix/ldap/transport_maps.cf</div><div class="">virtual_alias_maps = $alias_maps, hash:/etc/postfix/virtual_alias_maps.hash, ldap:/etc/postfix/ldap/hosted_triplet_virtual_alias_maps.cf, ldap:/etc/postfix/ldap/hosted_duplet_virtual_alias_maps.cf, ldap:/etc/postfix/ldap/virtual_alias_maps.cf, ldap:/etc/postfix/ldap/hosted_triplet_virtual_alias_maps_mailforwarding.cf, ldap:/etc/postfix/ldap/hosted_duplet_virtual_alias_maps_mailforwarding.cf, ldap:/etc/postfix/ldap/hosted_triplet_virtual_alias_maps_sharedfolders.cf, ldap:/etc/postfix/ldap/hosted_duplet_virtual_alias_maps_sharedfolders.cf, ldap:/etc/postfix/ldap/hosted_triplet_mailenabled_distgroups.cf, ldap:/etc/postfix/ldap/hosted_duplet_mailenabled_distgroups.cf, ldap:/etc/postfix/ldap/hosted_triplet_mailenabled_dynamic_distgroups.cf, ldap:/etc/postfix/ldap/hosted_duplet_mailenabled_dynamic_distgroups.cf ldap:/etc/postfix/ldap/hosted_triplet_virtual_alias_maps_catchall.cf, ldap:/etc/postfix/ldap/hosted_duplet_virtual_alias_maps_catchall.cf, ldap:/etc/postfix/ldap/virtual_alias_maps_catchall.cf</div></div><div class=""><br class=""></div><br class=""><div class=""><blockquote class="" type="cite"><div class="">Am 07.04.2015 um 03:23 schrieb Tobias Crefeld <<a class="" href="mailto:tclx@klekih-petra.de" data-mce-href="mailto:tclx@klekih-petra.de">tclx@klekih-petra.de</a>>:</div><br class="Apple-interchange-newline"><div class="">Am Mon, 06 Apr 2015 15:32:38 -0700 schrieb Thomas Spuhler<br class=""><<a class="" href="mailto:thomas.spuhler@btspuhler.com" data-mce-href="mailto:thomas.spuhler@btspuhler.com">thomas.spuhler@btspuhler.com</a>>:<br class=""> <br class=""><blockquote class="" type="cite">On Saturday, April 04, 2015 09:37:27 PM Marco Betschart wrote:<br class=""></blockquote><br class=""><blockquote class="" type="cite"><blockquote class="" type="cite">A few hours ago I’ve setup a fresh Ubuntu 14.04 Server and<br class="">installed the Kolab Community Version on it. I also setup the<br class="">Multi-Domain support as described over here<br class=""><<a class="" href="http://docs.kolab.org/howtos/multi-domain.html" data-mce-href="http://docs.kolab.org/howtos/multi-domain.html">http://docs.kolab.org/howtos/multi-domain.html</a>>.<br class=""> <br class="">Nearly everything works. Only postfix refuses to accept emails from<br class="">the internet - and I do not have any clue why!! :( Any help would<br class="">be greatly appreciated!!!<br class=""></blockquote></blockquote>[..] <br class=""><blockquote class="" type="cite"><blockquote class="" type="cite">main.cf<br class="">smtpd_banner = $myhostname ESMTP $mail_name<br class=""></blockquote></blockquote>[..]<br class=""><blockquote class="" type="cite"><blockquote class="" type="cite"><br class=""> <br class="">master.cf<br class=""></blockquote></blockquote>[..]<br class=""><blockquote class="" type="cite"><blockquote class="" type="cite">argv=/usr/lib/postfix/kolab_smtp_access_policy --verify-sender<br class="">--verify-recipient<br class=""></blockquote>What is your postfix main.cf?<br class=""></blockquote><br class="">He posted it before.<br class=""> <br class="">-- <br class="">Gruß,<br class=""> Tobias.<br class=""> <br class=""> no email, only xmpp: <a class="" href="mailto:crefeld@xabber.de" data-mce-href="mailto:crefeld@xabber.de">crefeld@xabber.de</a> <br class="">_______________________________________________<br class="">users mailing list<br class=""> <a class="" href="mailto:users@lists.kolab.org" data-mce-href="mailto:users@lists.kolab.org">users@lists.kolab.org</a> <br class=""> <a class="" href="https://lists.kolab.org/mailman/listinfo/users" data-mce-href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a></div></blockquote></div><br class=""></div>_______________________________________________<br class="">users mailing list<br class=""> <a class="" href="mailto:users@lists.kolab.org" data-mce-href="mailto:users@lists.kolab.org">users@lists.kolab.org</a> <br class="">https://lists.kolab.org/mailman/listinfo/users</div></blockquote></div><br class=""><div class="_stretch"><span class="body-text-content">_______________________________________________<br>users mailing list<br> <a href="mailto:users@lists.kolab.org" data-mce-href="mailto:users@lists.kolab.org">users@lists.kolab.org</a> <br> <a href="https://lists.kolab.org/mailman/listinfo/users" data-mce-href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a> </span></div></div></blockquote></div><div class="_stretch"><span class="body-text-content">_______________________________________________<br>users mailing list<br> <a href="mailto:users@lists.kolab.org" data-mce-href="mailto:users@lists.kolab.org">users@lists.kolab.org</a> <br> <a href="https://lists.kolab.org/mailman/listinfo/users" data-mce-href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a> </span></div></div></blockquote></div></body></html>