attacment filtering and pine editor


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Answers to Frequently Asked Questions Email Antispam Techniques and Email Filtering attacment filtering and pine editor
# 1  
Old 09-09-2003
Question attacment filtering and pine editor

hello,

i am studying on email systems. i mean mail servers, filters mail editors etc.

i searched net but i could not find any useful topic about attachment filtering. how can i filter attachments? is there any script or program?

also when using pine mail editor think that you marked an email to be deleted. while you are closing it, asked you if you really want to delete and you said yes. but then you repented you deleted this email is there any way to retrieve it back. i mean is there any folder that include deleted mails.

thank you.Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problem with Pine

I'm learning a little about pine after downloading it. I can't seem to get it to work, though. It can't open the inbox -- it sits there (as the little slash mark rotates) but after a while it stops and can't make the connection, with a message saying that "connection to gmail.pop....(something)... (0 Replies)
Discussion started by: Straitsfan
0 Replies

2. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

3. Solaris

problem installing pine

when i try to build pine unix tells me it can't find make # ./build xxx make args are CC=cc soc Including LDAP functionality ln: cannot create c-client: File exists ln: cannot create mtest: File exists ln: cannot create mailutil: File exists ln: cannot create imapd: File exists ln:... (0 Replies)
Discussion started by: vutty81
0 Replies

4. UNIX for Dummies Questions & Answers

pine

how to configure pine in my linux os (1 Reply)
Discussion started by: rajan_ka1
1 Replies

5. UNIX for Advanced & Expert Users

pine does'nt attach files

Hello All, I am maintaining a server and I use pine as MUA and sendmail as MTA. Suddenly many users in the network face the problem of not being able to attach files using pine. I checked the sendmail.cf file and found a variable "MaxMessageSize = 1000000". Eventhough the message size... (2 Replies)
Discussion started by: maybemedic
2 Replies

6. UNIX for Dummies Questions & Answers

Pine inbox

i have shell account at grex.org but i cannot get mauil with pine because the inbox cannot be found? any suggestion? (7 Replies)
Discussion started by: cogeek
7 Replies

7. UNIX for Dummies Questions & Answers

Avoid spam in pine?

Hi there, for email we are using "pine" on SSH. is there any way to block junk mail on pine? i've been lookin for sumthin that allows me to block senders but all my efforts in vain. can sum1 help me on that? Thanks (1 Reply)
Discussion started by: a25khan
1 Replies

8. UNIX for Advanced & Expert Users

Pine

Hi :- I am trying to make a script to send mail using pine. But it takes me to the Pine Menu Console and I have to send it manually. Note that I am attaching a file with it. Any quick response will be highly appreciated. (4 Replies)
Discussion started by: s_aamir
4 Replies

9. UNIX for Dummies Questions & Answers

Xterm with Pine

Hello, Does anyone know why I'm not able to get colors in Pine when using Xterm, but I can get them using Dtterm? Any answers to this would be much appreciated. Radimus. (1 Reply)
Discussion started by: radimus
1 Replies

10. UNIX for Dummies Questions & Answers

Setting up pine(pico)

I'm trying to setup the pico editor, which comes with pine. But I am not sure how to activate pine. I'm using the newest stable version of openbsd. If someone could tell me what file to execute, or, if not 'onboard' the package, where to get it. I would be much obliged. Req (1 Reply)
Discussion started by: Requeth
1 Replies
Login or Register to Ask a Question
COURIERPERLFILTER(8)					      Double Precision, Inc.					      COURIERPERLFILTER(8)

NAME
courierperlfilter - Sample Perl-based mail filter SYNOPSIS
filterctl [[start] | [stop]] [perlfilter] DESCRIPTION
This is an example global mail filter that uses an embedded Perl script. "Embedded" means that the Perl interpreter is loaded once, and the same Perl code is repeatedly called to accept or reject incoming messages, one by one. Perl filtering is relatively time consuming (compared to filtering in C or C++), and excessive delays in mail filters result in incoming mail being deferred (rejected with a temporary error code). Therefore the perlfilter wrapper can create multiple perlfilter processes, so that multiple processes are used to filter incoming mail. perlfilter requires Perl 5.004 or higher. The best way to create a Perl filter is to start with the sample filter, /usr/lib/courier/perlfilter-example.pl. This filter reject messages that contain an excessively long Date: header (designed to crash certain poorly-written mail clients). Use it as a basis for writing your own filter. You can install your filter in any convenient location, then initialize the /etc/courier/filters/perlfilter configuration file, as described below. Run filterctl start perlfilter to activate filtering (if necessary, run courierfilter start to start the mail filtering subsystem). Setting up a Perl script Most of the ugly details of connecting the Perl script to Courier's mail filtering engine is taken care of by the sample perlfilter-example.pl script. One big no-no: the script MAY NOT change the current directory. Anything else goes, for the most part. Loading other modules and classes, pretty much anything else you can do with Perl, is allowed. The Perl script, just like any other mail filtering module, receives a pointer to a data file and one or more control files, each time a message is submitted to Courier for delivery. The sample script calls the filterdata() function to process the data file. The data file contains the actual message. The filtercontrol() function is called to process each control file. The control file contains recipient and message metadata. There may be more than one control file for each message. The example script includes an implementation of filterdata() that blocks messages with corrupted headers. The example script doesn't do anything interesting with filtercontrol(). filterdata() and filtercontrol() must return an empty string if no serious objections are raised for this message. Any other return string is interpreted as an SMTP-style error code that is used to reject the message. Care must be taken that any error messages are formatted strictly according to the format of SMTP error messages (even though the message may not actually come in via SMTP). CREDITS
A lot of the Perl glue code is based on examples from the perlembed manual page, and other sources. FILES
perlfilter uses the following configuration files. Changes to the following files do not take effect until the filter has been stopped and restarted. /etc/courier/filters/perlfilter-mode If this file exists and contains the word "all", perlfilter will create its socket in /var/lib/courier/allfilters, otherwise the socket will be created in /var/lib/courier/filters, see courierfilter(8)[1] for more information. /etc/courier/filters/perlfilter-numprocs This file contains a number that sets how many perlfilter processes are created. The default is 5 processes. There's always an extra perlfilter process that's used to clean up crashed child processes. /etc/courier/filters/perlfilter This file MUST exist and it must contain a single line of text with the filename of the Perl script to load. /usr/lib/courier/perlfilter-example.pl This is a sample Perl script of the kind that /etc/courier/filters/perlfilter points to. Use it as an example of writing your own Perl filters. Please exercise good judgment in writing Perl-based filters. They should be reasonably fast, and do not allocate megabytes of memory. They should not be very promiscuous in creating global Perl variables, and should clean up after themselves. The current Perl wrapper does not destroy the Perl symbol table after each call to the filter script. However, do not take that for granted. This may change in the future. SEE ALSO
courierfilter(8)[1]. AUTHOR
Sam Varshavchik Author NOTES
1. courierfilter(8) [set $man.base.url.for.relative.links]/courierfilter.html Courier Mail Server 04/04/2011 COURIERPERLFILTER(8)