send mail to all user in UNIX
Dear Sir/Madam;
I would like to send mail to all users from UNIX server. UNIX is running on BSDI 4.2
How can I do this? What commands to use?
Thanks
Linux
Dear Sir/Madam;
I would like to send mail to all users from UNIX server. UNIX is running on BSDI 4.2
How can I do this? What commands to use?
Thanks
by eperrin
Depends on the mail server the system is running. Some mail servers allow you to post to all@hostname.domain, some do not.
Most servers that are setup properly will not allow this kind of post, or will only allow it from a trusted user (ie root sending out system notices)
Try telnetting to port 25 of the server you want to send the message to, then
HELO [domainname]
VRFY: all@hostname.domainname
That'll tell you pretty quickly if you can send to all users or not.
by teinfo
by teinfo
This discussion is closed to new replies.
Sort by Trending