On 2005-12-28 exim <exim@bentleyemail.net> wrote:> catch_all: > driver = redirect > data = /var/mail/catchall > transport = address_file[...] http://www.exim.org/exim-html-4.60/doc/html/spec.html/ch22.html "The generic transport option must not be set for redirect routers." Using file_transport instead of transport might work. cu andreas -- The ''Galactic Cleaning'' policy undertaken by Emperor Zhark is a personal vision of the emperor''s, and its inclusion in this work does not constitute tacit approval by the author or the publisher for any such projects, howsoever undertaken. (c) Jasper Ffforde
On Wed, Dec 28, 2005 at 04:15:31PM -0600, exim wrote:> 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.On Debian, you can simply enter that IP address into dc_relay_nets variable in /etc/exim4/update-exim4.conf.conf.> 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_fileThat''s wrong. Probably use an accept router like this (untested!): catch_all: driver = accept transport = your_file_transport If your system transports other mail, you''d need a condition that makes this router only accept mail delivered from your Windows Box'' IP address. Then you''ll need a transport writing the message away, like this (untested!): your_file_transport: driver = appendfile file = /var/mail/catchall If you want to see the envelope that your system generated, have your transport write in BSMTP format. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Quoting Marc Haber <mh+pkg-exim4-users@zugschlus.de>:> > On Debian, you can simply enter that IP address into dc_relay_nets > variable in /etc/exim4/update-exim4.conf.conf. >Ok - thanks.> > That''s wrong. Probably use an accept router like this (untested!): > > catch_all: > driver = accept > transport = your_file_transport > > If your system transports other mail, you''d need a condition that > makes this router only accept mail delivered from your Windows Box'' IP > address. > > Then you''ll need a transport writing the message away, like this > (untested!): > > your_file_transport: > driver = appendfile > file = /var/mail/catchall > > If you want to see the envelope that your system generated, have your > transport write in BSMTP format. >THanks for the reply. I tried these and had no success. Same error as before about unknown user. I was hoping that this would be an easy slam dunk to do but it appears I need to learn a bit more about exim to get it working. As this is the only purpose of having exim, I think I will try and come up with a simpler solution. Thanks again.
On Thu, Dec 29, 2005 at 07:33:18AM -0600, exim wrote:> THanks for the reply. I tried these and had no success. Same error as > before about unknown user.maybe exim -bt and/or exim -bh can help here. Add in a -d for more verbosity. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
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 Ineed 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@example.com> rejected RCPT <noone@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.