Net::SMTP

Hilfe zu Znuny Problemen aller Art
Locked
makkat
Znuny newbie
Posts: 5
Joined: 16 Feb 2009, 13:38

Net::SMTP

Post by makkat »

Wenn ich aus OTRS heraus z.B. eine Admin-Benachrichtigung senden möchte kommt folgende Fehlermeldung:

Fehler: SMTP authentication failed: 504LOGIN authentication failed
! Enable Net::SM[..]

ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Mar 11 18:26:33 2009

Message: SMTP authentication failed: 504LOGIN authentication failed
! Enable Net::SMTP debug for more info!

Traceback (19033):
Module: Kernel::System::Email::SMTP::Send (v1.21) Line: 90
Module: Kernel::System::Email::Send (v1.45) Line: 553
Module: Kernel::Modules::AdminEmail::Run (v1.29) Line: 111
Module: Kernel::System::Web::InterfaceAgent::Run (v1.35) Line: 824
Module: /opt/otrs/bin/cgi-bin/index.pl (v1.87) Line: 47


Habe schon versucht das Net::SMTP Perl-Modul zu aktualisieren, was aber nicht geändert hat.
Bin etwas ratlos, was nun zu machen ist!
Danke & Gruß
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Net::SMTP

Post by jojo »

Die Authentifizierung an Deinem SMTP Relay funktioniert nicht:

- Benutzername/Passwort eingetragen bzw. korrekt?
- richtige Authentifizierungsmethode im SMTP Relay erlaubt?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
makkat
Znuny newbie
Posts: 5
Joined: 16 Feb 2009, 13:38

Net::SMTP

Post by makkat »

Wo kann ich denn diese Einstellungen prüfen?

Ich möchte gerne per Postfix versenden.
Die main.cf von Postfix ist soweit eingerichtet:

inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = 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 = otrs.lammering.de
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain
defer_transports =
mynetworks_style = subnet
disable_dns_lookups = no
relayhost = 128.9.200.22 --> IP des Servers auf dem David-Tobit installeirt ist
mailbox_command = procmail -a "$EXTENSION" DEFAULT = $HOME/Maildir/
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
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
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
mailbox_size_limit = 0
message_size_limit = 10240000
alias_maps = hash:/etc/aliases


Wenn ich nun im Terminal mit dem Befehl "mail" intern eine Mail versenden möchte funktioniert es.
Aber aus OTRS heraus noch nicht.
Inwiefern muss ich OTRS mit Postfix verbinden?
makkat
Znuny newbie
Posts: 5
Joined: 16 Feb 2009, 13:38

Net::SMTP

Post by makkat »

Problem gelöst!

Postfix und Sendmail liefen parallel! :D
Locked