I configured Postfix on a VPS to use a relay service to send mail.
My challenge is how to configure Alfresco to connect to Postfix to send mail?
It is not sending mails.
Below are the parameters in alfresco.global.propoerties:
mail.host=localhost #I initially used the VPS server IP address but mails are still not sent mail.port=465 [email protected] mail.password=xxxxxxxxx mail.smtp.auth=true # Set to true if Postfix requires authentication mail.smtp.starttls.enable=false # Set to true if using TLS mail.protocol=smtps mail.encoding=UTF-8 [email protected] mail.smtp.auth=true Am I doing something wrong?
Below is the Postfix Main.cf:
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination myhostname = smtp.gmail.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = $myhostname relayhost = [smtp.gmail.com]:465 smtp_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_use_tls = yes smtp_tls_security_level = encrypt smtp_tls_wrappermode = yes smtp_tls_note_starttls_offer = yes mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = all