Sponsored Content
Full Discussion: mbox ascii mail text file ?
Top Forums Shell Programming and Scripting mbox ascii mail text file ? Post 302197088 by DILEEP410 on Tuesday 20th of May 2008 07:26:33 AM
Old 05-20-2008
Question mbox ascii mail text file ?

Hi,

I am using "fetchmail" and "procmail" combination to trigger a job based on an input mail.Using fetchmail, incoming mail is downloaded from the mailserver to the local host.Once the mail is flushed,procmail starts execution and thereby triggers the application script.

In-between this process,a file under the name "mbox" is created in the home directory.file type is "ASCII mail text".This file has all the mails listed received by the account.

Can anybody say which program configuration is responsible for this?
Is it fetchmail or procmail or the mail program configuration files.

Regards
Dileep
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Send text file to mail

I have a utility that opens a telnet session and allows me to execute commands through a script. The utility allows me to output to a text file whatever is outputted to screen. This utility runs from a DOS prompt in Windows 95/98, NT or 2000. How can I mail text file this to a certain user. I... (2 Replies)
Discussion started by: petrosi
2 Replies

2. UNIX for Dummies Questions & Answers

Creating flat text file (ASCII)

Hi everybody. I need help and I hope someone is willing to help me out here. My wholesale company is currently moving to new software. The old software is running on a UNIX platform. We need to migrate data from the UNIX system, but our former software provider refuses to assist the data... (5 Replies)
Discussion started by: Wdonero
5 Replies

3. Shell Programming and Scripting

How to convert English text file to ASCII File?

file abc abc: English text I want to convert the above into file abc file: ascii text (1 Reply)
Discussion started by: laknar
1 Replies

4. Programming

Reading a binary file in text or ASCII format

Hi All, Please suggest me how to read a binary file in text or ASCII format. thanks Nagendra (3 Replies)
Discussion started by: Nagendra
3 Replies

5. Shell Programming and Scripting

ASCII Text formatting

Hi All, I have a requirement to create a formatted text. That is., I have a plain text composed to send it through an Email using mailx. I need to change the formatting of the text like BOLD, ITALIC, UNDERINED, COLOURED, INDENT etc., First of all, is it possible in UNIX? If yes, please let... (3 Replies)
Discussion started by: mohan_kumarcs
3 Replies

6. Shell Programming and Scripting

Mail text appending to previous mail text

The following is an extract of code I wrote to produce an email report of accounts that are about to expire. It works fine except each time I run it the output is appended to all text from the previous mail that was sent. Can anybody see what I'm doing wrong? paexpire=`sqlplus -s... (2 Replies)
Discussion started by: runnerpaul
2 Replies

7. UNIX for Dummies Questions & Answers

ArcGIS shapefile *.dbf file to ascii text

Okay, I search around and couldn't find what I needed, so here goes: I have a series of ArcGIS point shapefiles. If I open them in Excel I can save as an Excel or text file and get a 2 column list: POINTID | GRID_CODE 1 | 2.34234 2 | 4.3425 3 | 6.32456 etc... The problem is that I... (3 Replies)
Discussion started by: jbrandt1979
3 Replies

8. Shell Programming and Scripting

Import ASCII 28 delimited text file

I have an ASCII 28 delimited text file(non-printable delimiter) with 4 columns along with the header.I need to open this text file in Excel or any other tool to view each column content. Please help.. Thanks (6 Replies)
Discussion started by: aneeta13
6 Replies

9. Shell Programming and Scripting

Convert Hex to Ascii in a Ascii file

Hi All, I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting? Thanks in Advance (2 Replies)
Discussion started by: HemaV
2 Replies
RAZOR-CHECK(1p) 					User Contributed Perl Documentation					   RAZOR-CHECK(1p)

NAME
"razor-check" - Razor Filtering Agent SYNOPSIS
razor-check [options] [ mail1 [ mail2 .. ] ] $ cat mbox | razor-check $ razor-check ./mbox $ razor-check -d mbox mail.1 mail.2 mail.3 DESCRIPTION
"razor-check" checks a mail against the distributed Razor Catalogue by communicating with a Razor Catalogue Server. It should be invoked before the mail is delivered or processed by a human. "razor-check" terminates with exit value 0 if the signature for the mail is catalogued on the server (spam) or 1 if the mail is not catalogued by the server (not a spam). "razor-check" should be invoked against every incoming mail by mail processors (like procmail) or MTAs (like sendmail). An alternate method would be to call "razor-check" from cron, at regular intervals, to identify and mark spam in queued mailboxes. If "razor-check" is passed more than one mail, it will check each against the database, printing out the serial number of every mail considered to be spam. "razor-check" supports mbox-formatted files with 1 or more mails in them as well as files containing a single RFC 822 (non-mbox) mail. More than one file may be present on the command line, can be either a non-mbox or mbox in any order. However, more than one non-mbox mail cannot be read from stdin. USAGE
"razor-check" is usually run by piping the contents of the mail to it, or by providing the name of the file that contains the mail message to be checked as the last argument. "razor-check" takes the following arguments: "-h" Print a usage message and exit. "-v" Print the version number and exit. "-d | --verbose" Print debugging information. "-debuglevel=n | -dl=n" Set debug level to 'n'. Default is 3 without "-d" option, 9 with. "-whitelist=file" Specify file to use for whitelisting. Overrides 'whitelist' option in "razor-agent.conf". "-s" Simulate a check. Do everything except talk to the server. "-conf=filename" Specifies an alternate configuration file. If not specified, it is computed, see razor-agents(1) manpage for details. See razor-agent.conf(5) manpage for various configuration options. The default is "<razorhome>/razor-agent.conf". "-home=dir" Specify razorhome directory. This is where the configuration file, logfiles, identities, and server files live. If not specified, it is computed, see razor-agents(1) manpage for details. "-logfile=file" Specify file to log to instead of what is in the configuration file. The default is "<razorhome>/razor-agent.log". "-rs=razor.server.com" Use this Razor Catalogue Server instead of reading "servers.catalogue.lst". "-H" Compute and print the signature of the mail contents and exit. If "-e=integer" is not specified, all supported engines will be used. "-S=string" Accept a list of pre-computed (with "-H") signatures on the command line, instead of computing one from mail content. Signatures can be submitted in hex or base64, but base64 is preferred. Requires "-e=integer". Usage: "razor-report -e 1 -S a8a3d545adb73f9733675571ffeaf10cba87745b" "-e=integer" Specify engine used to create signatures. Must be 1, 2, 3, or 4 in this version. Engine 1, or "-e=1", is used for Razor 1.x signatures. Used only with "-S=string" or "-H". "-ep4=string" String used by engine 4 when computing signatures. Published by the Razor Catalogue Servers and updated very frequently. Used only when "-e=4". RECIPES
"razor-check" is usually invoked from procmail(1). Here are some common ways of using it with procmail: To change the "Subject" header if mail is spam: :0 Wc | razor-check :0 Waf | formail -i "Subject: Razor Warning: SPAM/UBE/UCE" To add a "X-Razor2-Warning" header to spam: :0 Wc | razor-check :0 Waf | formail -A "X-Razor2-Warning: SPAM." To file spam in a mailbox :0 Wc | razor-check :0 Wa /home/foo/Mail/razor-caught AUTHORS
Vipul Ved Prakash <mail@vipul.net>, and Chad Norwood <chad@samo.org> SEE ALSO
razor-agents(1), razor-agent.conf(5), razor-admin(1), razor-report(1), razor-revoke(1), razor-whitelist(5) LICENSE
This is free software, distributed under the Artistic License 2.0. perl v5.14.2 2008-07-21 RAZOR-CHECK(1p)
All times are GMT -4. The time now is 11:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy