Vikas Rawal wrote:
I use postfix on my laptop to send mail using gmail's smtp
servers. The laptop runs ubuntu 8.04.
I shall be grateful if I could get help in resolving the
following two problems.
1. The setup works well when used from home where I do not have
a proxy server. However, in my office, I have to work through a
cyberoam proxy. Postfix does not send e-mails through the proxy.
I would like to know if anyone has experience of making postfix
send e-mail through cyberoam.
So what's the error message in the logs?
This is what I get.
Aug 13 14:16:30 shireen postfix/smtp[7985]: connect to smtp.gmail.com
<http://smtp.gmail.com>[209.85.199.109 <http://209.85.199.109>]:587: No
route to host
Aug 13 14:16:39 shireen postfix/smtp[7985]: connect to smtp.gmail.com
<http://smtp.gmail.com>[209.85.199.111 <http://209.85.199.111>]:587: No
route to host
Aug 13 14:16:39 shireen postfix/smtp[7985]: B9AB02675:
to=<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>, relay=none,
delay=9.7, delays=0.08/0.03/9.6/0, dsn=4.4.1, status=deferred (connect
to smtp.gmail.com <http://smtp.gmail.com>[209.85.199.111
<http://209.85.199.111>]:587: No route to host)
Please note that I am able to use a browser, access the internet using
say wget, and use dig to resolve the address. The other thing that does
not work is fetchmail.
Is it that my firewall has blocked the ports that postfix and fetchmail
need, and this is end of the road for me?
Looks as if you don't have a default route set. This is a
networking issue.
Generally:
# route add default ip.of.gate.way
Or maybe the network there doesn't allow outgoing connections,
in which case you may be out of luck. Talk to the network
guys there.
--
Noel Jones