OTRS 6: Mail problems

Moderator: crythias

Locked
mgoeppl
Znuny newbie
Posts: 2
Joined: 23 Jul 2020, 00:46
Znuny Version: 6.0.28
Real Name: Moritz Göppl

OTRS 6: Mail problems

Post by mgoeppl »

Hey there, I cannot send mails, but only receive them.

My mail config:
SendMail

The message displayed in the ticket overview:
Sending of this message has failed. [23/07/2020 11:18 (Europe/Berlin)] Error while validating Sender email address.


The report after sending:
Backend ERROR: OTRS-CGI-10 Perl: 5.26.1 OS: linux Time: Thu Jul 23 09:23:32 2020

Message: Impossible to send message to: recipient@example.com .

RemoteAddress: xxx.xxx.xx.xx
RequestURI: /otrs/index.pl

Traceback (1817):
Module: Kernel::System::Ticket::Article::Backend::Email::ArticleSend Line: 298
Module: Kernel::Modules::AgentTicketCompose::Run Line: 1027
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1135
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS 6: Mail problems

Post by jojo »

check you sender mail address configured for the queue
"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
root
Administrator
Posts: 4251
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: OTRS 6: Mail problems

Post by root »

Hi,

Due to the fact that you're using the Sendmail module you have to consider the MTA's log on your OTRS server. Usually, this is Postfix, Sendmail or Exim. I guess the MTA is not properly configured.

If you're not familiar with your MTA you should consider using another module like SMTP/SMPTTLS/etc.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
mgoeppl
Znuny newbie
Posts: 2
Joined: 23 Jul 2020, 00:46
Znuny Version: 6.0.28
Real Name: Moritz Göppl

Re: OTRS 6: Mail problems

Post by mgoeppl »

jojo, thanks. This fixed the problem.
Locked