Setting up SMTP without forwarding on

If none of the more specific forums is the right place to ask

Setting up SMTP without forwarding on

Postby keyser_soze » 2005-12-27 15:04

I have some PHP code that I am testing that generates emails. I have set up exim4 (by default on sarge) and told it 'local delivery only; not on a network'.

This works fine as I can examine the emails that are produced without them being sent to the real users.

I now have a windows box with ASP code that also generates emails. I would like to have the windows box use the debian box for SMTP so that I can again examine the emails that are produced without them being set to the real users.

I looked at the ports being monitored and saw that exim was only binding to localhost:25. I removed the 127.0.0.1 from the /etc/exim4/update-exim4.conf.conf. Now I see that exim4 is bound to 0.0.0.0:25 which is what I think I want.

From the Windows box, I set the Debian box to be the SMTP host (usng THunderbird). I can send email to the Debian box if the user exists on that box. However, I would like exim4 to accept all mail, even for users that it does not have. How can I do this?

Remember that my goal here is to be able to examine all mail that is sent to the SMTP server, in order to debug my code. (ASP on WIndows and PHP on Debian). If there is a better way, please let me know.

-Eric
keyser_soze
 
Posts: 2
Joined: 2005-12-27 14:14

Return to General Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable