Thread: Some questions
View Single Post

  #6 (permalink)  
Old 07-22-2003
DragonII
 
Posts: n/a
Default Re: Some questions

On Sun, 20 Jul 2003 22:07:43 -0400, Andrew <andrew@arda.homeunix.net>
wrote:

>I think the qregex patch will do what you want. Put the domains you wish
>to block in the badmailto control file.
>
>Andrew


Thx for the replies. One question which perhaps I wasn't clear enought
is the address translation one. Ex:

1. TO: aaa@external.net -> qmail -> TO: bbb@internal.net
2. FROM: bbb@internel.net -> qmail -> FROM: aaa@external.net

Number 1 would apply for incoming mail from the Internet while 2 would
apply for outgoing mail from the company. 1 should be easy with alias
but can qmail cope with 2? And, if so, can qmail generate an error to
the sender if, in both cases, the mail alias is not in a pre-defined
list?

The context here is that we want to allow only a few people access to
Internet mail based on a list (Unix user accounts seems the answer
here) . The internal mail domain together with the mailbox must be
translated in both directions, outgoing and incoming mail. Thx once
again.

F.
Reply With Quote