I  currently have Postfix set up on a Centos 6 server, as a simple forwarding service.Currently in /etc/postfix/main.cf I have set the following:smtpd_client_restrictions = permit_mynetworks,reject_unknown_client,permitsmtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,permit_sasl_authenticated,reject_unauth_destinationand also:#For virtual domainsvirtual_alias_domains = hash:/etc/postfix/mydomainsvirtual_alias_maps = hash:/etc/postfix/virtualIn /etc/postfix/mydomains I have listed domains that it will accept mail for, and in /etc/postfix/virtual I list the addresses that are configured, and what addresses they forward to.What I would like to do...I would like postfix to continue to act as it currently does for mails coming in on port 25.However, I would like to also set up mail relaying for authenticated users through port 587, with TLS authentication, so I can set up GMail to send email from my own domains through my server.I've found some tutorials on setting up relaying, but every time I attempt it, it breaks the mail forwarding on port 25.My last attempt involved the following changes to /etc/postfix/main.cf:relayhost = [smtp.mydomain.com]:587smtp_sasl_auth_enable = yessmtp_sasl_password_maps = hash:/etc/postfix/smtp_authsmtp_sasl_security_options = noanonymousI only have a small number of users, so I'm happy with a simple username/password list in /etc/postfix/smtp_auth (for now at least).Can anyone give me some pointers on setting this up, please?Thanks for your help!James
Postfix Mail Relay Server with TLS
centos;email;postfix