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
MAKEPERCENTRELAY(8)					      Double Precision, Inc.					       MAKEPERCENTRELAY(8)

NAME
makepercentrelay - Build a list of %-relayed domains SYNOPSIS
makepercentrelay DESCRIPTION
makepercentrelay reads /etc/courier/esmtppercentrelay.dir and creates /etc/courier/esmtppercentrelay.dat which is a binary database file. The files /etc/courier/esmtppercentrelay and /etc/courier/esmtppercentrelay.dat specify a list of "percent-hack" domains. /etc/courier/esmtppercentrelay is a plain text file, containing one domain per line. The Courier mail server loads the contents of /etc/courier/esmtppercentrelay into memory, so if you have a lot of domains, you will want to use the binary database file. The makepercentrelay command reads /etc/courier/esmtppercentrelay.dir, which can be either a plain text file itself, or a directory containing plain text files. All files in the subdirectory are concatenated, and the binary database file is created from the result. the Courier mail server can use both /etc/courier/esmtppercentrelay and /etc/courier/esmtppercentrelay.dat at the same time. Usually you would put a couple of your most frequent domains in /etc/courier/esmtppercentrelay, then put the rest in /etc/courier/esmtppercentrelay.dir, and use makepercentrelay to turn it into a database file. "percent-hack" domains are a list of domains for which the Courier mail server accepts mail via ESMTP addressed as "local%percent.hack.domain@local.domain", where "percent.hack.domain" is a domain found in /etc/courier/esmtppercentrelay or /etc/courier/esmtppercentrelay.dat, and "local.domain" is any domain found in /etc/courier/locals. The Courier mail server removes the local domain, and rewrites the address as "local@percent.hack.domain", then attempts to deliver it. The percent hack applies only to mail received via ESMTP. The Courier mail server does not check this list of domains if the message is received via any other way (such as by running /usr/bin/sendmail directly from the command line). "percent.hack.domain" would likely to be a domain that the Courier mail server knows how to handle via some other means. It might be an entry in /etc/courier/aliases, or an entry in /etc/courier/esmtproutes. SEE ALSO
esmtpd(8)[1], makealiases(8)[2]. AUTHOR
Sam Varshavchik Author NOTES
1. esmtpd(8) [set $man.base.url.for.relative.links]/esmtpd.html 2. makealiases(8) [set $man.base.url.for.relative.links]/makealiases.html Courier Mail Server 08/30/2011 MAKEPERCENTRELAY(8)