LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2004, 05:22 AM   #1
robbiemorgan
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 0
Postfix error - Recipient address rejected: Relay access denied


Hi all,

I've set up Postfix on Debian with virtual domains. Receiving mail works fine and I can download my e-mail into Outlook no problem. However, when I try to send mail from outlook to an address at a domain which I don't host, i.e. someguy@yahoo.com, I get the error:

Recipient address rejected: Relay access denied

/etc/main.cf:

----------

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
setgid_group = postdrop
biff = no

append_dot_mydomain = no
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mydomain.com, localhost
mynetworks = 127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +

virtual_maps = hash:/etc/postfix/virtual
inet_interfaces = 127.0.0.1, 67.18.176.223

----------

/etc/virtual:

-----------

mydomain.com virtual
rob@mydomain.com robmydomaincom

----------

Where 'robmydomaincom' is a valid linux user account.

Any ideas what I need to do to get things working?

Thanks in advance,

Rob
 
Old 10-01-2004, 03:57 AM   #2
subhasis_ray
Member
 
Registered: Jul 2001
Location: india
Distribution: RedHat 7.1,7.2,7.3, 8.0,9.0,Fedora,EL2.1,EL3.0
Posts: 103

Rep: Reputation: 16
Hi Rob,

Since you are not sending mail from the localhost, relaying is denied by default. You can open relaying for specific machines(the ones that run outlookexpress and are used to send mail). BEWARE: do not open relaying for every machine on the internet, else your mail server might get marked as an open relay and most domains will stop accessing mails from you.

I dont recall the exact command used to configure postfix to relay for specific domains, but a google on "postfix relaying" will through up some usable results.

Cheers

Subhasis
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Relay Access Denied dwpondscum Linux - Networking 2 09-20-2007 04:37 AM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 07:15 PM
Postfix and Relay access denied jamiguel77 Linux - Software 3 03-12-2005 10:53 AM
postfix: Relay access denied SolidSnake Linux - Networking 4 02-20-2004 09:05 PM
Email Error - "Recipient address rejected: Relay access denied" ripcord Linux - Newbie 1 10-31-2002 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration