[postfix-users] Ungewolltes Update von 2.2.10 auf 2.5.1
hallo zusammen,
auf meinem Server läuft Ubuntu und ich habe am Wochenende mal wieder seit langem mein System aktualisiert. Dabei wurde mein Postfix von 2.2.10 auf 2.5.1 angehoben und nun geht nichts mehr. Das ganze läuft in Verbindung mit MySQL und SpamAssassin.
An den Konfigurationen wurde nichts verändert. In der mail.err steht:
May 5 17:41:28 vinola1 postfix/pipe[1739]: fatal: user= command-line attribute specifies mail system postdrop group id 112
Ich habe schon etwas gesucht und gegoggelt und werde aus der Meldung nicht schau. Der interessante Teil der master.cf dürfte wohl folgender sein. Weis jemand Rat?
Schöne Grüße, Jens
[...] # # ==================================================================== # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # Many of the following services use the Postfix pipe(8) delivery # agent. See the pipe(8) man page for information about ${recipient} # and other message envelope options. # ==================================================================== # # maildrop. See the Postfix MAILDROP_README file for details. # Also specify in main.cf: maildrop_destination_recipient_limit=1 # maildrop unix - n n - - pipe flags=R user=vmail argv=/usr/bin/maildrop -d ${recipient} # # See the Postfix UUCP_README file for configuration details. # uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) # # Other external delivery methods. # ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient scalemail-backend unix - n n - 2 pipe flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension} mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} spamassassin unix - n n - - pipe user=spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
Jens Mueller schrieb:
hallo zusammen,
auf meinem Server läuft Ubuntu und ich habe am Wochenende mal wieder seit langem mein System aktualisiert. Dabei wurde mein Postfix von 2.2.10 auf 2.5.1 angehoben und nun geht nichts mehr. Das ganze läuft in Verbindung mit MySQL und SpamAssassin.
An den Konfigurationen wurde nichts verändert. In der mail.err steht:
May 5 17:41:28 vinola1 postfix/pipe[1739]: fatal: user= command-line attribute specifies mail system postdrop group id 112
Ich habe schon etwas gesucht und gegoggelt und werde aus der Meldung nicht schau. Der interessante Teil der master.cf dürfte wohl folgender sein. Weis jemand Rat?
Schöne Grüße, Jens
[...] # # ==================================================================== # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # Many of the following services use the Postfix pipe(8) delivery # agent. See the pipe(8) man page for information about ${recipient} # and other message envelope options. # ==================================================================== # # maildrop. See the Postfix MAILDROP_README file for details. # Also specify in main.cf: maildrop_destination_recipient_limit=1 # maildrop unix - n n - - pipe flags=R user=vmail argv=/usr/bin/maildrop -d ${recipient} # # See the Postfix UUCP_README file for configuration details. # uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) # # Other external delivery methods. # ifmail unix - n n - - pipe flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) bsmtp unix - n n - - pipe flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient scalemail-backend unix - n n - 2 pipe flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension} mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} spamassassin unix - n n - - pipe user=spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
postfix-users mailing list postfix-users@de.postfix.org http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users
Hallo Jens ich spekuliere mal dass postfix ein problem mit deinem spamassassin EIntrag in der master.cf hat , evtl ein Problem mit berechtigungen und der pipe , 2.2.10 auf 2.5.1 ist schon ein gewaltiger sprung da hat sich gewaltig was getan ich schaetze ralf duerfte die log Zeile schnell deuten koennen ansonsten probiers mal auf der int postfix liste da solltest du schnell antwort von den gurus kriegen
rein test maessig setz mal flags=Rhu vor user=spamd, so klappt das bei mir mit 2.5.1 und einer aehnlichen pipe
* Jens Mueller mail@jens-mueller.de wrote:
May 5 17:41:28 vinola1 postfix/pipe[1739]: fatal: user= command-line attribute specifies mail system postdrop group id 112
Teilen sich vmail und postfix eine GID/UID?
Ciao Stefan
* Stefan Förster cite@incertum.net wrote:
- Jens Mueller mail@jens-mueller.de wrote:
May 5 17:41:28 vinola1 postfix/pipe[1739]: fatal: user= command-line attribute specifies mail system postdrop group id 112
Teilen sich vmail und postfix eine GID/UID?
Postdrop. 112 halt.
Stefan Förster wrote:
- Jens Mueller mail@jens-mueller.de wrote:
May 5 17:41:28 vinola1 postfix/pipe[1739]: fatal: user= command-line attribute specifies mail system postdrop group id 112
Teilen sich vmail und postfix eine GID/UID?
Postdrop. 112 halt.
Und da liegt der Fehler. Externe Programme dürfen nicht mit GID des Mailsystems laufen.
Aus pipe(8):
| user=username:groupname | Execute the external command with the rights of the specified username. | The software refuses to execute commands with root privileges, or with | the privileges of the mail system owner. If groupname is specified, the | corresponding group ID is used instead of the group ID of username.
Im Logfile sollte eigentlich auch stehen, um welches externe Programm es geht.
Jens Mueller wrote:
Unter /var/spool/postfix/defer hängen jetzt noch die ganzen Mails. Wie kann ich die nochmal anschubsen?? Habe den Befehl nicht im im Kopf...
postqueue -f
Jens Mueller wrote:
Dabei wurde mein Postfix von 2.2.10 auf 2.5.1 angehoben und nun geht nichts mehr. Das ganze läuft in Verbindung mit MySQL und SpamAssassin.
An den Konfigurationen wurde nichts verändert. In der mail.err steht:
May 5 17:41:28 vinola1 postfix/pipe[1739]: fatal: user= command-line attribute specifies mail system postdrop group id 112
Gibt's die Fehlermeldung auch in komplett? Output von postconf -n könnte auch interessant sein.
Ich habe schon etwas gesucht und gegoggelt und werde aus der Meldung nicht schau.
Siehe anderes Posting von mir. Oder z.B. hier:
http://archive.netbsd.se/?ml=postfix-users&a=2008-03&t=6868931
participants (5)
-
Arne Hoffmann
-
Jens Mueller
-
Robert Schetterer
-
Stefan Förster
-
Thomas Grieder