On Thu, 2003-10-23 at 09:45, Shaw, Marco wrote: > Trying to make this work: > > /usr/lib/sendmail emai@xxxxxxxx < test > > The file test contains the string "test:test". > > It seems sendmail is trying to interpret the ":" for being something like "To:" or "Subject:". > > Is there anyway to escape the ":" character so that sendmail will understand the string properly? > > Marco > Keep in mind sendmail is an MTA, not an MUA. In other words... you've got to supply the header and body within the file test. The header/body info should be separated by a blank line. i.e. # cat test From: me@xxxxxxxxxx To: mini_me@xxxxxxxxxx Subject: This is a test. test:test # sendmail me@xxxxxxxxxx <test BTW: Consider using the "mail" command. Then you don't have to create the headers within the file your trying to send. # cat test test:test # mail -s "This is a test." me@xxxxxxxxxx <test Steve Cowles -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list