Koozali.org: home of the SME Server

E-Mail not sent.

Russell Tiedt

E-Mail not sent.
« on: April 15, 2000, 11:20:14 AM »
Hi,

I am using e-smith 3.1 while waiting for 4.0 to come out of beta. My problem is that e-mails sent to the e-smith server / gateway while it is not connected to the internet are never sent. Is there a way to force these to be sent when the connecrion on the dial up system comes up.

Thanks,

Russell

Charlie Brady

RE: E-Mail not sent.
« Reply #1 on: April 16, 2000, 05:28:26 PM »
Russell Tiedt wrote:

> I am using e-smith 3.1 while waiting for 4.0 to come out of
> beta. My problem is that e-mails sent to the e-smith server /
> gateway while it is not connected to the internet are never
> sent. Is there a way to force these to be sent when the
> connecrion on the dial up system comes up.

If you create a file /etc/ppp/ip-up containing:

/var/qmail/bin/qmail-tcpok
killall -ALRM qmail-send

and make it exectuable using:

chmod +x /etc/ppp/ip-up

then all email items waiting to be send will rescheduled for
sending as soon as the PPP link comes up.

If you are sending mail to places with unreliable or intermittent links to the internet then it would be a good idea to use the SMTPSmartHost feature of E-smith to send to your ISP's mail server and let it keep retrying the remote destinations.

/sbin/e-smith/config set SMTPSmartHost x.x.x.x
/sbin/e-smith/signal-event console-save
killall -HUP qmail-send

- where x.x.x.x is the IP address of your ISP's mail server.

Regards

Charlie