Johannes Christian wrote:
mail email@xxxxxxxxx -s <subject> < mail_text.txt
but i am using qmail server with virtual domain, how can i set the
sender to a specific address?
If you have the list of recipients in file recipients.txt (one per
line), and the mail message (both headers and body, separated by a blank
line) in mail.txt, you can do:
$ /usr/sbin/sendmail -f sender@xxxxxxxxxxx $(cat recipients.txt) < mail.txt
Paul.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list