I have just completed a fresh install of 64bit CentOS 5.1, Ispconfig 2.2.21, and the most current versions of postfix utilizing dovecot and smtp-auth. I am able to connect to the server with Outlook Express from any network and send outgoing mails. However, if someone attempts to reply to, or originate a message to me from their ISP, they get a message similar to the following: > Failed Recipient: [email protected] > Reason: Remote host said: 553 sorry, relaying denied from your location > [64.85.3.4] (#5.7.1) My main.cf file is configured as follows: # queue_directory = /var/spool/postfix # command_directory = /usr/sbin # daemon_directory = /usr/libexec/postfix # mail_owner = postfix # inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost # unknown_local_recipient_reject_code = 550 # mynetworks = 10.100.3.0/24, 10.100.2.0/24, 127.0.0.0/8 alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases # debug_peer_level = 2 # debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 # 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 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 # virtual_maps = hash:/etc/postfix/virtusertable Could someone lend some insight as to how I can resolve this hiccup? Thanks
Please run Code: postconf -e 'mydestination = /etc/postfix/local-host-names' /etc/init.d/postfix restart
Bingo! That did the trick! Thank you. But it created a new problem. Now, senders from other networks are getting the following... Could not deliver message to the following recipient(s): Failed Recipient: [email protected] Everything else is as it was before (nothing else has changed). Thanks in advance.