I have setup Virtualmin GPL a few days back, and everything is working except for outbound mail, which goes from my mail server to an external mail server, using smtp authentication.
This is the error I keep getting:
postfix/qmgr: 3F709428057: email@example.com, size=5707, nrcpt=1 (queue active)
postfix/smtp: 3F709428057: firstname.lastname@example.org, relay:25=relayserver.com, delay=1.4, delays=0.02/0.01/1.1/0.29, dsn=5.7.1, status=bounced (host relayserver.com said: 554 5.7.1 email@example.com: Relay access denied (in reply to RCPT TO command))
This is the output of postconf -n:
alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, $mydomain mynetworks = 127.0.0.0/8 newaliases_path = /usr/bin/newaliases.postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES relayhost = [relayserver.com] sample_directory = /usr/share/doc/postfix-2.3.3/samples sender_bcc_maps = hash:/etc/postfix/bcc sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_sasl_mechanism_filter = plain,login smtp_sasl_password_maps = hash:/etc/postfix/passwd smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = unknown_local_recipient_reject_code = 550 virtual_alias_maps = hash:/etc/postfix/virtual
The domains can receive mail, but cannot send any outbound mail, as the external server throws up the error and rejects the mail. I am sending the mails using the Webmin interface.
Virtualmin was installed using the automated installer and the version is 3.79 GPL.