Re: sendmail and sudo

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



On Tue, Dec 20, 2011 at 03:10:31PM -0500, m.roth@xxxxxxxxx wrote:
> echo "To: user
> 
> 
> help
> " | sendmail -t

If you're gonna send automated email, you should specify the from
address as well
  echo "To: user
  From: my_service_alias@xxxxxxxxxxx
  Subject: testy mctesty
  
  bleh" | /usr/sbin/sendmail -t

Never leave to chance what should be specified.

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux