Current time: 09-21-2024, 11:54 PM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Gelöst] Postfix - Main.cf && SMTP-Fehler
Author Message
Nightshark Offline
Junior Member
*

Posts: 31
Joined: Nov 2007
Reputation: 0
Post: #1
[Gelöst] Postfix - Main.cf && SMTP-Fehler
Hallo,
hab grad durch ne dumme Aktion/SMTP Gebastel meine main.cf (postfix) überschrieben/zerschossen.

Wie soll ich vorgehn? Kann mir jemand die Datei senden? oder gibt's ne Funktion die neu zu machen? Nochmal neu installieren? oder öh... ja, Vorschläge plsRolleyes

mail.err
Quote:Nov 6 23:29:00 s136 postfix/smtpd[26805]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Nov 6 23:30:01 s136 postfix/smtpd[26830]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
mail.log
Quote:Nov 6 23:30:01 s136 postfix/smtpd[26830]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Nov 6 23:30:02 s136 postfix/master[23185]: warning: process /usr/lib/postfix/smtpd pid 26830 exit status 1
Nov 6 23:30:02 s136 postfix/master[23185]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

THX schon im Voraus
(This post was last modified: 11-11-2007 07:14 PM by Breaki.)
11-07-2007 08:22 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Main.cf
ich denke, wenn du nur einen Teil der Installation (make install) ausfürst, dann kannst du dann die Infos aus /tmp/ispcp-1.0.0/etc/postfix/... holen.
Ggf. halt Variablen {...} mit Werten ersetzen.
Gruss J
(This post was last modified: 11-07-2007 10:42 AM by joximu.)
11-07-2007 10:42 AM
Visit this user's website Find all posts by this user
Nightshark Offline
Junior Member
*

Posts: 31
Joined: Nov 2007
Reputation: 0
Post: #3
RE: Main.cf
Au ja, das hat gefuntzt, thx

jetzt funktionierts theoretisch wieder. Bis auf die Tatsache dass ich keine Mails senden kann :o also von meinem Thunderbird aus... er akzeptiert das pw ned.... *wieder weiter bastel*

nochmals THX für die hilfe

€dit:
Ok, ich komm nicht mehr weiter, irgendwo geht was nicht. Ich versuch ne Mail von Thunderbird aus zu senden. Mit der gleichen Emailadresse mit der ich mich auch einlogge, PW akzeptiert er da auch.

Aber sobald ich senden soll, kommt zwar die Aufforderung n PW einzugeben, aber er akzeptiert es nicht.

mail.log
Quote:Nov 7 21:51:58 s136 postfix/smtpd[15875]: connect from 63.113.3.213.cust.bluewin.ch[213.3.113.63]
Nov 7 21:52:01 s136 postfix/smtpd[15875]: warning: SASL authentication failure: no secret in database
Nov 7 21:52:01 s136 postfix/smtpd[15875]: warning: 63.113.3.213.cust.bluewin.ch[213.3.113.63]: SASL CRAM-MD5 authentication failed: authentication failure
Nov 7 21:52:01 s136 postfix/smtpd[15875]: warning: SASL authentication failure: Password verification failed
Nov 7 21:52:01 s136 postfix/smtpd[15875]: warning: 63.113.3.213.cust.bluewin.ch[213.3.113.63]: SASL PLAIN authentication failed: authentication failure
Nov 7 21:52:01 s136 postfix/smtpd[15875]: warning: 63.113.3.213.cust.bluewin.ch[213.3.113.63]: SASL LOGIN authentication failed: authentication failure
Nov 7 21:52:03 s136 postfix/smtpd[15875]: disconnect from 63.113.3.213.cust.bluewin.ch[213.3.113.63]
Ich frag mich vor allem ob das SASL nicht irgendwie fehl am Platz is...
(This post was last modified: 11-08-2007 06:59 AM by Nightshark.)
11-08-2007 05:49 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Postfix - Main.cf && SMTP-Fehler
Sendest du an Port 587 (submit)?

Übrigens: spätestens jetzt könntest du deine location in dein Profil schreiben... :-)
(bluewin Kunde)
(This post was last modified: 11-08-2007 07:07 AM by joximu.)
11-08-2007 07:05 AM
Visit this user's website Find all posts by this user
Nightshark Offline
Junior Member
*

Posts: 31
Joined: Nov 2007
Reputation: 0
Post: #5
RE: Postfix - Main.cf && SMTP-Fehler
Standardport 25... ich dachte der stimmt schon, weil connection krieg ich ja auch.
Ich glaub eher es liegt irgendwo an der DB oder so *grübel*
Ich hab eben ISPCP nicht auf ein neues System drauf getan, sondern hatte vorhin schonmal alles bisschen angefangen einzurichten. Aber das sollte ja egal sein, weil ISPCP alles überschreibt... hab ich mir so gedacht *duck*

*gleich location in profil schreiben geht* ich bin übrigens ned nur Bluewin Kunde, ich arbeite auch im Bluewin-Tower*gg*

€dit:
Beide Ports dasselbe Ergebnis...
(This post was last modified: 11-08-2007 07:45 AM by Nightshark.)
11-08-2007 07:24 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: Postfix - Main.cf && SMTP-Fehler
hm, sasl...

Es wird das postfix-eingebaute sasl benutzt.
Damit meines Wissens auch /etc/sasldb2 - da sind die User und Passworte drin (erkennbar...)

postconf -n ?
11-08-2007 08:03 AM
Visit this user's website Find all posts by this user
Nightshark Offline
Junior Member
*

Posts: 31
Joined: Nov 2007
Reputation: 0
Post: #7
RE: Postfix - Main.cf && SMTP-Fehler
Quote:alias_database = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = clan-host.ch
myhostname = clan-host.ch
mynetworks_style = host
myorigin = $mydomain
setgid_group = postdrop
smtpd_banner = $myhostname ISPCP 1.0 Priamos Managed ESMTP 1.0.0 RC2 OMEGA
smtpd_recipient_restrictions = permit_inet_interfaces, permit_sasl_authenticated, reject_unauth_destination check_policy_service inet:127.0.0.1:60000
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = noanonymous
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = hash:/etc/postfix/ispcp/transport
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 5010
virtual_transport = virtual
virtual_uid_maps = static:5010
Ich hab mal bissel mit farben rumgekleckert.
Also da is SASL zwar erlaubt, aber warum versucht er überhaupt SASL?
/etc/sasldb2 is mit vi ned lesbar *gg*
(This post was last modified: 11-08-2007 08:27 AM by Nightshark.)
11-08-2007 08:20 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: Postfix - Main.cf && SMTP-Fehler
ich habe /(nur sasl relevantes):

Code:
# postconf -n | grep sasl
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination,check_policy_service inet:127.0.0.1:60000
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

mit mc kann ich gut in die sasldb2 hineinsehen...

/J
11-08-2007 08:42 AM
Visit this user's website Find all posts by this user
Nightshark Offline
Junior Member
*

Posts: 31
Joined: Nov 2007
Reputation: 0
Post: #9
RE: Postfix - Main.cf && SMTP-Fehler
Ich weiss gar nicht obs am SASL liegt, also ich hab gar keine Ahnung worans liegt, er sagt einfach authentication failed... aber kA woran es liegt :o

und mit mc hab ich anstatt ganz viele @(vi) ganz viele . Aber da stehn schon so Sachen drin wie Passwort.mailadresse usw.... und die stimmen auch und so... aber... *räbäääh*
(This post was last modified: 11-08-2007 09:06 AM by Nightshark.)
11-08-2007 09:03 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: Postfix - Main.cf && SMTP-Fehler
ich wollte auf diese zwei hinweisen:

smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous

die sind bei dir anders...

/J
11-08-2007 09:20 AM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 7 Guest(s)