[EXIM] Exim setup question

Top Page
Delete this message
Reply to this message
Author: Randy Edwards
Date:  
To: exim-users
Subject: [EXIM] Exim setup question
I'm trying to configure Exim on my Debian Linux box here and was
wondering if someone could take a look at my config file and let me know
what I'm doing wrong.

I'm using the bogus domain name of "golgotha.net" with a bogus machine
name of "spartacus.golgotha.net". My internet access is through my ISP
which is "together.net". The problem I'm having is that my local mail (i.e.
from user to user on this machine) is being sent out to my ISP. If someone
could take a look at the below config and spot any mistakes I'd greatly
appreciate it.

--start config file--
qualify_domain = golgotha.net
local_domains = golgotha.net

local_domains_include_host = true
local_domains_include_host_literals = true
never_users = root
trusted_users = mail
gecos_pattern = ^([^,:]*)
gecos_name = $1

received_header_text = "Received: \
          ${if def:sender_fullhost {from ${sender_fullhost} \
          ${if def:sender_ident {(${sender_ident})}}\n\t}\
          {${if def:sender_ident {from ${sender_ident} }}}}\
          by ${primary_hostname} \
          ${if def:received_protocol {with ${received_protocol}}} \
          (Exim ${version_number} #${compile_number})\n\t\
          id ${message_id} (Debian)"
end


######################################################################
#                      TRANPORTS CONFIGURATION                       #
######################################################################


local_delivery:
driver = appendfile;
group = mail
mode = 0660
file = /var/spool/mail/${local_part}

address_pipe:
driver = pipe;

address_file:
driver = appendfile

address_reply:
driver = autoreply


# General configuration for SMTP delivery
smtp:
driver = smtp;


end

######################################################################
#                      DIRECTORS CONFIGURATION                       #
######################################################################



real_local:
prefix = real-,
driver = localuser,
transport = local_delivery;


system_aliases:
driver = aliasfile;
file = /etc/aliases,
search_type = lsearch
# user = list
# Uncomment the above line if you are running smartlist

userforward:
no_verify,
driver = forwardfile;
file = .forward,
modemask = 002,
filter


smart:
driver = smartuser;
new_address = ${local_part}@???


end

######################################################################
#                      ROUTERS CONFIGURATION                         #
######################################################################



smarthost:
driver = domainlist,
transport = smtp;
route_list = "* together.net bydns_a"

end

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


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


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


end

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


# These rewriters make sure the mail messages appear to have originated
# from the real mail-reading host.

^(root|postmaster|mailer-daemon)@spartacus.golgotha.net ${1}@??? Ffr
*@spartacus.golgotha.net ${1}@??? Ffr
*@in.limbo redwards@??? Ffr

--End of Exim configuration file--


 Regards,                 | Debian GNU/ __      o
 .                        |            / /     _  _  _  _  _ __  __
 Randy                    |           / /__  / / / \// //_// \ \/ /
 (redwards@???)  |          /____/ /_/ /_/\/ /___/  /_/\_\
                          |      ...because lockups are for convicts...




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