[CentOS] Help Getting Postfix relaying via Gmail

Fri Dec 28 09:56:23 UTC 2012
Alexander Dalloz <ad+lists at uni-x.org>

Am 28.12.2012 08:37, schrieb Clint Dilks:
> Sorry was doing this at 2am in the morning and didn't realise I mis-copied
> 
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> data_directory = /var/lib/postfix
> debug_peer_level = 3
> html_directory = no
> inet_interfaces = localhost
> inet_protocols = all
> mail_owner = postfix
> mailq_path = /usr/bin/mailq.postfix
> manpage_directory = /usr/share/man
> mydestination = $myhostname, localhost.$mydomain, localhost
> newaliases_path = /usr/bin/newaliases.postfix
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
> relayhost = [smtp.gmail.com]:587
> sample_directory = /usr/share/doc/postfix-2.6.6/samples
> sendmail_path = /usr/sbin/sendmail.postfix
> setgid_group = postdrop
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_type = cyrus
> smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
> smtp_tls_mandatory_ciphers = high
> smtp_tls_mandatory_protocols = TLSv1
> smtp_tls_secure_cert_match = nexthop
> smtp_tls_security_level = secure
> smtp_use_tls = yes
> smtpd_sasl_path = smtpd
> unknown_local_recipient_reject_code = 550

yum install cyrus-sasl-plain

Alexander