opensuse
[Arriba] [Todas las Listas]

Re: [opensuse] Re: postfix+mailman Problema de configuración

To: "J. Bakshi" <joydeep@xxxxxxxxxxxxxxx>
Subject: Re: [opensuse] Re: postfix+mailman Problema de configuración
From: Marcus Meissner <meissner@xxxxxxx>
Date: Fri, 2 Sep 2011 14:50:55 +0200
Cc: opensuse@xxxxxxxxxxxx
Delivered-to: opensuse@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 02 Sep 2011 08:52:06 -0400
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <20110902181601.2f9e7ad3@shiva.selfip.org>
List-archive: <http://lists.opensuse.org/opensuse/>
List-help: <mailto:opensuse+help@opensuse.org>
List-owner: <mailto:opensuse+owner@opensuse.org>
List-post: <mailto:opensuse@opensuse.org>
List-subscribe: <mailto:opensuse+subscribe@opensuse.org>
List-unsubscribe: <mailto:opensuse+unsubscribe@opensuse.org>
Mailing-list: contact opensuse+help@xxxxxxxxxxxx; run by mlmmj
Organization: SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer, HRB 16746 (AG Nuernberg)
References: <20110902171632.2f9013a0@shiva.selfip.org> <20110902181601.2f9e7ad3@shiva.selfip.org>
User-agent: Mutt/1.5.9i
En *Fri, *Sep 02, 2011 en 06:16:01PM +0530, *J. *Bakshi Escribió:
> En *Fri, 2 *Sep 2011 17:16:32 +0530
> "*J. *Bakshi" <Joydeep@xxxxxxxxxxxxxxx> escribió:
> 
> > Hola,
> > 
> > Esto es *opeensuse 11.4
> > 
> > Esto es un *operational correo *server apoyando *multidomain y basado
> > en *postfix+*dovecot+*mysql.  El ámbito virtual relacionado *config en principal.*cf
> > Es tan abajo
> > 
> > [....]
> > *alias_Mapas = *hash:/*etc/*aliases, *hash:/*var/*lib/*mailman/dato/*aliases
> > 
> > #########################################
> > ## el ámbito virtual que pone
> > #########################################
> > virtual_*alias_ámbitos = *hash:/*etc/*postfix/virtual
> > virtual_*alias_mapas = *mysql:/*etc/*postfix/*mysql-virtual-*alias-mapas.*cf,*mysql:/*etc/*postfix/*mysql-*email2*email.*cf
> > Virtual_*gid_mapas = *static:5000
> > virtual_*mailbox_ámbitos = *mysql:/*etc/*postfix/*mysql-virtual-*mailbox-ámbitos.*cf
> > Virtual_*mailbox_mapas = *mysql:/*etc/*postfix/*mysql-virtual-*mailbox-mapas.*cf
> > Transportevirtual = *dovecot
> > *dovecot_destino_*recipient_límite = 1
> > virtual_*uid_mapas = *static:5000
> > [....]
> > ``````````````
> > 
> > He instalado *mailman aquí y para apoyar el ámbito virtual también tiene
> > el siguiendo en /*usr/*lib/*mailman/*Mailman/*mm_*cfg.*py
> > 
> > 
> > [....]
> > *DEFAULT_PATRÓN_de URL = '*http://%*s/*mailman/'
> > 
> > *DEFAULT_*EMAIL_ANFITRIÓN = 'lista.*mydomain.*com'
> > *DEFAULT_ANFITRIÓN_de URL = 'lista.*mydomain.*com'
> > *MTA = '*Postfix'
> > *POSTFIX_*ALIAS_CMD = '/*usr/*sbin/*postalias'
> > *POSTFIX_CMD_de MAPA = '/*usr/*sbin/*postmap'
> > MÓDULO_de ENTREGA = '*SMTPDirect'
> > *SMTPPORT = '25'
> > añade_*virtualhost(*DEFAULT_ANFITRIÓN_de URL, *DEFAULT_*EMAIL_ANFITRIÓN)
> > *POSTFIX_ESTILO_ÁMBITOSVIRTUALES = ['lista.*infoservices.En']
> > IMAGEN_*LOGOS = '/*mailmanicons/'
> > [....]
> > 
> > 
> > Después de *reloading *postfix y *mailman he creado una lista y también
> > copia *paste el sugerido *aliases en /*etc/*aliases y ejecutado "*newalias"
> > orden.
> > 
> > Si envío una petición a *listname <>-request@xxxxxxxxxxxxxxxxx consigo un error de *postfix
> > tan 
> > 
> > ` ` ` ` 
> >  *Recipient la dirección rehusó: Usuario *unknown en virtual *mailbox mesa
> > ` ` ` `
> > 
> >  necesito crear todo tal una cuenta requerida por *mailman? 
> > 
> > Soy confundido...... Cualquier pista es mucho *welcome.
> > TIA 
> > 
> 
> 
> y si añado <lista>.*mydomain.*com En *mydestination de principal.*cf Tengo ningún problema
> para enviar correo ( no sabe si añadiéndolo a *mydestination es mal o correcto).
> 
> Pero un error nuevo ahora
> 
> ``````````````
> Manda muerto con estado 2:
>     "/*usr/*lib/*mailman/correo/*mailman petición *typo3". Producción de orden: Fracaso a *exec
>     guión. QUERIDO *gid 67, CONSEGUÍA *gid 65533.
> ``````````

Tuve esto uno también, y él *puzzled me *forever.

Necesitas llamar el *mailman *wrappers del *mailman específico *alias archivo,
/*var/*lib/*mailman/dato/*aliases y NO del global /*etc/*aliases!

Así que *paste el *mailman *snippet a /*var/*lib/*mailman/dato/*aliases y sacarlo de /*etc/*aliases.



*Ciao, Marcus
-- 
A *unsubscribe, *e-correo: *opensuse+unsubscribe@xxxxxxxxxxxx
Puesto que órdenes adicionales, *e-correo: *opensuse+help@xxxxxxxxxxxx


On Fri, Sep 02, 2011 at 06:16:01PM +0530, J. Bakshi wrote:
> On Fri, 2 Sep 2011 17:16:32 +0530
> "J. Bakshi" <joydeep@xxxxxxxxxxxxxxx> wrote:
> 
> > Hello,
> > 
> > This is opeensuse 11.4
> > 
> > This is an operational mail server supporting multidomain and based
> > on postfix+dovecot+mysql.  The virtual domain related config at main.cf
> > is as below
> > 
> > [....]
> > alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
> > 
> > #########################################
> > ## virtual domain setting
> > #########################################
> > virtual_alias_domains = hash:/etc/postfix/virtual
> > virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
> > virtual_gid_maps = static:5000
> > virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
> > virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
> > virtual_transport = dovecot
> > dovecot_destination_recipient_limit = 1
> > virtual_uid_maps = static:5000
> > [....]
> > ``````````````
> > 
> > I have installed mailman here and to support virtual domain also have
> > the following at /usr/lib/mailman/Mailman/mm_cfg.py
> > 
> > 
> > [....]
> > DEFAULT_URL_PATTERN = 'http://%s/mailman/'
> > 
> > DEFAULT_EMAIL_HOST = 'list.mydomain.com'
> > DEFAULT_URL_HOST = 'list.mydomain.com'
> > MTA = 'Postfix'
> > POSTFIX_ALIAS_CMD = '/usr/sbin/postalias'
> > POSTFIX_MAP_CMD = '/usr/sbin/postmap'
> > DELIVERY_MODULE = 'SMTPDirect'
> > SMTPPORT = '25'
> > add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
> > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['list.infoservices.in']
> > IMAGE_LOGOS = '/mailmanicons/'
> > [....]
> > 
> > 
> > after reloading postfix and mailman I have created a list and also
> > copy paste the suggested aliases at /etc/aliases and executed "newalias"
> > command.
> > 
> > If I send a request to <listname>-request@xxxxxxxxxxxxxxxxx I get an error from
> > postfix as 
> > 
> > ` ` ` ` 
> >  Recipient address rejected: User unknown in virtual mailbox table
> > ` ` ` `
> > 
> > Do I need to create all such an account required by mailman? 
> > 
> > I am confused...... any clue is very much welcome.
> > TIA 
> > 
> 
> 
> and if I add <list>.mydomain.com at mydestination of main.cf I have no problem
> to send mail ( Don't know if adding it to mydestination is wrong or right).
> 
> But a new error now
> 
> ``````````````
> Command died with status 2:
>     "/usr/lib/mailman/mail/mailman request typo3". Command output: Failure to
>     exec script. WANTED gid 67, GOT gid 65533.
> ``````````

I had this one too, and it puzzled me forever.

You need to call the mailman wrappers from the mailman specific alias file,
/var/lib/mailman/data/aliases and NOT from the global /etc/aliases!

So paste the mailman snippet into /var/lib/mailman/data/aliases and remove
it from /etc/aliases.



Ciao, Marcus
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx


<Anterior por Tema] Tema Actual [Siguiente por Tema>