Confixx + SMTP Auth

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
lazybone
Posts: 20
Joined: 2007-05-26 19:55
 

Confixx + SMTP Auth

Post by lazybone »

Hallo

ich habe schon bissel im Forum gelesen bin aber net wirklich schlau geworden. Ich habe einen Suse 10 Server wo Confixx drauf läuft. Nun möchte ich gerne bei SMTP Auth aktivieren wie stelle ich dies an?

Gruß
Lazybone
Last edited by lazybone on 2007-06-08 09:13, edited 1 time in total.
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Confixx + SMTP Auth

Post by Roger Wilco »

Welcher MTA?
lazybone
Posts: 20
Joined: 2007-05-26 19:55
 

Re: Confixx + SMTP Auth

Post by lazybone »

Hallo

wie kann ich dies herrausfinden bin leider in Mailserver ein anfänger
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Confixx + SMTP Auth

Post by Roger Wilco »

  • Schau nach, welche Pakete auf deinem System installiert sind. Gebräuchliche MTAs sind Postfix, Exim, qmail, Sendmail.
  • Schau nach, welcher Prozess an Port 25 gebunden ist (-> netstat oder lsof)
  • Vielleicht verrät sich der MTA im Banner bei `telnet localhost 25`.
lazybone
Posts: 20
Joined: 2007-05-26 19:55
 

Re: Confixx + SMTP Auth

Post by lazybone »

ESMTP Postfix sagt mir telnet
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Confixx + SMTP Auth

Post by Roger Wilco »

lazybone
Posts: 20
Joined: 2007-05-26 19:55
 

Re: Confixx + SMTP Auth

Post by lazybone »

genau diese anleitung habe ich auch schon gelesen verstehe nur manche punnkte nicht. gibt es vielleicht noch ne deutsche anleitung?
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: Confixx + SMTP Auth

Post by adjustman »

Lazybone wrote:genau diese anleitung habe ich auch schon gelesen verstehe nur manche punnkte nicht. gibt es vielleicht noch ne deutsche anleitung?
das ist so ne Sache mit dem Deutsch. ;) Meist sind die "Originale" (in English) besser. Hier noch eins
http://postfix.state-of-mind.de/patrick ... /smtpauth/
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: Confixx + SMTP Auth

Post by oxygen »

Bei einem SuSE 9.2 Server würde ich davon absehen, Zeit in die Konfiguration zu stecken. Der muss mit einer aktuellen Distribution neuinstalliert werden.
lazybone
Posts: 20
Joined: 2007-05-26 19:55
 

Re: Confixx + SMTP Auth

Post by lazybone »

Hallo

habe mich vertan sry es ist schon Suse 10.0. Wäre einer so nett und würde mir per ICQ oder MSN oder nen OnlineChat mir das erklären. Bekomme es nicht hin. Meine Kontaktdaten stehen im Profil

Gruß
Lazybone
lazybone
Posts: 20
Joined: 2007-05-26 19:55
 

Re: Confixx + SMTP Auth

Post by lazybone »

Also habe jetzt nach http://www.howtoforge.com/perfect_setup_suse_10.0_p4 alles eingestellt auch die ausgabe bei ehlo localhost sieht so aus trotzdem kann ich über SMTP ohne Auth mails verschicken
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: Confixx + SMTP Auth

Post by adjustman »

Lazybone wrote:trotzdem kann ich über SMTP ohne Auth mails verschicken
jetzt muss man fragen; intern oder extern?
lazybone
Posts: 20
Joined: 2007-05-26 19:55
 

Re: Confixx + SMTP Auth

Post by lazybone »

extern
sledge0303
Posts: 695
Joined: 2005-09-16 00:06
Location: Berlin-Reinickendorf
 

Re: Confixx + SMTP Auth

Post by sledge0303 »

Wenn es korrekt verstanden wurde. Man kann mit Outlook oder Thunderbird über deinen Server Mails verschicken ohne sich per Username/Passwort angemeldet zu haben?
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: Confixx + SMTP Auth

Post by adjustman »

sledge0303 wrote:Wenn es korrekt verstanden wurde. Man kann mit Outlook oder Thunderbird über deinen Server Mails verschicken ohne sich per Username/Passwort angemeldet zu haben?
dann hättest du ein open relay. Prüf das
http://www.abuse.net/relay.html
lazybone
Posts: 20
Joined: 2007-05-26 19:55
 

Re: Confixx + SMTP Auth

Post by lazybone »

dort kommt

Relay test result
All tests performed, no relays accepted.


allerdings funktioniert drotzdem kein SMTP Auth mit ben und pass
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: Confixx + SMTP Auth

Post by adjustman »

Lazybone wrote:allerdings funktioniert drotzdem kein SMTP Auth mit ben und pass
sorry, aber DAS glaub ich dir jetzt nicht mehr. :wink:
Zeig relevante Logauszüge
lazybone
Posts: 20
Joined: 2007-05-26 19:55
 

Re: Confixx + SMTP Auth

Post by lazybone »

aus welcher log möchtest du die log einträge haben?
sledge0303
Posts: 695
Joined: 2005-09-16 00:06
Location: Berlin-Reinickendorf
 

Re: Confixx + SMTP Auth

Post by sledge0303 »

Lazybone wrote:aus welcher log möchtest du die log einträge haben?
In den mail.logs müsste hervorgehen, dass der Mailserver eine Mail versendet hat. Hast du von einem externen Client gesendet oder per telnet vom Server aus?
Das war meine Frage und daraus kann man ersehen wieso versendet werden kann, zumindest deiner Meinung nach.
lazybone
Posts: 20
Joined: 2007-05-26 19:55
 

Re: Confixx + SMTP Auth

Post by lazybone »

ich habe von extern versucht wenn ich allerdings SMTP Auth einstelle dan werden keine mails mehr zugestellt.
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: Confixx + SMTP Auth

Post by adjustman »

@Lazybone
sorry, du sprichst in Rätseln :roll:
sledge0303
Posts: 695
Joined: 2005-09-16 00:06
Location: Berlin-Reinickendorf
 

Re: Confixx + SMTP Auth

Post by sledge0303 »

adjustMan wrote:@Lazybone
sorry, du sprichst in Rätseln :roll:
Rätsel ist gut ausgedrückt, eher sollte er sich der OP die Frage stellen, was für eine Krücke hab ich mir da zusammengeschustert oder mit Informationen rausrücken die für eine erwartete Hilfestellung ausschlaggebend sind... :roll:
lazybone
Posts: 20
Joined: 2007-05-26 19:55
 

Re: Confixx + SMTP Auth

Post by lazybone »

sry kenne mich aber leider net so mit Mailserver aus.
Wenn ich in der main.cf SASL Auth einschalten

Code: Select all

readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = vgweb1.vision-group.eu
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
content_filter =
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtp_sasl_auth_enable = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smptd_sasl_auth_clients = yes
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 100240000
mailbox_command = /usr/bin/procmail
Soweit funktioniert das dann auch. Authentifizierung klappt. Nur möchte ich gerne dass mann sich immer Authentifizierung muss mit Benutzernamen und Passwort. Wie stelle ich das an?

Gruß
Lazybone
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA
 

Re: Confixx + SMTP Auth

Post by adjustman »

Lazybone wrote:sry kenne mich aber leider net so mit Mailserver aus
und deshalb schick den Output von postconf -n
greenrover
Posts: 203
Joined: 2004-12-17 19:34
 

Re: Confixx + SMTP Auth

Post by greenrover »

hallo, ich habe ein ähnliches Problem...
ich sitze jetzt schon stunden daran unter debian sarge dem postfix smtp auth per /etc/passwd bei zu biegen.

der sagt mir immer nur password ist falsch.

/etc/postfix/sasl/smtpd.conf

Code: Select all

pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
log_level: 3
main.cf beinhaltet:

Code: Select all

smtpd_recipient_restrictions =
   permit_mynetworks,
   permit_sasl_authenticated,
   reject_unauth_destination,
   reject_invalid_hostname,
   reject_unauth_pipelining,
   reject_rbl_client list.dsbl.org,
   reject_rbl_client zen.spamhaus.org,
   reject_rbl_client ix.dnsbl.manitu.net
   check_policy_service inet:127.0.0.1:60000,
   permit

smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
testsaslauthd -u web197p1 -p ***** >> 0: OK "Success."


mail.log

Code: Select all

warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
warning: SASL authentication failure: Password verification failed
warning: unknown[213.202.39.120]: SASL PLAIN authentication failed
aber ich habe keine Ahnung, welche Datei er da genau vermisst.

DIST: debian sarge
MTA: POSTFIX
MDA: COURIER