RE: How to reject mails those users does not exist in Sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for replay, but my problem is not solved.

I have only one domain in that 12 users. I want reveive mails only for 12
users and other for reject.

-regards
anil

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx]On Behalf Of Manuel Arostegui
Ramirez
Sent: Wednesday, August 16, 2006 4:26 PM
To: asawale@xxxxxxxxxx; General Red Hat Linux discussion list
Subject: Re: How to reject mails those users does not exist in Sendmail


El Miércoles, 16 de Agosto de 2006 12:43, Anil Sawale escribió:
> Hi! I have RedHat Linux 9 cinfigured sendmail its working fine but one
> problem is that,
> I received mails on acount of post master, those users not exist.
>
>
> please anyone have solution, help me.
>
> -Anil Sawale

Do you mean sendmail reject delivery of all mail when the receipent
doesn't appear in the virtualusertable?

If so, try putting a catch-all address in the virtusertable:

@domain.com	error:nouser 550 User unknown

Once you've done this you will have to add all the users that should
receive mail at that address or they too will be rejected.

If you want sendmail to reject non-existent users per domain, you obviously
have to tell it which users exist in each domain. This is done by
enumerating
them in the virtusertable and adding the catch-all to indicate that all
users
are explicitly listed there.

If you have a lot of domains on that machine,that can hardly be a problem

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux