Home » Kerio User Forums » Kerio Connect » Postfix as relay and Kerio

Messages: 1
Karma: 0
Send a private message to this user
Hello all,

I'm currently trying to configure my postfix serveur as a relay to kerio serveur.
Here is my main.cf:
relayhost = [mail.domain.com]:587
smtp_sasl_auth_enable = yes
smtpd_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_use_tls = yes
smtp_sasl_mechanism_filter = digest-md5
smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt

And here the error log:
Mar  7 13:43:20 Monitoring postfix/postfix-script[25926]: refreshing the Postfix mail system
Mar  7 13:43:20 Monitoring postfix/master[20883]: reload -- version 2.6.6, configuration /etc/postfix
Mar  7 13:43:22 Monitoring postfix/pickup[25931]: E786E142522: uid=0 from=<root>
Mar  7 13:43:22 Monitoring postfix/cleanup[25938]: E786E142522: message-id=<20160307124322.E786E142522<_at_>Monitoring.localdomain >
Mar  7 13:43:22 Monitoring postfix/qmgr[25932]: E786E142522: from=<root<_at_>Monitoring.localdomain>, size=475, nrcpt=1 (queue active)
Mar  7 13:43:23 Monitoring postfix/smtp[25940]: E786E142522: to=<exemple<_at_>domain.com>, relay=mail.domain.com[xx.xx.xx.xx]:587, delay=0.2, delays=0.03/0.05/0.11/0.01, dsn=5.7.1, status=bounced (host mail.domain.com[xx.xx.xx.xx] said: 550 5.7.1 Authentication Required (in reply to MAIL FROM command))
Mar  7 13:43:23 Monitoring postfix/cleanup[25938]: 25D3E142534: message-id=<20160307124323.25D3E142534<_at_>Monitoring.localdomain >
Mar  7 13:43:23 Monitoring postfix/bounce[25942]: E786E142522: sender non-delivery notification: 25D3E142534
Mar  7 13:43:23 Monitoring postfix/qmgr[25932]: 25D3E142534: from=<>, size=2439, nrcpt=1 (queue active)
Mar  7 13:43:23 Monitoring postfix/qmgr[25932]: E786E142522: removed
Mar  7 13:43:23 Monitoring postfix/local[25943]: 25D3E142534: to=<root<_at_>Monitoring.localdomain>, relay=local, delay=0.02, delays=0/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Mar  7 13:43:23 Monitoring postfix/qmgr[25932]: 25D3E142534: removed

I have filled /etc/postfix/sasl_passwd
mail.domain.comĀ  user<_at_>domain.com:Password

Any idea?

[Updated on: Mon, 07 March 2016 13:51]

Kerio/GFI Brian

Messages: 852
Karma: 90
Send a private message to this user
This is due to the sender anti-spoofing policy. You can make an exception for the IP address of your postfix server. See this link for more details http://kb.kerio.com/product/kerio-connect/server-configurati on/security/configuring-anti-spoofing-in-kerio-connect-1491. html

Brian Carmichael
Instructional Content Architect
Previous Topic: Shared notes not appearing? KCC 8.4.3
Next Topic: Local Domain to Relay Server
Goto Forum:

Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Nov 15 03:14:15 CET 2018

Total time taken to generate the page: 0.82366 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.