Postfix refuses to accept emails from the internet

Marco Betschart marbetschar at me.com
Tue Apr 7 11:18:38 CEST 2015


Some more infos from the /var/log/mail.log:


Apr  7 11:16:03 alex postfix/smtpd[2880]: connect from st11p05mm-asmtp002.mac.com[17.172.108.250]
Apr  7 11:16:07 alex postfix/smtpd[2880]: 243B09A00D: client=st11p05mm-asmtp002.mac.com[17.172.108.250]
Apr  7 11:16:07 alex postfix/cleanup[3171]: 243B09A00D: message-id=<2D480632-8197-42F3-AE48-57C85279E92A at me.com>
Apr  7 11:16:07 alex postfix/qmgr[2794]: 243B09A00D: from=<marbetschar at me.com>, size=1318, nrcpt=1 (queue active)
Apr  7 11:16:07 alex postfix/smtp[3205]: fatal: bad network port in destination: [127.0.0.1]:1002466
Apr  7 11:16:07 alex postfix/smtpd[2880]: disconnect from st11p05mm-asmtp002.mac.com[17.172.108.250]
Apr  7 11:16:08 alex postfix/qmgr[2794]: warning: private/smtp-amavis socket: malformed response
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
Apr  7 11:16:08 alex postfix/master[2790]: warning: process /usr/lib/postfix/smtp pid 3205 exit status 1
Apr  7 11:16:08 alex postfix/master[2790]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Apr  7 11:16:08 alex postfix/error[3135]: 243B09A00D: to=<betschart at mandelkind.ch>, relay=none, delay=3.7, delays=2.7/1/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)



> Am 07.04.2015 um 11:14 schrieb Marco Betschart <marbetschar at me.com>:
> 
> Hi @All
> 
> 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.
> The mailserver did start working properly yesterday for about 8 hours.
> 
> 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:
> 
> Apr  7 11:08:21 alex postfix/qmgr[2794]: 913B89A004: from=<marbetschar at me.com <mailto:marbetschar at me.com>>, size=1306, nrcpt=1 (queue active)
> Apr  7 11:08:21 alex postfix/error[3093]: 913B89A004: to=<betschart at mandelkind.ch <mailto:betschart at mandelkind.ch>>, orig_to=<marco at mandelkind.ch <mailto:marco at mandelkind.ch>>, relay=none, delay=1167, delays=1167/0/0/0.01, dsn=4.3.0, status=deferred (unknown mail transport error)
> 
> Any Ideas?
> 
> here’s my
> /etc/postfix/main.cf
> 
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> append_dot_mydomain = no
> biff = no
> config_directory = /etc/postfix
> content_filter = smtp-amavis:[127.0.0.1]:1002466
> inet_interfaces = all
> inet_protocols = all
> 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
> mailbox_size_limit = 0
> mydestination = ldap:/etc/postfix/ldap/hosted_triplet_mydestination.cf, ldap:/etc/postfix/ldap/hosted_duplet_mydestination.cf, ldap:/etc/postfix/ldap/mydestination.cf
> myhostname = mail.mandelkind.ch <http://mail.mandelkind.ch/>
> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
> myorigin = /etc/mailname
> readme_directory = no
> recipient_delimiter = +
> relayhost =
> smtp_tls_security_level = may
> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
> smtpd_banner = $myhostname ESMTP $mail_name
> smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_rbl_client zen.spamhaus.org <http://zen.spamhaus.org/>, reject_non_fqdn_recipient, reject_invalid_helo_hostname, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service unix:private/recipient_policy_incoming, permit
> smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
> smtpd_sasl_auth_enable = yes
> smtpd_sender_login_maps = $local_recipient_maps
> smtpd_sender_restrictions = permit_mynetworks, check_policy_service unix:private/sender_policy_incoming
> smtpd_tls_CAfile = /etc/ssl/DigiCertCA.crt
> smtpd_tls_auth_only = yes
> smtpd_tls_cert_file = /etc/ssl/ch.mandelkind/wildcard.crt
> smtpd_tls_key_file = /etc/ssl/ch.mandelkind/wildcard.key
> smtpd_tls_security_level = may
> smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
> smtpd_use_tls = yes
> submission_data_restrictions = check_policy_service unix:private/submission_policy
> submission_recipient_restrictions = check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject
> submission_sender_restrictions = reject_non_fqdn_sender, check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject
> 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
> 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
> 
> 
>> Am 07.04.2015 um 03:23 schrieb Tobias Crefeld <tclx at klekih-petra.de <mailto:tclx at klekih-petra.de>>:
>> 
>> Am Mon, 06 Apr 2015 15:32:38 -0700 schrieb Thomas Spuhler
>> <thomas.spuhler at btspuhler.com <mailto:thomas.spuhler at btspuhler.com>>:
>> 
>>> On Saturday, April 04, 2015 09:37:27 PM Marco Betschart wrote:
>> 
>>>> A few hours ago I’ve setup a fresh Ubuntu 14.04 Server and
>>>> installed the Kolab Community Version on it. I also setup the
>>>> Multi-Domain support as described over here
>>>> <http://docs.kolab.org/howtos/multi-domain.html <http://docs.kolab.org/howtos/multi-domain.html>>.
>>>> 
>>>> Nearly everything works. Only postfix refuses to accept emails from
>>>> the internet - and I do not have any clue why!! :( Any help would
>>>> be greatly appreciated!!!
>> [..] 
>>>> main.cf
>>>> smtpd_banner = $myhostname ESMTP $mail_name
>> [..]
>>>> 
>>>> 
>>>> master.cf
>> [..]
>>>> argv=/usr/lib/postfix/kolab_smtp_access_policy --verify-sender
>>>> --verify-recipient
>>> What is your postfix  main.cf?
>> 
>> He posted it before.
>> 
>> -- 
>> Gruß,
>> Tobias.
>> 
>> no email, only xmpp: crefeld at xabber.de <mailto:crefeld at xabber.de>
>> _______________________________________________
>> users mailing list
>> users at lists.kolab.org <mailto:users at lists.kolab.org>
>> https://lists.kolab.org/mailman/listinfo/users
> 
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20150407/769f44b9/attachment.html>


More information about the users mailing list