View Single Post
  #17  
Old 10th September 2008, 00:16
dron dron is offline
Junior Member
 
Join Date: Feb 2008
Location: Opava, Czech republic
Posts: 10
Thanks: 6
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko View Post
What's the output of
Code:
repquota -avug | grep web4
?
here is... (but I deleted a lots of mails from admin account, so it took only 3845260bytes now])
Code:
web4_admin --  116748       0       0           3104     0     0
web4_user  --     264       0       0             34     0     0
web4_admin --   42580       0       0            952     0     0
web4_user  --     204       0       0             34     0     0
web4       --       0 2048000 2049024              0     0     0
web4       --  112648 2048000 2049024           3092     0     0
web4       --       0 2048000 2049024              0     0     0
web4       --   42608 2048000 2049024            986     0     0

Quote:
Originally Posted by falko View Post
What's in /etc/postfix/main.cf?
I made some changes here (I tried set-up greylisting but it didn't work as I expected so I comment out these changes and decided read more about it... one time...).

Code:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
mydestination = /etc/postfix/local-host-names
inet_interfaces = all

unknown_local_recipient_reject_code = 550

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

local_destination_concurrency_limit = 5
default_destination_concurrency_limit = 20

debug_peer_level = 2

debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes

smtpd_recipient_restrictions =
    permit_mynetworks,
    permit_auth_destination,
#    reject_unauth_destination,
#    check_policy_service  inet:127.0.0.1:10023,
    permit_sasl_authenticated,
    reject_unauth_destination,
    reject_invalid_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
    reject_unauth_pipelining,
    reject


mynetworks = 127.0.0.0/8
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
myhostname = hostname.myserver.net
home_mailbox = Maildir/
mailbox_command =

virtual_maps = hash:/etc/postfix/virtusertable
btw. I use centos 5.2.

thanx for your help and time, falko.
Reply With Quote