Maildir quota in postfix.... urgent help

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Maildir quota in postfix.... urgent help
# 1  
Old 04-07-2011
Maildir quota in postfix.... urgent help

Friends,
I am new to the postfix mail servers. My setup was configured with the below

Mail Server(MTA,MRA) Postfix, Courier-IMAP
Operating System Redhat Enterprise Linux 5.4 .
SPAM Protection/Content Filter IMSS 7.1
DNS,LDAP BIND,OPENLDAP
WebMail Squirrel Mail

Now i need to configure the maildir quota. I need your help and views to achieve this.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Import Maildir (Postfix) to zimbra

Dear, I want to migrate mailbox from ISP Config (postfix) to zimbra. and have tried import maildir to zimbra with script : #!/bin/bash # # Maildir to Zimbra import # Drop in your user root and run as superuser. # ZMM="/opt/zimbra/bin/zmmailbox" domain="psmti.org" # change to... (0 Replies)
Discussion started by: arsyam
0 Replies

2. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies

3. UNIX and Linux Applications

Postfix: Active Directory and postfix alias

I have a mailserver with postfix i want to alias all mail for administrator@domain.fqdn to root@domain.fqdn I have the aliases configured,and i did newliases but doesn't work. How to did this?Postfix is configured for virtual domain on ad server. (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

4. Shell Programming and Scripting

bash dump raw email body txt from Maildir

I'm setting up a cronjob that will hopefully dump the contents of a email delivered to Maildir/new/ to /home/user/raw.txt (and then delete that email) I could manually remove the bottom line of the raw email, then place the contents in the next line up in the /home/user/raw.txt, but it seems to... (5 Replies)
Discussion started by: unclecameron
5 Replies

5. UNIX for Dummies Questions & Answers

Please help with Postfix config issue - How to allow remote Exchange server to relay to my postfix

Hi guys One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered. What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies

6. IP Networking

postfix - reinject mail to postfix from hold queue directory

hi all. Am using smtpd_recipient_restrictions & check_recipient_access in postfix. The hash file looks like this: emailaddress1 HOLD emailaddress2 HOLD The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies

7. UNIX for Dummies Questions & Answers

Script to delete mails from maildir

Hi buddies, Anybody has any script to delete mails from Maildir/cur??? I mean is it possible to delete mails from Maildir/cur matching a particular subject like spam or fax??? Thanks in advance (1 Reply)
Discussion started by: squid04
1 Replies

8. UNIX for Dummies Questions & Answers

maildir question

Hi, I had a server hosting my website which kept all of my mail in a folder of my home dir called "mail". In that folder was "cur", "new", "tmp"... Which as I understand is the maildir format. I just recently switched to a new server, and am attempting to transfer all my mail over, however,... (0 Replies)
Discussion started by: patrick99e99
0 Replies

9. UNIX for Dummies Questions & Answers

Maildir or mbox??

Hi, I was wondering if someone can tell me what the difference is exactly between maildir and mbox. We have a few solaris 9 systems here and would like to get an imap server running on them. I have setup fetchmail so that it retrives remote pop3 mail into an account, and that mail is then... (3 Replies)
Discussion started by: sugarat
3 Replies
Login or Register to Ask a Question
sqlgrey(1)						User Contributed Perl Documentation						sqlgrey(1)

NAME
sqlgrey - Postfix Greylisting Policy Server SYNOPSIS
sqlgrey [options...] -h, --help display this help and exit --man display man page --version output version information and exit -d, --daemonize run in the background -p, --pidfile=FILE write process ID to FILE (overrides 'pidfile' in configfile) -k, --kill kill a running sqlgrey (identified by 'pidfile' content) -f, --configfile=FILE read config from FILE (default /etc/sqlgrey/sqlgrey.conf) expecting config_param=value lines, - spaces are ignored, - '#' is used for comments See the default config file at /etc/sqlgrey/sqlgrey.conf for runtime parameters. If you got sqlgrey from sources, read the HOWTO file in the compressed archive. If it came prepackaged, look into the documentation tree for this file: /usr/share/doc/sqlgrey-<version>/ on most Linux distributions for example. DESCRIPTION
Sqlgrey is a Postfix policy server implementing greylisting. When a request for delivery of a mail is received by Postfix via SMTP, the triplet "CLIENT_IP" / "SENDER" / "RECIPIENT" is built. If it is the first time that this triplet is seen, or if the triplet was first seen less than reconnect-delay minutes (1 is the default), then the mail gets rejected with a temporary error. Hopefully spammers or viruses will not try again later, as it is however required per RFC. In order to alleviate the reconnect delay, sqlgrey uses a 2-level auto-white-list (AWL) system: o As soon as a "CLIENT IP" / "SENDER" is accepted, it is added to an AWL. The couple expires when it isn't seen for more than awl-age days (60 is the default). o If group-domain-level "SENDER"s (2 is the default) from the same domain or more use the same "CLIENT IP", another AWL is used based on a "CLIENT IP" / "DOMAIN" couple. This couple expires after awl-age days too. This AWL is meant to be used on high throughput sites in order to : o minimize the amount of data stored in database, o minimize the amount of processing required to find an entry in the AWL. o don't impose any further mail delay when a "CLIENT IP" / "DOMAIN" couple is known. It can be disabled by setting group-domain-level to 0. General idea: When a SMTP client has been accepted once, if the IP isn't dynamic, greylisting the IP again is only a waste of time when it sends another e-mail. As we already know that this IP runs an RFC-compliant MTA (at least the 4xx error code handling) and will get the new e-mail through anyway. In the case of mail relays, these AWLs works very well as the same senders and mail domains are constantly coming through the same IP addresses -> the e-mails are quickly accepted on the first try. In the case of individual SMTP servers, this works well if the IP is fixed too. When using a floating IP address, the AWLs are defeated, but it should be the least common case by far. Why do we put the domain in the AWL and not the IP only ? If we did only store IP addresses, polluting the AWL would be far too easy. It would only take one correctly configured MTA sending one e-mail from one IP one single time to put it in a whitelist used whatever future mails from this IP look like. With this AWL system, one single mail can only allow whitelisting of mails from a single sender from the same IP... INSTALLATION
o Create a "sqlgrey" user. This will be the user the daemon runs as. o When using a full-fledge SGBD (MySQL and PostgreSQL, not SQLite), create a 'sqlgrey' db user and a 'sqlgrey' database. Grant access to the newly created database to sqlgrey. o Use the packaged init script to start sqlgrey at boot and start it manually. CONFIGURATION
General o Start by adding check_policy_service after reject_unauth_destination in /etc/postfix/main.cf : smtpd_recipient_restrictions = ... reject_unauth_destination check_policy_service inet:127.0.0.1:2501 o Be aware that some servers do not behave correctly and do not resend mails (as required by the standard) or use unique return addresses. This is the reason why you should maintain whitelists for them. SQLgrey comes with a comprehensive whitelisting system. It can even be configured to fetch up-to-date whitelists from a repository. See the HOWTO for the details. Disabling greylisting for some users If you want to disable greylisting for some users you can configure Postfix like this: /etc/postfix/sqlgrey_recipient_access: i_like_spam@ee.ethz.ch OK Then you'll add a check_recipient_access in main.cf before the check_policy_service : smtpd_recipient_restrictions = ... reject_unauth_destination check_client_access hash:/etc/postfix/sqlgrey_client_access check_recipient_access hash:/etc/postfix/sqlgrey_recipient_access check_policy_service inet:127.0.0.1:10023 SEE ALSO
See <http://www.greylisting.org/> for a description of what greylisting is and <http://www.postfix.org/SMTPD_POLICY_README.html> for a description of how Postfix policy servers work. COPYRIGHT
Copyright (c) 2004 by Lionel Bouton. LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA AUTHOR
Lionel Bouton <lionel-dev@bouton.name> perl v5.14.2 2012-02-16 sqlgrey(1)