Getmail help require


 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Getmail help require
# 1  
Old 11-07-2008
Getmail help require

Hi all,

I am retrieving mail from live mail server to local mail server. I want to know that, how can i exclude some peoples from getmail domain retrival.

[options]
verbose = 1
read_all = true
delete_after = 30
message_log = ~/.getmail/log

[retriever]
type = MultidropIMAPRetriever
server = mail.abc.com
username = admin@abc.com
password = abcdef
envelope_recipient = delivered-to:1

[destination]
type = MultiSorter
default = [ja.s]
locals = (
("ja.s@abc.com", "[ja.s]"),
("sa.t@abc.com", "[sa.t]"),
("ri.s@abc.com", "[ri.s]")
)

[ja.s]
type = Maildir
path = ~ja.s/Maildir/
user = ja.s

[sa.t]
type = Maildir
path = ~sa.t/Maildir/
user = sa.t

[ri.s]
type = Maildir
path = ~ri.s/Maildir/
user = ri.s

....such 200 users are there, out of which i want to exclude 10 users from getmail. how can i do that ? Your help appreciated.
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help require with counter

I have this file 1801,A1,2012-12-16 15:59:59.995,id2_3,ab,phoneC2-00,VOE,,,,,,,,,,,,,,, 1802,A1,2012-12-16 15:59:59.995,id2_3,ab=,phoneX1-01,BL,,,,,,,,,,,,,,, 1803,A1,2012-12-16 15:59:59.995,id2_3,ab,phone300,BL,,,,,,,,,,,,,,, 1804,A1,2012-12-16... (4 Replies)
Discussion started by: nikhil jain
4 Replies

2. Shell Programming and Scripting

sed help require

sed 's/abcd/$variable/g' abcd_calls > $variable_calls This is the statement i am trying which has 2 errors in it. 1st- sed 's/abcd/$variable/g' is changing abcd to $variable in the file abcd_calls ,I want it to convert abcd into the string value given by user through read command, taking... (1 Reply)
Discussion started by: learnbash
1 Replies

3. Shell Programming and Scripting

Regarding use and require keywords

Hi, what is the difference between use and require keywords in Perl. What is the significance of these lines (what it mean, what is the use of this) #!/usr/bin/perl -w // In Perl script.... #!/bin/ksh //In shell script..... Thanks Sweta (2 Replies)
Discussion started by: sweta
2 Replies

4. Shell Programming and Scripting

require in first line

I have a website with a lot of php files. I need to to have the line (where "requiredfile.php"' should be a valid reference to the requiredfile.php in the top directory): require "requiredfile.php" as first line in every php file. The requiredfile.php will be in the top dir and the line I... (2 Replies)
Discussion started by: ibidris2003
2 Replies
Login or Register to Ask a Question
getmail_fetch(1)						   User Commands						  getmail_fetch(1)

NAME
getmail_fetch - retrieve messages from one or more POP3 or POP3-over-SSL mailboxes and deliver to a maildir, mboxrd-format mbox file, or external MDA SYNOPSIS
getmail_fetch [OPTIONS] SERVER USERNAME PASSWORD DESTINATION DESCRIPTION
getmail_fetch retrieves messages from POP3 or POP3-over-SSL mailboxes and delivers to a maildir, mboxrd, or external MDA. This command is intended primarily for scripting, and as such does not require a client-side configuration file, and does not record any state. The DESTINATION argument is interpreted as follows: If it begins with a dot or a slash and ends with a slash, it is assumed to be a path to a maildir. If it begins with a dot or a slash and does not end with a slash, it is assumed to be a path to an mboxrd file. If it begins with a pipe, it is assumed to be a path to an external MDA command. Note that arguments can be included in this string by separating them by whitespace; untrusted data must not be used in constructing this string. OPTIONS
--version show program's version number and exit -h, --help show a short usage summary and exit -v, --verbose output information messages while running -q, --quiet output only on error -mFILE, --message=FILE read well-formatted RFC822 message from FILE and deliver prior to connecting to POP server -pPORT, --port=PORT use port PORT instead of default (POP3: 110, POP3-over-SSL: 995) -d, --delete delete messages from server after delivery -tTIMEOUT, --timeout=TIMEOUT use timeout of TIMEOUT seconds instead of default 180 -a, --apop use APOP authentication -s, --ssl use POP3-over-SSL AUTHOR
Written by Charles Cazabon. REPORTING BUGS
Report bugs to <charlesc-getmail-bugs@pyropus.ca>. IMPORTANT: include the output of getmail [options] --dump with any bug report. COPYRIGHT
Copyright (C) 1998-2009 Charles Cazabon This is free software; see the file COPYING for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. SEE ALSO
The full documentation for getmail is maintained in HTML and plaintext formats. See the included files for details. getmail 4 November 2005 getmail_fetch(1)