Discussion:
Error con postfix y dominios virtuales con mysql
Manuel Viscencio
2014-02-11 04:59:29 UTC
Permalink
Buenas noches , estoy atorado en el proceso de configuracion de un
postfix + mysql para manejar dominios virtuales, cuando el postfix
lo pongo a trabajar sin la configuracion de mysql funciona a la perfeccion
pero cuando activo las cosas virtuales empieza mi pesadilla:

Version de postfix:
postfix-2.10.2-2
Version de mysql o mariadb:
mariadb-5.5.34-2


los logs de error:
feb 10 23:50:25 x_server postfix/pickup[32088]: warning:
maildrop/9CD216C0056: error writing ACB646C0057: queue file write error
feb 10 23:50:25 x_server postfix/master[32087]: warning: process
/usr/lib64/postfix/cleanup pid 32764 killed by signal 6
feb 10 23:50:25 x_server postfix/master[32087]: warning:
/usr/lib64/postfix/cleanup: bad command startup -- throttling

salida del comando postconf -n:
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib64/postfix
data_directory = /var/lib/postfix
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
inet_protocols = all
lmtp-filter_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost, localhost.localdomain
myhostname = domainx.mx
mynetworks = 127.0.0.0/8
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps
$virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains
$relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps
$recipient_canonical_maps $relocated_maps $transport_maps $mynetworks #
$virtual_mailbox_limit_maps
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix/README_FILES
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp-filter_destination_concurrency_limit = 2
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtp_tls_security_level = may
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mageia Linux)
smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
unknown_local_recipient_reject_code = 450
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/
mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000
postconf: warning: /etc/postfix/main.cf: unused parameter:
virtual_overquota_bounce=yes
postconf: warning: /etc/postfix/main.cf: unused parameter:
virtual_maildir_limit_message="The user you are trying to reach is over
quota."
postconf: warning: /etc/postfix/main.cf: unused parameter:
virtual_create_maildirsize=yes
postconf: warning: /etc/postfix/main.cf: unused parameter:
virtual_maildir_extended=yes
postconf: warning: /etc/postfix/main.cf: unused parameter:
virtual_mailbox_limit_override=yes


El servidor corre un mageia 4 recien instalado.

PD, me paso lo mismo con mageia 3, por eso migre a 4.

Saludos desde ya, y agradesco sus atenciones
Jose Pablo Rojas
2014-02-11 16:15:42 UTC
Permalink
Yo use este manual y me funcionó perfectamente

http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-debian-wheezy
Post by Manuel Viscencio
Buenas noches , estoy atorado en el proceso de configuracion de un
postfix + mysql para manejar dominios virtuales, cuando el postfix
lo pongo a trabajar sin la configuracion de mysql funciona a la perfeccion
postfix-2.10.2-2
mariadb-5.5.34-2
maildrop/9CD216C0056: error writing ACB646C0057: queue file write error
feb 10 23:50:25 x_server postfix/master[32087]: warning: process
/usr/lib64/postfix/cleanup pid 32764 killed by signal 6
/usr/lib64/postfix/cleanup: bad command startup -- throttling
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib64/postfix
data_directory = /var/lib/postfix
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
inet_protocols = all
lmtp-filter_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost, localhost.localdomain
myhostname = domainx.mx
mynetworks = 127.0.0.0/8
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps
$virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains
$relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps
$recipient_canonical_maps $relocated_maps $transport_maps $mynetworks #
$virtual_mailbox_limit_maps
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix/README_FILES
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp-filter_destination_concurrency_limit = 2
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtp_tls_security_level = may
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mageia Linux)
smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
unknown_local_recipient_reject_code = 450
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/
mysql-virtual_domains.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/
mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000
virtual_overquota_bounce=yes
virtual_maildir_limit_message="The user you are trying to reach is over
quota."
virtual_create_maildirsize=yes
virtual_maildir_extended=yes
virtual_mailbox_limit_override=yes
El servidor corre un mageia 4 recien instalado.
PD, me paso lo mismo con mageia 3, por eso migre a 4.
Saludos desde ya, y agradesco sus atenciones
_______________________________________________
List de correo postfix-es para tratar temas del MTA postfix en español
http://lists.wl0.org/mailman/listinfo/postfix-es
Manuel Viscencio
2014-02-11 16:45:20 UTC
Permalink
si ya revise ese manual , pero no veo ninguna luz.
Gracias
Post by Jose Pablo Rojas
Yo use este manual y me funcionó perfectamente
http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-debian-wheezy
Post by Manuel Viscencio
Buenas noches , estoy atorado en el proceso de configuracion de un
postfix + mysql para manejar dominios virtuales, cuando el postfix
lo pongo a trabajar sin la configuracion de mysql funciona a la perfeccion
postfix-2.10.2-2
mariadb-5.5.34-2
maildrop/9CD216C0056: error writing ACB646C0057: queue file write error
feb 10 23:50:25 x_server postfix/master[32087]: warning: process
/usr/lib64/postfix/cleanup pid 32764 killed by signal 6
/usr/lib64/postfix/cleanup: bad command startup -- throttling
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib64/postfix
data_directory = /var/lib/postfix
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
inet_protocols = all
lmtp-filter_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost, localhost.localdomain
myhostname = domainx.mx
mynetworks = 127.0.0.0/8
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
proxy_read_maps = $local_recipient_maps $mydestination
$virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps
$virtual_mailbox_domains $relay_recipient_maps $relay_domains
$canonical_maps $sender_canonical_maps $recipient_canonical_maps
$relocated_maps $transport_maps $mynetworks # $virtual_mailbox_limit_maps
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix/README_FILES
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp-filter_destination_concurrency_limit = 2
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtp_tls_security_level = may
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mageia Linux)
smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
unknown_local_recipient_reject_code = 450
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/
mysql-virtual_forwardings.cf, mysql:/etc/postfix/
mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/
mysql-virtual_domains.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/
mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/
mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000
virtual_overquota_bounce=yes
virtual_maildir_limit_message="The user you are trying to reach is over
quota."
virtual_create_maildirsize=yes
virtual_maildir_extended=yes
virtual_mailbox_limit_override=yes
El servidor corre un mageia 4 recien instalado.
PD, me paso lo mismo con mageia 3, por eso migre a 4.
Saludos desde ya, y agradesco sus atenciones
_______________________________________________
List de correo postfix-es para tratar temas del MTA postfix en español
http://lists.wl0.org/mailman/listinfo/postfix-es
Jose Alberto
2014-02-11 22:40:47 UTC
Permalink
En mi postfix con dominios virtuales tengo lo siguiente:

virtual_transport = virtual
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_limit = 0
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_minimum_uid = 1001
virtual_uid_maps = static:1001
virtual_gid_maps = static:8

domains

Referencia: http://i-mscp.net/ (software de hosting)
Post by Manuel Viscencio
si ya revise ese manual , pero no veo ninguna luz.
Gracias
Yo use este manual y me funcionó perfectamente
Post by Jose Pablo Rojas
http://www.howtoforge.com/virtual-users-and-domains-with-postfix-courier-mysql-and-squirrelmail-debian-wheezy
Post by Manuel Viscencio
Buenas noches , estoy atorado en el proceso de configuracion de un
postfix + mysql para manejar dominios virtuales, cuando el postfix
lo pongo a trabajar sin la configuracion de mysql funciona a la perfeccion
postfix-2.10.2-2
mariadb-5.5.34-2
maildrop/9CD216C0056: error writing ACB646C0057: queue file write error
feb 10 23:50:25 x_server postfix/master[32087]: warning: process
/usr/lib64/postfix/cleanup pid 32764 killed by signal 6
/usr/lib64/postfix/cleanup: bad command startup -- throttling
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib64/postfix
data_directory = /var/lib/postfix
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
inet_protocols = all
lmtp-filter_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost, localhost.localdomain
myhostname = domainx.mx
mynetworks = 127.0.0.0/8
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
proxy_read_maps = $local_recipient_maps $mydestination
$virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps
$virtual_mailbox_domains $relay_recipient_maps $relay_domains
$canonical_maps $sender_canonical_maps $recipient_canonical_maps
$relocated_maps $transport_maps $mynetworks # $virtual_mailbox_limit_maps
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix/README_FILES
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp-filter_destination_concurrency_limit = 2
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtp_tls_security_level = may
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mageia Linux)
smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
unknown_local_recipient_reject_code = 450
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/
mysql-virtual_forwardings.cf, mysql:/etc/postfix/
mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/
mysql-virtual_domains.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/
mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/
mysql-virtual_mailboxes.cf
virtual_uid_maps = static:5000
virtual_overquota_bounce=yes
virtual_maildir_limit_message="The user you are trying to reach is over
quota."
virtual_create_maildirsize=yes
virtual_maildir_extended=yes
virtual_mailbox_limit_override=yes
El servidor corre un mageia 4 recien instalado.
PD, me paso lo mismo con mageia 3, por eso migre a 4.
Saludos desde ya, y agradesco sus atenciones
_______________________________________________
List de correo postfix-es para tratar temas del MTA postfix en español
http://lists.wl0.org/mailman/listinfo/postfix-es
_______________________________________________
List de correo postfix-es para tratar temas del MTA postfix en español
http://lists.wl0.org/mailman/listinfo/postfix-es
--
#############################
# Sistema Operativo: Debian #
# Caracas, Venezuela #
#############################
Manuel Viscencio
2014-02-11 16:45:39 UTC
Permalink
Ok, te lo agradeceria.
Saludos
Odio postfix con mysql jejejej. (Fanatico de openldap).
Tengo un hosting con i-mscp manejo varios dominios virtuales para correo y
pagina web, te puedo pasar mas tarde como esta el main.cf
Enviado desde mi celular
-----Original Message-----
Mon, 10 Feb 2014 22:59:29
Subject: [postfix-es] Error con postfix y dominios virtuales con mysql
_______________________________________________
List de correo postfix-es para tratar temas del MTA postfix en español
http://lists.wl0.org/mailman/listinfo/postfix-es
j***@public.gmane.org
2014-02-11 16:43:09 UTC
Permalink
Odio postfix con mysql jejejej. (Fanatico de openldap).

Tengo un hosting con i-mscp manejo varios dominios virtuales para correo y pagina web, te puedo pasar mas tarde como esta el main.cf







Enviado desde mi celular

-----Original Message-----
From: Manuel Viscencio <mviscencio-***@public.gmane.org>
Sender: "postfix-es" <postfix-es-bounces+j.sejo1=gmail.com-C4dRjWyEhVa+OC/***@public.gmane.org>Date: Mon, 10 Feb 2014 22:59:29
To: postfix-es<postfix-es-C4dRjWyEhVa+OC/***@public.gmane.org>
Subject: [postfix-es] Error con postfix y dominios virtuales con mysql

_______________________________________________
List de correo postfix-es para tratar temas del MTA postfix en español
postfix-es-C4dRjWyEhVa+OC/***@public.gmane.org
http://lists.wl0.org/mailman/listinfo/postfix-es
Loading...