Post Reply  Post Thread 
[GELÖST] Add mail user > Status: Unknown error
Author Message
corehosting
Newbie
*


Posts: 7
Group: Registered
Joined: Apr 2008
Status: Offline
Reputation: 0
Post: #1
[GELÖST] Add mail user > Status: Unknown error

Hallo an alle,

vorab paar Eckdaten: Wink
- vServer
- openSUSE 10.3 (frisch installiert)
- ispCP Revision 1141 (frisch installiert, gemäß Anleitung)

Grundlegen läuft ispCP wunderbar (reseller und user anlegen, Domains anlegen, MySQL, FTP usw.), nur Mails wollen leider noch nicht wirklich funktionieren.

Nach dem Anlegen von Mails steht der Status in der GUI auf "Unknown error".

Im log steht folgendes:

Code:
May 10 08:11:57 t03 ispcp_daemon[18590]: child 18590 started !
May 10 08:11:57 t03 sasldblistusers2: unable to open Berkeley db /var/spool/postfix/etc/sasldb2: No such file or directory
May 10 08:11:57 t03 sasldblistusers2: _sasldb_getkeyhandle has failed
May 10 08:11:57 t03 saslpasswd2: error deleting entry from sasldb: DB_NOTFOUND: No matching key/data pair found
May 10 08:11:58 t03 syslog-ng[661]: last message repeated 2 times
May 10 08:11:58 t03 ispcp_daemon[1927]: EINTR was received ! continue;
May 10 08:11:57 t03 ispcp_daemon[18590]: child 18590 started !
May 10 08:11:57 t03 sasldblistusers2: unable to open Berkeley db /var/spool/postfix/etc/sasldb2: No such file or directory
May 10 08:11:57 t03 sasldblistusers2: _sasldb_getkeyhandle has failed
May 10 08:11:57 t03 saslpasswd2: error deleting entry from sasldb: DB_NOTFOUND: No matching key/data pair found
May 10 08:11:58 t03 syslog-ng[661]: last message repeated 2 times
May 10 08:11:58 t03 ispcp_daemon[1927]: EINTR was received ! continue;


Es wäre nett wenn mir jemand einen Denkanstoss geben könnte, was noch fehlt bzw. getan werden muss...


Viele Grüße

Fabian

This post was last modified: 05-16-2008 07:26 PM by corehosting.

05-11-2008 05:28 AM
Find all posts by this user Quote this message in a reply
Cube
Documentation Team
***
Docu Team

Posts: 664
Group: Docu Team
Joined: Apr 2007
Status: Offline
Reputation: 8
Post: #2
RE: Add mail user > Status: Unknown error

Was steht in der DB (ispcp -> mail_users) im Status-Feld? Bzw. im Debugger?
Kommt der Fehler bei allen Arten (Weiterleitung, Mailbox, kombiniert)?

This post was last modified: 05-11-2008 05:44 AM by Cube.

05-11-2008 05:42 AM
Find all posts by this user Quote this message in a reply
corehosting
Newbie
*


Posts: 7
Group: Registered
Joined: Apr 2008
Status: Offline
Reputation: 0
Post: #3
RE: Add mail user > Status: Unknown error

Vorab allerbesten Dank für die schnelle Antwort! Smile

BTW: Ich freue mich, dass es sich anscheinend nicht um eine billigen Anfängerfehler handelt.

Hier die gewünschten Ergänzungen:
- Status-Feld (MySQL):

Code:
sys_command() | ERROR: External command '/bin/echo "123456" | /usr/sbin/saslpasswd2 -p -c -f /etc/sasldb2 -u domain.tld test && /bin/cp /etc/sasldb2 /var/spool/postfix/etc/sasldb2' returned '1' status !

- Bei reinen Weiterleitungen kommt kein Fehler, aber sie funktionieren nebenbei bemerkt leider auch nicht, aber ich möchte jetzt nicht verschiedene Probleme vermischen.

PS: Folgende Meldungen stehen auch noch hundertfach im log...

Code:
May 10 08:16:59 t03 postfix/smtp[18867]: fatal: unknown service: smtp/tcp

This post was last modified: 05-11-2008 12:15 PM by corehosting.

05-11-2008 11:51 AM
Find all posts by this user Quote this message in a reply
ZooL
Moderator
*****


Posts: 411
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 14
Post: #4
RE: Add mail user > Status: Unknown error

für mich sieht das wie ein OPEN Suse Sasl2 problem aus ist die datenbank erstellt ?
im /etc Ordner?

mfg


OS : Debian 4.0 Etch 32bit
ispCP Version : RC5 Stable
Stats Activated : yes AWStats dynamic,
Mods : ISPcp exportscript,
Activated: Dovecot, Avelsieve, Selective Bogus MX Filter, Spamassassing, Maia,
Deaktivated: Greylisting
05-11-2008 05:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
corehosting
Newbie
*


Posts: 7
Group: Registered
Joined: Apr 2008
Status: Offline
Reputation: 0
Post: #5
RE: Add mail user > Status: Unknown error

Es existiert eine Datenbank (/etc/sasldb2), die beim Befehl sasldblistusers2 auch die angelegten user anzeigt.

05-11-2008 09:59 PM
Find all posts by this user Quote this message in a reply
ZooL
Moderator
*****


Posts: 411
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 14
Post: #6
RE: Add mail user > Status: Unknown error

hmm dann such doch noch bissel weiter und geh dem weg auf den grund vieleicht ist es
auch nur ein bug und ein ticket muss her.


mfg


OS : Debian 4.0 Etch 32bit
ispCP Version : RC5 Stable
Stats Activated : yes AWStats dynamic,
Mods : ISPcp exportscript,
Activated: Dovecot, Avelsieve, Selective Bogus MX Filter, Spamassassing, Maia,
Deaktivated: Greylisting
05-12-2008 04:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
corehosting
Newbie
*


Posts: 7
Group: Registered
Joined: Apr 2008
Status: Offline
Reputation: 0
Post: #7
RE: Add mail user > Status: Unknown error

Folgende drei Befehle lösen das beschriebene Problem.

Code:
chown postfix:mail /etc/sasldb2
mkdir /var/spool/postfix/etc
chown postfix:root /var/spool/postfix/etc

05-16-2008 07:25 PM
Find all posts by this user Quote this message in a reply
ZooL
Moderator
*****


Posts: 411
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 14
Post: #8
RE: [GELÖST] Add mail user > Status: Unknown error

haste gut gemacht ich hab ja gesagt es is die sasldb auch wenn das nicht direkt so geschrieben war... vieleicht liest das ja noch eine admin hier ob das eventuell ein problem von opensuse ist oder ISPCP
mfg


OS : Debian 4.0 Etch 32bit
ispCP Version : RC5 Stable
Stats Activated : yes AWStats dynamic,
Mods : ISPcp exportscript,
Activated: Dovecot, Avelsieve, Selective Bogus MX Filter, Spamassassing, Maia,
Deaktivated: Greylisting
05-16-2008 07:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
einherjer
Junior Member
*


Posts: 59
Group: Registered
Joined: Mar 2008
Status: Offline
Reputation: 0
Post: #9
RE: [GELÖST] Add mail user > Status: Unknown error

Ist ein OpenSuse Ding, hab auch ne Weile mit dem Sasl Zeug rumgespielt.

/var/spool/postfix/etc sollte aber eigentlich existieren wenn Postfix chrootet läuft

05-16-2008 09:51 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |