-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In <[EMAIL PROTECTED]>, Sahil Dave wrote:
>hi..
>
>i was just trying to configure postfix on my PC and have chosen gmail's smtp
>server to relay my mails to the world. i need to do this because i don't
>have a domain name + my WAN ip is dynamic. so, using gmail wont treat my
>mails as spam.
>i have set
>relayhost = smtp.gmail.com:465 in 'main.cf'

I'm also using similar configuration since 1.8 years using Gmail's SMTP as 
mail relay for my local Postfix. And instead of using SMTPS port which is 
SMTP-over-SSL, I'm using smtp.gmail.com:25, which is a plain-text SMTP. 
Ofcourse 
my postfix then switches to TLS.

>
>when i try to send a test mail to my gmail acct. the following is logged.
>
>Sep  3 00:50:24 localhost postfix/smtp[4258]: 0348D27578: to=<
>[EMAIL PROTECTED]>, relay=smtp.gmail.com[209.85.143.109]:465,
>delay=657, delays=56/0.01/601/0, dsn=4.4.2, status=deferred (conversation
>with smtp.gmail.com[209.85.143.109] timed out while receiving the initial
>server greeting)

Aug 30 11:55:15 chateau postfix/smtp[19013]: 6F3FFF4B5B: 
to=<ilugd@lists.linux-delhi.org>, relay=smtp.gmail.com[209.85.143.109]:25, 
delay=8.8, delays=0.03/0.03/5.5/3.2, dsn=2.0.0, status=sent (250 2.0.0 OK 
1220077498 d7sm3392119tib.4)

>do i need to specify my WAN ip in main.cf, or is there some other issue?

So the issue is Postfix expecting plain-text SMTP.

I've followed Gmail + Postfix + Fetchmail HOWTO[1]. Though my configuration is 
somewhat different from what is mentioned in the HOWTO. 

References:
[1] - http://souptonuts.sourceforge.net/postfix_tutorial.html

Happy Spamming :)
Ashish Shukla
- -- 
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAki+SEwACgkQHy+EEHYuXnR0VQCfWxVp0UNnWofxbUoQynVyMfy4
T6QAoKmtsZq2o+J/d2uiTMbivekabiYt
=h9si
-----END PGP SIGNATURE-----

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to