Configuring sendmail option


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Configuring sendmail option
# 1  
Old 01-24-2010
Configuring sendmail option

Hi,

I have a script which check for the health of an application. In the end I want to attache a file to send the information to the user using sendmail.

How to configure sendmail in linux?How to attach a file and send it as a mail from script?




Ahamed.
# 2  
Old 01-24-2010
Is the user a local user, or someone on the internet somewhere?
Is the server already connected to the internet?

Jack
# 3  
Old 01-25-2010
Hi,

Its a local user.I want to send mail withing my company even thought the server is connected to internet.

Ahamed.
# 4  
Old 01-25-2010
Code:
mailx -s "System Status" -a statusfile user <<EOF
See attached file for details of blah blah blah
EOF

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Configuring Sendmail

Hi, I am using sendmail. I need to do the following: Send all internal emails to one relay, send to a particular external domain via a relay that required authentication. Could someone please advise on configuration? I tried one possibility but it failed. Posting "Does not work" without... (2 Replies)
Discussion started by: mojoman
2 Replies

2. UNIX for Dummies Questions & Answers

Configuring Sendmail as a client only, how?

We are running sendmail-8.13.4 on AIX. I need to update the configuration and make sendmail act as a relay client only, meaning it will only be used to send mail out of the host and NOT accept mail. Here is my client.mc config: include(`/usr/samples/tcpip/sendmail/m4/cf.m4')... (5 Replies)
Discussion started by: c3rb3rus
5 Replies

3. Solaris

Clarifying sendmail configuration - sendmail-client offline

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

4. UNIX for Dummies Questions & Answers

Seek help configuring Sendmail 8.14.4 Unix

Seek help configuring Sendmail 8.14.4 Unix server. Not sure if this is the correct place to post or the Unix/Linux Forums job board. Seeking help configuring sendmail 8.14.4 on my Unix server. It appears I have an open relay. I was advised I need to modify a etc/mail/dir , a command line entry... (0 Replies)
Discussion started by: raecampus
0 Replies

5. Shell Programming and Scripting

recently introduced to the newer option for find...does an older option exist?

To find all the files in your home directory that have been edited in some way since the last tar file, use this command: find . -newer backup.tar.gz Is anyone familiar with an older solution? looking to identify files older then 15mins across several directories. thanks, manny (2 Replies)
Discussion started by: mr_manny
2 Replies

6. HP-UX

Configuring sendmail to modify the domain name

Hi, I would like to change the domain name using sendmail. For example, currently mails are sent like user@domain1.com I would like to change it to user@domain2.com How this can be done from HP-UX? Your help is highly appreciated. Thanks in advance. (0 Replies)
Discussion started by: smuthuvel
0 Replies

7. Shell Programming and Scripting

option followed by : taking next option if argument missing with getopts

Hi all, I am parsing command line options using getopts. The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument. Below is the script: while getopts :hd:t:s:l:p:f: opt do case "$opt" in -h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies

8. UNIX for Dummies Questions & Answers

Configuring Sendmail

Hi anyone knows how to Configuring Sendmail on /usr/lib/mail/cd on solaris 9? i cannot find the sendmail.mc file and i not able to use m4 to compile! Pls help Thanks Summer (3 Replies)
Discussion started by: summerpeh
3 Replies

9. UNIX for Dummies Questions & Answers

configuring sendmail.cf version is 1.74

Hello Please someone guide me to configure sendmail.cf on AIX 5.3 The sendmail.cf version is 1.74( bos53A src/bos/usr/sbin/sendmail/sendmail.cf 1.74) Thanks Amruta (0 Replies)
Discussion started by: Amruta Pitkar
0 Replies

10. Shell Programming and Scripting

sendmail -f, -F option

Hello, I have been trying to use 'sendmail' command to create the illusion of emails sent from my server actually coming from a webmaster server. Kinda how like spam mail works. syntax im using: # /usr/lib/sendmail -t - F 'Webmaster' -f 'webmaster@email.com' From: webmaster@email.com... (3 Replies)
Discussion started by: silver40
3 Replies
Login or Register to Ask a Question