Re: [exim] Configuration to first try direct SMTP and if we …

Góra strony
Delete this message
Reply to this message
Autor: Agusti
Data:  
Dla: Andrew Nimmo, exim-users
CC: 
Temat: Re: [exim] Configuration to first try direct SMTP and if we get permanent error, send message to smarthost
Thank you for pointing to thread, It's exactly the same thing I want... The
problem is that responders didn't solve it in this thread...

Fixed IP address solves some situations but others not. I also have ADSL in
Spain, Telefonica has fixed and dynamically assigned addresses, some time ago
fixed addresses where a problem because spamcop included them in their list,
it seems to me that they have removed those now....

I could try to mantain a list of domains that do not accept mails from ADSL
lines but it's not automatic, we have about 50 machines behind ADSL lines
that could rsync to their discs a file listing some domains I know are
problematic, but I should wait for a problem to add a domains.. a bit ugly...

Another solution I was wondering, is adding a virtual MX register for all
domains so my host on the datacenter is MX preference 1000 for all domains, I
think exim would try all MX registers even if it has got 5xx responses, but
it's also ugly and tricky to fake DNS responses (and I also don't have the
knowledge to fake bind that way), I should be desirable exim to understand
that it should try an smarthost if it has got an permanent error. If my
smarthost also gets an permanent error then this smarthost could return this
message to sender.

Any patch to bind would be greatly appreciated...

A Dimarts 12 Abril 2005 15:30, vàreu escriure:
> Agustí,
>
> i can confirm that the response to a 5xx can't be overridden easily or
> economically. also, unless you know the exact cause of the 5xx, you may
> also be getting the smarthost to try a delivery to (for example) a host
> which will respond with a 5xx to your datacenter-based server. an exim
> archive check also found this thread:
>
> http://www.exim.org/pipermail/exim-users/Week-of-Mon-20031229/
> 064260.html
>
> my (small, personal) email setup currently uses 3 static adsl lines in
> spain and uk with 2 different telecoms providers, giving me slightly
> more flexibility if an address range gets blocked.
>
> regards,
> andrew
>
> On 12 Apr 2005, at 14:07, Andrew Nimmo wrote:
> > Agustí,
> >
> > yes, this can be a good way to make use of cheaper resources. if you
> > get a permanent error (a 5xx response), i believe exim4 will always
> > respond with a bounced message to the sender, however i'll do some
> > checks to see if that can be overridden. i've not used exim3 for
> > several years but would presume it would do something similar, however
> > i'd recommend upgrading to exim4 anyway.
> >
> > i presume you've considered (one or more) static ip adsl lines? i have
> > a 2M/320k ya.com adsl line, obviously through telefonica, with a
> > static address for 12€ extra, and have no issues with block lists,
> > etc, etc.
> >
> > regards
> > andrew
> >
> > ----
> > Andrew Nimmo
> > andrew.nimmo@???
> > +34 678 73 96 76 ES VODAFONE
> > +44 845 8900 828 UK LOCAL VoIP
> >
> > On 12 Apr 2005, at 13:25, Agusti wrote:
> >> I think subject is self-explanatory,
> >> Really often machines behind an ADSL line with dinamically assigned IP
> >> address have issues sending mail to some mail servers (RBL blocked
> >> for
> >> having Dynamic IP address or popular ISP).
> >> We have some hosts in a datacenter that have no problem sending mail
> >> but
> >> traffic cost us money...
> >> I want to have on this datacenter some host that acts as an smarthost
> >> for
> >> hosts behind ADSL lines but only when it is necessary, so I can save
> >> traffic
> >> on the datacenter
> >>
> >> The question is: can I try to deliver directly and if I get a
> >> permanent error
> >> (probably relaying denied) send this message to my smarthost? How can
> >> I
> >> configure this in exim.conf? I'm now using exim3 but I woundn't mind
> >> upgrading to exim4.
> >>
> >> Thanks,
> >> --
> >> Agustí Rivero
> >> xarxes@???
> >> Telf. 902 36 14 84
> >>
> >> Ilimit Comunicacions
> >>
> >> --
> >> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> >> ## Exim details at http://www.exim.org/
> >> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/


--
Agustí Rivero
xarxes@???
Telf. 902 36 14 84

Ilimit Comunicacions