Be seen. Boost your question’s priority for more expert views and faster solutions
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
echo 'test' | /usr/lib/sendmail user@wherever
by forwarding all mails through the remote relay, you're not limiting sending of mails to users of the relay server, you're relying on the remore server to continue relaying your messages out.
to send to groups of users, you can do:
echo 'test' | /usr/lib/sendmail user1@wherever user2@wherever...
if you want to try to set up a group, you'll have to use aliases. but since you'd have to enable local mail processing (running sendmail as a process) to do that. your other alternative is to set up a group on your relay mail server (like setting up a mail group on the corporate mail server, and sending mails through that)