On 11/18/2012 05:09 AM, A G wrote:
> Martijn,
>
> Thanks for your inputs. I went ahead with option 3 that you suggested.
>
> I've implemented TLS on the server and enabled pdf encryption instead of 
> S/MIME.
> The mail is sent successfully from Roundcube and is also received by the 
> Djigzo
> gateway. When it is sent from the gateway, the mail is not getting delivered 
> to
> the recepient from the Gmail server. The external user has been added under
> "Settings".
>
> Following are the additional lines that I added for TLS in MTA Raw config:
>
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/smtp_client_passwd
> smtp_sasl_type = cyrus
> #smtp_tls_CApath = /etc/postfix/certs/
> smtp_sasl_security_options =
>
> smtp_tls_CApath = /etc/postfix/certs/
> smtpd_tls_cert_file = /etc/postfix/ssl/ssl.pem
> smtpd_tls_key_file = /etc/postfix/ssl/ssl.key
> smtpd_tls_security_level = may
> smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
>
> smtpd_tls_loglevel = 1
>
> smtpd_use_tls = yes
> smtpd_tls_auth_only = no
>
> Also, following is what shows up in the "Logs" tab:
>
> status=deferred (conversation with smtp.gmail.com[173.194.76.109] timed out
> while receiving the initial server greeting)
>
> Any idea what I might be doing wrong here?

Can you check the following:

1. Check if the "External relay host" on the MTA page is set to:

host: smtp.gmail.com
mx:   do not select
port: 587


2. Did you add your Gmail credentials on the sasl passwords page:

Add a new sals password entry with the following settings:

Server:   smtp.gmail.com
Port:     587
Username: [email protected]
Password: YOUR_PASSWORD

Make sure you apply the settings on the SASL passwords page to make the 
sasl settings active.

Kind regards,

Martijn Brinkers


-- 
DJIGZO email encryption
_______________________________________________
Users mailing list
[email protected]
http://lists.djigzo.com/lists/listinfo/users

Reply via email to