I have setup my machine to relay through smtp.gmail.com
installed cyrus-sasl-md5 cyrus-sasl-plain
Added to access:
AuthInfo:smtp.gmail.com "U:smmsp" "I:my accont" "P:my pass" "M:PLAIN" AuthInfo:smtp.gmail.com:587 "U:smmsp" "I:my account" "P:my pass" "M:PLAIN"
Added to sendmail.mc the SMART_HOST smtp.gmail.com uncommented the pki lines define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl
set the confAUTH_MECHANISMS
restarted sendmail
It seems like sendmail is trying to use port 25 as the log shows "connection timeout".
I did this to two other machines and it worked. the third one is being stubborn.
Any suggestions to look at ???
Jerry
telnet smtp.gmail.com 25
from the server. works?
-- Sent from the Delta quadrant using Borg technology!
Nux! www.nux.ro
----- Original Message -----
From: "Jerry Geis" geisj@pagestation.com To: "CentOS mailing list" centos@centos.org Sent: Monday, 16 February, 2015 21:21:11 Subject: [CentOS] setting up centos 6 x86_64 to relay through gmail
I have setup my machine to relay through smtp.gmail.com
installed cyrus-sasl-md5 cyrus-sasl-plain
Added to access:
AuthInfo:smtp.gmail.com "U:smmsp" "I:my accont" "P:my pass" "M:PLAIN" AuthInfo:smtp.gmail.com:587 "U:smmsp" "I:my account" "P:my pass" "M:PLAIN"
Added to sendmail.mc the SMART_HOST smtp.gmail.com uncommented the pki lines define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl
set the confAUTH_MECHANISMS
restarted sendmail
It seems like sendmail is trying to use port 25 as the log shows "connection timeout".
I did this to two other machines and it worked. the third one is being stubborn.
Any suggestions to look at ???
Jerry _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Am 16.02.2015 um 22:21 schrieb Jerry Geis:
I have setup my machine to relay through smtp.gmail.com
installed cyrus-sasl-md5 cyrus-sasl-plain
Added to access:
AuthInfo:smtp.gmail.com "U:smmsp" "I:my accont" "P:my pass" "M:PLAIN" AuthInfo:smtp.gmail.com:587 "U:smmsp" "I:my account" "P:my pass" "M:PLAIN"
I see these 2 entries all the time in different writeups in the net. Why? The only AuthInfo entry that will be picked up is the one matching the target host.
Added to sendmail.mc the SMART_HOST smtp.gmail.com uncommented the pki lines define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl
set the confAUTH_MECHANISMS
restarted sendmail
It seems like sendmail is trying to use port 25 as the log shows "connection timeout".
I did this to two other machines and it worked. the third one is being stubborn.
Any suggestions to look at ???
You missed an important step in your sendmail.mc setup:
http://www.sendmail.com/sm/open_source/support/support_faq/faq_ver_8_issues/...
Jerry
Alexander