Sponsored Content
Full Discussion: Postfix config
Top Forums UNIX for Advanced & Expert Users Postfix config Post 302372429 by fisfia on Wednesday 18th of November 2009 02:32:24 AM
Old 11-18-2009
Postfix config

Hi,

I have a problem with configuring postfix. Would like pf to limit the amout of mail that a client can send in for example one hour.

Thought maybe this would be a good idea:

Code:
 	smtpd_client_message_rate_limit=

But what happens then is that smtpserver sends maximum amount for that time unit then WAITS until it's ok to send again.

All the mail are finally send, just they get queued until it's done. That is not what I want.

I would like to have the possibility to warn the client and then reject further mail. Not delay to queue.

Is it possible? Should I instead use another parameter which is more sufficent for this task?

Most people recommend policyd on this but I would still prefer to do it within postfix if it is possible.

Would be very greatful for any help, thanks!
 

10 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

parsing config file to create new config files

Hi, I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below. I will be using the config file as mentioned below: (config.txt) country:a,b city:1,2 type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies

3. 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

4. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

5. UNIX for Advanced & Expert Users

postfix config: how to relay mails for only one user of a certain domain

Hello there, First of all I tell you that this is my first postfix installation so please be patient... I have following scenario: fetchmail --> postfix --> amavis-new --> postfix --> exchange 2010. Everything -except exchange ;-)- runs on an opensuse 12.1 box. Now, I have a list of... (0 Replies)
Discussion started by: lpacor
0 Replies

6. UNIX and Linux Applications

postfix config: how to relay mails for only one user of a certain domain

Hello there, First of all I tell you that this is my first postfix installation so please be patient... I have following scenario: fetchmail --> postfix --> amavis-new --> postfix --> exchange 2010. Everything -except exchange ;-)- runs on an opensuse 12.1 box. Now, I have a list of... (0 Replies)
Discussion started by: lpacor
0 Replies

7. UNIX for Dummies Questions & Answers

postfix config: how to relay mails for only one user of a certain domain

Hello there, First of all I tell you that this is my first postfix installation so please be patient... I have following scenario: fetchmail --> postfix --> amavis-new --> postfix --> exchange 2010. Everything -except exchange ;-)- runs on an opensuse 12.1 box. Now, I have a list of... (2 Replies)
Discussion started by: lpacor
2 Replies

8. 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

9. Red Hat

Apache virtual host config vs global config problem

Hi folks, I am trying to configure Apache webserver and also a virtual host inside this webserver. For Global server config: /var/www/html/index.html For virtual host config: /var/www/virtual/index.html Both client10 & www10 are pointing to 192.168.122.10 IP address. BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies

10. Windows & DOS: Issues & Discussions

(VS 2008) New build config looking files from other folder build config

Hi Team, My new build configuration always looking for the files from the build where i copied from. please help me to resolve this. I am using Visual studio 2008.It has Qt 4.8. plugins,qml,C++ development I created new debug_new build configuration with additional preprocessor from the... (1 Reply)
Discussion started by: SA_Palani
1 Replies
QMQPD(8)						      System Manager's Manual							  QMQPD(8)

NAME
qmqpd - Postfix QMQP server SYNOPSIS
qmqpd [generic Postfix daemon options] DESCRIPTION
The Postfix QMQP server receives one message per connection. Each message is piped through the cleanup(8) daemon, and is placed into the incoming queue as one single queue file. The program expects to be run from the master(8) process manager. The QMQP server implements one access policy: only explicitly authorized client hosts are allowed to use the service. SECURITY
The QMQP server is moderately security-sensitive. It talks to QMQP clients and to DNS servers on the network. The QMQP server can be run chrooted at fixed low privilege. DIAGNOSTICS
Problems and transactions are logged to syslogd(8). BUGS
The QMQP protocol provides only one server reply per message delivery. It is therefore not possible to reject individual recipients. The QMQP protocol requires the server to receive the entire message before replying. If a message is malformed, or if any netstring compo- nent is longer than acceptable, Postfix replies immediately and closes the connection. It is left up to the client to handle the situation. CONFIGURATION PARAMETERS
The following main.cf parameters are especially relevant to this program. See the Postfix main.cf file for syntax details and for default values. Use the postfix reload command after a configuration change. Miscellaneous always_bcc Address to send a copy of each message that enters the system. debug_peer_level Increment in verbose logging level when a remote host matches a pattern in the debug_peer_list parameter. debug_peer_list List of domain or network patterns. When a remote host matches a pattern, increase the verbose logging level by the amount specified in the debug_peer_level parameter. hopcount_limit Limit the number of Received: message headers. qmqpd_authorized_clients A list of domain or network patterns that specifies what clients are allowed to use the service. qmqpd_timeout Limit the time to send a server response and to receive a client request. soft_bounce Change hard (D) reject responses into soft (Z) reject responses. This can be useful for testing purposes. Content inspection controls content_filter The name of a mail delivery transport that filters mail and that either bounces mail or re-injects the result back into Postfix. This parameter uses the same syntax as the right-hand side of a Postfix transport table. Resource controls line_length_limit Limit the amount of memory in bytes used for the handling of partial input lines, and the length of sender and recipient addresses that are received from client. message_size_limit Limit the total size in bytes of a message, including on-disk storage for sender and recipient address information. Tarpitting qmqpd_error_sleep_time Time to wait in seconds before informing the client of a problem. This slows down run-away errors. SEE ALSO
http://cr.yp.to/proto/qmqp.html, QMQP protocol cleanup(8) message canonicalization master(8) process manager syslogd(8) system logging LICENSE
The Secure Mailer license must be distributed with this software. AUTHOR(S) Wietse Venema IBM T.J. Watson Research P.O. Box 704 Yorktown Heights, NY 10598, USA QMQPD(8)
All times are GMT -4. The time now is 01:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy