• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

postfix + smtp auth

Status
Für weitere Antworten geschlossen.

hasenfuss

Newbie
Hallo,
nachdem ich jetzt etliche Stunden zugebracht habe um die Authorisierung am Mailserver zu ermoeglichen frage ich hier mal nach.
Also ich habe hier einen Suse 7.3 Server da habe ich Postfix 2.2.5 aus den Sourcen kompiliert.
Das hat soweit geklappt. Dann habe ich versucht Mails ueber einen Relayserver zu verschicken, er hat in den Logfiles dann behauptet das smtp_sasl_auth_enable auf true steht das aber nicht einkompiliert ist . Ok habe ich gedacht dann machst du das halt mal.
Cyrus-sasl-2.1.21 kompiliert und installiert.
Mit folgendem Befehl postfix erneut kompiliert
Code:
 make makefiles CCARGS="-DUSE_SASL_AUTH -I/usr/local/include/sasl -L/usr/local/lib -lsasl";make;make upgrade
Und jetzt kommt folgendes in den Logfiles /var/log/mail
-------------------------------
Aug 27 14:40:38 sonne postfix/qmgr[31365]: 307772A847C: from=<bla@foo.de>, size=11848, nrcpt=1 (queue active)
Aug 27 14:40:38 sonne postfix/local[31370]: 307772A847C: to=<root@sonne.local>, orig_to=<root>, relay=local, delay=0, status=sent (delivered to mailbox)
Aug 27 14:40:38 sonne postfix/qmgr[31365]: 307772A847C: removed
Aug 27 14:54:33 sonne postfix/qmgr[31365]: 5172A2A847B: from=<bla@foo.de>, size=281, nrcpt=1 (queue active)
Aug 27 14:54:34 sonne postfix/smtp[31414]: fatal: set per-session SASL security properties
Aug 27 14:54:35 sonne postfix/master[31363]: warning: process /usr/libexec/postfix/smtp pid 31414 exit status 1
Aug 27 14:54:35 sonne postfix/master[31363]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
Aug 27 14:54:35 sonne postfix/qmgr[31365]: warning: premature end-of-input on private/smtp socket while reading input attribute name
Aug 27 14:54:35 sonne postfix/qmgr[31365]: warning: private/smtp socket: malformed response
Aug 27 14:54:35 sonne postfix/qmgr[31365]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description
----------------------------------------------
ich haenge mal noch die main.cf an
----------------------------------------------
setgid_group = maildrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/spool/mail
sender_canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
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 = sonne.local
program_directory = /usr/lib/postfix
inet_interfaces = 127.0.0.1,192.168.6.1
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost = smtp.1und1.com
content_filter =
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/postfix/aliases
mailbox_size_limit = 0
message_size_limit = 20240000
smtp_sasl_security_options = noanonymous
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
html_directory = no
------------------------------------------------------

Wo liegt der Fehler :roll:
MFG hasenfuss
 

crazyrolf

Advanced Hacker
smtp_sasl_auth_enable = yes

Das liegt nicht an deinem Server sondern an dem von 1und1

Mit dem oben genannten Befehl authentifizierst du dich gegenüber 1und1.

Also stimmt da was nicht mit dem wie oder womit!

Überprüfe mal mit KMail was der Server von 1und1 überhaupt zulässt.
 

crazyrolf

Advanced Hacker
Ist aber auch möglich das du beim compilieren einen Fehler gemacht hast und es nicht richtig arbeitet.

Siehe:

http://www.linux-club.de/viewtopic.php?t=39587
 
Status
Für weitere Antworten geschlossen.
Oben