> 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[ 209.85.199.109]:587: No route to host Aug 13 14:16:39 shireen postfix/smtp[7985]: connect to smtp.gmail.com[ 209.85.199.111]:587: No route to host Aug 13 14:16:39 shireen postfix/smtp[7985]: B9AB02675: to=<[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[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? > > > 2. The second problem is that when postfix is unable to connect to the >> gmail's servers (either because it is behind cyberoam or because I am simply >> not connected), postfix does not even keep the mails in the queue. The mails >> are simply removed from the queue when it cannot reach the gmail servers. >> That is a big nuisance and defeats the whole purpose of having postfix. The >> mail.log shows the following in such a case. >> > > find the "smtp" transport (not the smtpd listener) in master.cf and add to > it: > -o soft_bounce=yes > worked like a charm!! Thanks. Vikas