gmail and mailing lists [Was: Re: Network is unreachable email error]

2007-12-28 Thread Andrei Popescu
On Mon, Dec 17, 2007 at 11:27:13AM +, Mihira Fernando wrote:
 
 Have to disagree there. If you send a test mail to yourself using a gmail 
 account, it WILL come to your gmail inbox.

AFAIR the mail would show up in Inbox, but I couldn't download it. Maybe 
things changed? 

 The reason why most mailing lists doesn't show your own post to the 
 list is that the setting in the mailing list is not to send a copy of 
 your own mail to yourself.

What mailing list are you talking about? All debian lists send a copy of 
your e-mail by default and all other mailing lists I have ever been on.

 With regards to using a mail retriever with gmail, I find that mpop is the 
 easiest to configure and using it along with msmtp works like a charm.
 
 The mpop downloads the mial form gmail and using msmtp, it submits the mail 
 to 
 postfix which then delivers it on to your local mail box.
 
Maybe my definition of simple is a bit different than yours. I use 
getmail for POP. Though it could deliver directly I use maildrop for 
delivery because I need some sorting/filtering.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: gmail and mailing lists [Was: Re: Network is unreachable email error]

2007-12-28 Thread Mihira Fernando
On Fri December 28 2007, Andrei Popescu wrote:
 AFAIR the mail would show up in Inbox, but I couldn't download it. Maybe
 things changed?
This is what I meant too. It is in the inbox in gmail's web interface.

 What mailing list are you talking about? All debian lists send a copy of
 your e-mail by default and all other mailing lists I have ever been on.
None of the debian list does this for me. I can only see replies to my posts 
by others and new posts (and replies to these) created by others (in both 
gmail web interface and kmail/thunderbird/etc.). 
Maybe there's a personal setting ?

Mihira.

-- 
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break 
stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been 
approved.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: gmail and mailing lists [Was: Re: Network is unreachable email error]

2007-12-28 Thread Andrei Popescu
On Fri, Dec 28, 2007 at 05:52:05PM +, Mihira Fernando wrote:
 On Fri December 28 2007, Andrei Popescu wrote:
  AFAIR the mail would show up in Inbox, but I couldn't download it. Maybe
  things changed?
 This is what I meant too. It is in the inbox in gmail's web interface.
 
  What mailing list are you talking about? All debian lists send a copy of
  your e-mail by default and all other mailing lists I have ever been on.
 None of the debian list does this for me. I can only see replies to my posts 
 by others and new posts (and replies to these) created by others (in both 
 gmail web interface and kmail/thunderbird/etc.). 
 Maybe there's a personal setting ?

That's exactly what I was trying to point out. gmail considers your sent 
mail to be the same with the one received from the mailing list (though 
not 100% identical) and discards the later. To work around this (I 
already bugged gmail about it) I post using my gmail address, but I am 
subscribed with my ISP account.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Network is unreachable email error

2007-12-16 Thread Andrei Popescu
On Sun, Dec 16, 2007 at 11:08:46AM +1100, hce wrote:
 
 Sorry for faulse alarm, it is actually working. I sent a test mail
 from my mutt client, the  mail was received, but not delivered by the
 pop server. Some how, the fetchmail stopped workijng. That is another
 issue I'll have to fix it myselfe.

If you are trying to retrieve your own test mail from gmail that won't 
work due to a strange idea of gmail: there should only be one copy of an 
email. Because this is a sent mail they won't allow you to retrieve it, 
though it will show up in the inbox on the web.

The same goes for postings to mailing lists. I post using the gmail 
account, but I receive using another mail address, because gmail would 
just discard my own postings received through the mailing list (though 
they are not 100% identical to the sent ones).

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Network is unreachable email error

2007-12-16 Thread hce
On Dec 16, 2007 7:04 PM, Andrei Popescu [EMAIL PROTECTED] wrote:
 On Sun, Dec 16, 2007 at 11:08:46AM +1100, hce wrote:

  Sorry for faulse alarm, it is actually working. I sent a test mail
  from my mutt client, the  mail was received, but not delivered by the
  pop server. Some how, the fetchmail stopped workijng. That is another
  issue I'll have to fix it myselfe.

 If you are trying to retrieve your own test mail from gmail that won't
 work due to a strange idea of gmail: there should only be one copy of an
 email. Because this is a sent mail they won't allow you to retrieve it,
 though it will show up in the inbox on the web.

 The same goes for postings to mailing lists. I post using the gmail
 account, but I receive using another mail address, because gmail would
 just discard my own postings received through the mailing list (though
 they are not 100% identical to the sent ones).

That is good to learn. Thanks Andrei. Indeed, if I send a test mail
fron other mail client, it can receive it.

Thank you.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-16 Thread Mihira Fernando
On Mon December 17 2007 2:40 am, hce wrote:
 On Dec 16, 2007 7:04 PM, Andrei Popescu [EMAIL PROTECTED] wrote:
[snip]
  If you are trying to retrieve your own test mail from gmail that won't
  work due to a strange idea of gmail: there should only be one copy of an
  email. Because this is a sent mail they won't allow you to retrieve it,
  though it will show up in the inbox on the web.
 
  The same goes for postings to mailing lists. I post using the gmail
  account, but I receive using another mail address, because gmail would
  just discard my own postings received through the mailing list (though
  they are not 100% identical to the sent ones).

 That is good to learn. Thanks Andrei. Indeed, if I send a test mail
 fron other mail client, it can receive it.

Have to disagree there. If you send a test mail to yourself using a gmail 
account, it WILL come to your gmail inbox.
The reason why most mailing lists doesn't show your own post to the list is 
that the setting in the mailing list is not to send a copy of your own mail 
to yourself.

With regards to using a mail retriever with gmail, I find that mpop is the 
easiest to configure and using it along with msmtp works like a charm.

The mpop downloads the mial form gmail and using msmtp, it submits the mail to 
postfix which then delivers it on to your local mail box.

Mihira.

-- 
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break 
stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been 
approved.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-15 Thread Andrei Popescu
On Sat, Dec 15, 2007 at 11:08:19AM +1100, hce wrote:

  You're the client here not the server. For gmail as relayhost I have
  this setup:
 
 Does that mean I don't need to worry about ssl-cert-snakeoil.pem and
 ssl-cert-snakeoil.key, were they created by server?

I never cared about those and my setup works just fine.
 
 I added those as per above, but same errors:
 
 Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
 failed for smtp.gmail.com: num=20:unable to get local issuer
 certificate

This I don't know

 Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
 failed for smtp.gmail.com: num=27:certificate not trusted
 Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
 failed for smtp.gmail.com: num=21:unable to verify the first
 certificate

These you can ignore

 Dec 15 11:01:16 debian postfix/smtp[4779]: warning: SASL
 authentication failure: No worthy mechs found
 Dec 15 11:01:16 debian postfix/smtp[4779]: 21BB842ABC: SASL
 authentication failed; cannot authenticate to server
 smtp.gmail.com[209.85.133.109]: no mechanism available
 Dec 15 11:01:18 debian postfix/smtp[4779]: certificate verification

Aha, the old no worthy mechs error. What libsasl packages do you have 
installed? Please post the output of

dpkg -l libsasl*

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Network is unreachable email error

2007-12-15 Thread hce
On 12/15/07, Andrei Popescu [EMAIL PROTECTED] wrote:
 On Sat, Dec 15, 2007 at 11:08:19AM +1100, hce wrote:

   You're the client here not the server. For gmail as relayhost I have
   this setup:
 
  Does that mean I don't need to worry about ssl-cert-snakeoil.pem and
  ssl-cert-snakeoil.key, were they created by server?

 I never cared about those and my setup works just fine.

Ok, I don't ned to worry about it.

  I added those as per above, but same errors:
 
  Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
  failed for smtp.gmail.com: num=20:unable to get local issuer
  certificate

 This I don't know

  Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
  failed for smtp.gmail.com: num=27:certificate not trusted
  Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
  failed for smtp.gmail.com: num=21:unable to verify the first
  certificate

 These you can ignore

  Dec 15 11:01:16 debian postfix/smtp[4779]: warning: SASL
  authentication failure: No worthy mechs found
  Dec 15 11:01:16 debian postfix/smtp[4779]: 21BB842ABC: SASL
  authentication failed; cannot authenticate to server
  smtp.gmail.com[209.85.133.109]: no mechanism available
  Dec 15 11:01:18 debian postfix/smtp[4779]: certificate verification

 Aha, the old no worthy mechs error. What libsasl packages do you have
 installed? Please post the output of

 dpkg -l libsasl*


$ dpkg -l libsasl*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library
ii  libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
un  libsasl2-gssap none (no description available)
un  libsasl2-krb4- none (no description available)
un  libsasl2-modul none (no description available)


Thanks Andrei.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-15 Thread Andrei Popescu
On Sat, Dec 15, 2007 at 07:49:20PM +1100, hce wrote:

  Aha, the old no worthy mechs error. What libsasl packages do you have
  installed? Please post the output of
 
  dpkg -l libsasl*
 
 
 $ dpkg -l libsasl*
 Desired=Unknown/Install/Remove/Purge/Hold
 | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
 uppercase=bad)
 ||/ Name   VersionDescription
 +++-==-==-
 ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library
 ii  libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
 un  libsasl2-gssap none (no description available)
 un  libsasl2-krb4- none (no description available)
 un  libsasl2-modul none (no description available)

Aha, I also have libsasl2-modules. Try installing it.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Network is unreachable email error

2007-12-15 Thread Mihira Fernando
On Sat December 15 2007 8:49 am, hce wrote:
 $ dpkg -l libsasl*
 Desired=Unknown/Install/Remove/Purge/Hold

 | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
 | uppercase=bad)
 |
 ||/ Name   VersionDescription

 +++-==-==-=
=== ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library ii 
 libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library un 
 libsasl2-gssap none (no description available)
 un  libsasl2-krb4- none (no description available)
 un  libsasl2-modul none (no description available)


You're missing the libsasl2-modules

apt-get install libsasl2-modules 

Should fix your troubles.

Ace.
-- 
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break 
stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been 
approved.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-15 Thread hce
On 12/15/07, Andrei Popescu [EMAIL PROTECTED] wrote:
 On Sat, Dec 15, 2007 at 07:49:20PM +1100, hce wrote:

   Aha, the old no worthy mechs error. What libsasl packages do you have
   installed? Please post the output of
  
   dpkg -l libsasl*
 
 
  $ dpkg -l libsasl*
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
  |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
  uppercase=bad)
  ||/ Name   VersionDescription
  +++-==-==-
  ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library
  ii  libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
  un  libsasl2-gssap none (no description available)
  un  libsasl2-krb4- none (no description available)
  un  libsasl2-modul none (no description available)

 Aha, I also have libsasl2-modules. Try installing it.

I've installed the ibsasl2-modul:

$ dpkg -l libsasl*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library
ii  libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
un  libsasl2-gssap none (no description available)
un  libsasl2-krb4- none (no description available)
ii  libsasl2-modul 2.1.22.dfsg1-8 Pluggable Authentication Modules for SASL
un  libsasl2-modul none (no description available)
un  libsasl2-modul none (no description available)
un  libsasl2-modul none (no description available)
un  libsasl2-modul none (no description available)

And I reloaded the postfix, the no worthy mechs error seems gone,
but it still has following errors of certificate verification failed

Dec 16 10:36:21 debian postfix/master[2739]: reload configuration /etc/postfix
Dec 16 10:36:46 debian postfix/pickup[5109]: 0F6F242AC2: uid=1000
from=[EMAIL PROTECTED]
Dec 16 10:36:46 debian postfix/cleanup[5130]: 0F6F242AC2:
message-id=[EMAIL PROTECTED]
Dec 16 10:36:46 debian postfix/qmgr[5110]: 0F6F242AC2:
from=[EMAIL PROTECTED], size=458, nrcpt=1 (queue active)
Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 16 10:36:58 debian postfix/smtp[5132]: 0F6F242AC2:
to=[EMAIL PROTECTED], relay=smtp.gmail.com[209.85.147.111]:587,
delay=13, delays=0.14/0.26/6.5/5.7, dsn=2.0.0, status=sent (250 2.0.0
OK 1197761799 m6sm14820186wag)
Dec 16 10:36:58 debian postfix/qmgr[5110]: 0F6F242AC2: removed


Thanks Andrei and Mihira.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-15 Thread hce
On 12/16/07, hce [EMAIL PROTECTED] wrote:
 On 12/15/07, Andrei Popescu [EMAIL PROTECTED] wrote:
  On Sat, Dec 15, 2007 at 07:49:20PM +1100, hce wrote:
 
Aha, the old no worthy mechs error. What libsasl packages do you have
installed? Please post the output of
   
dpkg -l libsasl*
  
  
   $ dpkg -l libsasl*
   Desired=Unknown/Install/Remove/Purge/Hold
   | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
   |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
   uppercase=bad)
   ||/ Name   VersionDescription
   +++-==-==-
   ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library
   ii  libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
   un  libsasl2-gssap none (no description available)
   un  libsasl2-krb4- none (no description available)
   un  libsasl2-modul none (no description available)
 
  Aha, I also have libsasl2-modules. Try installing it.

 I've installed the ibsasl2-modul:

 $ dpkg -l libsasl*
 Desired=Unknown/Install/Remove/Purge/Hold
 | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
 uppercase=bad)
 ||/ Name   VersionDescription
 +++-==-==-
 ii  libsasl2   2.1.22.dfsg1-8 Authentication abstraction library
 ii  libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
 un  libsasl2-gssap none (no description available)
 un  libsasl2-krb4- none (no description available)
 ii  libsasl2-modul 2.1.22.dfsg1-8 Pluggable Authentication Modules for SASL
 un  libsasl2-modul none (no description available)
 un  libsasl2-modul none (no description available)
 un  libsasl2-modul none (no description available)
 un  libsasl2-modul none (no description available)

 And I reloaded the postfix, the no worthy mechs error seems gone,
 but it still has following errors of certificate verification failed

 Dec 16 10:36:21 debian postfix/master[2739]: reload configuration /etc/postfix
 Dec 16 10:36:46 debian postfix/pickup[5109]: 0F6F242AC2: uid=1000
 from=[EMAIL PROTECTED]
 Dec 16 10:36:46 debian postfix/cleanup[5130]: 0F6F242AC2:
 message-id=[EMAIL PROTECTED]
 Dec 16 10:36:46 debian postfix/qmgr[5110]: 0F6F242AC2:
 from=[EMAIL PROTECTED], size=458, nrcpt=1 (queue active)
 Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
 failed for smtp.gmail.com: num=20:unable to get local issuer
 certificate
 Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
 failed for smtp.gmail.com: num=27:certificate not trusted
 Dec 16 10:36:49 debian postfix/smtp[5132]: certificate verification
 failed for smtp.gmail.com: num=21:unable to verify the first
 certificate
 Dec 16 10:36:58 debian postfix/smtp[5132]: 0F6F242AC2:
 to=[EMAIL PROTECTED], relay=smtp.gmail.com[209.85.147.111]:587,
 delay=13, delays=0.14/0.26/6.5/5.7, dsn=2.0.0, status=sent (250 2.0.0
 OK 1197761799 m6sm14820186wag)
 Dec 16 10:36:58 debian postfix/qmgr[5110]: 0F6F242AC2: removed

Sorry for faulse alarm, it is actually working. I sent a test mail
from my mutt client, the  mail was received, but not delivered by the
pop server. Some how, the fetchmail stopped workijng. That is another
issue I'll have to fix it myselfe.

Thans  Andrei, Mihira and all other responses for your patient and kindly helps.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-14 Thread hce
On 12/14/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Thu December 13 2007 9:16 pm, hce wrote:
  $ sudo apt-get install sasl
  E: Couldn't find package sasl
 
  What is the SASL package name?
  Thank you.
  Kind Regards,
  Jim

 $apt-cache search libsasl

E: Couldn't find package libsasl

 I believe the package is libsasl2

Building dependency tree... Done
libsasl2 is already the newest version.

Seems that the SASL has already been installed.

Could it be the problem of ssl-cert-snakeoil.pem and
ssl-cert-snakeoil.key? Should I manually to create them by openssl
(and how?)?

smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key

Thank you.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-14 Thread Andrei Popescu
On Fri, Dec 14, 2007 at 09:54:17PM +1100, hce wrote:
 
 Could it be the problem of ssl-cert-snakeoil.pem and
 ssl-cert-snakeoil.key? Should I manually to create them by openssl
 (and how?)?
 
 smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
 smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
-^^^

You're the client here not the server. For gmail as relayhost I have 
this setup:

---[ /etc/postfix/main.cf ]---

smtp_tls_policy_maps = hash:/etc/postfix/tls_policy
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_type = cyrus
smtp_sasl_security_options = 

--

---[ /etc/postfix/tls_policy ]---

[smtp.gmail.com]:587encrypt

-

---[ /etc/postfix/sasl_passwd ]---

[smtp.gmail.com]:587[EMAIL PROTECTED]:my_password

--

HTH,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Network is unreachable email error

2007-12-14 Thread hce
On 12/15/07, Andrei Popescu [EMAIL PROTECTED] wrote:
 On Fri, Dec 14, 2007 at 09:54:17PM +1100, hce wrote:

  Could it be the problem of ssl-cert-snakeoil.pem and
  ssl-cert-snakeoil.key? Should I manually to create them by openssl
  (and how?)?
 
  smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
 -^^^

 You're the client here not the server. For gmail as relayhost I have
 this setup:

Does that mean I don't need to worry about ssl-cert-snakeoil.pem and
ssl-cert-snakeoil.key, were they created by server?

 ---[ /etc/postfix/main.cf ]---

 smtp_tls_policy_maps = hash:/etc/postfix/tls_policy
 smtp_sasl_auth_enable = yes
 smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
 smtp_sasl_type = cyrus
 smtp_sasl_security_options =

 --

 ---[ /etc/postfix/tls_policy ]---

 [smtp.gmail.com]:587encrypt

 -

 ---[ /etc/postfix/sasl_passwd ]---

 [smtp.gmail.com]:587[EMAIL PROTECTED]:my_password


I added those as per above, but same errors:

Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 15 11:01:15 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 15 11:01:16 debian postfix/smtp[4779]: warning: SASL
authentication failure: No worthy mechs found
Dec 15 11:01:16 debian postfix/smtp[4779]: 21BB842ABC: SASL
authentication failed; cannot authenticate to server
smtp.gmail.com[209.85.133.109]: no mechanism available
Dec 15 11:01:18 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 15 11:01:18 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 15 11:01:18 debian postfix/smtp[4779]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 15 11:01:19 debian postfix/smtp[4779]: warning: SASL
authentication failure: No worthy mechs found

Thank you Andrei.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-13 Thread hce
On 12/13/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Wed December 12 2007 10:58 am, hce wrote:
  Almost, but it has following error for certificates, it seems that was
  a ssl proglem, but I don't know how to fix it:
 
  Dec 12 21:50:42 debian postfix/master[2740]: reload configuration
  /etc/postfix Dec 12 21:50:42 debian postfix/qmgr[4881]: B7BFE62:
  from=[EMAIL PROTECTED], size=455, nrcpt=1 (queue active)
  Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=20:unable to get local issuer
  certificate
  Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=27:certificate not trusted
  Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=21:unable to verify the first
  certificate
  Dec 12 21:50:46 debian postfix/smtp[4884]: warning: SASL
  authentication failure: No worthy mechs found
  Dec 12 21:50:46 debian postfix/smtp[4884]: B7BFE62: SASL
  authentication failed; cannot authenticate to server
  smtp.gmail.com[64.233.167.109]: no mechanism available
  Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=20:unable to get local issuer
  certificate
  Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=27:certificate not trusted
  Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
  failed for smtp.gmail.com: num=21:unable to verify the first
  certificate
  Dec 12 21:50:50 debian postfix/smtp[4884]: warning: SASL
  authentication failure: No worthy mechs found
  Dec 12 21:50:50 debian postfix/smtp[4884]: B7BFE62:
  to=[EMAIL PROTECTED], relay=smtp.gmail.com[64.233.167.111]:587,
  delay=1022, delays=1015/0.17/7.1/0, dsn=4.7.0, status=deferred (SASL
  authentication failed; cannot authenticate to server
  smtp.gmail.com[64.233.167.111]: no mechanism available)
 
 
  I should clarify that my main.cf was copied from a friend's Ubuntu
  machine. Not sure if something was missing? I did check that
  /etc/ssl/certs/ssl-cert-snakeoil.pem and
  /etc/ssl/private/ssl-cert-snakeoil.key did exist.
 Ubuntu may have its own customizations that Debian does not have. NEVER copy
 and paste a main.cf from someone else!
 
  $ sudo /usr/sbin/postconf -n
  alias_database = hash:/etc/aliases
  alias_maps = hash:/etc/aliases
  append_dot_mydomain = yes
  biff = no
  canonical_maps = hash:/etc/postfix/canonical
  config_directory = /etc/postfix
  inet_interfaces = loopback-only
  inet_protocols = ipv4
  mailbox_size_limit = 5120
  masquerade_domains = localhost
  mydestination =
  myhostname = debian
  mynetworks = 127.0.0.0/8
  myorigin = /etc/mailname
  recipient_delimiter = +
  relayhost = smtp.gmail.com:587
  smtp_sasl_auth_enable = yes
  smtp_sasl_mechanism_filter = login
  smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
  smtp_sasl_security_options = noanonymous
  smtp_sasl_type = cyrus
  smtp_tls_CApath = /etc/ssl/certs
  smtp_tls_security_level = may
  smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
  smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
  smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
  smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
  smtpd_use_tls = yes
 
 
   How can I fix it?

 Asusming that above listed is your server's postconf output,
 As root run :
 Lets not use unknown variables here so :

 # postconf -e smtpd_banner=$myhostname

 Your forgot the square brackets for the relayhost. This is not a must but it
 helps speed things up as square brackets stops postfix from doing MX lookups.

 #postconf -e relayhost=[smtp.gmail.com]:587

 AFAIK, no need to use CApaths for relaying with Gmail.
 # postconf -e smtp_tls_CApath=

 and reload Postfix.

 Mihira.

I did exactly as per above, but it still cannot post as the same
following ssl errors, is there something missing?

Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 13 21:43:54 debian postfix/smtp[4100]: warning: SASL
authentication failure: No worthy mechs found
Dec 13 21:43:54 debian postfix/smtp[4100]: 1514042A99: SASL
authentication failed; cannot authenticate to server
smtp.gmail.com[209.85.199.111]: no mechanism available

Thank you.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-13 Thread Mihira Fernando
On Thu December 13 2007 10:58 am, hce wrote:

 I did exactly as per above, but it still cannot post as the same
 following ssl errors, is there something missing?

 Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
 failed for smtp.gmail.com: num=20:unable to get local issuer
 certificate
 Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
 failed for smtp.gmail.com: num=27:certificate not trusted
 Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
 failed for smtp.gmail.com: num=21:unable to verify the first
 certificate
 Dec 13 21:43:54 debian postfix/smtp[4100]: warning: SASL
 authentication failure: No worthy mechs found
 Dec 13 21:43:54 debian postfix/smtp[4100]: 1514042A99: SASL
 authentication failed; cannot authenticate to server
 smtp.gmail.com[209.85.199.111]: no mechanism available

 Thank you.

 Kind Regards,

 Jim

Do you have the necessary TLS/SASL packages for Debian installed ?

Mihira.

-- 
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break 
stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been 
approved.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-13 Thread hce
On 12/14/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 On Thu December 13 2007 10:58 am, hce wrote:

  I did exactly as per above, but it still cannot post as the same
  following ssl errors, is there something missing?
 
  Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
  failed for smtp.gmail.com: num=20:unable to get local issuer
  certificate
  Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
  failed for smtp.gmail.com: num=27:certificate not trusted
  Dec 13 21:43:53 debian postfix/smtp[4100]: certificate verification
  failed for smtp.gmail.com: num=21:unable to verify the first
  certificate
  Dec 13 21:43:54 debian postfix/smtp[4100]: warning: SASL
  authentication failure: No worthy mechs found
  Dec 13 21:43:54 debian postfix/smtp[4100]: 1514042A99: SASL
  authentication failed; cannot authenticate to server
  smtp.gmail.com[209.85.199.111]: no mechanism available
 
  Thank you.
 
  Kind Regards,
 
  Jim

 Do you have the necessary TLS/SASL packages for Debian installed ?

Good question, From following, I guess that the TLS has been
isntalled, but not SASL??

$ dpkg -l | grep TLS
ii  libgnutls13   1.4.4-3
the GNU TLS library - runtime library

$ dpkg -l | grep SASL


$ sudo apt-get install sasl

E: Couldn't find package sasl

What is the SASL package name?

Thank you.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-13 Thread Mihira Fernando
On Thu December 13 2007 9:16 pm, hce wrote:
 $ sudo apt-get install sasl
 E: Couldn't find package sasl

 What is the SASL package name?
 Thank you.
 Kind Regards,
 Jim

$apt-cache search libsasl

I believe the package is libsasl2

Mihira.

PS. Please send replies to list only.

-- 
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break 
stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been 
approved.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-12 Thread hce
On 12/12/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 hce wrote:
 
  $ /usr/sbin/postconf -n
  alias_database = hash:/etc/aliases
  alias_maps = hash:/etc/aliases
  append_dot_mydomain = yes
  biff = no
  canonical_maps = hash:/etc/postfix/canonical
  config_directory = /etc/postfix
  inet_interfaces = loopback-only
  inet_protocols = ipv4
  mailbox_size_limit = 5120
  masquerade_domains = bizmail.com.au
  mydestination = mail.bizmail.com.au
  myhostname = debian
  mynetworks = 127.0.0.0/8
  myorigin = /etc/mailname
  recipient_delimiter = +
  relayhost =
  smtp_sasl_auth_enable = yes
  smtp_sasl_mechanism_filter = login
  smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
  smtp_sasl_security_options = noanonymous
  smtp_sasl_type = cyrus
  smtp_tls_CApath = /etc/ssl/certs
  smtp_tls_security_level = may
  smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
  smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
  smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
  smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
  smtpd_use_tls = yes
 
  The bizmail.com.au is wrong, it was my old ISP, but I could not find
  where the parameters get it from?
 Most likely this is in your main.cf

 
  I only use one file mailname and I have changed mailname to
  smtp.gmail.com:587, but still got port 25:
 What is mailname ? are you referring to /etc/mailname ?
 Your postfix configuration doesnt seem to be using any file called mailname so
 changing that will not help you.
 
  Dec 11 22:07:47 debian postfix/smtp[5598]: connect to
  mailc.microsoft.com[131.107.115.214]: Network is unreachable (port 25)
 Because you're not using a relayhost, Postfix is trying to send the mail
 directly to the recipient's mailserver and since your ISP is blocking port 25,
 Postfix cannot access it.

 
  That's correct. I've only got three files contains specific mail
  information in postfix:
 
  1. mailname: smtp.gmail.com:587
 Again, what is this file ? where is it located ?
 
  2. canonical
 
  yh  [EMAIL PROTECTED]
  root[EMAIL PROTECTED]
 
  3. sasl_passwd
 
  smtp.gmail.com  [EMAIL PROTECTED]:mypassword
 
  That was working fine to my previous ISP bizmail.com.au, or may be
  because the postfix config set to:
 
  masquerade_domains = bizmail.com.au
  mydestination = mail.bizmail.com.au
 
  I could not find postfix.conf, and where I can change those parameers?
 /etc/postfix/main.cf is the place to change these parameters.

 If your postfix version is  2.3 you can use the postconf -e command to edit 
 the
 main.cf like this:
 postconf -e parameter_name=value

 Try the following (as root) :

 # postconf -e relayhost=[smtp.gmail.com]:587

 To remove the masquerades :
 # postconf -e masquerade_domains=

 Since you're not mail.bizmail.com.au, change mydestination to either your FQDN
 and/or simply localhost.

 # postconf -e mydestination=localhost

 Now reload Postfix:

 # postfix reload

 That should get things moving.

Almost, but it has following error for certificates, it seems that was
a ssl proglem, but I don't know how to fix it:

Dec 12 21:50:42 debian postfix/master[2740]: reload configuration /etc/postfix
Dec 12 21:50:42 debian postfix/qmgr[4881]: B7BFE62:
from=[EMAIL PROTECTED], size=455, nrcpt=1 (queue active)
Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 12 21:50:46 debian postfix/smtp[4884]: warning: SASL
authentication failure: No worthy mechs found
Dec 12 21:50:46 debian postfix/smtp[4884]: B7BFE62: SASL
authentication failed; cannot authenticate to server
smtp.gmail.com[64.233.167.109]: no mechanism available
Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=20:unable to get local issuer
certificate
Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=27:certificate not trusted
Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
failed for smtp.gmail.com: num=21:unable to verify the first
certificate
Dec 12 21:50:50 debian postfix/smtp[4884]: warning: SASL
authentication failure: No worthy mechs found
Dec 12 21:50:50 debian postfix/smtp[4884]: B7BFE62:
to=[EMAIL PROTECTED], relay=smtp.gmail.com[64.233.167.111]:587,
delay=1022, delays=1015/0.17/7.1/0, dsn=4.7.0, status=deferred (SASL
authentication failed; cannot authenticate to server
smtp.gmail.com[64.233.167.111]: no mechanism available)


I should clarify that my main.cf was copied from a friend's Ubuntu
machine. Not sure if something was missing? I did check that

Re: Network is unreachable email error

2007-12-12 Thread Mihira Fernando
On Wed December 12 2007 10:58 am, hce wrote:
 Almost, but it has following error for certificates, it seems that was
 a ssl proglem, but I don't know how to fix it:

 Dec 12 21:50:42 debian postfix/master[2740]: reload configuration
 /etc/postfix Dec 12 21:50:42 debian postfix/qmgr[4881]: B7BFE62:
 from=[EMAIL PROTECTED], size=455, nrcpt=1 (queue active)
 Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
 failed for smtp.gmail.com: num=20:unable to get local issuer
 certificate
 Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
 failed for smtp.gmail.com: num=27:certificate not trusted
 Dec 12 21:50:45 debian postfix/smtp[4884]: certificate verification
 failed for smtp.gmail.com: num=21:unable to verify the first
 certificate
 Dec 12 21:50:46 debian postfix/smtp[4884]: warning: SASL
 authentication failure: No worthy mechs found
 Dec 12 21:50:46 debian postfix/smtp[4884]: B7BFE62: SASL
 authentication failed; cannot authenticate to server
 smtp.gmail.com[64.233.167.109]: no mechanism available
 Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
 failed for smtp.gmail.com: num=20:unable to get local issuer
 certificate
 Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
 failed for smtp.gmail.com: num=27:certificate not trusted
 Dec 12 21:50:49 debian postfix/smtp[4884]: certificate verification
 failed for smtp.gmail.com: num=21:unable to verify the first
 certificate
 Dec 12 21:50:50 debian postfix/smtp[4884]: warning: SASL
 authentication failure: No worthy mechs found
 Dec 12 21:50:50 debian postfix/smtp[4884]: B7BFE62:
 to=[EMAIL PROTECTED], relay=smtp.gmail.com[64.233.167.111]:587,
 delay=1022, delays=1015/0.17/7.1/0, dsn=4.7.0, status=deferred (SASL
 authentication failed; cannot authenticate to server
 smtp.gmail.com[64.233.167.111]: no mechanism available)


 I should clarify that my main.cf was copied from a friend's Ubuntu
 machine. Not sure if something was missing? I did check that
 /etc/ssl/certs/ssl-cert-snakeoil.pem and
 /etc/ssl/private/ssl-cert-snakeoil.key did exist.
Ubuntu may have its own customizations that Debian does not have. NEVER copy 
and paste a main.cf from someone else!

 $ sudo /usr/sbin/postconf -n
 alias_database = hash:/etc/aliases
 alias_maps = hash:/etc/aliases
 append_dot_mydomain = yes
 biff = no
 canonical_maps = hash:/etc/postfix/canonical
 config_directory = /etc/postfix
 inet_interfaces = loopback-only
 inet_protocols = ipv4
 mailbox_size_limit = 5120
 masquerade_domains = localhost
 mydestination =
 myhostname = debian
 mynetworks = 127.0.0.0/8
 myorigin = /etc/mailname
 recipient_delimiter = +
 relayhost = smtp.gmail.com:587
 smtp_sasl_auth_enable = yes
 smtp_sasl_mechanism_filter = login
 smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
 smtp_sasl_security_options = noanonymous
 smtp_sasl_type = cyrus
 smtp_tls_CApath = /etc/ssl/certs
 smtp_tls_security_level = may
 smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
 smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
 smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
 smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
 smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
 smtpd_use_tls = yes


  How can I fix it?

Asusming that above listed is your server's postconf output,
As root run : 
Lets not use unknown variables here so :

# postconf -e smtpd_banner=$myhostname

Your forgot the square brackets for the relayhost. This is not a must but it 
helps speed things up as square brackets stops postfix from doing MX lookups.

#postconf -e relayhost=[smtp.gmail.com]:587

AFAIK, no need to use CApaths for relaying with Gmail.
# postconf -e smtp_tls_CApath=

and reload Postfix.

Mihira.

-- 
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break 
stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been 
approved.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-11 Thread hce
On 12/10/07, Mihira Fernando [EMAIL PROTECTED] wrote:
 hce wrote:

 
  Indeed, my ISP blocks port 25. How can I config the postfix to change
  to use 465 or 587? I have following  sasl_passwd:
 
  smtp.gmail.com [EMAIL PROTECTED]
 
  Thank you.
 
  Kind Regards,
 
  Jim
 
 

 It would help if you can post results of postconf -n
 and show the relevant map files (with the passwords and ip addresses mangled 
 of
 cause)

$ /usr/sbin/postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = yes
biff = no
canonical_maps = hash:/etc/postfix/canonical
config_directory = /etc/postfix
inet_interfaces = loopback-only
inet_protocols = ipv4
mailbox_size_limit = 5120
masquerade_domains = bizmail.com.au
mydestination = mail.bizmail.com.au
myhostname = debian
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = login
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_type = cyrus
smtp_tls_CApath = /etc/ssl/certs
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes

The bizmail.com.au is wrong, it was my old ISP, but I could not find
where the parameters get it from?


 Change your relay server parameters from smtp.gmail.com to 
 [smtp.gmail.com]:587

 If you're using relay_server parameter in main.cf, modify it to look like 
 this :
 relayhost = [smtp.gmail.com]:587

 If you're using transport maps, change the map file to look like this :

 gmail.com   smtp:[smtp.gmail.com]:587

I only use one file mailname and I have changed mailname to
smtp.gmail.com:587, but still got port 25:

Dec 11 22:07:47 debian postfix/smtp[5598]: connect to
mailc.microsoft.com[131.107.115.214]: Network is unreachable (port 25)


 your sasl password map file should have the following format :

 smtp.gmail.com  username:password

That's correct. I've only got three files contains specific mail
information in postfix:

1. mailname: smtp.gmail.com:587

2. canonical

yh  [EMAIL PROTECTED]
root[EMAIL PROTECTED]

3. sasl_passwd

smtp.gmail.com  [EMAIL PROTECTED]:mypassword

That was working fine to my previous ISP bizmail.com.au, or may be
because the postfix config set to:

masquerade_domains = bizmail.com.au
mydestination = mail.bizmail.com.au

I could not find postfix.conf, and where I can change those parameers?

Thanks Mihira.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-11 Thread Mihira Fernando

hce wrote:


$ /usr/sbin/postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = yes
biff = no
canonical_maps = hash:/etc/postfix/canonical
config_directory = /etc/postfix
inet_interfaces = loopback-only
inet_protocols = ipv4
mailbox_size_limit = 5120
masquerade_domains = bizmail.com.au
mydestination = mail.bizmail.com.au
myhostname = debian
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = login
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_type = cyrus
smtp_tls_CApath = /etc/ssl/certs
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes

The bizmail.com.au is wrong, it was my old ISP, but I could not find
where the parameters get it from?

Most likely this is in your main.cf



I only use one file mailname and I have changed mailname to
smtp.gmail.com:587, but still got port 25:

What is mailname ? are you referring to /etc/mailname ?
Your postfix configuration doesnt seem to be using any file called mailname so 
changing that will not help you.


Dec 11 22:07:47 debian postfix/smtp[5598]: connect to
mailc.microsoft.com[131.107.115.214]: Network is unreachable (port 25)
Because you're not using a relayhost, Postfix is trying to send the mail 
directly to the recipient's mailserver and since your ISP is blocking port 25, 
Postfix cannot access it.




That's correct. I've only got three files contains specific mail
information in postfix:

1. mailname: smtp.gmail.com:587

Again, what is this file ? where is it located ?


2. canonical

yh  [EMAIL PROTECTED]
root[EMAIL PROTECTED]

3. sasl_passwd

smtp.gmail.com  [EMAIL PROTECTED]:mypassword

That was working fine to my previous ISP bizmail.com.au, or may be
because the postfix config set to:

masquerade_domains = bizmail.com.au
mydestination = mail.bizmail.com.au

I could not find postfix.conf, and where I can change those parameers?

/etc/postfix/main.cf is the place to change these parameters.

If your postfix version is  2.3 you can use the postconf -e command to edit the 
main.cf like this:

postconf -e parameter_name=value

Try the following (as root) :

# postconf -e relayhost=[smtp.gmail.com]:587

To remove the masquerades :
# postconf -e masquerade_domains=

Since you're not mail.bizmail.com.au, change mydestination to either your FQDN 
and/or simply localhost.


# postconf -e mydestination=localhost

Now reload Postfix:

# postfix reload

That should get things moving.

Mihira.

PS. Please send replies only to the list.

--
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been 
approved.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Network is unreachable email error

2007-12-09 Thread Celejar
On Sun, 9 Dec 2007 16:46:47 +1100
hce [EMAIL PROTECTED] wrote:

 On 12/9/07, John Miller [EMAIL PROTECTED] wrote:
  hce wrote:
   Hi,
  
   I am using mutt in Debian, it was workng fine in both receive and send
   emails (gmail server), but it is now only working receive email, does
   not work to send email since last week, please see following error
   message. Any suggestion what I could do wrong?
  
   Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
   gmail-smtp-in.l.google.com[209.85.147.27]: Network is unreachable
   (port 25)
   Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
   gmail-smtp-in.l.google.com[209.85.147.114]: Network is unreachable
   (port 25)
   Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
   alt2.gmail-smtp-in.l.google.com[66.249.91.27]: Network is unreachable
   (port 25)
   Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
   alt1.gmail-smtp-in.l.google.com[64.233.179.27]: Network is unreachable
   (port 25)
   Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
   gsmtp183.google.com[64.233.183.27]: Network is unreachable (port 25)
   Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
   to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
   dsn=4.4.1, status=deferred (connect to
   gsmtp183.google.com[64.233.183.27]: Network is unreachable)
   Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
   to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
   dsn=4.4.1, status=deferred (connect to
   gsmtp183.google.com[64.233.183.27]: Network is unreachable)
  
  
   Thank you.
  
   Jim
  
  
  Jim, from the looks of your logs (I'm assuming /var/log/mail.log--you
  didn't say in your message), you're not actually sending mail through
  gmail's server.  Can you explain a bit more about your mail setup
  (Debian version, Postfix settings, etc.)?
 
 Yes, the error message was from /var/log/mail.info.
 
 The configuration is in postfix. The receive and send email to / from
 gmail server work fine before I change to current ISP, could that be
 my new ISP problem?
 
  Something easy to try in the meantime: can you establish an SMTP
  connection via telnet/netcat to 64.233.183.27 and 209.85.147.27?
 
  [EMAIL PROTECTED]:~$ telnet 64.233.183.27 25
 
 I could not make that work:
 
 ~$ telnet 64.233.183.27 25
 Trying 64.233.183.27...
 telnet: Unable to connect to remote host: Network is unreachable
 
 ~$ telnet 64.233.183.27
 Trying 64.233.183.27...
 
 telnet: Unable to connect to remote host: Connection timed out
 
 The port 25 return error immediately, is it port 25 problem?
 
 Seems it is a network connection problem, isn't it?

Many ISPs block port 25; use 465 or 587:
http://mail.google.com/support/bin/answer.py?hl=enanswer=13287

 Jim

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-09 Thread hce
On Dec 10, 2007 7:35 AM, Celejar [EMAIL PROTECTED] wrote:

 On Sun, 9 Dec 2007 16:46:47 +1100
 hce [EMAIL PROTECTED] wrote:

  On 12/9/07, John Miller [EMAIL PROTECTED] wrote:
   hce wrote:
Hi,
   
I am using mutt in Debian, it was workng fine in both receive and send
emails (gmail server), but it is now only working receive email, does
not work to send email since last week, please see following error
message. Any suggestion what I could do wrong?
   
Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
gmail-smtp-in.l.google.com[209.85.147.27]: Network is unreachable
(port 25)
Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
gmail-smtp-in.l.google.com[209.85.147.114]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
alt2.gmail-smtp-in.l.google.com[66.249.91.27]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
alt1.gmail-smtp-in.l.google.com[64.233.179.27]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable (port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
dsn=4.4.1, status=deferred (connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable)
Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
dsn=4.4.1, status=deferred (connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable)
   
   
Thank you.
   
Jim
   
   
   Jim, from the looks of your logs (I'm assuming /var/log/mail.log--you
   didn't say in your message), you're not actually sending mail through
   gmail's server.  Can you explain a bit more about your mail setup
   (Debian version, Postfix settings, etc.)?
 
  Yes, the error message was from /var/log/mail.info.
 
  The configuration is in postfix. The receive and send email to / from
  gmail server work fine before I change to current ISP, could that be
  my new ISP problem?
 
   Something easy to try in the meantime: can you establish an SMTP
   connection via telnet/netcat to 64.233.183.27 and 209.85.147.27?
  
   [EMAIL PROTECTED]:~$ telnet 64.233.183.27 25
 
  I could not make that work:
 
  ~$ telnet 64.233.183.27 25
  Trying 64.233.183.27...
  telnet: Unable to connect to remote host: Network is unreachable
 
  ~$ telnet 64.233.183.27
  Trying 64.233.183.27...
 
  telnet: Unable to connect to remote host: Connection timed out
 
  The port 25 return error immediately, is it port 25 problem?
 
  Seems it is a network connection problem, isn't it?

 Many ISPs block port 25; use 465 or 587:
 http://mail.google.com/support/bin/answer.py?hl=enanswer=13287

Indeed, my ISP blocks port 25. How can I config the postfix to change
to use 465 or 587? I have following  sasl_passwd:

smtp.gmail.com [EMAIL PROTECTED]

Thank you.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-09 Thread Mihira Fernando

hce wrote:



Indeed, my ISP blocks port 25. How can I config the postfix to change
to use 465 or 587? I have following  sasl_passwd:

smtp.gmail.com [EMAIL PROTECTED]

Thank you.

Kind Regards,

Jim




It would help if you can post results of postconf -n
and show the relevant map files (with the passwords and ip addresses mangled of 
cause)


Change your relay server parameters from smtp.gmail.com to [smtp.gmail.com]:587

If you're using relay_server parameter in main.cf, modify it to look like this :
relayhost = [smtp.gmail.com]:587

If you're using transport maps, change the map file to look like this :

gmail.com   smtp:[smtp.gmail.com]:587

your sasl password map file should have the following format :

smtp.gmail.com  username:password

Or if you're using sender dependent password maps, then :

[EMAIL PROTECTED]   usernameA:password
[EMAIL PROTECTED]   usernameB:password

Mihira.
--
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been 
approved.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Network is unreachable email error

2007-12-09 Thread Celejar
[back on list]

On Mon, 10 Dec 2007 12:40:09 +1100
hce [EMAIL PROTECTED] wrote:

 On Dec 10, 2007 7:35 AM, Celejar [EMAIL PROTECTED] wrote:

[snip]

   The port 25 return error immediately, is it port 25 problem?
  
   Seems it is a network connection problem, isn't it?
 
  Many ISPs block port 25; use 465 or 587:
  http://mail.google.com/support/bin/answer.py?hl=enanswer=13287
 
 Indeed, my ISP blocks port 25. How can I config the postfix to change
 to use 465 or 587? I have following  sasl_passwd:
 
 smtp.gmail.com [EMAIL PROTECTED]

Sorry, I don't know postfix; I use exim.

 Jim

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Network is unreachable email error

2007-12-08 Thread hce
Hi,

I am using mutt in Debian, it was workng fine in both receive and send
emails (gmail server), but it is now only working receive email, does
not work to send email since last week, please see following error
message. Any suggestion what I could do wrong?

Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
gmail-smtp-in.l.google.com[209.85.147.27]: Network is unreachable
(port 25)
Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
gmail-smtp-in.l.google.com[209.85.147.114]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
alt2.gmail-smtp-in.l.google.com[66.249.91.27]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
alt1.gmail-smtp-in.l.google.com[64.233.179.27]: Network is unreachable
(port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable (port 25)
Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
dsn=4.4.1, status=deferred (connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable)
Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
dsn=4.4.1, status=deferred (connect to
gsmtp183.google.com[64.233.183.27]: Network is unreachable)


Thank you.

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-08 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/08/07 21:35, hce wrote:
 Hi,
 
 I am using mutt in Debian, it was workng fine in both receive and send
 emails (gmail server), but it is now only working receive email, does
 not work to send email since last week, please see following error
 message. Any suggestion what I could do wrong?
 
 Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
 gmail-smtp-in.l.google.com[209.85.147.27]: Network is unreachable
 (port 25)
 Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
 gmail-smtp-in.l.google.com[209.85.147.114]: Network is unreachable
 (port 25)
 Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
 alt2.gmail-smtp-in.l.google.com[66.249.91.27]: Network is unreachable
 (port 25)
 Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
 alt1.gmail-smtp-in.l.google.com[64.233.179.27]: Network is unreachable
 (port 25)
 Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
 gsmtp183.google.com[64.233.183.27]: Network is unreachable (port 25)
 Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
 to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
 dsn=4.4.1, status=deferred (connect to
 gsmtp183.google.com[64.233.183.27]: Network is unreachable)
 Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
 to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
 dsn=4.4.1, status=deferred (connect to
 gsmtp183.google.com[64.233.183.27]: Network is unreachable)

Can you ping that machine?  What have you configured as the Google
SMTP server?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Your mistletoe is no match for my TOW missile.  Santa-bot
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHW3hxS9HxQb37XmcRApV3AJ0f4i/0uLkrp0pv88PU7UeSqwpq6gCfVcT0
v2l5eM21vQGEE0mYqEt1A88=
=X3b8
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-08 Thread John Miller
hce wrote:
 Hi,

 I am using mutt in Debian, it was workng fine in both receive and send
 emails (gmail server), but it is now only working receive email, does
 not work to send email since last week, please see following error
 message. Any suggestion what I could do wrong?

 Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
 gmail-smtp-in.l.google.com[209.85.147.27]: Network is unreachable
 (port 25)
 Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
 gmail-smtp-in.l.google.com[209.85.147.114]: Network is unreachable
 (port 25)
 Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
 alt2.gmail-smtp-in.l.google.com[66.249.91.27]: Network is unreachable
 (port 25)
 Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
 alt1.gmail-smtp-in.l.google.com[64.233.179.27]: Network is unreachable
 (port 25)
 Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
 gsmtp183.google.com[64.233.183.27]: Network is unreachable (port 25)
 Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
 to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
 dsn=4.4.1, status=deferred (connect to
 gsmtp183.google.com[64.233.183.27]: Network is unreachable)
 Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
 to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
 dsn=4.4.1, status=deferred (connect to
 gsmtp183.google.com[64.233.183.27]: Network is unreachable)


 Thank you.

 Jim

   
Jim, from the looks of your logs (I'm assuming /var/log/mail.log--you
didn't say in your message), you're not actually sending mail through
gmail's server.  Can you explain a bit more about your mail setup
(Debian version, Postfix settings, etc.)?

Something easy to try in the meantime: can you establish an SMTP
connection via telnet/netcat to 64.233.183.27 and 209.85.147.27?

[EMAIL PROTECTED]:~$ telnet 64.233.183.27 25

FYI, I can establish SMTP connections on both of the IP addresses listed
in your log messages, so the servers are listening for connections.

--John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-08 Thread hce
On 12/9/07, Ron Johnson [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 12/08/07 21:35, hce wrote:
  Hi,
 
  I am using mutt in Debian, it was workng fine in both receive and send
  emails (gmail server), but it is now only working receive email, does
  not work to send email since last week, please see following error
  message. Any suggestion what I could do wrong?
 
  Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
  gmail-smtp-in.l.google.com[209.85.147.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
  gmail-smtp-in.l.google.com[209.85.147.114]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  alt2.gmail-smtp-in.l.google.com[66.249.91.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  alt1.gmail-smtp-in.l.google.com[64.233.179.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
  to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
  dsn=4.4.1, status=deferred (connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable)
  Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
  to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
  dsn=4.4.1, status=deferred (connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable)

 Can you ping that machine?  What have you configured as the Google
 SMTP server?

Yes:

~$ ping 64.233.183.27
PING 64.233.183.27 (64.233.183.27) 56(84) bytes of data.
64 bytes from 64.233.183.27: icmp_seq=1 ttl=237 time=517 ms
64 bytes from 64.233.183.27: icmp_seq=2 ttl=237 time=484 ms

I set my email address in canonical and smtp.gmail.com
[EMAIL PROTECTED] in sasl_passwd.gmail. I guess the config for
postfix should be fine as It was work begore. But I've recently
changed to another ISP, not sure that may cause the problem?

Thank you.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network is unreachable email error

2007-12-08 Thread hce
On 12/9/07, John Miller [EMAIL PROTECTED] wrote:
 hce wrote:
  Hi,
 
  I am using mutt in Debian, it was workng fine in both receive and send
  emails (gmail server), but it is now only working receive email, does
  not work to send email since last week, please see following error
  message. Any suggestion what I could do wrong?
 
  Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
  gmail-smtp-in.l.google.com[209.85.147.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:48 debian postfix/smtp[13065]: connect to
  gmail-smtp-in.l.google.com[209.85.147.114]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  alt2.gmail-smtp-in.l.google.com[66.249.91.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  alt1.gmail-smtp-in.l.google.com[64.233.179.27]: Network is unreachable
  (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable (port 25)
  Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
  to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
  dsn=4.4.1, status=deferred (connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable)
  Dec  9 14:13:49 debian postfix/smtp[13065]: 5523B42A9C:
  to=[EMAIL PROTECTED], relay=none, delay=2, delays=0.03/0/2/0,
  dsn=4.4.1, status=deferred (connect to
  gsmtp183.google.com[64.233.183.27]: Network is unreachable)
 
 
  Thank you.
 
  Jim
 
 
 Jim, from the looks of your logs (I'm assuming /var/log/mail.log--you
 didn't say in your message), you're not actually sending mail through
 gmail's server.  Can you explain a bit more about your mail setup
 (Debian version, Postfix settings, etc.)?

Yes, the error message was from /var/log/mail.info.

The configuration is in postfix. The receive and send email to / from
gmail server work fine before I change to current ISP, could that be
my new ISP problem?

 Something easy to try in the meantime: can you establish an SMTP
 connection via telnet/netcat to 64.233.183.27 and 209.85.147.27?

 [EMAIL PROTECTED]:~$ telnet 64.233.183.27 25

I could not make that work:

~$ telnet 64.233.183.27 25
Trying 64.233.183.27...
telnet: Unable to connect to remote host: Network is unreachable

~$ telnet 64.233.183.27
Trying 64.233.183.27...

telnet: Unable to connect to remote host: Connection timed out

The port 25 return error immediately, is it port 25 problem?

Seems it is a network connection problem, isn't it?

Thank you.

Kind Regards,

Jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]