Re: Connection timeout when trying to send email to gmail address

2008-12-20 Thread Asif Iqbal
On Sat, Dec 20, 2008 at 9:41 PM, Wietse Venema wrote: > Asif Iqbal: >> Dec 20 21:25:20 improvise postfix/smtp[7157]: warning: SASL >> authentication failure: No worthy mechs found > > This means that the SASL (NOT: SSL) mechanisms are not properly > configured. > >> So I tried the openssl test and

Re: Connection timeout when trying to send email to gmail address

2008-12-20 Thread Wietse Venema
Asif Iqbal: > Dec 20 21:25:20 improvise postfix/smtp[7157]: warning: SASL > authentication failure: No worthy mechs found This means that the SASL (NOT: SSL) mechanisms are not properly configured. > So I tried the openssl test and looks like I need a real certificate?! No, you need to fix the S

Re: Connection timeout when trying to send email to gmail address

2008-12-20 Thread Asif Iqbal
On Sat, Dec 20, 2008 at 7:51 PM, Sahil Tandon wrote: > Asif Iqbal wrote: > >> I did but still failing to relay through gmail >> >> Dec 20 14:24:32 improvise postfix/qmgr[19372]: 4238710E3AA: >> from=, size=444, nrcpt=1 (queue active) >> Dec 20 14:24:32 improvise postfix/smtp[19431]: 4238710E3AA:

Re: Connection timeout when trying to send email to gmail address

2008-12-20 Thread Sahil Tandon
Asif Iqbal wrote: > I did but still failing to relay through gmail > > Dec 20 14:24:32 improvise postfix/qmgr[19372]: 4238710E3AA: > from=, size=444, nrcpt=1 (queue active) > Dec 20 14:24:32 improvise postfix/smtp[19431]: 4238710E3AA: > to=, relay=smtp.gmail.com[209.85.163.109]:587, > delay=0.31

Re: Connection timeout when trying to send email to gmail address

2008-12-20 Thread Wietse Venema
Asif Iqbal: > On Fri, Dec 19, 2008 at 5:32 PM, Wietse Venema wrote: > > Asif Iqbal: > >> > need to test it. Just set: > >> > > >> >smtp_tls_security_level = encrypt > >> > >> Thanks, I will put that in > > > > Just checked here that Postfix can talk SSL with [smtp.gmail.com]:587 > > just f

Re: Connection timeout when trying to send email to gmail address

2008-12-20 Thread Asif Iqbal
On Fri, Dec 19, 2008 at 5:32 PM, Wietse Venema wrote: > Asif Iqbal: >> > need to test it. Just set: >> > >> >smtp_tls_security_level = encrypt >> >> Thanks, I will put that in > > Just checked here that Postfix can talk SSL with [smtp.gmail.com]:587 > just fine. But you need to set up cli

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Asif Iqbal
On Fri, Dec 19, 2008 at 6:06 PM, Noel Jones wrote: > Asif Iqbal wrote: >> >> On Fri, Dec 19, 2008 at 4:41 PM, Victor Duchovni >> wrote: >>> >>> On Fri, Dec 19, 2008 at 04:32:55PM -0500, Asif Iqbal wrote: >>> How do I test the SSL ? I go this with openssl iqb...@ghar:~$ op

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Asif Iqbal
On Fri, Dec 19, 2008 at 6:06 PM, Noel Jones wrote: > Asif Iqbal wrote: >> >> On Fri, Dec 19, 2008 at 4:41 PM, Victor Duchovni >> wrote: >>> >>> On Fri, Dec 19, 2008 at 04:32:55PM -0500, Asif Iqbal wrote: >>> How do I test the SSL ? I go this with openssl iqb...@ghar:~$ op

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Noel Jones
Asif Iqbal wrote: On Fri, Dec 19, 2008 at 4:41 PM, Victor Duchovni wrote: On Fri, Dec 19, 2008 at 04:32:55PM -0500, Asif Iqbal wrote: How do I test the SSL ? I go this with openssl iqb...@ghar:~$ openssl s_client -connect smtp.gmail.com:587 You forgot "-starttls smtp". But gmail's SSL work

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Wietse Venema
Asif Iqbal: > > need to test it. Just set: > > > >smtp_tls_security_level = encrypt > > Thanks, I will put that in Just checked here that Postfix can talk SSL with [smtp.gmail.com]:587 just fine. But you need to set up client-side SASL authentication. Wietse

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Asif Iqbal
On Fri, Dec 19, 2008 at 4:41 PM, Victor Duchovni wrote: > On Fri, Dec 19, 2008 at 04:32:55PM -0500, Asif Iqbal wrote: > >> How do I test the SSL ? >> >> I go this with openssl >> >> iqb...@ghar:~$ openssl s_client -connect smtp.gmail.com:587 > > You forgot "-starttls smtp". But gmail's SSL works,

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Victor Duchovni
On Fri, Dec 19, 2008 at 04:32:55PM -0500, Asif Iqbal wrote: > How do I test the SSL ? > > I go this with openssl > > iqb...@ghar:~$ openssl s_client -connect smtp.gmail.com:587 You forgot "-starttls smtp". But gmail's SSL works, you don't really need to test it. Just set: smtp_tls_secu

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Asif Iqbal
On Fri, Dec 19, 2008 at 1:16 PM, Wietse Venema wrote: > Asif Iqbal: >> On Fri, Dec 19, 2008 at 12:46 PM, Wietse Venema wrote: >> > Asif Iqbal: >> >> I could skip the signing part and just a .pem file. But seems like I >> >> will also need a Thawte certificate. >> > >> > You need no certificate to

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Sahil Tandon
Asif Iqbal wrote: >> No need to jump through such hoops. You do not need certs or .pem files to >> relay through gmail. Search the archives of this mailing list for examples, > > No cert needed to relay through gmail? Let me dig in the mailing list. > I guess that is what > Wietse Venema meant in

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Asif Iqbal
On Fri, Dec 19, 2008 at 2:08 PM, Victor Duchovni wrote: > On Fri, Dec 19, 2008 at 01:52:11PM -0500, Asif Iqbal wrote: > >> >> Useless advise really. > > The pointer to SOHO_README.html was provided upstream. This contains > references to all the information you need to configure a home MTA if > th

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Victor Duchovni
On Fri, Dec 19, 2008 at 01:52:11PM -0500, Asif Iqbal wrote: > > Useless advise really. The pointer to SOHO_README.html was provided upstream. This contains references to all the information you need to configure a home MTA if that is indeed the right answer to your question. I'd also look for a

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Asif Iqbal
On Fri, Dec 19, 2008 at 1:15 PM, Victor Duchovni wrote: > On Fri, Dec 19, 2008 at 01:06:21PM -0500, Asif Iqbal wrote: > >> On Fri, Dec 19, 2008 at 12:46 PM, Wietse Venema wrote: >> > Asif Iqbal: >> >> I could skip the signing part and just a .pem file. But seems like I >> >> will also need a Thaw

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Wietse Venema
Asif Iqbal: > On Fri, Dec 19, 2008 at 12:46 PM, Wietse Venema wrote: > > Asif Iqbal: > >> I could skip the signing part and just a .pem file. But seems like I > >> will also need a Thawte certificate. > > > > You need no certificate to SEND mail. > > I am trying to use gmail as my relayhost. I c

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Victor Duchovni
On Fri, Dec 19, 2008 at 01:06:21PM -0500, Asif Iqbal wrote: > On Fri, Dec 19, 2008 at 12:46 PM, Wietse Venema wrote: > > Asif Iqbal: > >> I could skip the signing part and just a .pem file. But seems like I > >> will also need a Thawte certificate. > > > > You need no certificate to SEND mail. >

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Asif Iqbal
On Fri, Dec 19, 2008 at 12:54 PM, Sahil Tandon wrote: > On Dec 19, 2008, at 10:59 AM, "Asif Iqbal" wrote: > >> On Fri, Dec 19, 2008 at 6:05 AM, Sahil Tandon wrote: >>> >>> Asif Iqbal wrote: >>> You are right I cannot talk to any domain's MX. My ISP is cox and I cannot even talk to

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Asif Iqbal
On Fri, Dec 19, 2008 at 12:46 PM, Wietse Venema wrote: > Asif Iqbal: >> I could skip the signing part and just a .pem file. But seems like I >> will also need a Thawte certificate. > > You need no certificate to SEND mail. I am trying to use gmail as my relayhost. I cannot just send mail to gmai

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Sahil Tandon
On Dec 19, 2008, at 10:59 AM, "Asif Iqbal" wrote: On Fri, Dec 19, 2008 at 6:05 AM, Sahil Tandon wrote: Asif Iqbal wrote: You are right I cannot talk to any domain's MX. My ISP is cox and I cannot even talk to their two MXs on port 25. I guess I could do a nmap to find what port they are

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Wietse Venema
Asif Iqbal: > I could skip the signing part and just a .pem file. But seems like I > will also need a Thawte certificate. You need no certificate to SEND mail. Wietse

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Asif Iqbal
On Fri, Dec 19, 2008 at 6:05 AM, Sahil Tandon wrote: > Asif Iqbal wrote: > >> You are right I cannot talk to any domain's MX. My ISP is cox and I cannot >> even talk to their two MXs on port 25. I guess I could do a nmap to find >> what port they are using for MX. They might require some authentic

Re: Connection timeout when trying to send email to gmail address

2008-12-19 Thread Sahil Tandon
Asif Iqbal wrote: > You are right I cannot talk to any domain's MX. My ISP is cox and I cannot > even talk to their two MXs on port 25. I guess I could do a nmap to find > what port they are using for MX. They might require some authentication. > I have no idea what my login is to my cox account.

Re: Connection timeout when trying to send email to gmail address

2008-12-18 Thread Asif Iqbal
On Fri, Dec 19, 2008 at 12:04 AM, Sahil Tandon wrote: > Asif Iqbal wrote: > >> iqb...@improvise:~$ echo this is a test | mailx -s email vad...@gmail.com >> iqb...@improvise:~$ tail -f /var/log/mail.info >> Dec 18 23:01:16 improvise nullmailer[4322]: Rescanning queue. >> Dec 18 23:02:48 improvise p

Re: Connection timeout when trying to send email to gmail address

2008-12-18 Thread Victor Duchovni
On Fri, Dec 19, 2008 at 12:04:52AM -0500, Sahil Tandon wrote: > > Dec 18 23:04:26 improvise postfix/qmgr[5027]: CB66F10E395: > > from=, size=348, nrcpt=1 (queue active) > > Also see: > http://www.postfix.org/postconf.5.html#relayhost Also won't get very far with a bogus $myorigin and no generic

Re: Connection timeout when trying to send email to gmail address

2008-12-18 Thread Sahil Tandon
Asif Iqbal wrote: > iqb...@improvise:~$ echo this is a test | mailx -s email vad...@gmail.com > iqb...@improvise:~$ tail -f /var/log/mail.info > Dec 18 23:01:16 improvise nullmailer[4322]: Rescanning queue. > Dec 18 23:02:48 improvise postfix/master[5024]: daemon started -- > version 2.5.5, config

Connection timeout when trying to send email to gmail address

2008-12-18 Thread Asif Iqbal
iqb...@improvise:~$ echo this is a test | mailx -s email vad...@gmail.com iqb...@improvise:~$ tail -f /var/log/mail.info Dec 18 23:01:16 improvise nullmailer[4322]: Rescanning queue. Dec 18 23:02:48 improvise postfix/master[5024]: daemon started -- version 2.5.5, configuration /etc/postfix Dec 18 2