Email to ip

existenz

Verified User
Joined
Jul 18, 2003
Messages
607
Location
/dev/null
I have a problem. One of our boxes was listed by dsbl.org and therefore was listed by Yahoo. It was a problem with a mail form that caused the ability for spam to be generated.

For me to get the server off the list I need to modify Exim to accept mail to postmaster@ip address. I am not that knowlegable on the working os Exim but how can I create a postmaster@ip address?

Thanks for any help with this one!
 
Hello,

In your /etc/exim.conf, try setting:

allow_domain_literals = true

(it's currently set to false).
Use dnsreport.com to tell you when it's working. I'm not sure where the emails will be sent to on the server, and you might need to create an alias in your /etc/aliases file for:

postmaster: admin

or something like that.

John
 
That did't do it. I will read though the Exim manual tommrow. I set that to true, but I was reading the stuff above it and the setting directly above the one you told me to change sounded more like what I wanted?

If you have any ideas that would be great, I will post what I did to change it to make it work.
 
I can't seem to figure this one out. What I have read seems to say you would uncomment the lines. Everything I have tried has broke Exim.

This does not appear to be the correct code from other Exim.conf files

allow_domain_literals = true

Seems is should always be

allow_domain_literals

Code:
# If you want to accept mail addressed to your host's literal IP address, for
# example, mail addressed to "user@[111.111.111.111]", then uncomment the
# following line, or supply the literal domain(s) as part of "local_domains"
# above. You also need to comment "forbid_domain_literals" below. This is not
# recommended for today's Internet.

#local_domains_include_host = true
#local_domains_include_host_literals = true

# The following line prevents Exim from recognizing addresses of the form  
# "user@[111.111.111.111]" that is, with a "domain literal" (an IP address)   
# instead of a named domain. The RFCs still require this form, but it makes 
# little sense to permit mail to be sent to specific hosts by their IP address
# in the modern Internet, and this ancient format has been used by those
# seeking to abuse hosts by using them for unwanted relaying. If you really
# do want to support domain literals, remove the following line, and see
# also the "domain_literal" router below.

#!!# forbid_domain_literals replaced by allow_domain_literals
allow_domain_literals

I would really appreciate some help with this one.
 
What do you mean by "breaks"... does it not restart when you make the change? It restarted fine on RedHat 7.2 when I set it to:

allow_domain_literals = true

Or do you mean your emails arn't getting through?
You are using exim 4, right?

John
 
Exim 4.24 and it on a FreeBSD 4.9 box. I added it back again and it started fine. When you send email to the user you get this:

Code:
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

    [email protected]
    Unrouteable address

User is a valid email account. I created in the /etc/aliases

postmaster : [email protected]
 
Try uncommenting this in the /etc/exim.conf

domain_literal:
driver = ipliteral
transport = remote_smtp

John
 
Not too sure then. I'm getting what you get. Also tried uncommenting "local_domains_include_host_literals", but exim doesn't like that setting a whole lot.

John
 
Ya that is what I found out. I have tried every tutorial and I can't seem to get it work :(

If anyone has a suggestion I would really APPRECIATE it !
 
Back
Top