Re: [EXIM] [Fwd: Argh! SOS]

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jason Tang
Fecha:  
A: Ben Smithurst
Cc: exim-users
Asunto: Re: [EXIM] [Fwd: Argh! SOS]
Ben Smithurst wrote:
> [ I assume you wrote this, even though it already had quote markers in
> front ]


Yeah it was.. I sent it from jason@[dragor.net|dragor.demon.co.uk] and
it said I wasn't to post on exim-users

> > > I seem to have a problem..
> > >
> > > With exim configured with;
> > >     sender_host_accept_relay = 127.0.0.1
> > >     sender_host_reject_relay = *
> > > which I assume would only allow localhosts to deliver through exim..

>
> No. It only allows the localhost to _relay_ though Exim. Other machines
> can connect and send mail provided they are sending to a local domain.


Aaaah!

> > > then I use fetchmail to go collect the email from POP3 and deliver
> > > locally, instead of getting the messages I get automated messages from
> > > my isp saying;
> > >
> > > Demon Internet currently offers two ways of accessing email.
>
> Why are you using POP3, out of interest? I much prefer using SMTP, since
> Demon provide it.


Just because when I kick up fetchmail to go get it I know it will get
ALL messages right away. Where's SMTP is more of a 'ok lets sit here and
wait if there's any mail' and I don't know when I've collected all my
mail. What I'm aiming for is to leave my computer on all the time and
have a cron job connect to Demon, send all queued mail (exim's job), and
collect all mail (fetchmail), then disconnect.

> > > Now I don't know where those messages are.
>
> They've gone. Bounced back to their senders. oops.


Yup they have.. Damn. Oh well. :/

> > > My guess is that my isp's MTA
> > > assumed I received them and cleared them from their queue.
>
> No, your host sent a 5xx rejection, judging by the logs below, so it
> (Demon's punt) returned them to their senders.


*nods*
Even though all those messages can only be delivered local on my machine
they are still considered as relayed??

> > > I want to use fetchmail to collect my mail and only
> > > have exim there to stop their MTA trying to deliver.
>
> If you don't want their MTA to deliver, why are you running an smtp server
> at all? If Demon find no-one's listening on port 25 they'll go away again.


Cos fetchmail delivers the messages it finds on POP3 server locally
through SMTP.

> Alternatively, use sender_host_reject = 194.217.242.0/24 (not
> sender_host_reject_relay) to reject connections from Demon's mail block
> with a 554 code. (or something which would have the same effect as a
> 554.)


sender_host_reject = *
sender_host_accept = 127.0.0.1

..this would do the thing?

Thanks muchly for your help

Jase
-- 
Jason Tang                                Blackwell Information Services
jason.tang@???             Beaver House, Hythe Bridge Street
01865 792 792 ext 3381                                   Oxford, OX1 2ET


--
*** Exim information can be found at http://www.exim.org/ ***