On 4 November 2012 17:17, Micka <mickamus...@gmail.com> wrote: > You also told me : " I noticed that you are listing the domain in > both mydestination and virtual_mailbox_domains. If this is a virtual > accounts setup, the domain should be in virtual_mailbox_domains, not > mydestination." > > How can i fix that ? how can i know if it is a virtual accounts setup ? > > Thx, > > On Sun, Nov 4, 2012 at 2:28 PM, Micka <mickamus...@gmail.com> wrote: > >> Thx for the help ! >> >> here it is the result : >> >> 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.$myhost >> name >> mydomain = ikoula.com >> myhostname = 32233hpv121216.ikoula.com >> mynetworks = 127.0.0.0/8 >> mynetworks_style = subnet >> myorigin = 32233hpv121216.ikoula.com >> proxy_read_maps = $canonical_maps $lmtp_generic_maps >> $local_recipient_maps $myde >> stination $mynetworks >> $recipient_bcc_maps $recipient_canonical_maps $relay_domai >> >> ns $relay_recipient_maps $relocated_maps $sender_bcc_maps >> $sender_canonical_maps >> $smtp_generic_maps >> $smtpd_sender_login_maps $transport_maps $virtual_alias_doma >> >> ins $virtual_alias_maps $virtual_mailbox_domains >> $virtual_mailbox_maps $smtpd_se >> nder_restrictions >> queue_run_delay = 300s >> readme_directory = no >> recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/ >> recipient_bcc_maps_domain.cf >> , >> proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf >> recipient_delimiter = + >> relay_domains = $mydestination, proxy:mysql:/etc/postfix/mysql/ >> relay_domains.cf >> relayhost = >> sender_bcc_maps = proxy:mysql:/etc/postfix/mysql/ >> sender_bcc_maps_domain.cf, prox >> >> y:mysql:/etc/postfix/mysql/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 (Debian/GNU) >> smtpd_data_restrictions = reject_unauth_pipelining >> smtpd_enforce_tls = no >> smtpd_helo_required = yes >> smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, >> check_hel >> o_access pcre:/etc/postfix/helo_access.pcre >> smtpd_recipient_restrictions = reject_unknown_sender_domain, >> reject_unknown_reci >> pient_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, re >> >> ject_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:mysql:/etc/postfix/mysql/ >> sender_login_maps.cf >> smtpd_sender_restrictions = permit_mynetworks, >> reject_sender_login_mismatch, per >> mit_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:mysql:/etc/postfix/mysql/transport_maps_user.cf, >> proxy:my >> sql:/etc/postfix/mysql/ >> transport_maps_domain.cf >> virtual_alias_domains = >> virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf, >> proxy >> :mysql:/etc/postfix/mysql/domain_alias_maps.cf, >> proxy:mysql:/etc/postfix/mysql/c >> atchall_maps.cf, >> proxy:mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf >> virtual_gid_maps = static:1003 >> virtual_mailbox_base = /var/vmail >> virtual_mailbox_domains = >> proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains >> >> .cf >> virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/ >> virtual_mailbox_maps.cf >> virtual_minimum_uid = 1003 >> virtual_transport = dovecot >> virtual_uid_maps = static:1003 >> >> What can i do to fix all of that ? >> > Just take $myhostname off mydestination. Also, looking at your configuration file, it is clearly seen that is a virtual user set up with mysql backend (virtual_* indicate that)
> >> On Sun, Nov 4, 2012 at 2:17 PM, Muzaffer <to...@ozses.net> wrote: >> >>> Hi Micka, >>> >>> Post the output of postconf -n please. Also, skimming through the >>> errors, I noticed that you are listing the domain in both mydestination and >>> virtual_mailbox_domains. If this is a virtual accounts setup, the domain >>> should be in virtual_mailbox_domains, not mydestination. >>> >>> >>> On 4 November 2012 14:48, Micka <mickamus...@gmail.com> wrote: >>> >>>> Hi, >>>> >>>> I just take back a control of a server. The server has a lot of >>>> problem, one of them is related to postfix. This is the log I got. Tons of >>>> them. >>>> I know that it's too much to ask for your help like that, but if you >>>> can give me an idea of what is going one, i will try to do something about >>>> that. >>>> >>>> Thx! >>>> >>>> Nov 4 13:31:36 ***france postfix/anvil[4224]: statistics: max >>>> connection rate 6/60s for (smtp:124.31.242.2) at Nov 4 13:28:14 >>>> Nov 4 13:31:36 ***france postfix/anvil[4224]: statistics: max >>>> connection count 2 for (smtp:124.31.242.2) at Nov 4 13:28:08 >>>> Nov 4 13:31:36 ***france postfix/anvil[4224]: statistics: max cache >>>> size 1 at Nov 4 13:27:35 >>>> Nov 4 13:34:37 ***france postfix/qmgr[2992]: 6639671CCD: >>>> from=<www-data@***hpv121216.ikoula.com>, size=1164, nrcpt=1 (queue >>>> active) >>>> Nov 4 13:34:58 ***france postfix/smtp[5388]: connect to >>>> example.org[192.0.43.10]:25: >>>> Connection timed out >>>> Nov 4 13:34:58 ***france postfix/smtp[5388]: 6639671CCD: to=< >>>> change-this-email-addr...@example.org>, relay=none, delay=54266, >>>> delays=54245/0.02/21/0, dsn=4.4.1, status=deferred (connect to >>>> example.org[192.0.43.10]:25: Connection timed out) >>>> >>>> or >>>> >>>> Nov 4 08:33:25 ***france postfix/qmgr[3183]: AB59F71D56: from=<>, >>>> size=2419, nrcpt=1 (queue active) >>>> Nov 4 08:33:25 ***france postfix/trivial-rewrite[24545]: warning: do >>>> not list domain 32233hpv121216.ikoula.com in BOTH mydestin >>>> ation and virtual_mailbox_domains >>>> Nov 4 08:33:39 ***france postfix/qmgr[3183]: 0E1FF71D00: removed >>>> Nov 4 08:33:39 ***france postfix/qmgr[3183]: D269F71CCA: from=<>, >>>> size=2419, nrcpt=1 (queue active) >>>> Nov 4 08:33:39 ***france postfix/qmgr[3183]: EBCDF71D4F: removed >>>> Nov 4 08:33:39 ***france postfix/qmgr[3183]: 0073F71D17: from=<>, >>>> size=2419, nrcpt=1 (queue active) >>>> Nov 4 08:33:39 ***france postfix/cleanup[25166]: 7F67F71CEB: >>>> message-id=<20121104073325.7f67f71...@32233hpv121216.ikoula.com> >>>> Nov 4 08:33:50 ***france postfix/qmgr[3183]: 016DF71D2A: from=<>, >>>> size=2419, nrcpt=1 (queue active) >>>> Nov 4 08:33:50 ***france postfix/cleanup[24672]: BAF9F71D03: >>>> message-id=<20121104073339.baf9f71...@32233hpv121216.ikoula.com> >>>> Nov 4 08:33:50 ***france postfix/cleanup[26142]: BAF9F71D07: >>>> message-id=<20121104073339.baf9f71...@32233hpv121216.ikoula.com> >>>> Nov 4 08:33:58 ***france postfix/pickup[14188]: 0B31F71D00: uid=0 >>>> from=<root> >>>> Nov 4 08:33:58 ***france postfix/cleanup[25182]: 0B31F71D00: >>>> message-id=<20121104073350.0b31f71...@32233hpv121216.ikoula.com> >>>> Nov 4 08:34:01 ***france postfix/smtp[26068]: connect to >>>> example.org[192.0.43.10]:25: >>>> Connection timed out >>>> Nov 4 08:34:02 ***france postfix/bounce[26032]: 0073F71CEF: sender >>>> non-delivery notification: 7F67F71CEB >>>> Nov 4 08:34:07 ***france postfix/pipe[25345]: 0073F71D17: to=< >>>> r...@32233hpv121216.ikoula.com>, relay=dovecot, delay=198, delays >>>> =171/10/0/17, dsn=5.1.1, status=bounced (user unknown) >>>> Nov 4 08:34:07 ***france postfix/bounce[25153]: 2A71F71CE6: sender >>>> non-delivery notification: BAF9F71D07 >>>> Nov 4 08:34:07 ***france postfix/bounce[25381]: D269F71CF9: sender >>>> non-delivery notification: BAF9F71D03 >>>> Nov 4 08:34:07 ***france postfix/smtp[26068]: 8097671CCF: to=< >>>> change-this-email-addr...@example.org>, relay=none, delay=36083, >>>> delays=36004/57/22/0, dsn=4.4.1, status=deferred (connect to >>>> example.org[192.0.43.10]:25: Connection timed out) >>>> Nov 4 08:34:07 ***france postfix/pipe[25351]: AB59F71D56: to=< >>>> r...@32233hpv121216.ikoula.com>, relay=dovecot, delay=180, delays >>>> =139/14/0/27, dsn=5.1.1, status=bounced (user unknown) >>>> >>>> >>>> thx, >>>> >>>> >>>> >>> >> >