Can't send mail [RESOLVED]

Moderator: crythias

Post Reply
rninov
Znuny newbie
Posts: 6
Joined: 13 Nov 2023, 10:15
Znuny Version: 7.0.8-01
Real Name: Romeo Ninov

Can't send mail [RESOLVED]

Post by rninov »

Hello all,

I have problem sending mail from znuny.
My version of znuny is 7.0.8-01, RH 9.1, x86_64
Have local mail server (postfix) which is tested and can send mails. Listen to all interfaces, port 25. In znuny is configured to localhost, port 25. Tested with nonlocal interface, hostnames, IPs.

I click on the icon Mail (from Actions) I get error:

Code: Select all

Impossible to send message to: <mail address>.
The error details are:

Code: Select all

Backend ERROR: Znuny-CGI-71 Perl: 5.32.1 OS: linux Time: Fri Nov 10 12:34:57 2023

 Message: Impossible to send message to: <mail address> .

 RemoteAddress: 10.0.45.9
 RequestURI: /znuny/index.pl

 Traceback (3518666): 
   Module: Kernel::System::Ticket::Article::Backend::Email::ArticleSend Line: 302
   Module: Kernel::Modules::AgentTicketEmail::Run Line: 1860
   Module: Kernel::System::Web::InterfaceAgent::Run Line: 1091
   Module: ModPerl::ROOT::ModPerl::Registry::opt_znuny_bin_cgi_2dbin_index_2epl::handler Line: 39
   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
If you need more information please ask for it.
Last edited by rninov on 17 Nov 2023, 10:11, edited 1 time in total.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Can't send mail

Post by jojo »

did you check the mail log also?
"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
rninov
Znuny newbie
Posts: 6
Joined: 13 Nov 2023, 10:15
Znuny Version: 7.0.8-01
Real Name: Romeo Ninov

Re: Can't send mail

Post by rninov »

jojo wrote: 13 Nov 2023, 11:32 did you check the mail log also?
If you mean logs of mail server - yes, and they are empty (no mails from znuny)
If you mean mail logs of znuny - I do not see znuny to create logs from mail. Can you please clarify?
wurzel
Znuny guru
Posts: 3232
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Can't send mail

Post by wurzel »

Hi,

it seems you are sending to no one

Message: Impossible to send message to: <mail address> .

so check Admin > communication log

Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
rninov
Znuny newbie
Posts: 6
Joined: 13 Nov 2023, 10:15
Znuny Version: 7.0.8-01
Real Name: Romeo Ninov

Re: Can't send mail

Post by rninov »

wurzel wrote: 13 Nov 2023, 13:41 Hi,

it seems you are sending to no one

Message: Impossible to send message to: <mail address> .

so check Admin > communication log

Flo
Flo, the mails are stripped for privacy. They are in form "name secondname"<email@address>
rninov
Znuny newbie
Posts: 6
Joined: 13 Nov 2023, 10:15
Znuny Version: 7.0.8-01
Real Name: Romeo Ninov

Re: Can't send mail

Post by rninov »

wurzel wrote: 13 Nov 2023, 13:41 Hi,

it seems you are sending to no one

Message: Impossible to send message to: <mail address> .

so check Admin > communication log

Flo
Florian,

I see this in Communication log:

Code: Select all

3		Kernel::System::MailQueue	Invalid email address Sender - znuny@localhost: invalid znuny@localhost (Invalid syntax)!	
Where I can change the mail of sender?
skullz
Znuny superhero
Posts: 624
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Can't send mail

Post by skullz »

Check System Configuration> NotificationSenderEmail
rninov
Znuny newbie
Posts: 6
Joined: 13 Nov 2023, 10:15
Znuny Version: 7.0.8-01
Real Name: Romeo Ninov

Re: Can't send mail

Post by rninov »

skullz wrote: 15 Nov 2023, 11:49 Check System Configuration> NotificationSenderEmail
I checked and this mail is set on different (well formatted) email address. Any other place I can search? Database, text config files?
skullz
Znuny superhero
Posts: 624
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Can't send mail

Post by skullz »

Check
Admin > Email Addresses
Admin > Queues > <QUEUE_NAME> > System address
Admin > Auto responses

Admin > System Configuration > Daemon::SchedulerTaskWorker::NotificationRecipientEmail
Admin > System Configuration > Admin::Email
rninov
Znuny newbie
Posts: 6
Joined: 13 Nov 2023, 10:15
Znuny Version: 7.0.8-01
Real Name: Romeo Ninov

Re: Can't send mail

Post by rninov »

skullz wrote: 16 Nov 2023, 11:43 Check
Admin > Email Addresses
Admin > Queues > <QUEUE_NAME> > System address
Admin > Auto responses

Admin > System Configuration > Daemon::SchedulerTaskWorker::NotificationRecipientEmail
Admin > System Configuration > Admin::Email
Thank you, the first was the place I search for. And this resolve my problem.
Post Reply