10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Mails from Sendmail are ignoring line endings, when I try to send email with attachment. I have tried to specify the font in the html but line endings are still ignored. I also tried unix2dos, still no luck.
#!/usr/bin/ksh
###Send Email
MAILTO=`cat mail2.list | tr -s '\n' ','`
SUBJECT="bla bla... (3 Replies)
Discussion started by: aydj
3 Replies
2. Solaris
Hi all,
I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.
In my current configuration,
the sendmail-client is disabled.
Both submit.cf and sendmail.cf are left as default untouch
I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
3. UNIX for Advanced & Expert Users
I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back.
(reason: 530 5.7.1 Authentication required)
530 5.7.1 Authentication required
Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, all.
I have two entries in a mailertable:
domain1.com esmtp:
domain2.com esmtp:
After I made the entries I did makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable and restarted sendmail. One domain uses the smarthost and the other... (1 Reply)
Discussion started by: cignul9
1 Replies
5. Shell Programming and Scripting
in if clause , how 1 can ignore case (i.e. small or capital) ny suggestions? (2 Replies)
Discussion started by: Gl@)!aTor
2 Replies
6. Shell Programming and Scripting
I have a file xxx.txt containing
winter_kool
sugar_"sweet"
Is there anyway i can grep xxx.txt for strings without using punctuations.
for eg:
`grep sugarsweet xxx.txt` should give output :
sugar_"sweet" (2 Replies)
Discussion started by: jack_gb
2 Replies
7. Shell Programming and Scripting
Hi All,I am facing the below problem I have set a variable:
a=`cat a.txt| grep "mad" | cut -c 30-50`the output is coming
echo $a1
10 Mad300 3215however the actual ouput is
1.10 Mad300 3215There are 4spaces between 300 and 3215 so if i do:
echo "$a" I am getting correct output:
1.10... (3 Replies)
Discussion started by: mad_man12
3 Replies
8. Shell Programming and Scripting
Hi,
I have a requirement to find and replace contents from multiple files.
I am able to replace the contents. but i am facing a issue while replacing when finding a certain charcter pattern as unix is treating this is a command.
Please find below sample on the same
Output file to be generated... (1 Reply)
Discussion started by: seeki
1 Replies
9. Shell Programming and Scripting
Hi,
Using grep how to ignore multiple patterns
for example
# multiple
#installOption
#role
role
#ROLE
I want to ignore all that comes with # in a single command
If I use
grep -v \^\#"role" <filename> (2 Replies)
Discussion started by: dbashyam
2 Replies
10. Shell Programming and Scripting
Dear Friends,
I want to move all the files to temp folder except files having following extensions which are case sensitive.
.ttM
.Hmt
.dMt
Request you to guide me to do the same
Thank you in advance
Anushree (3 Replies)
Discussion started by: anushree.a
3 Replies