Mailing List Archive

Mail relay problems
Hi All,

Bit of a newbie to Unix, newbie to Exim. I had someone setup a internet
server for me and it's worked fine for years. I co -locate in someone else's
NOC, a bit VISP really. Anyhow things have been fine until my provider has
stated that they will become part of a national network and to add some new
IP ranges to my system. I use FreeBSD 3.3 and I'm not sure of what Exim
version but it's about 3 years old. I added the IP addresses to
/etc/mail/access as so.
***.***/** RELAY

But now relaying is denied to all users. Reject log:-
----------------------------------------------------------------------------
--
2002-06-07 18:04:45 refused relay (host) to <jerry@mysmartway.com> from
<james@kelleyuk.libertynet.co.uk> H=ppp-0-20.milt-a-1.access.uk.tiscali.com
(default) [80.40.48.20]
----------------------------------------------------------------------------
--
2002-06-07 18:07:19 refused relay (host) to <zfauzi@hotmail.com> from
<mbblondon@maybank.libertynet.co.uk> H=(DCP4V60J) [80.40.0.23] (no IP
address found for ppp-5-23.london-b-cvx-1.access.as9105.com, the host name
obtained from 80.40.0.23)
----------------------------------------------------------------------------
--
2002-06-07 18:07:19 refused relay (host) to <zfauzi@hotmail.com> from
<mbblondon@maybank.libertynet.co.uk> H=(DCP4V60J) [80.40.0.23] (no IP
address found for ppp-5-23.london-b-cvx-1.access.as9105.com, the host name
obtained from 80.40.0.23)
----------------------------------------------------------------------------
--
2002-06-07 18:07:19 refused relay (host) to
<lynn@matthewgoh.freeserve.co.uk> from <mbblondon@maybank.libertynet.co.uk>
H=(DCP4V60J) [80.40.0.23] (no IP address found for
ppp-5-23.london-b-cvx-1.access.as9105.com, the host name obtained from
80.40.0.23)

Please someone give me a clue.

Thanks in advance
Andy
Re: Mail relay problems [ In reply to ]
On Fri, 7 Jun 2002, Andy Coy wrote:

> /etc/mail/access as so.
> ***.***/** RELAY

this very much seems sendmail to me, not exim.

check your exim configuration for host_accept_relay, and show us what
does it say (if it existed back then; i'm only using exim for 2 years
:)

--
[-]
RE: Mail relay problems [ In reply to ]
I thought you had hit the nail on the head there so I added my long list of
IP addresses into config file thus

host_accept_relay =
localhost:212.1.128.0/19:*.telinco.net:62.6.186.226:80.40/13:212.74.96.0/19:
212.159.128.0/18:62.64.128.0/1
9:212.139.32.0/19:212.139.128.0/17:213.123.76.0/23:62.7.125.0/24:62.7.126.0/
24:62.7.127.0/24:80.225/16

Is this the correct format?
I then shut down and restarted exim. Alas I still get mail relay rejected.



On Fri, 7 Jun 2002, Andy Coy wrote:

> /etc/mail/access as so.
> ***.***/** RELAY

this very much seems sendmail to me, not exim.

check your exim configuration for host_accept_relay, and show us what
does it say (if it existed back then; i'm only using exim for 2 years
:)

--
[-]


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##
RE: Mail relay problems [ In reply to ]
I think I may have something here. I got this from exim.org documentation.

If you have both names and IP addresses in the same host list, you should
normally put the IP addresses first. For example:

host_accept_relay = 10.9.8.7 : *.friends.domain

The reason for this lies in the left-to-right way that Exim processes lists.
It can test IP addresses without doing any DNS lookups, but when it reaches
an item that requires a DNS lookup, it normally fails if the DNS lookup
fails, because it cannot find a host name to compare with the pattern.
(There is the `+allow_unknown' facility -- described above -- for changing
this, but it is not recommended.) If the above list were in the other order,
Exim would reject relaying from any host whose name could not be found, even
if it were 10.9.8.7.

The way I read this if reverse DNS lookup fails ie. nslookup <IP Address>
does not resolve to a hostname, exim will deny relay even though the IP
address is configured as mine is below. Is this correct??






I thought you had hit the nail on the head there so I added my long list of
IP addresses into config file thus

host_accept_relay =
localhost:212.1.128.0/19:*.telinco.net:62.6.186.226:80.40/13:212.74.96.0/19:
212.159.128.0/18:62.64.128.0/1
9:212.139.32.0/19:212.139.128.0/17:213.123.76.0/23:62.7.125.0/24:62.7.126.0/
24:62.7.127.0/24:80.225/16

Is this the correct format?
I then shut down and restarted exim. Alas I still get mail relay rejected.



On Fri, 7 Jun 2002, Andy Coy wrote:

> /etc/mail/access as so.
> ***.***/** RELAY

this very much seems sendmail to me, not exim.

check your exim configuration for host_accept_relay, and show us what
does it say (if it existed back then; i'm only using exim for 2 years
:)

--
[-]


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##



--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##
Re: Mail relay problems [ In reply to ]
Andy Coy wrote:

>I thought you had hit the nail on the head there so I added my long
list of
>IP addresses into config file thus
>
>host_accept_relay =
>localhost:212.1.128.0/19:*.telinco.net:62.6.186.226:80.40/13:212.74.96.0/19:
>212.159.128.0/18:62.64.128.0/1
>9:212.139.32.0/19:212.139.128.0/17:213.123.76.0/23:62.7.125.0/24:62.7.126.0/
>24:62.7.127.0/24:80.225/16
>
>Is this the correct format?
>I then shut down and restarted exim. Alas I still get mail relay rejected.
>
>
>
>
>
Try also adding to your configuration the line:

relay_match_host_or_sender


you will find info on this here:

http://www.exim.org/exim-html-3.30/doc/html/spec_toc.html#TOC337

Kind regards
Xander
RE: Mail relay problems [ In reply to ]
relay_match_host_or_sender is not an option in my configure file???



Andy Coy wrote:

>I thought you had hit the nail on the head there so I added my long list of
>IP addresses into config file thus
>
>host_accept_relay =
>localhost:212.1.128.0/19:*.telinco.net:62.6.186.226:80.40/13:212.74.96.0/19
:
>212.159.128.0/18:62.64.128.0/1
>9:212.139.32.0/19:212.139.128.0/17:213.123.76.0/23:62.7.125.0/24:62.7.126.0
/
>24:62.7.127.0/24:80.225/16
>
>Is this the correct format?
>I then shut down and restarted exim. Alas I still get mail relay rejected.
>
>
>
>
>
Try also adding to your configuration the line:

relay_match_host_or_sender


you will find info on this here:

http://www.exim.org/exim-html-3.30/doc/html/spec_toc.html#TOC337

Kind regards
Xander
Re: Mail relay problems [ In reply to ]
On Fri, 7 Jun 2002, Xander D Harkness wrote:

> Andy Coy wrote:
>
> >I thought you had hit the nail on the head there so I added my long
> list of
> >IP addresses into config file thus
> >
> >host_accept_relay =
> >localhost:212.1.128.0/19:*.telinco.net:62.6.186.226:80.40/13:212.74.96.0/19:
> >212.159.128.0/18:62.64.128.0/1
> >9:212.139.32.0/19:212.139.128.0/17:213.123.76.0/23:62.7.125.0/24:62.7.126.0/
> >24:62.7.127.0/24:80.225/16
> >
> >Is this the correct format?
> >I then shut down and restarted exim. Alas I still get mail relay rejected.
> >
> >
> >
> >
> >
> Try also adding to your configuration the line:
>
> relay_match_host_or_sender
>

NONONO.. This will make you an open relay.

His problem is that he has *.telinco.net in there, before the lists of
IP addresses. All numeric IP addresses should be first, THEN any
hostnames or hostname wildcards..

>
> you will find info on this here:
>
> http://www.exim.org/exim-html-3.30/doc/html/spec_toc.html#TOC337
>
> Kind regards
> Xander
>
>
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>


--
Re: Mail relay problems [ In reply to ]
Andy Coy wrote:

>relay_match_host_or_sender is not an option in my configure file???
>
>
It may not be in the default configuration; however there is a lot that
is not in the configuration file
as standard :-)

Try sticking it in it may allow email to flow......


Kind regards
Xander
Re: Mail relay problems [ In reply to ]
Dave C. wrote:

>On Fri, 7 Jun 2002, Xander D Harkness wrote:
>
>
>
>>Andy Coy wrote:
>>
>> >I thought you had hit the nail on the head there so I added my long
>>list of
>> >IP addresses into config file thus
>> >
>> >host_accept_relay =
>>
>localhost:212.1.128.0/19:*.telinco.net:62.6.186.226:80.40/13:212.74.96.0/19:
>> >212.159.128.0/18:62.64.128.0/1
>>
>9:212.139.32.0/19:212.139.128.0/17:213.123.76.0/23:62.7.125.0/24:62.7.126.0/
>> >24:62.7.127.0/24:80.225/16
>> >
>> >Is this the correct format?
>> >I then shut down and restarted exim. Alas I still get mail relay
rejected.
>> >
>> >
>> >
>> >
>> >
>>Try also adding to your configuration the line:
>>
>>relay_match_host_or_sender
>>
>>
>>
>
>NONONO.. This will make you an open relay.
>
>His problem is that he has *.telinco.net in there, before the lists of
>IP addresses. All numeric IP addresses should be first, THEN any
>hostnames or hostname wildcards..
>
>
>
Okay - I have just re-read the instruction, I agree my mistake, thanks
for pointing it out :-)

I have two emails addresses that I allow to relay through. While
I realise that if a spammer guessed the email addresses they would be
able to relay. I have
not had the opportunity to send up auth. (I run the mailservers as a
favour and do not have access
to the employees time to explain to them how to connect).

Kind regards
Xander

>
>
>
RE: Mail relay problems [ In reply to ]
His problem is that he has *.telinco.net in there, before the lists of
IP addresses. All numeric IP addresses should be first, THEN any
hostnames or hostname wildcards..


Tried that, removed the *.telinco completly. Still doesn't work.

The thing that worries me is this reverse DNS lookup thing I mentioned
earlier as 2 of the server IP's I took from the logs won't resolve. Check
this from FreeBSD /var/log/messages.

Jun 7 18:08:25 post popper[60088]: Client at "80.40.0.23" resolves to an
unknown host name "ppp-5-23.london-b-cvx-1.access.as9105.com"

I did this to double check it

> nslookup 80.40.0.23
Server: dns1.cluster1.telinco.net
Address: 212.1.128.156

Name: ppp-5-23.london-b-cvx-1.access.as9105.com
Address: 80.40.0.23

Then

> nslookup ppp-5-23.london-b-cvx.access.as9105.com
Server: dns1.cluster1.telinco.net
Address: 212.1.128.156

*** dns1.cluster1.telinco.net can't find
ppp-5-23.london-b-cvx.access.as9105.com: Non-existent host/domain

Does this mean exim will not reay as the IP address will not resolve???
Re: Mail relay problems [ In reply to ]
+++ Andy Coy [07/06/02 22:37 +0100]:
> >I thought you had hit the nail on the head there so I added my long list of
> >IP addresses into config file thus
> >host_accept_relay =
> >localhost:212.1.128.0/19:*.telinco.net:62.6.186.226:80.40/13:212.74.96.0/19
> >212.159.128.0/18:62.64.128.0/19:212.139.32.0/19:212.139.128.0/17:213.123.76.0/23:62.7.125.0/24:62.7.126.0
> >24:62.7.127.0/24:80.225/16

Bloody hell. You really want to relay for all that IP space?

suresh@frodo:~ cidr 80.40.0.0/13
ip address..........: 80.40.0.0
netmask.............: 255.248.0.0

network address.....: 80.40.0.0
broadcast address...: 80.47.255.255

please wait while host addresses are validated...

total host addresses: 524286

and such.

212.1.128.0/19 != 212.1.128.[0-19]

You might be better off setting up AUTH

-srs
Re: Re: Mail relay problems [ In reply to ]
Suresh Ramasubramanian wrote:

>+++ Andy Coy [07/06/02 22:37 +0100]:
>
>
>>>I thought you had hit the nail on the head there so I added my long list of
>>>IP addresses into config file thus
>>>host_accept_relay =
>>>localhost:212.1.128.0/19:*.telinco.net:62.6.186.226:80.40/13:212.74.96.0/19
>>>212.159.128.0/18:62.64.128.0/19:212.139.32.0/19:212.139.128.0/17:213.123.76.0/23:62.7.125.0/24:62.7.126.0
>>>24:62.7.127.0/24:80.225/16
>>>
>>>
>
>Bloody hell. You really want to relay for all that IP space?
>
>suresh@frodo:~ cidr 80.40.0.0/13
>ip address..........: 80.40.0.0
>netmask.............: 255.248.0.0
>
>network address.....: 80.40.0.0
>broadcast address...: 80.47.255.255
>
>please wait while host addresses are validated...
>
>total host addresses: 524286
>
>and such.
>
>212.1.128.0/19 != 212.1.128.[0-19]
>
>You might be better off setting up AUTH
>
> -srs
>
I think he might be quite serious - Tiscali seems to run most of this IP
space :-)

Kind of scary trying to stop spammers on a couple of million IPs.

route: 212.74.96.0 <http://geektools.com/cgi-bin/proxy.cgi?query=212.74.96.0&targetnic=auto>/19
descr: Tiscali UK Limited
origin: AS9105
notify: hostmaster@uk.tiscali.com
mnt-by: WOLUK-NOC
changed: hostmaster@uk.tiscali.com 20020429
source: RIPE

###################

route: 212.139.128.0 <http://geektools.com/cgi-bin/proxy.cgi?query=212.139.128.0&targetnic=auto>/18
descr: Tiscali UK Limited
origin: AS9105
notify: hostmaster@uk.tiscali.com
mnt-by: TELINCO-RIPE-MNT
changed: Daniel.cooper <http://geektools.com/cgi-bin/proxy.cgi?query=Daniel.cooper>@uk.tiscali.com 20011031
source: RIPE

###############################


route: 80.40.0.0 <http://geektools.com/cgi-bin/proxy.cgi?query=80.40.0.0&targetnic=auto>/13
descr: Tiscali UK Ltd (dial pool)
origin: AS9105
notify: hostmaster@uk.tiscali.com
notify: routing@as9105.net
mnt-by: TELINCO-RIPE-MNT
changed: barry.titmarsh <http://geektools.com/cgi-bin/proxy.cgi?query=barry.titmarsh>@uk.tiscali.com 20011123
source: RIPE


Kind regards
Xander
Re: Mail relay problems [ In reply to ]
+++ Xander D Harkness [08/06/02 03:11 +0100]:
> I think he might be quite serious - Tiscali seems to run most of this IP
> space :-)

yeah but is he with Tiscali, or just hosting there?

> Kind of scary trying to stop spammers on a couple of million IPs.

Most of those are dialups and a port 25 outbound filter at their routers
would work wonders.

That, and an abuse desk in some kind of working order.

-srs
RE: Re: Mail relay problems [ In reply to ]
Yes guy's Tiscali host me. They swallowed the small company that hosted me.
Now they have linked uk the whole of the uk into one big national network,
if I don't have all these IP'S in I'll have problems. The relay issue
started after we went over to this national setup. Radius is permit all so
there are no changes to make there. They say it's down to server
configuration but won't give me any pointers on what or where to look. I'm
still looking for an answer on the reverse DNS issue though as if thats the
problem it's down to them not me.

-----Original Message-----
From: exim-users-admin@exim.org [mailto:exim-users-admin@exim.org]On
Behalf Of Suresh Ramasubramanian
Sent: 08 June 2002 03:55
To: Xander D Harkness
Cc: exim-users@exim.org
Subject: [Exim] Re: Mail relay problems


+++ Xander D Harkness [08/06/02 03:11 +0100]:
> I think he might be quite serious - Tiscali seems to run most of this IP
> space :-)

yeah but is he with Tiscali, or just hosting there?

> Kind of scary trying to stop spammers on a couple of million IPs.

Most of those are dialups and a port 25 outbound filter at their routers
would work wonders.

That, and an abuse desk in some kind of working order.

-srs

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##
Re: Mail relay problems [ In reply to ]
Andy Coy wrote:

>Hi All,
>
>Bit of a newbie to Unix, newbie to Exim. I had someone setup a internet
>server for me and it's worked fine for years. I co -locate in someone else's
>NOC, a bit VISP really. Anyhow things have been fine until my provider has
>stated that they will become part of a national network and to add some new
>IP ranges to my system. I use FreeBSD 3.3 and I'm not sure of what Exim
>version but it's about 3 years old. I added the IP addresses to
>/etc/mail/access as so.
>***.***/** RELAY
>
>
>
Have you tried increasing the output by running exim with the following
command exim -v -d11 -bd

It will take you step by step through the transaction, it should tell
you which part of the configuration
is refusing relay.

Kind regards
Xander
Re: Re: Mail relay problems [ In reply to ]
"Andy Coy" <judge@cablecom.co.uk> writes:

> Yes guy's Tiscali host me. They swallowed the small company that hosted me.
> Now they have linked uk the whole of the uk into one big national network,
> if I don't have all these IP'S in I'll have problems. The relay issue
> started after we went over to this national setup. Radius is permit
> all so

Jesus Christ. If you dont own and control all those IPs, don't relay
for them.

Set up SMTP AUTH or something similar.

-srs
RE: Re: Mail relay problems [ In reply to ]
I'm not trying to allow relay for them through my server. I'm trying to get
outgoing mail from my server to relay through them. I've not made it very
clear have I, I have 200 users who have not been able to sent mail for 7
days and all Tiscali's customer service people say is it's a congfiguration
problem on my server. I need to sort it out. In 7 days I'm gonna tell them
where to shove it and co-locate elsewhere.



"Andy Coy" <judge@cablecom.co.uk> writes:

> Yes guy's Tiscali host me. They swallowed the small company that hosted
me.
> Now they have linked uk the whole of the uk into one big national network,
> if I don't have all these IP'S in I'll have problems. The relay issue
> started after we went over to this national setup. Radius is permit
> all so

Jesus Christ. If you dont own and control all those IPs, don't relay
for them.

Set up SMTP AUTH or something similar.

-srs


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##
Re: Re: Mail relay problems [ In reply to ]
"Andy Coy" <judge@cablecom.co.uk> writes:

> I'm not trying to allow relay for them through my server. I'm trying to get
> outgoing mail from my server to relay through them. I've not made it very
> clear have I, I have 200 users who have not been able to sent mail for 7

Good lord above. You want to set Tiscali's (not all that good)
mailserver as a smarthost for your Exim install, is that it?

Take a look at the Exim FAQ, or http://www.hserus.net/exim.html

What you have managed to do is to let any Tom, Dick and Harry on a
Tiscali dialup relay through your machine.

-srs

--
Suresh Ramasubramanian <----> mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
[Linux One Stanza Tip] From : <bish@nde.vsnl.net.in>
LOST #025 -**< Sub : DOS to Unix conversion (#1) >**-
Method #1:
To convert a DOS text file to Unix so that the extra ASCII 13
does not show up when viewing / editing a DOS text file.
$cat filename.dos | tr -d '\015' > filename.unix
RE: Re: Mail relay problems [ In reply to ]
OK hang on. As I stated originaly I'm a newbie to this, the server was set
up and running fine I usually just do day to day admin, adding and deleting
users e-mails through the sql bit. I got a letter stating that these IP
addresses needed to be added to the system. Tiscali handle NAS and DCHP for
me and provide all IP addresses. So if my customers dial up and get one of
these IP addresses from Tiscali I need to allow them all access do I not?
The problem is I have allowed all these 53,000 IP's relay through my server
yet they are still getting error 550 relaying denied messages. Why??

"Andy Coy" <judge@cablecom.co.uk> writes:

> I'm not trying to allow relay for them through my server. I'm trying to
get
> outgoing mail from my server to relay through them. I've not made it very
> clear have I, I have 200 users who have not been able to sent mail for 7

Good lord above. You want to set Tiscali's (not all that good)
mailserver as a smarthost for your Exim install, is that it?

Take a look at the Exim FAQ, or http://www.hserus.net/exim.html

What you have managed to do is to let any Tom, Dick and Harry on a
Tiscali dialup relay through your machine.

-srs

--
Suresh Ramasubramanian <----> mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
[Linux One Stanza Tip] From : <bish@nde.vsnl.net.in>
LOST #025 -**< Sub : DOS to Unix conversion (#1) >**-
Method #1:
To convert a DOS text file to Unix so that the extra ASCII 13
does not show up when viewing / editing a DOS text file.
$cat filename.dos | tr -d '\015' > filename.unix
Re: Re: Mail relay problems [ In reply to ]
"Andy Coy" <judge@cablecom.co.uk> writes:


> OK hang on. As I stated originaly I'm a newbie to this, the server was
> set up and running fine I usually just do day to day admin, adding and
> deleting users e-mails through the sql bit. I got a letter stating
> that these IP addresses needed to be added to the system. Tiscali
> handle NAS and DCHP for me and provide all IP addresses. So if my
> customers dial up and get one of these IP addresses from Tiscali I
> need to allow them all access do I not? The problem is I have allowed
> all these 53,000 IP's relay through my server yet they are still
> getting error 550 relaying denied messages. Why??

What happens is that all Tiscali's customers - not just your users - get
to relay through your machine.

Set up AUTH like I said.

-srs
RE: Re: Mail relay problems [ In reply to ]
I don't know how to set up auth, and like I said no one can relay at the
moment, thats my problem. As I only have 7 days left in the NOC how could I
set it up as an open relay, I don't mind doing that for 7 days till I move
out and into my new NOC.



"Andy Coy" <judge@cablecom.co.uk> writes:


> OK hang on. As I stated originaly I'm a newbie to this, the server was
> set up and running fine I usually just do day to day admin, adding and
> deleting users e-mails through the sql bit. I got a letter stating
> that these IP addresses needed to be added to the system. Tiscali
> handle NAS and DCHP for me and provide all IP addresses. So if my
> customers dial up and get one of these IP addresses from Tiscali I
> need to allow them all access do I not? The problem is I have allowed
> all these 53,000 IP's relay through my server yet they are still
> getting error 550 relaying denied messages. Why??

What happens is that all Tiscali's customers - not just your users - get
to relay through your machine.

Set up AUTH like I said.

-srs
Re: Re: Mail relay problems [ In reply to ]
"Andy Coy" <judge@cablecom.co.uk> writes:

> I don't know how to set up auth, and like I said no one can relay at
> the moment, thats my problem. As I only have 7 days left in the NOC
> how could I set it up as an open relay, I don't mind doing that for 7
> days till I move out and into my new NOC.

Poke around the config.samples in ftp.exim.org

And post a complete From: and To: of where you are getting Relaying
Denied, along with a list of those IP blocks again, please.

-srs


--
Suresh Ramasubramanian <----> mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
RE: Re: Mail relay problems [ In reply to ]
OK Ta.

Here's my config again.

# The use of your host as a mail relay by any host, including the local host
# calling its own SMTP port, is locked out by default. If you want to permit
# relaying from the local host, you should set
#
host_accept_relay =
localhost:212.1.128.0/19:62.6.186.226:80.40/13:212.74.96.0/19:212.159.128.0/
18:62.64.128.0/19:212.139.32.0
/19:212.139.128.0/17:213.123.76.0/23:62.7.125.0/24:62.7.126.0/24:62.7.127.0/
24:80.225/16
#host_accept_relay = localhost:212.1.128.0/19:mysql;MYSQL_RELAY

And /var/log/messages (FreeBSD Mainlog).

Jun 7 19:14:08 post popper[61072]: Client at "80.40.0.178" resolves to an
unknown host name "ppp-5-178.london-b-cvx-1.access.as9105.com"
Jun 7 19:14:33 post popper[61073]: Client at "80.40.0.178" resolves to an
unknown host name "ppp-5-178.london-b-cvx-1.access.as9105.com"
Jun 7 19:14:37 post popper[61074]: Client at "80.40.0.178" resolves to an
unknown host name "ppp-5-178.london-b-cvx-1.access.as9105.com"

And exim rejectlog.

----------------------------------------------------------------------------
--
2002-06-08 07:28:51 refused relay (host) to <Bill_Hunter@eu.odedodea.edu>
from <bill@whunter.libertynet.co.uk>
H=ppp-0-98.lond-a-1.access.uk.tiscali.com (localhost) [80.225.196.98]
----------------------------------------------------------------------------
--
2002-06-08 07:28:53 refused relay (host) to <brdhunter@excite.com> from
<bill@whunter.libertynet.co.uk> H=ppp-0-98.lond-a-1.access.uk.tiscali.com
(localhost) [80.225.196.98]
----------------------------------------------------------------------------
--
2002-06-08 09:40:04 refused relay (host) to <jkarbowski@yahoo.com> from
<mjbentele@libertynet.co.uk> H=du213-130-132-77.as15444.net (computer)
[213.130.132.77]
----------------------------------------------------------------------------
--
2002-06-08 09:40:05 refused relay (host) to <jkarbowski@yahoo.com> from
<mjbentele@libertynet.co.uk> H=du213-130-132-77.as15444.net (computer)
[213.130.132.77]
----------------------------------------------------------------------------
--
2002-06-08 09:40:06 refused relay (host) to <Katbaker51@aol.com> from
<mjbentele@libertynet.co.uk> H=du213-130-132-77.as15444.net (computer)
[213.130.132.77]
----------------------------------------------------------------------------
--

I am also getting a lot of message frozen errors in exim mainlog.

2002-06-08 12:05:20 17GILI-000EXw-00 Message is frozen


Thanks again for all the help.






"Andy Coy" <judge@cablecom.co.uk> writes:

> I don't know how to set up auth, and like I said no one can relay at
> the moment, thats my problem. As I only have 7 days left in the NOC
> how could I set it up as an open relay, I don't mind doing that for 7
> days till I move out and into my new NOC.

Poke around the config.samples in ftp.exim.org

And post a complete From: and To: of where you are getting Relaying
Denied, along with a list of those IP blocks again, please.

-srs


--
Suresh Ramasubramanian <----> mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
RE: Re: Mail relay problems [ In reply to ]
On Sat, 8 Jun 2002, Andy Coy wrote:

> I don't know how to set up auth, and like I said no one can relay at the
> moment, thats my problem. As I only have 7 days left in the NOC how could I
> set it up as an open relay, I don't mind doing that for 7 days till I move
> out and into my new NOC.

I can't fix your problem, but a couple of tips:
Do:

exim -bV

to find out exactly what version you are using.
Take Xander's advice. Stop exim and restart it something like:

exim -v -d11 -bd

Then try relaying an email - this will give you lots of debug output.
Email this information to the list and people might be able to be a bit
more specific with their help.

John

-- "We can look for te North Pole, or we can play `Here we go gathering
Nuts and May' with the end part of an ants' nest. It's all the same to
me."
RE: Re: Mail relay problems [ In reply to ]
OK Chaps, this is it the full transcript of what happens. It says is host in
host_accept_relay no. Host is id'd as 127.0.0.1, localhost. I added that to
the config file and then stopped and restarted exim and it still does not
work. It must be something to do with the config file. Should there be a
space between IP'S and : such as 127.0.0.1 : 127.0.0.1 or as I have it
127.0.0.1:127.0.0.1. Or have I not understood the transcript properly and
it's saying that 80.47.5.28 isn't in the host_accept_relay, it is as
80.40/13.



listening on port 25...
Connection request from 80.47.5.28
1 SMTP accept process running
interface address = 212.1.130.77
listening on port 25...
host in rfc1413_hosts? yes (*)
sender_fullhost = [80.47.5.28]
sender_rcvhost = [80.47.5.28]
Process 76186 is handling incoming connection from [80.47.5.28]
host in host_lookup? yes (0.0.0.0/0)
looking up host name for 80.47.5.28
IP address lookup yielded dial-80-47-5-28.access.uk.tiscali.com
Actual local interface address is 212.1.130.77
Actual local interface address is 127.0.0.1
dial-80-47-5-28.access.uk.tiscali.com 80.47.5.28 -1
sender_fullhost = dial-80-47-5-28.access.uk.tiscali.com [80.47.5.28]
sender_rcvhost = dial-80-47-5-28.access.uk.tiscali.com ([80.47.5.28])
set_process_info: 76186 3.13 handling incoming connection from
dial-80-47-5-28.access.uk.tiscali.com [80.47.5.28]
host in host_reject? no (option unset)
host in host_reject_recipients? no (option unset)
host in sender_unqualified_hosts? no (option unset)
host in receiver_unqualified_hosts? no (option unset)
host in helo_verify? no (option unset)
host in helo_accept_junk_hosts? no (option unset)
220 post.libertynet.co.uk ESMTP Exim 3.13 #6 Sat, 08 Jun 2002 15:38:11 +0100
set_process_info: 76186 3.13 handling incoming connection from
dial-80-47-5-28.access.uk.tiscali.com [80.47.5.28]
ready for new message
smtp_setup_msg entered
SMTP<< HELO andy
sender_fullhost = dial-80-47-5-28.access.uk.tiscali.com (andy) [80.47.5.28]
sender_rcvhost = dial-80-47-5-28.access.uk.tiscali.com ([80.47.5.28]
helo=andy)
set_process_info: 76186 3.13 handling incoming connection from
dial-80-47-5-28.access.uk.tiscali.com (andy) [80.47.5.28]
250 post.libertynet.co.uk Hello dial-80-47-5-28.access.uk.tiscali.com
[80.47.5.28]
SMTP<< MAIL FROM: <andy@cablecom.co.uk>
andy@cablecom.co.uk in sender_reject? no (option unset)
andy@cablecom.co.uk in sender_reject_recipients? no (option unset)
250 <andy@cablecom.co.uk> is syntactically correct
SMTP<< RCPT TO: <andy.coy@virgin.net>
search_open: mysql "NULL"
search_find: file="NULL"
key="SELECT DISTINCT domain FROM mail WHERE domain='virgin.net'"
partial=-1
LRU list:
internal_search_find: file="NULL"
type=mysql key="SELECT DISTINCT domain FROM mail WHERE
domain='virgin.net'"
database lookup required for SELECT DISTINCT domain FROM mail WHERE
domain='virgin.net'
MYSQL query: SELECT DISTINCT domain FROM mail WHERE domain='virgin.net'
MYSQL new connection: host=localhost port=3306 database=**** user=*****
password=*****
MYSQL: no data found
lookup failed
virgin.net in local_domains? no (end of list)
virgin.net in relay_domains? no (end of list)
local host found for non-MX address
localhost 127.0.0.1 -1
host in host_accept_relay? no (end of list)
550 relaying to <andy.coy@virgin.net> prohibited by administrator
LOG: 1 MAIN REJECT
refused relay (host) to <andy.coy@virgin.net> from <andy@cablecom.co.uk>
H=dial-80-47-5-28.access.uk.tiscali.com (andy) [80.47.5.28]
SMTP<< QUIT
221 post.libertynet.co.uk closing connection
child 76186 ended: status=0x0

Andy Coy
Home:01842 828716
Work:01638 533019
Mobile:07748 320312
judge@cablecom.co.uk

1 2 3  View All