Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th March 2008, 12:14
patrickzfr patrickzfr is offline
Junior Member
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ubuntu 7.10 + Postfix+Courier+Mysql - Cannot receive external smtp emails

Hi to everybody!
First, all my congratulations for this site . It is a great source of informations and it helped me a lot already!
Here is my question:
I have installed Postix and additionnal packages following the
"Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10)" Howto (with courier Pop, not Imap).
After some adjustments, all works fine . I can send and receive internal emails to and from the users declared in the mail database, forwarding works fine too, and I can retrieve the emails from external Internet connections from external "Outlook" users with pop connections to my server.

But... One only thing doesn't work! It is impossible to receive emails from external users, sending their emails by smtp.

My Postfix SMTP give "access denied" "Client host rejected" to this smtp connection (I have put "xxx" in place of real names:

Code:
Reporting-MTA: dns; smtp3-g19.free.fr
X-Postfix-Queue-ID: 4DBF617B565
X-Postfix-Sender: rfc822; patrickzfr@xxxx.fr
Arrival-Date: Tue, 11 Mar 2008 11:42:31 +0100 (CET)

Final-Recipient: rfc822; patrick@pa.xxxx.fr
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host pa.xxx.fr[82.xxx.xx.32] said: 554 5.7.1
    <smtp3-g19.free.fr[212.27.42.29]>: Client host rejected: Access denied (in reply to RCPT TO command)
My mail.log says :

Code:
Mar 11 11:42:31 linux-shuttle postfix/smtpd[7036]: connect from smtp3-g19.free.fr[212.27.42.29]
Mar 11 11:42:31 linux-shuttle postfix/smtpd[7036]: NOQUEUE: reject: RCPT from smtp3-g19.free.fr[212.27.42.29]: 554 5.7.1 <smtp3-g19.free.fr[212.27.42.29]>: Client host rejected: Access denied; from=<patrickzfr@xxxx.fr> to=<patrick@pa.xxxx.fr> proto=ESMTP helo=<smtp3-g19.free.fr>
Mar 11 11:42:32 linux-shuttle postfix/smtpd[7036]: disconnect from smtp3-g19.free.fr[212.27.42.29]
It seems there is a wrong parameter somewhere to allow external smtp connections ... but I don't know where!

I guess it is some smtpd_recipient_restrictions parameters in main.cf ??

Currently I have:

smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination



Any ideas?
thanks in advance for your help.
Patrick

Last edited by patrickzfr; 11th March 2008 at 12:31.
Reply With Quote
Sponsored Links
  #2  
Old 11th March 2008, 14:37
patrickzfr patrickzfr is offline
Junior Member
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I found it

The line
-o smtpd_client_restrictions=permit_sasl_authenticate d,reject

in my master.cf file was not commented, so the restriction to client was in use and blocked all external client connections..

So, all ok now .. cross my fingers
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
fetchmail Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 7.10) c0mputernick HOWTO-Related Questions 4 31st January 2008 15:28
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47


All times are GMT +2. The time now is 20:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.