Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 28th May 2008, 22:45
ratcateme ratcateme is offline
Junior Member
Join Date: Feb 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix 554 Relay access denied

i am trying to setup postfix on a server at my house it uses dyndns.com for a dynmaic IP and i am access it from a pc on my local network usin a local network IP if that makes any difference.
When i try to send an email from outlook i got this output form wireshark
220 domain.homelinux.com ESMTP Postfix
250-SIZE 10240000
250 DSN
MAIL FROM: <scott@domain.homelinux.com>
250 2.1.0 Ok
RCPT TO: <test@gmail.com>
554 5.7.1 <test@gmail.com>: Relay access denied
221 2.0.0 Bye
this is my postfix config from /etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myhostname = domain.homelinux.com
mydomain = domain.homelinux.com
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
relay_domains = $mydestination
relayhost = smtp.isp.co.nz
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mail_spool_directory = /var/mail
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
smtpd_sasl_local_domain = 
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
mynetworks =
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
myhostname = domain.homelinux.com
and here is the line from /var/log/maillog
May 29 07:29:06 ratcat postfix/smtpd[2806]: NOQUEUE: reject: RCPT from unknown[]: 554 5.7.1 <test@gmail.com>: Relay access denied; from=<scott@domain.homelinux.com> to=<test@gmail.com> proto=ESMTP helo=<BOBDESK>
BOBDESK and are the name and ip of the pc i was using to send the email from.

Reply With Quote
Sponsored Links
Old 29th May 2008, 19:52
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

Did you enable "Server requires authentication" in your email client?
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


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
Postfix: 554 5.7.1 Relay access denied Crog Server Operation 4 26th March 2010 15:19
Postfix Relay Access Denied 554 Error matto1376 Server Operation 4 8th June 2007 19:37
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36
Postfix 554 relay access denied! willebanks Installation/Configuration 3 26th September 2006 05:07
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 19:26

All times are GMT +2. The time now is 22:54.

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