postfix con dominios virtuales+mailman

Fernanda Boronat fernanda.boronat en gmail.com
Vie Ene 25 13:11:41 CLST 2008


hola, les cuento que he avanzado un tanto y creo que la solucion esta
pronta espero....
he realizado las siguientes pruebas:


prueba01
=======
En main.cf:

myhostname = svrmail.xxx.yyy.ab
mydomain = xxx.yyy.ab
myorigin = $mydomain
mydestination = localhost, $myhostname, localhost.$mydomain

resultados
==========
* se pueden enviar mensajes desde las cuentas locales a las cuentas virtuales
* desde una cuenta virtual envio un mensaje a root en svrmail.xxx.yyy.ab
y este llega correctamente
* los mensajes enviados a las cuentas virtuales del mismo dominio (ej:
maria en xxx.yyy.ab hacia ely en xxx.yyy.ab) son entregas perfectamente
* cuando se envia a la lista cinco en xxx.yyy.ab, nos devuelve el
mensaje: The mail system <cinco en xxx.yyy.ab>: user unknown

iprueba02
=======
En main.cf:

myhostname = xxx.yyy.ab
mydomain = xxx.yyy.ab
myorigin = $mydomain
mydestination = localhost, $myhostname, localhost.$mydomain

resultados
==========
* NO se pueden enviar mensajes desde las cuentas locales a las cuentas virtuales
* los mensajes enviados a las cuentas virtuales del mismo dominio (ej:
maria en xxx.yyy.ab hacia ely en xxx.yyy.ab) no se pueden entregar, esto da
en el log

Jan 25 11:56:05 svrmail postfix/qmgr[25470]: 341D2C90075:
from=<maria en xxx.yyy.ab>, size=488, nrcpt=1 (queue active)
Jan 25 11:56:05 svrmail postfix/trivial-rewrite[25500]: warning: do
not list domain xxx.yyy.ab in BOTH mydestination and
virtual_mailbox_domains
Jan 25 11:56:05 svrmail postfix/smtpd[25497]: disconnect from
unknown[192.168.111.22]
Jan 25 11:56:05 svrmail postfix/local[25504]: 341D2C90075:
to=<ely en xxx.yyy.ab>, relay=local, delay=0.04, delays=0.02/0.01/0/0.01,
dsn=5.1.1, status=bounced (unknown user: "ely")


* cuando se envia a la lista cinco en xxx.yyy.ab, el mensaje llega a
mailman (figuran el los archivos vistos desde el browser), pero los
mensajes no se pueden entregar a los usuarios suscritos (usuarios
almacenados en la BD), en el log se presenta lo siguiente:

Jan 25 11:51:24 svrmail postfix/smtpd[25471]: connect from
svrmail.xxx.yyy.ab[127.0.0.1]
Jan 25 11:51:24 svrmail postfix/trivial-rewrite[25474]: warning: do
not list domain xxx.yyy.ab in BOTH mydestination and
virtual_mailbox_domains
Jan 25 11:51:24 svrmail postfix/trivial-rewrite[25474]: warning: do
not list domain xxx.yyy.ab in BOTH mydestination and
virtual_mailbox_domains
Jan 25 11:51:24 svrmail postfix/smtpd[25471]: NOQUEUE: reject: RCPT
from svrmail.xxx.yyy.ab[127.0.0.1]: 550 5.1.1 <jperez en xxx.yyy.ab>:
Recipient address rejected: User unknown in local recipient table;
from=<cinco-bounces en xxx.yyy.ab> to=<jperez en xxx.yyy.ab> proto=ESMTP
helo=<svrmail.xxx.yyy.ab>
Jan 25 11:51:24 svrmail postfix/smtpd[25471]: DCD4EC90075:
client=svrmail.xxx.yyy.ab[127.0.0.1]
Jan 25 11:51:24 svrmail postfix/trivial-rewrite[25474]: warning: do
not list domain xxx.yyy.ab in BOTH mydestination and
virtual_mailbox_domains
Jan 25 11:51:24 svrmail postfix/cleanup[25477]: DCD4EC90075:
message-id=<479A06F2.6090500 en xxx.yyy.ab>
Jan 25 11:51:24 svrmail postfix/qmgr[25470]: DCD4EC90075:
from=<cinco-bounces en xxx.yyy.ab>, size=1441, nrcpt=2 (queue active)
Jan 25 11:51:24 svrmail postfix/smtpd[25471]: disconnect from
svrmail.xxx.yyy.ab[127.0.0.1]
Jan 25 11:51:24 svrmail postfix/trivial-rewrite[25474]: warning: do
not list domain xxx.yyy.ab in BOTH mydestination and
virtual_mailbox_domains
Jan 25 11:51:24 svrmail postfix/trivial-rewrite[25474]: warning: do
not list domain xxx.yyy.ab in BOTH mydestination and
virtual_mailbox_domains
Jan 25 11:51:24 svrmail postfix/local[25478]: DCD4EC90075:
to=<ely en xxx.yyy.ab>, relay=local, delay=0.03, delays=0.01/0.01/0/0.01,
dsn=5.1.1, status=bounced (unknown user: "ely")
Jan 25 11:51:24 svrmail postfix/local[25480]: DCD4EC90075:
to=<maria en xxx.yyy.ab>, relay=local, delay=0.03,
delays=0.01/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user:
"maria")
Jan 25 11:51:24 svrmail postfix/cleanup[25477]: E3B49C90086:
message-id=<20080125155124.E3B49C90086 en xxx.yyy.ab>
Jan 25 11:51:24 svrmail postfix/qmgr[25470]: E3B49C90086: from=<>,
size=3332, nrcpt=1 (queue active)
Jan 25 11:51:24 svrmail postfix/trivial-rewrite[25474]: warning: do
not list domain xxx.yyy.ab in BOTH mydestination and
virtual_mailbox_domains
Jan 25 11:51:24 svrmail postfix/bounce[25481]: DCD4EC90075: sender
non-delivery notification: E3B49C90086
Jan 25 11:51:24 svrmail postfix/qmgr[25470]: DCD4EC90075: removed
Jan 25 11:51:25 svrmail postfix/local[25478]: E3B49C90086:
to=<cinco-bounces en xxx.yyy.ab>, relay=local, delay=0.11,
delays=0/0/0/0.11, dsn=2.0.0, status=sent (delivered to command:
/usr/lib/mailman/mail/mailman bounces cinco)
Jan 25 11:51:25 svrmail postfix/qmgr[25470]: E3B49C90086: removed



hasta donde puedo ver creo que es mas tema de myhostname, mydomain,
mydestination pero la verdad no se como deberia ser la forma correcta
para que funcione

saludos

Fernanda


Más información sobre la lista de distribución Linux