goto /etc/mail
vi virtualtable
all@yorudoman.co.uk allusers
Now go to
/etc/mail
vi allusers.txt
user1
user2
user3
[ Here you will have to just write the username (system username)]
[If you have lots of user then you can use script to copy all username from /etc/password to /etc/mail/allusers.txt file]
Now save the file
vi /etc/newaliases
Insert this line
allusers: :include:/etc/mail/allusers.txt
Then make new aliases
That’s it
Now when you will sent email to allusers@yourdomain.co.uk
It will sent that email to every user in that group.
Thank you so much.
Do you know how I can deny people from using telnet to 25 to access my mail server?
Thank you
‘@Chuky ‘
No that would not be possible. if you allow your mail server to received email then any one would be able to telnet your mail server. But if you just use your mail server as send email but not received email , then from mail server itself you can deny it.
but if you using Snort or some product like this, then you will be able to deny. basically its not you, the snort rules will deny ips which will try to telnet or ping to your server depends what type of traffic the attacker is trying to send.
Please let me know if you need further explanations.
Fosiul