Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relay Access Denied/Postfix Please Help 1

Status
Not open for further replies.

kingbaboon

Technical User
Apr 18, 2005
3
US
Hey,

I am having a problem with my postfix server. It was working a few days ago and I have not changed anything on the server and suddenly i get a relay access denied error when i try to send mail to the server. Below is my log for the mail server. Someone please help me i need to get the server abck online ASAP!

Apr 18 22:21:37 rockshopreviews postfix[6031]: warning: My hostname kinghost1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Apr 18 22:21:38 rockshopreviews postfix/postsuper[6069]: warning: My hostname kinghost1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Apr 18 22:21:38 rockshopreviews postfix/sendmail[6072]: warning: My hostname kinghost1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Apr 19 02:21:38 rockshopreviews postfix/postqueue[6072]: warning: My hostname kinghost1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Apr 18 22:21:38 rockshopreviews postfix/showq[6073]: warning: My hostname kinghost1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Apr 18 22:22:13 rockshopreviews postfix/smtpd[6076]: warning: My hostname kinghost1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Apr 18 22:22:13 rockshopreviews postfix/proxymap[6077]: warning: My hostname kinghost1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Apr 18 22:22:14 rockshopreviews postfix/smtpd[6076]: connect from rproxy.gmail.com[64.233.170.193]
Apr 18 22:22:14 rockshopreviews postfix/cleanup[6078]: warning: My hostname kinghost1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Apr 18 22:22:14 rockshopreviews postfix/smtpd[6076]: 2B8EF1242E3: client=rproxy.gmail.com[64.233.170.193]
Apr 18 22:22:14 rockshopreviews postfix/trivial-rewrite[6079]: warning: My hostname kinghost1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
Apr 18 22:22:14 rockshopreviews postfix/smtpd[6076]: 2B8EF1242E3: reject: RCPT from rproxy.gmail.com[64.233.170.193]: 554 <adam@rockshopreviews.com>: Relay access denied; from=<kingbaboon@gmail.com> to=<adam@rockshopreviews.com> proto=ESMTP helo=<rproxy.gmail.com>
Apr 18 22:22:15 rockshopreviews postfix/smtpd[6076]: lost connection after RCPT from rproxy.gmail.com[64.233.170.193]
Apr 18 22:22:15 rockshopreviews postfix/smtpd[6076]: disconnect from rproxy.gmail.com[64.233.170.193]
Apr 18 22:22:16 rockshopreviews ipop3d[6080]: pop3 service init from 192.168.1.1
Apr 18 22:22:16 rockshopreviews ipop3d[6080]: Auth user=adam host=[192.168.1.1] nmsgs=0/0
Apr 18 22:22:16 rockshopreviews ipop3d[6080]: Logout user=adam host=[192.168.1.1] nmsgs=0 ndele=0
Apr 18 22:22:17 rockshopreviews ipop3d[6081]: pop3 service init from 192.168.1.1
Apr 18 22:22:17 rockshopreviews ipop3d[6081]: Auth user=rockshopreviews host=[192.168.1.1] nmsgs=0/0
Apr 18 22:22:17 rockshopreviews ipop3d[6081]: Logout user=rockshopreviews host=[192.168.1.1] nmsgs=0 ndele=0
 
I bet you a thousand dollars your config changed.

Are you supposed to be the final destination for rockshopreviews.com? Then you need to set that in your main.cf, the parameter is "mydestination".

You may also want to pay attention to the lines that say: warning: My hostname kinghost1 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
 
i have the my destination set for the mydomain localhost whatever the 4 things that are there. yea i setup a all in one server for a website i have started and it used to work and stuff and then around 8 this morning it started rejecting messages with the error relay access denied. and what u mean the thousand dollars config changed thing?
 
ok what i did was went into the main.cf in etc/postfix and uncommmented the myhostname parameter to kinghost1.rockshopreviews.com (the hsotname of the machine) and uncommented the mydomain parameter and set it to rockshopreviews.com and it works like a dream. u ahve been most helpful, yea one of those moments where its like well maybe and it turns out to be what u thought it wasnt... anyways thanks man.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top