Hi all,
I have some problems with send mail function with New Ticket event. In fact, when a new ticket is created from web-interface, i obtain Error 500 page. The apache's log is:
[Tue Jun 25 17:30:24 2013] [error] \t(in cleanup) Couldn't send mail: 550 5.7.1 Client does not have permissions to send as this sender\n at /opt/otrs//Kernel/System/Email/SMTPTLS.pm line 167\n
When i use the function "Send Notifation To Users" it works fine and an email is sent to user.
i'm using
OTRS 3.2.8 + OTRS ITSM 3.2.6
on
CentOS 5.9 64bit
Apache 2.2.24
MySql 5.5.32
Send Mail is configured:
SMTPTLS
/usr/sbin/sendmail -i -f
smtp.server.com
Port: 25
username: <USER>
Error Sending Mail after Create Ticket
Moderator: crythias
Error Sending Mail after Create Ticket
Currently testing:
OTRS 4.0.7 + OTRS ITSM 4
RedHat 5.2 64bit
Apache 2.2.25
MySql 5.6.14
OTRS 4.0.7 + OTRS ITSM 4
RedHat 5.2 64bit
Apache 2.2.25
MySql 5.6.14
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Error Sending Mail after Create Ticket
Which means what it says.schism wrote: Client does not have permissions to send as this sender
The queue in which the ticket has been created is assigned an email address that your email transfer agent (Exchange) says you're not allowed to send as, based upon the SMTP authentication settings you've provided.
This means you can't spoof the sender.
Options: enable spoofing.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Error Sending Mail after Create Ticket
First of all, thanks to answer me! 
I've changed some configuration. The error is disappeared, but email is not sent, or however it is not arrived.
This is the situation:
2 agent configured:
useragent1 --> admin group --> useradmin@domain.com
useragent2 --> user group --> useragent@domain.com
AdminEmail: useradmin@domain.com
Queue configured:
HelpDesk --> user group --> useradmin@domain.com
So, when i use "Send Notifation To Users", from useragent1 to useragent2, it works fine and email is receveid by useragent2.
Now, i create a new Notification Event:
TestTicket
Event: TicketCreate
Queue: HelpDesk
Type: Every
Agent: useragent2
So, from useragent1 i create a new ticket on HelpDesk queue with operator useragent2. There are 2 situation:
1. Ticket correctly create, but not mail is arrived to useragent2
2. Blank page. I must reload the page to reobtain the dashboard. No mail for useragent2.
No error in apache's error_log or otrs.log.

I've changed some configuration. The error is disappeared, but email is not sent, or however it is not arrived.
This is the situation:
2 agent configured:
useragent1 --> admin group --> useradmin@domain.com
useragent2 --> user group --> useragent@domain.com
AdminEmail: useradmin@domain.com
Queue configured:
HelpDesk --> user group --> useradmin@domain.com
So, when i use "Send Notifation To Users", from useragent1 to useragent2, it works fine and email is receveid by useragent2.
Now, i create a new Notification Event:
TestTicket
Event: TicketCreate
Queue: HelpDesk
Type: Every
Agent: useragent2
So, from useragent1 i create a new ticket on HelpDesk queue with operator useragent2. There are 2 situation:
1. Ticket correctly create, but not mail is arrived to useragent2
2. Blank page. I must reload the page to reobtain the dashboard. No mail for useragent2.
No error in apache's error_log or otrs.log.
Currently testing:
OTRS 4.0.7 + OTRS ITSM 4
RedHat 5.2 64bit
Apache 2.2.25
MySql 5.6.14
OTRS 4.0.7 + OTRS ITSM 4
RedHat 5.2 64bit
Apache 2.2.25
MySql 5.6.14
-
- Znuny ninja
- Posts: 1312
- Joined: 25 May 2012, 08:51
- Znuny Version: OTRS 4
- Real Name: Klaus Nehrer
Re: Error Sending Mail after Create Ticket
The notify and the queue "my queues" in user preference is activeted?
Re: Error Sending Mail after Create Ticket
Yes.
Currently testing:
OTRS 4.0.7 + OTRS ITSM 4
RedHat 5.2 64bit
Apache 2.2.25
MySql 5.6.14
OTRS 4.0.7 + OTRS ITSM 4
RedHat 5.2 64bit
Apache 2.2.25
MySql 5.6.14
Re: Error Sending Mail after Create Ticket
no idea?
Currently testing:
OTRS 4.0.7 + OTRS ITSM 4
RedHat 5.2 64bit
Apache 2.2.25
MySql 5.6.14
OTRS 4.0.7 + OTRS ITSM 4
RedHat 5.2 64bit
Apache 2.2.25
MySql 5.6.14
Re: Error Sending Mail after Create Ticket
check the logs on your mail server
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Error Sending Mail after Create Ticket
I have changed my OTRS infrastructure. In fact, i have deployed OTRS 3.2.9 e OTRS ITSM 3.2.7. Now, with the same sys configuration, the email is sent to the agent.
Currently testing:
OTRS 4.0.7 + OTRS ITSM 4
RedHat 5.2 64bit
Apache 2.2.25
MySql 5.6.14
OTRS 4.0.7 + OTRS ITSM 4
RedHat 5.2 64bit
Apache 2.2.25
MySql 5.6.14