RE: [Exim] Re: Mail relay problems

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andy Coy
Date:  
À: exim
Sujet: RE: [Exim] Re: Mail relay problems
>I was just wondering off list (because I would be slated for it
>otherwise :-) but if you open relaying to all does mail go through?


>If you put an asterisk after host_accept_relay = *


Yep just tried that, deleted all IP's from host_accept_relay and did *
instead. Ran -v -d11 and this was the outcome.

connected
SMTP<< 220 mta4-svc.business.ntl.com ESMTP server (InterMail vM.4.01.03.27
201-229-121-127-20010626) ready Sun, 9 Jun 2002 11:42:01 +0100
SMTP>> EHLO post.libertynet.co.uk

  SMTP<< 250-mta4-svc.business.ntl.com
         250-HELP
         250-XREMOTEQUEUE
         250-ETRN
         250-PIPELINING
         250-DSN
         250-8BITMIME
         250 SIZE 10485760

SMTP>> MAIL FROM:<andy@???> SIZE=1722

SMTP<< 250 Sender <andy@???> and extensions (SIZE=1722) Ok
SMTP>> RCPT TO:<andy.coy@???>

SMTP<< 250 Recipient <andy.coy@???> Ok
SMTP>> DATA

SMTP<< 354 Ok Send data ending with <CRLF>.<CRLF>
SMTP>> writing message and terminating "."

writing data block size=702 timeout=300
SMTP<< 250 Message received:
20020609104201.UCPF29003.mta4-svc.business.ntl.com@???
ok=1 send_quit=1 send_rset=0 continue_more=0 yield=0 first_address=0
transport_check_waiting entered
sequence=1 local_max=0 global_max=-1
locked /var/spool/virtual_mail/db/wait-remote_smtp.lockfile
opened DB file /var/spool/virtual_mail/db/wait-remote_smtp: flags=202
dbfn_read: key=mail.virgin.net
no messages waiting for mail.virgin.net
SMTP>> QUIT

set_process_info: 89557 3.13 delivering 17H0Ep-000NIS-00: just tried
mail.virgin.net [62.253.164.40] for andy.coy@???: result OK
Leaving remote_smtp transport
set_process_info: 89557 3.13 delivering 17H0Ep-000NIS-00 (just run
remote_smtp for andy.coy@???)
post-process andy.coy@???
andy.coy@??? succeeded: adding to nonrecipients list
LOG: 0 MAIN
=> andy.coy@??? R=lookuphost T=remote_smtp H=mail.virgin.net
[62.253.164.40]
set_process_info: 89557 3.13 tidying up after delivering 17H0Ep-000NIS-00
Processing retry items
Succeeded addresses:
andy.coy@???: no retry items
Failed addresses:
Deferred addresses:
end of retry processing
LOG: 0 MAIN
Completed
end delivery of 17H0Ep-000NIS-00

>I really would not do it for more than 5 minutes, I have done it in the
>past and the relay was discovered in less than 20 minutes and I had a
>couple of thousand emails in the queue.


>And then run exim with degugging and try to relay through it again to
>see if you get the same error.


>I would be paranoid about not getting caught with an open relay as it is
>a real pain to get yourself removed from the 20 or so black lists.


Thanks for the tip I had not thought of blacklists. I have changed back the
file to my log ip list as was.

Still get the error 'host in host_accept_relay? no (end of list)'. Still
does MySQL lookup, even though it is disabled. I think that is a lookup to
see if the domain is local as local mail addresses are held in a SQL
database.