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 home_mailbox = .Maildir/ newaliases_path = /usr/sbin/sendmail smtpd_sasl_auth_enable = true braken_sasl_auth_clients = yes local_transport = cyrus When I inserted the line "local_transport = cyrus" the e-mails were no more stored in $HOME/.Maildir. I suppossed taht cyrus take the control of e-mails and put them in its mailboxes. This makes that mutt and pine doesn't show me the messages. If someone can help me. in /etc/imapd.conf partition-default: /var/spool/imap sasl_pwcheck_method: saslauthd If someone thinks that needs more info, please tell me. I'm a little newbie but I thought this was a good year to start with that. The other files of postfix, cyrus and majordomo are on it's default state. Thanks for reading all this large message. Nao you can go to the bar and drink some beer.
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
Thank for all, now I have the file like that: 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 It's OK? I have make "postalias /etc/aliases" and "postfix reload" like you said. I have send a message to majordomo like to: majordomo@domainname subject: body: writeconfig lista passwordlist but majordomo doesn't run, nothing in /var/lib/majordomo/lists directory. The log file /var/lib/majordomo/Log file is empty. The e-mail has arrived to the majordomo mailbox on /var/spool/imap/users/majordomo. Nothing returned to me. I think the alias is never executed. Some idea? What you mean with alias_maps = hash:/etc/aliases and alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases I have to remove one of this?
participants (2)
-
Jerry Feldman
-
Marc Revenga Esquinas