FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 10-22-2008, 07:29 PM
"Ketil Froyn"
 
Default Catch-all mail server for test environment

Hi,

I am setting up a qa/test environment in which to test a system. As part of that, I need to set up a mail server that will accept email to any email address (any local part, any domain part), and either deliver it to a local account (where I can pop it or something), or forward it to a real email address. So something like an open relay that just rewrites the recipient address.


Any tips on the best way to achieve this with Debian? And maybe exim, which is the installed mta?
Ketil Froyn
ketil@froyn.name
http://ketil.froyn.name/
 
Old 10-22-2008, 09:29 PM
"Boyd Stephen Smith Jr."
 
Default Catch-all mail server for test environment

On Wednesday 22 October 2008, "Ketil Froyn" <ketil@froyn.name> wrote
about 'Catch-all mail server for test environment':
>Any tips on the best way to achieve this with Debian? And maybe exim,
> which is the installed mta?

I'm not that expierenced with exim, but it seems entirely capable. My
first attempt at what you are trying would probably look like this:

Use debconf to setup the system as a normal internet-connected host, making
sure to allow relaying for the entire internet (something like 0.0.0.0/0
might work). Then change your dnslookup_relay_to_domains router to use a
different transport (e.g. maildir_home OR LOCAL_DELIVERY).
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss03@volumehost.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.org/ \_/
 
Old 10-23-2008, 01:16 PM
"Ketil Froyn"
 
Default Catch-all mail server for test environment

On Wed, Oct 22, 2008 at 11:29 PM, Boyd Stephen Smith Jr. <bss03@volumehost.net> wrote:




On Wednesday 22 October 2008, "Ketil Froyn" <ketil@froyn.name> wrote

about 'Catch-all mail server for test environment':

>Any tips on the best way to achieve this with Debian? And maybe exim,

> which is the installed mta?



I'm not that expierenced with exim, but it seems entirely capable. *My

first attempt at what you are trying would probably look like this:



Use debconf to setup the system as a normal internet-connected host, making

sure to allow relaying for the entire internet (something like 0.0.0.0/0

might work). *Then change your dnslookup_relay_to_domains router to use a

different transport (e.g. maildir_home OR LOCAL_DELIVERY).


Actually, it was even simpler. I just set up a system filter with a "deliver recipient@example.com" line, and now all mail is sent there instead.


Thanks for the help. :-)

Ketil Froyn


ketil@froyn.name
http://ketil.froyn.name/
 

Thread Tools




All times are GMT. The time now is 02:04 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org