Can not send email to customer otrs-4.0.2

Moderator: crythias

Locked
scottzu
Znuny newbie
Posts: 14
Joined: 04 Dec 2014, 12:02
Znuny Version: otrs-4.02
Real Name: Scott Zụ
Company: VPBank
Contact:

Can not send email to customer otrs-4.0.2

Post by scottzu »

Hi All ,

Please help me , i check function send mail and error

cat /otrs/public_html/otrs/doc/sample_mails/test-email-1.box | /otrs/public_html/otrs/bin/otrs.PostMaster.pl

cat /otrs/public_html/otrs/doc/sample_mails/test-email-1.box | /otrs/public_html/otrs/bin/otrs.PostMaster.pl
[Thu Jan 15 20:27:14 2015] otrs.PostMaster.pl: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /otrs/public_html/otrs/Kernel/System/Log.pm line 197.
[Thu Jan 15 20:27:14 2015] otrs.PostMaster.pl: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /otrs/public_html/otrs/Kernel/System/Log.pm line 197.
[Thu Jan 15 20:27:14 2015] otrs.PostMaster.pl: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /otrs/public_html/otrs/Kernel/System/Log.pm line 197.
ERROR: OTRS-otrs.PostMaster.pl-53 Perl: 5.10.1 OS: linux Time: Thu Jan 15 20:27:14 2015

Message: Can't send to 'Tester': 5505.1.1 <Tester>: Recipient address rejected: User unknown in local recipient table
! Enable Net::SMTP debug for more info!

Traceback (15131):
Module: Kernel::System::Email::SMTP::Send Line: 151
Module: Kernel::System::Email::Send Line: 725
Module: Kernel::System::Ticket::Article::ArticleSend Line: 2553
Module: Kernel::System::Ticket::Event::NotificationEvent::_SendNotification Line: 1150
Module: Kernel::System::Ticket::Event::NotificationEvent::_SendNotificationToRecipients Line: 612
Module: Kernel::System::Ticket::Event::NotificationEvent::Run Line: 287
Module: Kernel::System::EventHandler::EventHandler Line: 226
Module: Kernel::System::EventHandler::EventHandlerTransaction Line: 268
Module: Kernel::System::ObjectManager::ObjectsDiscard Line: 364
Module: Kernel::System::ObjectManager::DESTROY Line: 545
Module: (eval) Line: 128
Module: /otrs/public_html/otrs/bin/otrs.PostMaster.pl Line: 128

[Thu Jan 15 20:27:14 2015] otrs.PostMaster.pl: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /otrs/public_html/otrs/Kernel/System/Log.pm line 197.
[Thu Jan 15 20:27:14 2015] otrs.PostMaster.pl: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /otrs/public_html/otrs/Kernel/System/Log.pm line 197.
ERROR: OTRS-otrs.PostMaster.pl-53 Perl: 5.10.1 OS: linux Time: Thu Jan 15 20:27:14 2015

Message: Impossible to send message to: System Tester I <skywalker@otrs.org> .

Traceback (15131):
Module: Kernel::System::Ticket::Article::ArticleSend Line: 2560
Module: Kernel::System::Ticket::Event::NotificationEvent::_SendNotification Line: 1150
Module: Kernel::System::Ticket::Event::NotificationEvent::_SendNotificationToRecipients Line: 612
Module: Kernel::System::Ticket::Event::NotificationEvent::Run Line: 287
Module: Kernel::System::EventHandler::EventHandler Line: 226
Module: Kernel::System::EventHandler::EventHandlerTransaction Line: 268
Module: Kernel::System::ObjectManager::ObjectsDiscard Line: 364
Module: Kernel::System::ObjectManager::DESTROY Line: 545
Module: (eval) Line: 128
Module: /otrs/public_html/otrs/bin/otrs.PostMaster.pl Line: 128


Mail log send to to=<Tester> not email address
Rooobaaat
Znuny wizard
Posts: 432
Joined: 11 Sep 2014, 16:28
Znuny Version: OTRS 5.0.x

Re: Can not send email to customer otrs-4.0.2

Post by Rooobaaat »

the email address is not valid.
My english is better than your german :P

"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Can not send email to customer otrs-4.0.2

Post by reneeb »

Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
scottzu
Znuny newbie
Posts: 14
Joined: 04 Dec 2014, 12:02
Znuny Version: otrs-4.02
Real Name: Scott Zụ
Company: VPBank
Contact:

Re: Can not send email to customer otrs-4.0.2

Post by scottzu »

Rooobaaat wrote:the email address is not valid.

Email from file . It correct

cat /otrs/public_html/otrs/doc/sample_mails/test-email-1.box
From skywalker@otrs.org Fri Dec 21 23:59:24 2001
Return-Path: <skywalker@otrs.org>
Received: (from skywalker@localhost)
by avro.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) id f3MMSE303694
for martin@localhost; Fri, 21 Dec 2001 23:59:24 +0200
Date: Fri, 21 Dec 2001 23:59:24 +0200
From: System Tester I <skywalker@otrs.org>
To: darthvader@otrs.org
Subject: test 1
Message-ID: <20011221002814.A3599@avro>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Operating-System: Linux 2.4.10-4GB i686
X-Uptime: 12:23am up 5:19, 6 users, load average: 0.11, 0.13, 0.18
Content-Length: 139
Lines: 11

This is the first test.

Adios ...

Little "Skywalker"

--
System Tester I - <skywalker@otrs.org>
--
Old programmers never die. They just branch to a new address.
Rooobaaat
Znuny wizard
Posts: 432
Joined: 11 Sep 2014, 16:28
Znuny Version: OTRS 5.0.x

Re: Can not send email to customer otrs-4.0.2

Post by Rooobaaat »

It's just a example mail with a non-valid mailaddress. Try it with a REAL EMailaddress like your_mail@vpbank.com
My english is better than your german :P

"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Can not send email to customer otrs-4.0.2

Post by reneeb »

Rooobaaat wrote:It's just a example mail with a non-valid mailaddress.
It is a valid mail-address, even though the mail account might not exist.

edit: typo fixed
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Rooobaaat
Znuny wizard
Posts: 432
Joined: 11 Sep 2014, 16:28
Znuny Version: OTRS 5.0.x

Re: Can not send email to customer otrs-4.0.2

Post by Rooobaaat »

update to 4.0.3
My english is better than your german :P

"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Can not send email to customer otrs-4.0.2

Post by reneeb »

Rooobaaat wrote:update to 4.0.3
The error mentioned in the pull request is still there. And the latest OTRS version is 4.0.4 ;-)
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
scottzu
Znuny newbie
Posts: 14
Joined: 04 Dec 2014, 12:02
Znuny Version: otrs-4.02
Real Name: Scott Zụ
Company: VPBank
Contact:

Re: Can not send email to customer otrs-4.0.2

Post by scottzu »

update code and work fine. Thank you
xtheb
Znuny newbie
Posts: 20
Joined: 16 Jan 2015, 12:17
Znuny Version: 4.0.3

Re: Can not send email to customer otrs-4.0.2

Post by xtheb »

Edit : problem solved and the solution was not in relation with the topic
alexus
Znuny wizard
Posts: 382
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: Can not send email to customer otrs-4.0.2

Post by alexus »

This is bug description with solution- http://bugs.otrs.org/show_bug.cgi?id=11038
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
Locked