Hello, I have 2 questions
The first one is an easy one...When I copy assp.dat out of the rc folder to
/etc/init.d, do I have to drop the .dat?
The second one is a little more complicated.
I have been trying to follow Chapter 20 in the "*Specification of the Exim
Mail **Transfer Agent". *I am trying to set up a manual route for the
domains that I host.
I have a Debian Etch box set up with ASSP (an anti-spam email proxy) that
passes mail to Exim4. Currently, it is inside of my Firewall with my
Exchange server.
Path of Outgoing mail:
Exchange --> ASSP listening on eth0 on Debian box --> Exim listening on
127.0.0.1 --> out eth0 to whatever host I send it to...this is working well.
All internal mail does not touch the Debian box...it is all handled by
Exchange.
What I want for Incomming mail:
Arbitrary Internet Host --> router nats to ASSP listening on eth0 on Debian
box --> Exim listening on 127.0.0.1 --> Exchange
My problem is that resolving our domain name gives an MX record of our
router.
I know I need a manualroute, but I can't seem to get it working. After
reading section 20 in the Specification, here is what I have in
/etc/exim4/exim4.conf.template (only the domain names have changed):
#####################################################
# router/150_exim4-config_hubbed_hosts
#################################
# route specific domains manually.
#
# see exim4-config_files(5) and spec.txt chapter 20.3 through 20.7 for
# more detailed documentation.
hubbed_hosts:
debug_print = "R: hubbed_hosts for $domain"
driver = manualroute
domains = "${if exists{CONFDIR/hubbed_hosts}\
{partial-lsearch;CONFDIR/hubbed_hosts}\
fail}"
same_domain_copy_routing = yes
route_list = \
firstdomain.org 10.10.5.21 ; \
seconddomain.com 10.10.5.21 ; \
thirddomain.net 10.10.5.21
transport = remote_smtp
#####################################################
### end router/150_exim4-config_hubbed_hosts
#####################################################
I change this, and did a dpkg-reconfigure exim4-configuration...because I
thought that would include the new changes in my config for exim (I did
choose not to split the config file).
None of the domains listed above are local on the debian box.
Now when I email myusername@???, I get this in the log:
2006-12-20 10:33:11 1Gx3RP-00016B-MR <= wes@localhost U=wes P=local S=387
2006-12-20 10:33:11 1Gx3RP-00016B-MR ** wescarver@??? <
WesCarver@???>: Unrouteable address
2006-12-20 10:33:11 1Gx3RP-00016D-OH <= <> R=1Gx3RP-00016B-MR U=Debian-exim
P=local S=1215
2006-12-20 10:33:11 1Gx3RP-00016B-MR Completed
2006-12-20 10:33:11 1Gx3RP-00016D-OH => wes <wes@localhost> R=local_user
T=mail_spool
2006-12-20 10:33:11 1Gx3RP-00016D-OH Completed
What am I doing wrong in the manualroute?
Thanks,
Wes