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?

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


--
Noel Jones



Aug 13 09:24:16 shireen postfix/smtp[9041]: A272E2665: to=<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>, 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 known) Aug 13 09:24:16 shireen postfix/cleanup[9039]: 17A362666: message-id=<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> Aug 13 09:24:16 shireen postfix/qmgr[7192]: 17A362666: from=<>, size=5172, nrcpt=1 (queue active) Aug 13 09:24:16 shireen postfix/bounce[9085]: A272E2665: sender non-delivery notification: 17A362666
Aug 13 09:24:16 shireen postfix/qmgr[7192]: A272E2665: removed
Aug 13 09:24:56 shireen postfix/smtp[9041]: 17A362666: to=<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>, 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[7192]: 17A362666: removed

Can anyone help? It will save me a huge hassle.

Vikas

Reply via email to