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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd February 2007, 05:32
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
Default Relay access denied

Hi Guys,

Please can i ask why i cant sent email from a email account or all email accounts i have setup for my domain...

here have a look...

Quote:
could not be delivered to some or all of the intended recipients.


User<xxx> - (554 <xxx>: Relay access denied)
User<xxx> - (554 <xxx>: Relay access denied)
here i did this as well

Quote:
FAIL Acceptance of postmaster address ERROR: One or more of your mailservers does not accept mail to xxx. Mailservers are required (RFC822 6.3, RFC1123 5.2.7, and RFC2821 4.5.1) to accept mail to postmaster.

xxx postmaster response:
>>> RCPT TO:<xxx>
<<< 554 <xxx>: Relay access denied
and this

Quote:
PASS Open relay test OK: All of your mailservers appear to be closed to relaying. This is not a thorough check, you can get a thorough one here.

xxx OK: 554 <Not.abuse.see.www.DNSreport.com.from.IP.203.56.12 7.1@DNSreport.com>: Relay access denied
any suggestion would be aprechiated...

regards
brainz
__________________
www.baktim.com

Last edited by brainz; 16th August 2010 at 10:29.
Reply With Quote
Sponsored Links
  #2  
Old 23rd February 2007, 07:07
matehortua matehortua is offline
Junior Member
 
Join Date: Sep 2005
Location: colombia
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Wink relay rules is the answer

brainz,

I suppose you have Postfix as your mail server, (in any case you should when asking this kind of questions give more info, like OS, mailserver, versions)

but the important thing is that your have i quote:
PASS Open relay test OK: All of your mailservers appear to be closed to relaying

relay is the property of a mail server to restrict who (ip, user, Mailclient) can receive and send mails (not the best definition but sufficient), so in the postfix main configuration : main.conf you can enable or disable this restricctions. There are a set of rules, open them and try them each one, so go search google.

be careful becouse if you open all the restricctions you can be matricaulated as an open relay server and others servers may not receive mail that your server sends.

I think the success of a mail server is a good set of relay rules and a good set of antispam procedures. (sometimes relays rules prevent spamming )

hope this helps, anf good luck
__________________
colombia
Reply With Quote
  #3  
Old 23rd February 2007, 13:14
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
Default

Hi Guys,

I also did this

Quote:
telnet localhost 25
ehlo localhost
and got this...

Quote:
ehlo localhost
250-xxx
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME
which i think look right...

any advice would be apreciated....

regards
brainz
__________________
www.baktim.com

Last edited by brainz; 16th August 2010 at 10:28.
Reply With Quote
  #4  
Old 23rd February 2007, 13:30
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
Default

Hi Guys

i all found this in the mail log

Quote:
Feb 23 22:00:03 tracs postfix/smtp[27732]: warning: host xxx replied to HELO/EHLO with my own hostname xxx
and now i simply get nothing back... no email back
any thoughts ??

regards brainz
__________________
www.baktim.com

Last edited by brainz; 16th August 2010 at 10:27.
Reply With Quote
  #5  
Old 24th February 2007, 15:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

What's in /etc/hosts and in /etc/postfix/main.cf (please strip out the comments)?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 26th February 2007, 11:03
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
Default

Hi falko,

Here is what is in etc/hosts ...

Quote:
# Do not remove the following line, or various programs
# that require network functionality will fail.
xxx
and here is the stripped /etc/postfix/main.cf

Quote:
Postfix

sorry this was a bit late but here is what you have requested falko, thankyou your help once again..

regards
brainz
__________________
www.baktim.com

Last edited by brainz; 16th August 2010 at 10:28.
Reply With Quote
  #7  
Old 26th February 2007, 11:09
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
Default

ohhh just remebered as well this issue first started when i tried to login to squirrelmail for the account and it would not recognise the password... i changed the mailboxes password and it still does not let me in....

Just wondering if this could also be related to the issue in anyway...

regards
brainz
__________________
www.baktim.com
Reply With Quote
  #8  
Old 27th February 2007, 11:18
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
Default

Hi

i also found this in the mail log...

Quote:
Feb 27 10:26:48 tracs postfix/smtp[10119]: warning: host mail.tracshosting.com[60.229.253.45] greeted me with my own hostname mail.tracshosting.com
regards
brainz
__________________
www.baktim.com
Reply With Quote
  #9  
Old 27th February 2007, 16:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Please modify /etc/hosts so that it looks like this:
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
Restart Postfix afterwards.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 1st March 2007, 11:49
brainz brainz is offline
Senior Member
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 165
Thanks: 9
Thanked 3 Times in 1 Post
 
Default

Hi Falko,


I have do what you asked but im sorry to say that this has not worked....

i also noticed this the server gets a email like this...

Quote:
Final-Recipient: rfc822; admin@tracshosting.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; mail for tracshosting.com loops back to myself
Also part of the server message i get this....

Quote:
WARNING: service not running (server: tracs.tracshosting.com, port: 10000)!
Message generated at February 25, 2007, 7:00.
i wonder what these mean...

regards
brainz
__________________
www.baktim.com
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
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 19:10
Email relay access denied mydeputy Installation/Configuration 4 3rd August 2006 15:18
ISPConfig Postfix ERROR (Relay access denied) burzumishi Installation/Configuration 1 3rd August 2006 10:47
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 19:26
Relay access denied KamiTsunami Server Operation 6 7th March 2006 11:25


All times are GMT +2. The time now is 03:24.


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