lkml.org 
[lkml]   [1996]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: routing (sendmail?) problem
On 22 Jun 1996, Thomas Quinot wrote:

> Franco (fda@kaemart.itia.mi.cnr.it) écrit :
>
> > 1) I'd like my computer to send outbound mail as soon as a ppp connection
> > is estabilished (for obvious money saving reasons), but it doesn't
>
> Just put "sendmail -q" in your /etc/ppp/ip-up script.
>

You might want an '&' after that, it will keep running until all the mail
has had one go at being delivered (ie it's either delivered, or this
attempt failed).

>
> 2) sendmail tries to send mail directly to the receiving hosts, so if the host
> > is far/slow it can take a lot of time (even more if it's down :-)
>
> Declare your ISP's mail host as your samrt-host. Using Sendmail's M4 config
> kit :
>
> LOCAL_CONFIG
> define(`SMART_HOST', relay:[1.2.3.4])dnl
>
> where 1.2.3.4 is the IP address of your ISP's mail host.
>

Hmm, you might want to try and mail directly, and have your ISP's mailhost
as a fallback MX host. DNS MX records have a priority, and they are tryed
in order from the highest to the lowest priority (ie 10 then 20 then 30
...), what this does is take your ISP's mail host, and consider it as if
it was returned as a MX record with a very low priority (eg 100+)

You may not want to do this, but it will make you fairly immune to your
ISP's mail host going down (and reduce the load on it, if every one who
can, delivers there own, that's lots of mail that your ISP dosn't have to
handle).

> Thomas.Quinot@Cuivre.FdN.FR <URL:http://Web.FdN.FR/~tquinot/>
Bryn
--
PGP key pass phrase forgotten, \ Overload -- core meltdown sequence
again :( | initiated.
/ This space is intentionally left
| blank, apart from this text ;-)
\____________________________________



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.023 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site