im trying to set up an vps smtp server so i can send emails to my list from a bulk mailer on my home computer. i have followed multiple how to guides on setting up postfix,dovecot, sasl auth on various OS's but get the same problem everytime..
I can send a mail to a gmail.com through localhost know worries but when i "telnet mydomain.com 25" i get relay access denied. also if i put the smtp details into my client mailer it just doesn't recognize them.
Here are some details into it
mail from: root
rcpt to: random@gmail.com
554 5.7.1 <random@gmail.com>: relay access denied
main.cf
inet_protocols = ipv4
home_mailbox = Maildir/
smtpd_banner = $myhostname ESMTP $mail_name
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
smtpd_sasl_auth_enable = yes
smtpd_sasl_type = cyrus
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_path = smtpd
smtpd_sasl_authenticated_header = 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_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
var/log/maillog
May 7 08:16:08 mail postfix/smtpd[26620]: connect from plusioworld.com[104.140.136.112]
May 7 08:16:58 mail postfix/smtpd[26620]: NOQUEUE: reject: RCPT from plusioworld.com[104.140.136.112]: 554 5.7.1 <waterlink21@gmail.com>: Relay access denied; from=<root> to=<waterlink21@gmail.com> proto=ESMTP helo=<plusioworld.com>
May 7 08:17:00 mail dovecot: pop3-login: Aborted login: user=<backup@OEMFACTORYJERSEYS.COM>, method=PLAIN, rip=::ffff:194.63.142.101, lip=::ffff:104.140.136.112
May 7 08:17:10 mail postfix/smtpd[26620]: disconnect from plusioworld.com[104.140.136.112]
Any ideas are truly appreciated
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)