Re: [Exim] Need help with Virtual domains

Top Page
Delete this message
Reply to this message
Author: Ariel Sandberg-Maitland
Date:  
To: exim-users
Subject: Re: [Exim] Need help with Virtual domains
I just messed around with exim.conf and now I have the reverse efg.com works
but xzy does not???

> Do you have any "domains" restrictions in the Directors?

I dont believe so here is my exim.conf, this was the basic exim.conf that I
started with and slightly modified it for my system:

_______________________________________________________________
######################################################################
#                    MAIN CONFIGURATION SETTINGS                     #
######################################################################


# Specify your host's canonical name here. This should normally be the fully
# qualified "official" name of your host. If this option is not set, the
# uname() function is called to obtain the name.

primary_hostname = dogstar.xyz.com

# qualify_domain =

# qualify_recipient =

# local_domains =
local_domains = localhost:parvata.ca:telksine.ca

# local_domains_include_host_literals

forbid_domain_literals

never_users = root

host_accept_relay = localhost:192.168.29.0/24:dogstar.xyz.com
#no reason to put dogstar.xyz.com but I've been messing around tryin
#to get this to work

host_lookup = 0.0.0.0/0


# receiver_unqualified_hosts =
# sender_unqualified_hosts =
# receiver_verify

# sender_verify


# rbl_domains = rbl.maps.vix.com
# rbl_domains = rbl.maps.vix.com:dul.maps.vix.com:relays.orbs.org

# percent_hack_domains = *


end



######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################


remote_smtp:
driver = smtp

procmail:
driver = pipe
command = "/usr/bin/procmail -d ${local_part}"

local_delivery:
driver = appendfile
file = /var/spool/mail/${local_part}
delivery_date_add
envelope_to_add
return_path_add
group = mail
mode = 0600


address_pipe:
driver = pipe
return_output

address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add


address_reply:
driver = autoreply


end



######################################################################
#                      DIRECTORS CONFIGURATION                       #
#             Specifies how local addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#   A local address is passed to each in turn until it is accepted.  #
######################################################################


system_aliases:
driver = aliasfile
file = /etc/aliases
search_type = lsearch
# user = exim
file_transport = address_file
pipe_transport = address_pipe

userforward:
driver = forwardfile
file = .forward
no_verify
no_expn
check_ancestor
# filter
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply

# This director handles local delivery for systems with procmail installed.

procmail:
driver = localuser
require_files = /usr/bin/procmail
transport = procmail

# This director matches local user mailboxes.

localuser:
driver = localuser
transport = local_delivery


end



######################################################################
#                      ROUTERS CONFIGURATION                         #
#            Specifies how remote addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#  A remote address is passed to each in turn until it is accepted.  #
######################################################################


# Remote addresses are those with a domain that does not match any item
# in the "local_domains" setting above.


# This router routes to remote hosts over SMTP using a DNS lookup with
# default options.

lookuphost:
driver = lookuphost
transport = remote_smtp


# This router routes to remote hosts over SMTP by explicit IP address,
# when an email address is given in "domain literal" form, for example,
# <user@???>. The RFCs require this facility. However, it is
# little-known these days, and has been exploited by evil people seeking
# to abuse SMTP relays. Consequently it is commented out in the default
# configuration. If you uncomment this router, you also need to comment out
# "forbid_domain_literals" above, so that Exim can recognize the syntax of
# domain literal addresses.

# domain_literal:
# driver = ipliteral
# transport = remote_smtp


end



######################################################################
#                      RETRY CONFIGURATION                           #
######################################################################


# This single retry rule applies to all domains and all errors. It specifies
# retries every 15 minutes for 2 hours, then increasing retry intervals,
# starting at 1 hour and increasing each time by a factor of 1.5, up to 16
# hours, then retries every 8 hours until 4 days have passed since the first
# failed delivery.

# Domain               Error       Retries
# ------               -----       -------


*                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h


end



######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################


# There are no rewriting specifications in this default configuration file.

end



######################################################################
#                   AUTHENTICATION CONFIGURATION                     #
######################################################################


# There are no authenticator specifications in this default configuration
file.

# End of Exim configuration file


Get your Free email at http://mail.ottawa.com/