Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Noel Jones (njonesmegan.vbhcs.org)
Date: Tue Aug 12 2008 - 23:26:19 CDT
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
> 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?
> 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:
> Aug 13 09:24:16 shireen postfix/smtp: A272E2665:
> to=<harv.singhyahoo.com <mailto:harv.singhyahoo.com>>, relay=none,
> delay=40, delays=0.17/0.22/40/0, dsn=5.4.4, status=bounced (unable to
> look up host smtp.gmail.com <http://smtp.gmail.com>: Name or service not
> Aug 13 09:24:16 shireen postfix/cleanup: 17A362666:
> Aug 13 09:24:16 shireen postfix/qmgr: 17A362666: from=<>,
> size=5172, nrcpt=1 (queue active)
> Aug 13 09:24:16 shireen postfix/bounce: A272E2665: sender
> non-delivery notification: 17A362666
> Aug 13 09:24:16 shireen postfix/qmgr: A272E2665: removed
> Aug 13 09:24:56 shireen postfix/smtp: 17A362666:
> to=<vrshireen.jnu.ac.in <mailto:vrshireen.jnu.ac.in>>, relay=none,
> delay=40, delays=0.02/0/40/0, dsn=5.4.4, status=bounced (unable to look
> up host smtp.gmail.com <http://smtp.gmail.com>: Name or service not known)
> Aug 13 09:24:56 shireen postfix/qmgr: 17A362666: removed
> Can anyone help? It will save me a huge hassle.