LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Postfix Relay Access Denied (https://www.linuxquestions.org/questions/linux-newbie-8/postfix-relay-access-denied-715445/)

sojelee 03-30-2009 05:01 AM

Postfix Relay Access Denied
 
I hace installed
Postfix in ubuntu server 8.10 in a dell poweregde 2850

The mail server is in the local netowork behind a cisco router

I can log into the mail server successfully using Ms Office Outlook 2003 and RoundCube web client

I can send emails to domains like google, yahoo, etc but the server rejects mails from the otherdomains and itself.

The error message is like
"Mar 30 12:31:46 mail postfix/smtpd[6445]: NOQUEUE: reject: RCPT from rv-out-0708.google.com[209.85.198.248]: 554 5.7.1 <administrator@kec.or.tz>: Relay access denied; from=<chanangae@gmail.com> to=<administrator@kec.or.tz> proto=ESMTP helo=<rv-out-0708.google.com>
Mar 30 12:31:48 mail postfix/smtpd[6445]: disconnect from rv-out-0708.google.com[209.85.198.248]
".


I have a redhat enterprise 3 using sendmail works fine inside out


can any one help

farslayer 03-30-2009 08:30 AM

It appears your server does not see itself as a destination for the email it's receiving. .

I would verify the following items to start.
Code:


mydomain
= somedomain.com
myhostname = mail.somedomain.com
mydestination = $myhostname, localhost.$mydomain,mail.$mydomain,$mydomain
mynetworks = 212.18.32.32/27 127.0.0.0/8
relay_domains = $mydestination
smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains


post the output of postconf -n for further assistance.


All times are GMT -5. The time now is 08:21 PM.