Results 1 to 3 of 3
Hi,
Me as Linux n00b(well its starting to get better since a few weeks, succesfully installed/configured Nagios & apache) have a problem with a certain command.
I installed mini_sendmail ( ...
- 10-07-2004 #1Just Joined!
- Join Date
- Oct 2004
- Posts
- 6
Mini_sendmail Command ?!
Hi,
Me as Linux n00b(well its starting to get better since a few weeks, succesfully installed/configured Nagios & apache) have a problem with a certain command.
I installed mini_sendmail (www.acme.com) and i configured the .c file so that it communicated with oure domino smtp server. That works fine, i can send mail trough it and it arives OK. The problem is that i can only fill in the Subject of the mail. I cant find(searched on google for multiple houres) how the heck i can add the DATA(body) of the mail, this is the command that works ok but only fills in the subject:
I tried alot, like addingCode:echo 'subject: Test' | /path/to/sendmail/mini_sendmail -v mymail@mydomain.whatever
afther the subject part.Code:echo | 'DATA: bladiebla' '.'
It just refuses to work, it even removes the subject if i add that so that i get blank mails.
Im using Red Hat 9.0
I hope someone can help me becouse this is realy starting to anoy me :P
tnx in advance
- 10-07-2004 #2Just Joined!
- Join Date
- Oct 2004
- Posts
- 6
OK, i figured out that i could use CAT
Text consisted of this:Code:cat /usr/text | /path/to/sendmail/mini_sendmail -v mymail@mydomain.whatever
It succesfully filled in the correct subject and the body concisted of asdsa(etc.)Code:Subject: Test asdasdasdasdasdadas
Now i still cant figure out how to put this in the command line, i tried \n\n but it doesnt take it, maybe i need to use ASCII for it? (as in #13 for enter(or was it #9? :P).
neway suggestions are very welcome...
Greetz.
- 10-07-2004 #3Just Joined!
- Join Date
- Oct 2004
- Posts
- 6
Just for ur information, i fixed it myself using the PRINTF command instead of echo...


Reply With Quote
