1

Topic: how to manage throttling with phpMyAdmin ?

Hi
I installed iremail0.7.4 stable with ldap backend on ubuntu-11.10.
it works.  how to manage throttling with phpMyAdmin ?
when i login to iredadmin, I wish to add an admin which has not global admin but I can't find it.
Namely, that admin will be resricted admin for a specify domain.
Could you help me ?
is there a document about these cases ?

thanks

==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version:
- iRedMail version and backend (LDAP/MySQL):
- Any related log? Log is helpful for troubleshooting.
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: how to manage throttling with phpMyAdmin ?

bulend wrote:

how to manage throttling with phpMyAdmin ?

Ubuntu 11.10 ships Policyd-2, which is not supported in iRedAdmin-Pro. But you can manage it with Policyd built-in webui via accessing: httpS://your_server.com/cluebringer/

bulend wrote:

when i login to iredadmin, I wish to add an admin which has not global admin but I can't find it.
Namely, that admin will be resricted admin for a specify domain.

You can create a new admin account as normal, but do not check the box "Mark as global admin". After created successfully, you will be redirected to profile page of this new admin account, it's now able to assign some domains to this admin account.

http://screenshots.iredmail.googlecode.com/hg/iredadmin/admin_create.png

3 (edited by bulend 2012-01-24 23:54:27)

Re: how to manage throttling with phpMyAdmin ?

I use iredadmin I haven't bought iredmail yet. Therefore I think that I can't see the button named "mark as global admin"
I set it ldapadmin changing domainGlobalAdmin > no instead of yes . my new admin is not globaladmin anymore.
But I can't associate the limited admin user with that domain.
How can I do that ? 

Also I can't reach to https://192.168.0.250/cluebringer/
I get an error
You don't have permission to access /cluebringer/ on this server.

/etc/init.d/postfix-cluebringer status
* cbpolicyd is running

any advice ?

4

Re: how to manage throttling with phpMyAdmin ?

hi bulend,

iRedAdmin open source edition doesn't support resricting admin for a specify domain, i suggest you go iRedAdmin-Pro instead.
Here's feature list of iRedAdmin-Pro: http://www.iredmail.org/admin_panel.html

5

Re: how to manage throttling with phpMyAdmin ?

Ok

I'll buy iredmail-pro
I want to manage throttling for users.
I use ubuntu11.

But. Also I can't reach to https://192.168.0.250/cluebringer/
I get an error
You don't have permission to access /cluebringer/ on this server.

/etc/init.d/postfix-cluebringer status
* cbpolicyd is running

any advice ?

6

Re: how to manage throttling with phpMyAdmin ?

bulend wrote:

You don't have permission to access /cluebringer/ on this server.

Does it prompt you to input username/password? You should input global admin username/password to login.

7

Re: how to manage throttling with phpMyAdmin ?

Ok
after I added my ip as allowed into the cluebringer.conf, I could  see  login prompt. But I could not login as user or pass was fail.
I use ldap backend. How can I login it ?

8

Re: how to manage throttling with phpMyAdmin ?

Could you please paste file content of /etc/apache2/conf.d/cluebringer.conf? HIDE/REPLACE password before posting.

9

Re: how to manage throttling with phpMyAdmin ?

#
# File generated by iRedMail (2012.01.21.22.01.35):
# Version:  0.7.4
# Project:  http://www.iredmail.org/
# Community: http://www.iredmail.org/forum/
# SECURITY WARNING:
#
# Since libapache2-mod-auth-mysql doesn't support advance SQL query, both
# global admins and normal domain admins are able to login to this webui.
# Note: Please refer to /etc/apache2/sites-available/default-ssl for SSL/TLS setting.
<Directory /usr/share/postfix-cluebringer-webui/webui/>
    DirectoryIndex index.php
    Options ExecCGI
    Order allow,deny
    allow from 127.0.0.1
    allow from 192.168.15.220
    AuthName "Authorization Required"
    AuthType Basic
    AuthBasicProvider ldap
    AuthzLDAPAuthoritative   Off
    AuthLDAPUrl   ldap://127.0.0.1:389/o=domainAdmins,dc=test,dc=org?mail?sub?(&(objectclass=mailAdmin)(accountStatus=active)(domainGlobalAdmin=yes))
    AuthLDAPBindDN "cn=vmail,dc=test,dc=org"
    AuthLDAPBindPassword "xxxxxxxx"
    Require valid-user
</Directory>

10

Re: how to manage throttling with phpMyAdmin ?

cluebringer.conf is ok, you can login with global domain admin. for example, the one created during iRedMail installation - postmaster@xxx.xx

11

Re: how to manage throttling with phpMyAdmin ?

I tried what you said but I failed to login. I ignored required the user . I could manage to cluebringer. But I couldn't change anything  this time.
 
I want to uninstall iredmail after that I want to install it again.
How can I do that ?

12

Re: how to manage throttling with phpMyAdmin ?

The best way to re-install iRedMail is re-installing OS then iRedMail.
If you cannot re-install OS, try this script "clear_iredmail.sh":
https://bitbucket.org/zhb/iredmail/src/ … 4aab/extra

13

Re: how to manage throttling with phpMyAdmin ?

Hello

I reinstalled iredmail on ubuntu11.10 server.
I can login at the https://serverip/cluebringer
But i can't see how I can manage throttling there . because many options in there don't seem to work or inactive.
I attached it about my problem
Can you give me an example about that ?

thanks

14

Re: how to manage throttling with phpMyAdmin ?

Please refer to Policyd-2 document here: http://www.policyd.org/content/modules

IMO, Policyd-2.x is not that clearer than Policyd-1.x, its own webui makes me confused, official document is not that clear too.

15

Re: how to manage throttling with phpMyAdmin ?

when i try to send a mail i get an error;
tail -f /var/log/cbpolicyd.log
[2012/03/11-07:13:48 - 7225] [CBPOLICYD] WARNING: Failed to connect to database: Error connecting to database: Access denied for user 'cluebringer'@'localhost' (using password: YES) (7225)
but i can login with clubringer into mysql

is that problem related to password scheme ?
meanwhile, i can manage and login at the https://myserver/cluebringer/
how can i fix it ?

Post's attachments

clue.png 67.25 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

16

Re: how to manage throttling with phpMyAdmin ?

Do you have correct MySQL username/password in clue bringer config file? They should be /etc/cluebringer/cluebringer*.conf.

17

Re: how to manage throttling with phpMyAdmin ?

Ok  i figured out my login problem to the cluebringer.

i set some values to limit outgoing mail counts in sort of someone@test.com . But i can send more count mails than i set the value.

how can i solve this  ?

18

Re: how to manage throttling with phpMyAdmin ?

Please post output of command 'postconf -n' here, so that others can help troubleshoot.

19

Re: how to manage throttling with phpMyAdmin ?

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
append_dot_mydomain = no
biff = no
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
delay_warning_time = 0h
disable_vrfy_command = yes
enable_original_recipient = no
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = ipv4
mailbox_command = /usr/lib/dovecot/deliver
mailbox_size_limit = 0
maximal_backoff_time = 4000s
maximal_queue_lifetime = 1d
message_size_limit = 15728640
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
mydomain = test.net
myhostname = postfix1.test.net.tr
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = postfix1.test.net.tr
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions
queue_run_delay = 300s
readme_directory = no
recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:ldap:/etc/postfix/ldap/relay_domains.cf
relayhost =
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf
smtp_data_init_timeout = 240s
smtp_data_xfer_timeout = 600s
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:10031
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain =
smtpd_sasl_path = ./dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
smtpd_tls_CAfile = /etc/ssl/certs/iRedMail_CA.pem
smtpd_tls_cert_file = /etc/ssl/certs/iRedMail_CA.pem
smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
smtpd_tls_loglevel = 0
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap/transport_maps_domain.cf
virtual_alias_domains =
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap/virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap/virtual_group_maps.cf, proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap/catchall_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = dovecot
virtual_uid_maps = static:1001

20

Re: how to manage throttling with phpMyAdmin ?

bulend wrote:

Ok  i figured out my login problem to the cluebringer.

How did you solve it?

bulend wrote:

i set some values to limit outgoing mail counts in sort of someone@test.com . But i can send more count mails than i set the value.

How did you set limitations?

21

Re: how to manage throttling with phpMyAdmin ?

How did you solve it?
i reset login info cluebringer-webui.conf and cluebringer.conf


How did you set limitations?
I set by https://10.11.1.190/cluebringer/quotas-main.php

for sender@domain.com in outbound , I set counter limit at 1/3600 period in order to check system . but I can send 5 mails as simultane.

22

Re: how to manage throttling with phpMyAdmin ?

Please set 'log_level = 4' in cluebringer.conf to see why limitation doesn't work.

23

Re: how to manage throttling with phpMyAdmin ?

Ok I set debug=4  and then I sent 5 mails as concurrent
mail.log;
Mar 22 10:13:37 postfix1 amavis[838]: starting.  /usr/sbin/amavisd-new at postfix1.test.com amavisd-new-2.6.5 (20110407), Unicod
e aware
Mar 22 10:13:37 postfix1 amavis[838]: Perl version               5.012004
Mar 22 10:13:38 postfix1 amavis[934]: Net::Server: Group Not Defined.  Defaulting to EGID '120 120'
Mar 22 10:13:38 postfix1 amavis[934]: Net::Server: User Not Defined.  Defaulting to EUID '111'
Mar 22 10:13:38 postfix1 amavis[934]: Module Amavis::Conf        2.208
Mar 22 10:13:38 postfix1 amavis[934]: Module Archive::Zip        1.30
Mar 22 10:13:38 postfix1 amavis[934]: Module BerkeleyDB          0.48
Mar 22 10:13:38 postfix1 amavis[934]: Module Compress::Zlib      2.024
Mar 22 10:13:38 postfix1 amavis[934]: Module Convert::TNEF       0.17
Mar 22 10:13:38 postfix1 amavis[934]: Module Convert::UUlib      1.4
Mar 22 10:13:38 postfix1 amavis[934]: Module Crypt::OpenSSL::RSA 0.27
Mar 22 10:13:38 postfix1 amavis[934]: Module DBD::mysql          4.019
Mar 22 10:13:38 postfix1 amavis[934]: Module DBI                 1.616
Mar 22 10:13:38 postfix1 amavis[934]: Module DB_File             1.82
Mar 22 10:13:38 postfix1 amavis[934]: Module Digest::MD5         2.39
Mar 22 10:13:38 postfix1 amavis[934]: Module Digest::SHA         5.47
Mar 22 10:13:38 postfix1 amavis[934]: Module IO::Socket::INET6   2.65
Mar 22 10:13:38 postfix1 amavis[934]: Module MIME::Entity        5.502
Mar 22 10:13:38 postfix1 amavis[934]: Module MIME::Parser        5.502
Mar 22 10:13:38 postfix1 amavis[934]: Module MIME::Tools         5.502
Mar 22 10:13:38 postfix1 amavis[934]: Module Mail::DKIM::Signer  0.39
Mar 22 10:13:38 postfix1 amavis[934]: Module Mail::DKIM::Verifier 0.39
Mar 22 10:13:38 postfix1 amavis[934]: Module Mail::Header        2.08
Mar 22 10:13:38 postfix1 amavis[934]: Module Mail::Internet      2.08
Mar 22 10:13:38 postfix1 amavis[934]: Module Mail::SPF           v2.007
Mar 22 10:13:38 postfix1 amavis[934]: Module Mail::SpamAssassin  3.003002
Mar 22 10:13:38 postfix1 amavis[934]: Module Net::DNS            0.66
Mar 22 10:13:38 postfix1 amavis[934]: Module Net::LDAP           0.4001
Mar 22 10:13:38 postfix1 amavis[934]: Module Net::Server         0.99
Mar 22 10:13:38 postfix1 amavis[934]: Module NetAddr::IP         4.044
Mar 22 10:13:38 postfix1 amavis[934]: Module Socket6             0.23
Mar 22 10:13:38 postfix1 amavis[934]: Module Time::HiRes         1.9719
Mar 22 10:13:38 postfix1 amavis[934]: Module URI                 1.58
Mar 22 10:13:38 postfix1 amavis[934]: Module Unix::Syslog        1.1
Mar 22 10:13:38 postfix1 amavis[934]: Amavis::DB code      loaded
Mar 22 10:13:38 postfix1 amavis[934]: Amavis::Cache code   loaded
Mar 22 10:13:38 postfix1 amavis[934]: SQL base code        loaded
Mar 22 10:13:38 postfix1 amavis[934]: SQL::Log code        loaded
Mar 22 10:13:38 postfix1 amavis[934]: SQL::Quarantine      NOT loaded
Mar 22 10:13:38 postfix1 amavis[934]: Lookup::SQL code     NOT loaded
Mar 22 10:13:38 postfix1 amavis[934]: Lookup::LDAP code    loaded
Mar 22 10:13:38 postfix1 amavis[934]: AM.PDP-in proto code loaded
Mar 22 10:13:38 postfix1 amavis[934]: SMTP-in proto code   loaded
Mar 22 10:13:38 postfix1 amavis[934]: Courier proto code   NOT loaded
Mar 22 10:13:38 postfix1 amavis[934]: SMTP-out proto code  loaded
Mar 22 10:13:38 postfix1 amavis[934]: Pipe-out proto code  NOT loaded
Mar 22 10:13:38 postfix1 amavis[934]: BSMTP-out proto code NOT loaded
Mar 22 10:13:38 postfix1 amavis[934]: Local-out proto code loaded
Mar 22 10:13:38 postfix1 amavis[934]: OS_Fingerprint code  NOT loaded
Mar 22 10:13:38 postfix1 amavis[934]: ANTI-VIRUS code      loaded
Mar 22 10:13:38 postfix1 amavis[934]: ANTI-SPAM code       loaded
Mar 22 10:13:38 postfix1 amavis[934]: ANTI-SPAM-EXT code   NOT loaded
Mar 22 10:13:38 postfix1 amavis[934]: ANTI-SPAM-C code     NOT loaded
Mar 22 10:13:38 postfix1 amavis[934]: ANTI-SPAM-SA code    loaded
Mar 22 10:13:38 postfix1 amavis[934]: Unpackers code       loaded
Mar 22 10:13:38 postfix1 amavis[934]: DKIM code            loaded
Mar 22 10:13:38 postfix1 amavis[934]: Tools code           NOT loaded
Mar 22 10:13:38 postfix1 amavis[934]: Found $file            at /usr/bin/file
Mar 22 10:13:38 postfix1 amavis[934]: Found $altermime       at /usr/bin/altermime
Mar 22 10:13:38 postfix1 amavis[934]: Internal decoder for .mail
Mar 22 10:13:38 postfix1 amavis[934]: No decoder for       .F   
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .Z    at /bin/uncompress
Mar 22 10:13:38 postfix1 amavis[934]: Internal decoder for .gz 
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .bz2  at /bin/bzip2 -d
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .lzo  at /usr/bin/lzop -d
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .rpm  at /usr/bin/rpm2cpio
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .cpio at /usr/bin/pax
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .tar  at /usr/bin/pax
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .deb  at /usr/bin/ar
Mar 22 10:13:38 postfix1 amavis[934]: Internal decoder for .zip
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .7z   at /usr/bin/7zr
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .rar  at /usr/bin/unrar-free
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .arj  at /usr/bin/arj
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .arc  at /usr/bin/nomarch
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .zoo  at /usr/bin/zoo
Mar 22 10:13:38 postfix1 amavis[934]: No decoder for       .lha
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .doc  at /usr/bin/ripole
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .cab  at /usr/bin/cabextract
Mar 22 10:13:38 postfix1 amavis[934]: No decoder for       .tnef
Mar 22 10:13:38 postfix1 amavis[934]: Internal decoder for .tnef
Mar 22 10:13:38 postfix1 amavis[934]: Found decoder for    .exe  at /usr/bin/unrar-free; /usr/bin/arj
Mar 22 10:13:38 postfix1 amavis[934]: Using primary internal av scanner code for ClamAV-clamd
Mar 22 10:13:38 postfix1 amavis[934]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Mar 22 10:13:38 postfix1 amavis[934]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.48, libdb 5.1
Mar 22 10:13:45 postfix1 postfix/master[1548]: daemon started -- version 2.8.5, configuration /etc/postfix
Mar 22 10:18:45 postfix1 postfix/qmgr[1551]: 2FD371020F31: from=<bulend@test.com>, size=6556, nrcpt=1 (queue active)
Mar 22 10:18:45 postfix1 postfix/qmgr[1551]: 1DB731020F55: from=<bulend@test.com>, size=6554, nrcpt=1 (queue active)
Mar 22 10:18:47 postfix1 postfix/smtp[1615]: 2FD371020F31: to=<maslakbulend@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.70.2
6]:25, delay=453, delays=451/0.18/0.2/1.4, dsn=2.0.0, status=sent (250 2.0.0 OK 1332404327 r59si4302079weq.123)
Mar 22 10:18:47 postfix1 postfix/qmgr[1551]: 2FD371020F31: removed
Mar 22 10:18:47 postfix1 postfix/smtp[1616]: 1DB731020F55: to=<ymmaslak@hotmail.com>, relay=mx2.hotmail.com[65.54.188.110]:25, delay
=452, delays=450/0.05/0.78/0.97, dsn=2.0.0, status=sent (250  <04ad01cd0803$552b2f30$ff818d90$@test.com> Queued mail for delivery)
Mar 22 10:18:47 postfix1 postfix/qmgr[1551]: 1DB731020F55: removed
Mar 22 10:21:29 postfix1 postfix/smtpd[1800]: connect from unknown[10.11.1.247]
Mar 22 10:21:30 postfix1 postfix/smtpd[1800]: 061561020F2D: client=unknown[10.11.1.247], sasl_method=LOGIN, sasl_username=bulend@test
.com
Mar 22 10:21:34 postfix1 postfix/cleanup[1804]: 061561020F2D: message-id=<04be01cd0804$c85afcf0$5910f6d0$@test.com>
Mar 22 10:21:34 postfix1 postfix/qmgr[1551]: 061561020F2D: from=<bulend@test.com>, size=5619, nrcpt=5 (queue active)
Mar 22 10:21:34 postfix1 postfix/smtpd[1815]: connect from localhost[127.0.0.1]
Mar 22 10:21:34 postfix1 postfix/smtpd[1815]: BB8EF1020F31: client=localhost[127.0.0.1]
Mar 22 10:21:34 postfix1 postfix/cleanup[1804]: BB8EF1020F31: message-id=<04be01cd0804$c85afcf0$5910f6d0$@test.com>
Mar 22 10:21:34 postfix1 postfix/smtpd[1816]: connect from localhost[127.0.0.1]
Mar 22 10:21:34 postfix1 postfix/smtpd[1816]: BF5241020F3A: client=localhost[127.0.0.1]
Mar 22 10:21:34 postfix1 postfix/cleanup[1817]: BF5241020F3A: message-id=<04be01cd0804$c85afcf0$5910f6d0$@test.com>
Mar 22 10:21:34 postfix1 postfix/smtpd[1815]: disconnect from localhost[127.0.0.1]
Mar 22 10:21:34 postfix1 postfix/qmgr[1551]: BB8EF1020F31: from=<bulend@test.com>, size=6549, nrcpt=1 (queue active)
Mar 22 10:21:34 postfix1 amavis[1185]: (01185-01) Passed CLEAN, MYNETS/MYUSERS LOCAL [10.11.1.247] [10.11.1.247] <bulend@test.com> ->
<maslak@test.com>, Message-ID: <04be01cd0804$c85afcf0$5910f6d0$@test.com>, mail_id: Czdj8PlCFbsH, Hits: -9.997, size: 5619, que
ued_as: BB8EF1020F31, 702 ms
Mar 22 10:21:34 postfix1 postfix/qmgr[1551]: BF5241020F3A: from=<bulend@test.com>, size=6553, nrcpt=1 (queue active)
Mar 22 10:21:34 postfix1 postfix/smtpd[1816]: disconnect from localhost[127.0.0.1]
Mar 22 10:21:35 postfix1 amavis[1186]: (01186-01) Passed CLEAN, MYNETS/MYUSERS LOCAL [10.11.1.247] [10.11.1.247] <bulend@test.com> ->
<maslakbulend@gmail.com>, Message-ID: <04be01cd0804$c85afcf0$5910f6d0$@test.com>, mail_id: l6tPo6EJa1GE, Hits: -9.997, size: 5619, q
ueued_as: BF5241020F3A, 763 ms
Mar 22 10:21:35 postfix1 postfix/smtp[1807]: 061561020F2D: to=<maslak@test.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=5.1, de
lays=4.3/0.01/0.01/0.81, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as BB8EF1020F31)
Mar 22 10:21:35 postfix1 postfix/smtp[1808]: 061561020F2D: to=<maslakbulend@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=5.2,
delays=4.3/0.01/0.01/0.86, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as BF5241020F3A)
Mar 22 10:21:35 postfix1 postfix/smtpd[1815]: connect from localhost[127.0.0.1]
Mar 22 10:21:35 postfix1 postfix/smtpd[1815]: 3055B1020F4D: client=localhost[127.0.0.1]
Mar 22 10:21:35 postfix1 postfix/cleanup[1804]: 3055B1020F4D: message-id=<04be01cd0804$c85afcf0$5910f6d0$@test.com>
Mar 22 10:21:35 postfix1 postfix/smtpd[1816]: connect from localhost[127.0.0.1]
Mar 22 10:21:35 postfix1 postfix/smtpd[1816]: 3F25E1020F55: client=localhost[127.0.0.1]
Mar 22 10:21:35 postfix1 postfix/cleanup[1817]: 3F25E1020F55: message-id=<04be01cd0804$c85afcf0$5910f6d0$@test.com>
Mar 22 10:21:35 postfix1 postfix/qmgr[1551]: 3055B1020F4D: from=<bulend@test.com>, size=6561, nrcpt=1 (queue active)
Mar 22 10:21:35 postfix1 amavis[1185]: (01185-02) Passed CLEAN, MYNETS/MYUSERS LOCAL [10.11.1.247] [10.11.1.247] <bulend@test.com> ->
<bulend.maslak@test.com>, Message-ID: <04be01cd0804$c85afcf0$5910f6d0$@test.com>, mail_id: hrxEFEgrmAfF, Hits: -9.997, size: 561
9, queued_as: 3055B1020F4D, 210 ms
Mar 22 10:21:35 postfix1 postfix/qmgr[1551]: 3F25E1020F55: from=<bulend@test.com>, size=6547, nrcpt=1 (queue active)
Mar 22 10:21:35 postfix1 amavis[1186]: (01186-02) Passed CLEAN, MYNETS/MYUSERS LOCAL [10.11.1.247] [10.11.1.247] <bulend@test.com> ->
<bulend@test.com>, Message-ID: <04be01cd0804$c85afcf0$5910f6d0$@test.com>, mail_id: FCdFBrwxjO3E, Hits: -9.997, size: 5619, queu
ed_as: 3F25E1020F55, 234 ms
Mar 22 10:21:35 postfix1 postfix/smtp[1807]: 061561020F2D: to=<bulend.maslak@test.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=5
.4, delays=4.3/0.83/0.01/0.3, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3055B1020F4D)
Mar 22 10:21:35 postfix1 postfix/smtp[1808]: 061561020F2D: to=<bulend@test.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=5.5, del
ays=4.3/0.88/0.01/0.3, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3F25E1020F55)
Mar 22 10:21:35 postfix1 postfix/smtpd[1815]: 7BB1E1020F56: client=localhost[127.0.0.1]
Mar 22 10:21:35 postfix1 postfix/cleanup[1804]: 7BB1E1020F56: message-id=<04be01cd0804$c85afcf0$5910f6d0$@test.com>
Mar 22 10:21:36 postfix1 postfix/qmgr[1551]: 7BB1E1020F56: from=<bulend@test.com>, size=6551, nrcpt=1 (queue active)
Mar 22 10:21:36 postfix1 amavis[1185]: (01185-03) Passed CLEAN, MYNETS/MYUSERS LOCAL [10.11.1.247] [10.11.1.247] <bulend@test.com> ->
<ymmaslak@hotmail.com>, Message-ID: <04be01cd0804$c85afcf0$5910f6d0$@test.com>, mail_id: cCPRWZ4UWdKi, Hits: -9.997, size: 5619, qu
eued_as: 7BB1E1020F56, 1233 ms
Mar 22 10:21:36 postfix1 postfix/smtp[1807]: 061561020F2D: to=<ymmaslak@hotmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.7, d
elays=4.3/1.1/0/1.3, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 7BB1E1020F56)
Mar 22 10:21:36 postfix1 postfix/qmgr[1551]: 061561020F2D: removed
Mar 22 10:21:36 postfix1 postfix/smtpd[1800]: disconnect from unknown[10.11.1.247]
Mar 22 10:21:36 postfix1 postfix/smtp[1819]: BF5241020F3A: to=<maslakbulend@gmail.com>, relay=gmail-smtp-in.l.google.com[173.194.70.2
6]:25, delay=2, delays=0.15/0.07/0.65/1.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1332404496 u37si4339771weq.25)
Mar 22 10:21:36 postfix1 postfix/qmgr[1551]: BF5241020F3A: removed
Mar 22 10:21:37 postfix1 postfix/smtp[1825]: 7BB1E1020F56: to=<ymmaslak@hotmail.com>, relay=mx2.hotmail.com[65.55.92.152]:25, delay=
2.3, delays=1.1/0.01/0.47/0.74, dsn=2.0.0, status=sent (250  <04be01cd0804$c85afcf0$5910f6d0$@test.com> Queued mail for delivery)
Mar 22 10:21:37 postfix1 postfix/qmgr[1551]: 7BB1E1020F56: removed
Mar 22 10:22:16 postfix1 postfix/smtp[1818]: BB8EF1020F31: to=<maslak@test.com>, relay=mailhub2.test.com[213.238.128.252]:25
, delay=42, delays=0.16/0.07/36/4.9, dsn=2.0.0, status=sent (250 ok 1332404535 qp 88169)
Mar 22 10:22:16 postfix1 postfix/qmgr[1551]: BB8EF1020F31: removed
Mar 22 10:22:18 postfix1 postfix/smtp[1823]: 3F25E1020F55: to=<bulend@test.com>, relay=mailhub2.test.com[213.238.128.252]:25,
delay=43, delays=0.08/0.01/36/7, dsn=2.0.0, status=sent (250 ok 1332404537 qp 88172)
Mar 22 10:22:18 postfix1 postfix/qmgr[1551]: 3F25E1020F55: removed
Mar 22 10:22:18 postfix1 postfix/smtp[1822]: 3055B1020F4D: to=<bulend.maslak@test.com>, relay=mailhub2.test.com[213.238.128.2
52]:25, delay=44, delays=0.07/0.01/36/7.5, dsn=2.0.0, status=sent (250 ok 1332404537 qp 88171)
Mar 22 10:22:18 postfix1 postfix/qmgr[1551]: 3055B1020F4D: removed

24

Re: how to manage throttling with phpMyAdmin ?

Where's cluebringer log? It should be logged in /var/log/cbpolicyd or /var/log/rsyslog

25

Re: how to manage throttling with phpMyAdmin ?

Ok i sent 6 mails concurrently

cat /var/log/cbpolicyd.log

[2012/03/22-15:09:38 - 1254] [CORE] NOTICE: Process Backgrounded
[2012/03/22-15:09:38 - 1254] [CBPOLICYD] NOTICE: Policyd v2 / Cluebringer - v2.0.11a-debian
[2012/03/22-15:09:38 - 1254] [CBPOLICYD] NOTICE: Initializing system modules.
[2012/03/22-15:09:38 - 1254] [CBPOLICYD] NOTICE: System modules initialized.
[2012/03/22-15:09:38 - 1254] [CBPOLICYD] NOTICE: Module load started...
[2012/03/22-15:09:38 - 1254] [CORE] NOTICE:   => AccessControl: enabled
[2012/03/22-15:09:38 - 1254] [CORE] NOTICE:   => CheckHelo: enabled
[2012/03/22-15:09:38 - 1254] [CORE] NOTICE:   => CheckSPF: enabled
[2012/03/22-15:09:38 - 1254] [CORE] NOTICE:   => Greylisting: enabled
[2012/03/22-15:09:38 - 1254] [CORE] NOTICE:   => Quotas: enabled
[2012/03/22-15:09:38 - 1254] [CORE] NOTICE:   => Protocol(Postfix): enabled
[2012/03/22-15:09:38 - 1254] [CORE] NOTICE:   => Protocol(Bizanga): enabled
[2012/03/22-15:09:38 - 1254] [CBPOLICYD] NOTICE: Module load done.
[2012/03/22-15:09:38 - 1254] [CBPOLICYD] DEBUG: Opening syslog, destination = 'native', facility = 'mail'.
[2012/03/22-15:09:38 - 1254] [CORE] NOTICE: 2012/03/22-15:09:38 cbp (type Net::Server::PreFork) starting! pid(1254)
[2012/03/22-15:09:38 - 1254] [CORE] NOTICE: Using default listen value of 128
[2012/03/22-15:09:38 - 1254] [CORE] NOTICE: Binding to TCP port 10031 on host 127.0.0.1
[2012/03/22-15:09:38 - 1254] [CORE] INFO: Setting up serialization via flock
[2012/03/22-15:09:38 - 1254] [CORE] INFO: Beginning prefork (4 processes)
[2012/03/22-15:09:38 - 1254] [CORE] INFO: Starting "4" children
[2012/03/22-15:09:38 - 1278] [CORE] DEBUG: Child Preforked (1278)
[2012/03/22-15:09:38 - 1278] [CBPOLICYD] DEBUG: Starting up caching engine
[2012/03/22-15:09:38 - 1254] [CORE] DEBUG: Parent ready for children.
[2012/03/22-15:09:38 - 1281] [CORE] DEBUG: Child Preforked (1281)
[2012/03/22-15:09:38 - 1281] [CBPOLICYD] DEBUG: Starting up caching engine
[2012/03/22-15:09:38 - 1280] [CORE] DEBUG: Child Preforked (1280)
[2012/03/22-15:09:38 - 1280] [CBPOLICYD] DEBUG: Starting up caching engine
[2012/03/22-15:09:38 - 1279] [CORE] DEBUG: Child Preforked (1279)
[2012/03/22-15:09:38 - 1279] [CBPOLICYD] DEBUG: Starting up caching engine
[2012/03/22-15:12:09 - 1254] [CORE] INFO: Starting "1" children
[2012/03/22-15:12:09 - 1278] [CORE] INFO: 2012/03/22-15:12:09 CONNECT TCP Peer: "127.0.0.1:55646" Local: "127.0.0.1:10031"
[2012/03/22-15:12:09 - 1816] [CORE] DEBUG: Child Preforked (1816)
[2012/03/22-15:12:09 - 1816] [CBPOLICYD] DEBUG: Starting up caching engine
[2012/03/22-15:12:10 - 1281] [CORE] INFO: 2012/03/22-15:12:10 CONNECT TCP Peer: "127.0.0.1:55656" Local: "127.0.0.1:10031"
[2012/03/22-15:12:10 - 1279] [CORE] INFO: 2012/03/22-15:12:10 CONNECT TCP Peer: "127.0.0.1:55660" Local: "127.0.0.1:10031"
[2012/03/22-15:12:10 - 1280] [CORE] INFO: 2012/03/22-15:12:10 CONNECT TCP Peer: "127.0.0.1:55664" Local: "127.0.0.1:10031"
[2012/03/22-15:12:11 - 1278] [CORE] INFO: 2012/03/22-15:12:11 CONNECT TCP Peer: "127.0.0.1:55668" Local: "127.0.0.1:10031"
[2012/03/22-15:12:11 - 1281] [CORE] INFO: 2012/03/22-15:12:11 CONNECT TCP Peer: "127.0.0.1:55671" Local: "127.0.0.1:10031"
[2012/03/22-15:12:12 - 1280] [CORE] INFO: 2012/03/22-15:12:12 CONNECT TCP Peer: "127.0.0.1:55673" Local: "127.0.0.1:10031"