10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am trying to send a mail with attachment through this script. but its getting error
email.sh: line 27: syntax error near unexpected token `newline'
email.sh: line 27: `!'
#!/bin/sh
SUBJ="Send mail from Unix with file attachments"
TO=xx@domain.com... (1 Reply)
Discussion started by: balaji23_d
1 Replies
2. Ubuntu
Hi Guys..
yesterday i purchased a VPS server and installed sendmail on ubuntu 12.4 with Webmin & Apache runing webserver
problem is..
i can send mail via webmin user interface account to anybody to out side to any domain and able to recieve any mail from any domain..
Now main... (2 Replies)
Discussion started by: cmdman
2 Replies
3. UNIX for Dummies Questions & Answers
%%START CBLOADER CBLOADER BRBAI2 000090
01,011600033,011600033,110516,0834,2,90,,2/
02,011600033,011103093,1,110317,0834,,2/
03,105581,,015,+00000416418,,,901,+00000000148,,,922,+000000
00354,,/
03,113806,,015,+00000559618,,,901,+00000000096,,,922,+000000
00621,,/... (1 Reply)
Discussion started by: sgoud
1 Replies
4. Shell Programming and Scripting
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies
5. Shell Programming and Scripting
I want to send an email, however I like to subject line of the email to be different, depending on the content or body of the email, is this possible.
Ok - lets say the body of the email will always have the word job name, and depending on the 4,5 and 6 position of the job name, in this case... (1 Reply)
Discussion started by: axdelg
1 Replies
6. Shell Programming and Scripting
I get an error no such file or directory.
Yet my permissions are 774.
is there anything else I could check.
thanks (2 Replies)
Discussion started by: TimHortons
2 Replies
7. UNIX for Advanced & Expert Users
Hi All,
I have a requirement to send and email of body html with an attachment.
concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail.
my command to send HTML body is as below:
export MAILTO="recipient@domain.com"... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies
8. Shell Programming and Scripting
Hi i have a monitoring script that send an email if grep returns 0 for some text. Problem is it sends two emails for both grep strings exist. How can i make it only ever send 1 email if either greps return?
#if grep returns 0 then send email
grep -q "still didn't respond" /root/latest.txt
if... (1 Reply)
Discussion started by: borderblaster
1 Replies
9. Shell Programming and Scripting
Hello All,
I have written a scirpt that asks users to take action by xx:yy hours. Now I want to automate the sending of a reminder mail at xx:yy hours to remind the user that he needs to take action. How do you think I can go about that??
The only thing i can think of is to set up a cron job... (5 Replies)
Discussion started by: garric
5 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
I am setting up mail function to send mail from a Solaris 8 machines but when I send a test mail out. it returns the following in my UNIX mail box
Reporting-MTA: dns; unix.localdomain.com
Arrival-Date: Tue, 14 Feb 2006 19:23:37 +0900 (KST)
Final-Recipient: RFC822;... (3 Replies)
Discussion started by: stancwong
3 Replies
qmail-control(5) File Formats Manual qmail-control(5)
NAME
qmail-control - qmail configuration files
INTRODUCTION
You can change the behavior of the qmail system by modifying qmail's control files in /var/lib/qmail/control.
qmail can survive with just one control file, me, containing the fully-qualified name of the current host. This file is used as the
default for other hostname-related control files.
Comments are allowed in badmailfrom, locals, percenthack, qmqpservers, rcpthosts, smtproutes, and virtualdomains. Trailing spaces and tabs
are allowed in any control file.
The following table lists all control files other than me. See the corresponding man pages for further details.
control default used by
badmailfrom (none) qmail-smtpd
bouncefrom MAILER-DAEMON qmail-send
bouncehost me qmail-send
concurrencylocal 10 qmail-send
concurrencyremote 20 qmail-send
defaultdomain me qmail-inject
defaulthost me qmail-inject
databytes 0 qmail-smtpd
doublebouncehost me qmail-send
doublebounceto postmaster qmail-send
envnoathost me qmail-send
helohost me qmail-remote
idhost me qmail-inject
localiphost me qmail-smtpd
locals me qmail-send
morercpthosts (none) qmail-smtpd
percenthack (none) qmail-send
plusdomain me qmail-inject
qmqpservers (none) qmail-qmqpc
queuelifetime 604800 qmail-send
rcpthosts (none) qmail-smtpd
smtpgreeting me qmail-smtpd
smtproutes (none) qmail-remote
timeoutconnect 60 qmail-remote
timeoutremote 1200 qmail-remote
timeoutsmtpd 1200 qmail-smtpd
virtualdomains (none) qmail-send
SEE ALSO
qmail-inject(8), qmail-qmqpc(8), qmail-remote(8), qmail-send(8), qmail-showctl(8), qmail-smtpd(8)
qmail-control(5)