[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Exim configuration



   I recently switched from smail to exim as my MTA in the hopes of getting
something a bit easier to configure and which can more easily handle spam
blocking.  However, I've run into some problems getting exim to process my
local, user-to-user mail.

   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.

# This is the main exim configuration file.
# It was originally generated by `eximconfig', part of the exim package
# distributed with Debian, but it may edited by the mail system administrator.
# This file originally generated by eximconfig at Thu Dec 13 17:54:43 EST 1997
# See exim info section for details of the things that can be configured here.
# General configuration here, such as local domains


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}@golgotha.net


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}@in.limbo Ffr
*@spartacus.golgotha.net ${1}@golgotha.net Ffr
*@in.limbo redwards@golgotha.net Ffr


# End of Exim configuration file



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



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: