8 May
2003
8 May
'03
12:55
On Thu, 8 May 2003 14:35:04 +0200 "Marc Revenga Esquinas" <mrevenga@silver.udg.es> wrote: > I'm trying to create a mailing list. I have installed SuSe 8.1 with > postfix, cyrus and majordomo. > > When I send and e-mail to majordomo@domainame it returned to me with > an error message (no mailbox for majordomo). With cyradm I created a > mailbox and now all the e-mail send to majordomo are stored in this > mailbox. Is the first time I install majordomo, cyrus and postfix. > Cyrus and postfix are running well. I think the e-mail are in the > wrong place, I think the e-mails have to be processed by the script in > /etc/aliases. I thought the problem was on /etc/aliases.db that does > not actualize propertly but that wasn't the problem(I has sent a > message to this list and people told me that I was updating it well). > What i'm doing bad? > > I send too a few lines of my configuration files in order to have more > information of my configuration. > > in /etc/aliases > > majordomo: "|/usr/lib/majordomo/wrapper majordomo" > majordomo-owner: admin@domainname, > > lista: "|/usr/lib/majordomo/wrapper resend -l lista > lista-outgoing: :include:/var/lib/majordomo/lists/lista > lista-request: "|/usr/lib/majordomo/wrapper majordomo -l > lista lista-approval: owner-lista, > owner-lista-outgoing: owner-lista, > owner-lista-request: owner-lista, > owner-lista: admin@domainname, > > I have changed the commas and they are bad for sure, I didn't know why > the commas were there. If someone can put well i'll be very pleased. > > in /etc/postfix/main.cf > > alias_maps = hash:/etc/aliases > alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases A couple of issues: 1. remove the trailing commas in the alias file. 2. (minor) you have alias_maps = hash:/etc/aliases and alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases. 3. Unterminated quotes. This mught just be a cut/paste issue. The newalias or postalias /etc/aliases will rebuild aliases.db. The postfix reload command should be run to tell postfix that a change was made. Also note that on my server, I have about 6 different alias files. The main alias file has colons, but the secondary ones do not. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9