Mailinglist Archive: opensuse-de (1951 mails)

< Previous Next >
Re: Mailman Hilfe
  • From: bluecon <blueconhq@xxxxxxxxx>
  • Date: Fri, 23 Dec 2005 16:01:26 +0100
  • Message-id: <4299e2a20512230701s68513f9by@xxxxxxxxxxxxxx>
Am 23.12.05 schrieb Jürgen Langowski <jlangowski@xxxxxx>:
> bluecon schrieb:
>
>
>
> > Hallo,
> >
> > ich bin schon lange auf der Suche nach einer FAQ oder einer Lösung zu
> > meinem Problem. Vielleicht könnt ihr mir ja weiterhelfen.
> >
> > Seit kurzem habe ich ein Suse 9.3 System aufgebaut und habe apache2
> > mit plesk 7.5.4 am laufen. Soweit auch alle OK.
> >
> > qmail nutze ich für meine Mails.
> >
> > Seit kurzem habe ich eine Änderung vorgenommen, um einen Bug auszumerzen.
> >
> > Link: http://kb.swsoft.com/article_61_942_en.html
> >
> > Danach bekomme ich immer folgende Fehlermeldung, wenn jmd eine Mail an
> > meine Mailinglist schreibt:
> >
> > /var/log/mail.info oder mail.err
>
>
> (...)
>
> Ich bin nicht sicher, ob es der gleiche Fehler ist, aber meine
> Konfiguration ist ähnlich (allerdings mit Suse 9.1). Manche Änderungen
> unter Plesk (kann nicht mehr genau nachvollziehen, welche es waren) führen
> anscheinend dazu, dass Mailman gestoppt und nicht neu gestartet wird.
>
> Es könnte sein, dass auch bei dir Mailman lahm gelegt wurde. Das kannst du
> auf der Kommandozeile sehen:
>
> rcmailman status
>
> Bei mir kam dann immer "unused". Mit
>
> rcmailman start
>
> habe ich neu gestartet, und dann lief es.
>
>
> P.S - Ein Name wäre nett. Deine Eltern haben dich doch sicher nicht
> "bluecon" getauft, oder?
>
> Jürgen
>
>

Hallo Jürgen,

vielen dank für die schnelle antwort.

Ich habe eine Anleitung im Netz noch gefundne und habe sie an mein
System einfach nur angepasst.

Anleitung:

1. As ROOT for all of this, backup your password file cp
/etc/master.passwd /etc/master.passwd.saved

2. Edit your /etc/master.passwd file for user popuser and replace the
group ID with 110 and should look like this prior to the fix (was
group 100 in my case):
popuser:*:110:100::0:0:POP3 service user:/:/sbin/nologin
fixed:
popuser:*:110:110::0:0:POP3 service user:/:/sbin/nologin

3. Run the following command:
/usr/sbin/pwd_mkdb -p /etc/master.passwd

4. Edit your /etc/group file and change it to the following:
popuser:*:110:

5. Now make a file /tmp/mm_wrapper.c using VI or pico -w or whatever
your fav editor is...
File contents:
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
int main(int argc, char** argv, char** env) {
if (setregid(110, 110) != 0) {
printf("Set right UID/GID for popuser in /etc/passd,/etc/group\n ");
return -1;
}
(void) execve("/usr/local/psa/qmail/bin/mm_wrapper-real", argv, env);
/* Should not get here */
}

6. Stop PSA (just in case): /usr/local/psa/rc.d/psa stop

7. Run this command: mv /usr/local/psa/qmail/bin/mm_wrapper
/usr/local/psa/qmail/bin/mm_wrapper-real

8. Run this command: gcc /tmp/mm_wrapper.c -o
/usr/local/psa/qmail/bin/mm_wrapper

9. Run this command: chmod 6755 /usr/local/psa/qmail/bin/mm_wrapper

10. I would make sure that the ownership of new file is like follows:
rwsr-sr-x 1 root qmail 4736 Oct 13 13:46 mm_wrapper
or
rwsr-sr-x 1 root popuser 4736 Oct 13 13:46 mm_wrapper

Mine is the first and works fine...

11. Start PSA: /usr/local/psa/rc.d/psa start
12. Tail your maillog while you send an email to one of your lists and
see if the error repeats. It shouldn't.

----

Danach waren keine Fehler mehr zu sehen, aber ne Mail kam auch bei den
Mitglieder nicht an.

Gruß


Adrian

< Previous Next >