[Pkg-exim4-users] accept all mail for examination
exim
exim at bentleyemail.net
Wed Dec 28 22:15:31 UTC 2005
I have the latest Debian stable installed. I am trying to setup an SMTP server
for use with my windows box where I am testing some automatic email generation
ASP scripts.
I want exim to accept all email from the windows box and dump it all into a
single file so that I can examine it, in order to test that the scripts are
doing the right thing.
>From the exim 'dash' users 'at' exim 'dot' org mailing list, I leared that I
need
to have an
accept hosts = 11.22.33.44
in near the top of acl_check_rcpt in order to accept all email. I tried '*',
'192.168.1.30' (the IP of the windows box) and '11.22.33.44' (just in case) but
could never get the mail accepted. I always recevied the message:
unknown user
I had placed the accept line in
/etc/exim4/conf.d/acl/30_exim4-config_check_rcpt
by changing accept hosts =: to the above. Is the the right location for this?
I also learned that I needed a router to move the mail to the repository.
I placed this:
catch_all:
driver = redirect
data = /var/mail/catchall
transport = address_file
at the begining of
/etc/exim4/conf.d/router/100_exim4-config_domain_literal
for all the above testing.
THe messageg in rejectlog is:
2005-12-28 16:59:47 H=foo.com [192.168.1.30] F=<Eric at example.com> rejected RCPT
<noone at somewhereelse.com>: Unrouteable address
and the message in mainlog is the same.
How can I accomplish this? (This is not a server which will ever be used to
send real mail so I do not mind breaking the exim install if need be to
accomplish this.)
Thanks.
More information about the Pkg-exim4-users
mailing list