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 email@example.com
(it is a virus .zip file)
$ uuencode eicar_com.zip | mail firstname.lastname@example.org
It was hanging there for prolonged time. I have to cancel it manually.
$ mutt -s "Test mail" -a eicar_com.zip email@example.com < /tmp/mailmessage.txt
Any clue? TIA
Can't stat firstname.lastname@example.org: No such file or directory
email@example.com: unable to attach file.