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 error 1

Status
Not open for further replies.

kn0ck3rs

Programmer
Feb 25, 2005
2
NL
Hi,

I am trying to setup Postfix in a LAN.
Mail for domain eredivisiepool.nl is sent to this server. But when I sent an email to user info (info@eredivisiepool.nl) the mail is rejected with following error:
"Recipient address rejected: Relay access denied"

this is the output of postconf -n:

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
inet_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain
mydomain = eredivisiepool.nl
myhostname = goliath.eredivisiepool.nl
mynetworks_style = subnet
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
relayhost = [mail.home.nl]
sample_directory = /usr/share/doc/postfix-1.1.11/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop


anyone any idea what is going wrong ?

thanks in advance for all help

Regards,
Jeroen
 
You need to add your domain to $mydestination. Just make it
"mydestination = $myhostname, localhost.$mydomain, $mydomain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top