Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 9th August 2010, 09:53
mjbarfoot mjbarfoot is offline
Junior Member
 
Join Date: Aug 2010
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
Default sneaking suspicion my postfix config has gone awry

I am getting a relay denied error in postfix when attempting to send emails to the outside world. I believe I have followed the perfect server guide for centos 5.2 to the letter. I've enabled verbose logging in the master.cf, but it doesn't elude to anything specific that is wrong.

Here is a snippet:

Code:
 >>> START Recipient address RESTRICTIONS <<<
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: generic_checks: name=permit_mynetworks
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: permit_mynetworks: i-195-137-21-xxx.freedom2surf.net 195.137.21.xxx
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: match_hostname: i-195-137-21-xxx.freedom2surf.net ~? 127.0.0.0/8
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: match_hostaddr: 195.137.21.127 ~? 127.0.0.0/8
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: match_hostname: i-195-137-21-xxx.freedom2surf.net ~? 10.227.102.0/23
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: match_hostaddr: 195.137.21.127 ~? 10.227.102.0/23
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: match_list_match: i-195-137-21-xxx.freedom2surf.net: no match
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: match_list_match: 195.137.21.127: no match
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: generic_checks: name=permit_mynetworks status=0
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: generic_checks: name=reject_unauth_destination
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: reject_unauth_destination: matt.barfoot@myemaildomain
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: permit_auth_destination: matt.barfoot@myemaildomain
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: ctable_locate: leave existing entry key matt.barfoot@myemaildomain
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: NOQUEUE: reject: RCPT from i-195-137-21-xxx.freedom2surf.net[195.137.21.127]: 554 5.7.1 <matt.barfoot@myemaildomain>: Relay access denied; from=<
matt.barfoot@myemaildomain> to=<matt.barfoot@myemaildomain> proto=ESMTP helo=<ip-10-227-102-240>
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: generic_checks: name=reject_unauth_destination status=2
Aug  8 13:59:33 ip-10-227-102-240 postfix/smtpd[562]: > i-195-137-21-xxx.freedom2surf.net[195.137.21.127]: 554 5.7.1 <matt.barfoot@myemaildomain>: Relay access denied
I've have googled many search terms in attempt to find out what is wrong. Some of the sample main.cf I've found seem to relate more the ISPConfig 2 rather than a MYSQL-based setup. The output of postconf -n is below:

Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 0
mydestination = $myhostname, localhost.$mydomain, localhost
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relayhost = 
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
Once other thing I did from telnet was to to do a: AUTHENTICATE PLAIN TEXT, but got the response: authentication not enabled. This seems odd given use of SASL module.

I've checked the mysql db and email user and domain are present. I'm sure it is obvious, but I haven't done much with postfix before.

Thanks,
Matt
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
postfix, relay denied

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
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 18:37
ISPConfig 2.2.14 released till General 48 19th July 2007 23:46
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 10:48


All times are GMT +2. The time now is 23:04.


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