Discussion Locked

send mail to all user in UNIX

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

3 replies

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.

This discussion is closed to new replies.