On Tue, May 29, 2007 at 10:02:28AM +0530, Biju Abraham N. wrote:
> Hi,
>  
> I am using a Debian Etch release with Exim4 4.50. We are getting mails on
> SMTP and to some locally defined mail aliases in /etc/mail/alias files. Is
> it possible to block external mails to these aliases or could some show
> which documentation to read up on this?

Just redirect the mail to an administrative user on the system using the
same /etc/aliases file.

Here is an example from one of our mail servers:

# Mail manager aliases
mailer-daemon:  [EMAIL PROTECTED]
postmaster:     [EMAIL PROTECTED]
# Other miscellaneous system aliases
sysop:          [EMAIL PROTECTED]
ftp:            [EMAIL PROTECTED]
news:           [EMAIL PROTECTED]
mail:           [EMAIL PROTECTED]
info:           [EMAIL PROTECTED]
hostmaster:     [EMAIL PROTECTED]

On Debian you can use /etc/email-addresses to rewrite the From-adresses
to valid ones.

Regards
Johann
-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Let no man despise thy youth; but be thou an example 
      of the believers, in word, in conversation, in
      charity, in spirit, in faith, in purity."      
                                       I Timothy 4:12

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to