On 17/07/00 17:30 +0530, Rohit spewed into the LI bitstream:

>My fault entirely. I had specified the smtp server as
>XXXXX.XX.XXXX.ernet.in which relays mails and was using
>this as the default SMTP server in my PINE settings.

Ahhh.... instead, leave smtp server blank in the pine settings.  Set up
postfix to smarthost thru some.server.ernet.in and queue mails when
offline.

http://www.porcupine.org/postfix-mirror/faq.html#dialup for more details.

>And when the network cable was not connected, postfix
>had no way of delivering mails.

In /etc/postfix/main.cf set these options (assuming you are connected
over a dialup):

relayhost = xxx.xx.ernet.in # relays thru another server

defer_transports = smtp    # Queues mails

disable_dns_lookups = yes  # If you set this use ip addr for smtp
                           # server as postfix wont do mx lookup

To send all queued mails 

/usr/sbin/sendmail -q      # symlink to postfix I think

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
Help me, I'm a prisoner in a Fortune cookie file!

-----------------------------------------------------------------------
LIH is all for free speech.  But it was created for a purpose - to help
people discuss issues about installing and running Linux.  If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.

Reply via email to