how to send mail on command with attachment
Postfix Virtual MailBox Clam Smtp Howto
building a mail server.
Test ClamSMTP for outgoing mail
Send this file as an attachment to firstname.lastname@example.org
(it is a virus .zip file)
$ uuencode eicar_com.zip | mail email@example.com
It was hanging there for prolonged time. I have to cancel it manually.
$ mutt -s "Test mail" -a eicar_com.zip firstname.lastname@example.org < /tmp/mailmessage.txt
Any clue? TIA
Can't stat email@example.com: No such file or directory
firstname.lastname@example.org: unable to attach file.