Sponsored Content
Top Forums Shell Programming and Scripting Split email message with procmail Post 302821321 by DGPickett on Friday 14th of June 2013 11:27:02 AM
Old 06-14-2013
Is the destination address and subject in there? A simple sed script can turn it into a shell script that mails with here files.
Code:
mailx -s something-from-inside something-else@some_mail_server <<!
Host: test1.local:30500  
Type: conf
Alert: Host Down
Status: Open
Last Updated: 2013/06/13 14:11 GMT
Created: 2013/06/13 14:11 GMT
!

 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

email attachment, with a message using mailx

Hi, I am trying to include a message along with an attachment with an email using mailx on AIX. uuencode Test.dat Test.dat| mailx -s 'Testing' mymail@yahoo.com < MESGFILE This only gives me the contents of MESGFILE as my message. If I remove the < FILE I recieve the attachment. What... (4 Replies)
Discussion started by: edog
4 Replies

2. UNIX for Dummies Questions & Answers

Split-Email-removing files

Friends, I have a datafile that have unknown a number of CHARACTERS. if the datafile have more than 1 character and less than 20 email me the file rm datafile if the datafile have more than 20 characters split the datafile into 20 characters in each file email datafileaa email... (4 Replies)
Discussion started by: bobo
4 Replies

3. UNIX for Dummies Questions & Answers

Procmail 3.22 install error message

I'm trying to install : Procmail 3.22 onto a : E10K domain running : Solaris 2.6 Generic_105181-35 I untar the file to /stage/procmail-3.22. When I run the command: /usr/ccs/bin/make install I get the following message, then the install aborts: License Error : Cannot find license... (2 Replies)
Discussion started by: antalexi
2 Replies

4. Shell Programming and Scripting

error-when trying to send the message thru email.

Hi All, I want to send a message through email. I have written below code. But it is not worling. Anybody has idea, why it is not working?. export $file1=$home1/pip1.$$ mailx -s "This Message from unix" abc@yahoo.com< $file1 thanks,Mary. (5 Replies)
Discussion started by: MARY76
5 Replies

5. Shell Programming and Scripting

how to send contents of a file to email as a message

i have a file new1.txt i want to send the contents of that file as a message to email ali@sms.com i m using ksh script......... plz help me (5 Replies)
Discussion started by: ali560045
5 Replies

6. Shell Programming and Scripting

Email alert doesnt contain any message

I have created a script which will monitor disk space in unix, it will send an email alert that will notify the specified receipients. I used echo in the mailx command but the email doesnt contain any message. I have used printf to store the message ($message2) and when tried to display on the... (2 Replies)
Discussion started by: lscanaleta
2 Replies

7. UNIX for Dummies Questions & Answers

How to get failure notice message when email is not sent.

I am using mailx command to send emails from the Unix command prompt. Whenever email is not sent it is not giving me any message "Email not sent" or failure delivery notice for the wrong email addresses. When I give correct email address I am able to receive them correctly. Can anyone please... (0 Replies)
Discussion started by: szc0025
0 Replies

8. UNIX and Linux Applications

Ssmtp -t < /path/to/the/message.txt (How to format message.txt for html email)

ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets, Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies

9. Shell Programming and Scripting

Message Body while sending an email

I am making use of the following code to display the results of my txt file in an email: mail -s 'Count Validation Test Comparison Results' Ronit@XYZ.com < Count_Validation_Results_`date +%m%d%Y`.txt Email Output: ----------Query 1 Count Validation Results-------- Source count is 4 Target... (7 Replies)
Discussion started by: ronitreddy
7 Replies
DEBCONF-UPDATEPO(1)						    po-debconf						       DEBCONF-UPDATEPO(1)

NAME
debconf-updatepo - update PO files about debconf templates SYNOPSIS
debconf-updatepo [-v] [-h] [--podir=DIR] [--skip-pot] [--skip-merge] [--msgid-bugs-address=EMAIL] DESCRIPTION
This program reads po/POTFILES.in to determine which master files need to be processed, then extracts new gettext strings into po/templates.pot and updates all po/*.po files. This script can be called either in the top-level directory, or in the debian or debian/po subdirectories. It is run by developer and/or translator to update PO files when the English text is modified in templates files. OPTIONS
-h, --help Display a usage summary and exit. -v, --verbose Process in verbose mode. --podir=DIR Set directory for PO files. By default PO files are searched in debian/po, po and ../po directories in that order. --skip-pot Do not generate a new po/templates.pot file. --skip-merge Do not merge existing PO files with po/templates.pot. --msgid-bugs-address=EMAIL Set the email address that will be specified in the POT's Report-Msgid-Bugs-To field. By default, this field is set to <package>@package.debian.org. It is intended for the maintainers of Debian based distributions, and should be used in the following cases: o The package is not present in Debian (and thus the <package>@packages.debian.org address does not exist). o The maintainer made significant changes in the debconf templates (or added templates to a Debian package without templates), and does not want to bother the Debian maintainer with bug reports that won't be relevant for the Debian maintainer. The default address is preferred to avoid corrections in the Debian based distribution without a notification to the Debian maintainer. SEE ALSO
debconf-gettextize(1), po2debconf(1), podebconf-report-po(1), po-debconf(7). AUTHOR
Denis Barbier <barbier@linuxfr.org> 2016-10-01 DEBCONF-UPDATEPO(1)
All times are GMT -4. The time now is 11:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy