OTRS wont send auto response from incoming tickets
Moderator: crythias
-
- Znuny newbie
- Posts: 9
- Joined: 01 Oct 2012, 18:14
- Znuny Version: 3.1.10
- Real Name: Svein Arild Kristiansen
OTRS wont send auto response from incoming tickets
Hey
I cant get our company OTRS installation to send emails when tickets are send to the support email.
If I run the "otrs.PostMasterMailbox.pl" manualy from terminal as suod user I get:
"Couldn't send mail: 550 5.7.1 Client does not have permissions to send as this sender
at /opt/otrs/Kernel/System/Email/SMTPTLS.pm line 172"
If I try to reply from the web-gui it work, and it fetch the mails correct.
I can see in the ticket that the autoresponse is added to the history of the ticket.
I read a lot here about the same error and have changed the setting where the support email is at every place I can think of.
Then I setup the system first time, I skipped the IMAP/SMTP part of the wizard.
I know the email we are using is working bouth ways, at least in Mail for OSX.
System:
Ubuntu Server 10.4 LTS
Exchange 2007 (office365)
I cant get our company OTRS installation to send emails when tickets are send to the support email.
If I run the "otrs.PostMasterMailbox.pl" manualy from terminal as suod user I get:
"Couldn't send mail: 550 5.7.1 Client does not have permissions to send as this sender
at /opt/otrs/Kernel/System/Email/SMTPTLS.pm line 172"
If I try to reply from the web-gui it work, and it fetch the mails correct.
I can see in the ticket that the autoresponse is added to the history of the ticket.
I read a lot here about the same error and have changed the setting where the support email is at every place I can think of.
Then I setup the system first time, I skipped the IMAP/SMTP part of the wizard.
I know the email we are using is working bouth ways, at least in Mail for OSX.
System:
Ubuntu Server 10.4 LTS
Exchange 2007 (office365)
Re: OTRS wont send auto response from incoming tickets
please ask your exchange admin to allow the OTRS server to send with different email addresses as the error clearly states this is an exchange issue: 550 5.7.1 Client does not have permissions to send as this sender
"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
-
- Znuny newbie
- Posts: 9
- Joined: 01 Oct 2012, 18:14
- Znuny Version: 3.1.10
- Real Name: Svein Arild Kristiansen
Re: OTRS wont send auto response from incoming tickets
I see, I guess we are stuck then because we are using an office365 hosted exchange so I guess we cant get this changed.
But I kinda don't understand why the system tries to send with another email address then I use the same email every place, System Email Addresses, smtp authentication, headers, envelope and so on.
But I kinda don't understand why the system tries to send with another email address then I use the same email every place, System Email Addresses, smtp authentication, headers, envelope and so on.
Re: OTRS wont send auto response from incoming tickets
notifications are sent with empty envelope from
you can change this to a fixed one
you can change this to a fixed one
"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
-
- Znuny newbie
- Posts: 9
- Joined: 01 Oct 2012, 18:14
- Znuny Version: 3.1.10
- Real Name: Svein Arild Kristiansen
Re: OTRS wont send auto response from incoming tickets
I have changed the "NotificationSenderEmail" in "Framework -> Core" but still same error......
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: OTRS wont send auto response from incoming tickets
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
-
- Znuny newbie
- Posts: 9
- Joined: 01 Oct 2012, 18:14
- Znuny Version: 3.1.10
- Real Name: Svein Arild Kristiansen
Re: OTRS wont send auto response from incoming tickets
The only thing I get out from that link is howto check if the Exchange user have the " SendAs AccessRights" on or off.
Re: OTRS wont send auto response from incoming tickets
has the user these permissions?
"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
-
- Znuny newbie
- Posts: 9
- Joined: 01 Oct 2012, 18:14
- Znuny Version: 3.1.10
- Real Name: Svein Arild Kristiansen
Re: OTRS wont send auto response from incoming tickets
Hi
I tested now, but then I try to run the "Get-RecipientPermission" I get an error that the cmdlet dont exist.
As far as I can understand this happens if you loginto exchange with another account but the super-admin account for Office365.
I dont have that for our company so cant seem to fix this problem yet.
I tested now, but then I try to run the "Get-RecipientPermission" I get an error that the cmdlet dont exist.
As far as I can understand this happens if you loginto exchange with another account but the super-admin account for Office365.
I dont have that for our company so cant seem to fix this problem yet.
-
- Znuny newbie
- Posts: 9
- Joined: 01 Oct 2012, 18:14
- Znuny Version: 3.1.10
- Real Name: Svein Arild Kristiansen
Re: OTRS wont send auto response from incoming tickets
OK, I got reply form the 365 admin here, and he tells me that the email account I use only cant send mail on behaf of others and that we cant set it to "anyone".
So I kinda need to find out who OTRS try to send as/from or else we need to use another SMTP server.
So I kinda need to find out who OTRS try to send as/from or else we need to use another SMTP server.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: OTRS wont send auto response from incoming tickets
The sender is the System Address attached to the Queue.
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
-
- Znuny newbie
- Posts: 9
- Joined: 01 Oct 2012, 18:14
- Znuny Version: 3.1.10
- Real Name: Svein Arild Kristiansen
Re: OTRS wont send auto response from incoming tickets
Thanks 
But this makes me still confused because the system adress attached to the queue is the same email as it pulls from and that the customers sends to.
I have the same email on every queue (RAW, Postmaster, misc and Junk)
So it seems like the email dont have "SendAs AccessRights" to/from itself.....that sounds strange, but thanks for all the help so far

But this makes me still confused because the system adress attached to the queue is the same email as it pulls from and that the customers sends to.
I have the same email on every queue (RAW, Postmaster, misc and Junk)
So it seems like the email dont have "SendAs AccessRights" to/from itself.....that sounds strange, but thanks for all the help so far

Re: OTRS wont send auto response from incoming tickets
Auto Replies are send without mail from (which is RFC conform)
"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
-
- Znuny newbie
- Posts: 9
- Joined: 01 Oct 2012, 18:14
- Znuny Version: 3.1.10
- Real Name: Svein Arild Kristiansen
Re: OTRS wont send auto response from incoming tickets
Hello again 
We now tried with an open SMTP server we have and now I get some other errors:
Message: Can't send to myworkadress@myworkplace.no': 5505.1.1 <myworkadress@myworkplace.no>: Recipient address rejected: User unknown in local recipient table
Message: Can't send to 'some-none-work-adress': 5545.7.1 <some-none-work-adress>: Relay access denied
EDIT: Tried to add the sender email to OTRS as an customer and then it worked, but thats not very flexible.........

We now tried with an open SMTP server we have and now I get some other errors:
Message: Can't send to myworkadress@myworkplace.no': 5505.1.1 <myworkadress@myworkplace.no>: Recipient address rejected: User unknown in local recipient table
Message: Can't send to 'some-none-work-adress': 5545.7.1 <some-none-work-adress>: Relay access denied
EDIT: Tried to add the sender email to OTRS as an customer and then it worked, but thats not very flexible.........
Last edited by isvein on 03 Oct 2012, 18:15, edited 1 time in total.
Re: OTRS wont send auto response from incoming tickets
Again, the mailserver gives you an clearly stated error
So it seems that you did not use any authentification... You should get someone with basic mailserver experience (especially SMTP) for helpMessage: Can't send to 'some-none-work-adress': 5545.7.1 <some-none-work-adress>: Relay access denied
"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
-
- Znuny newbie
- Posts: 9
- Joined: 01 Oct 2012, 18:14
- Znuny Version: 3.1.10
- Real Name: Svein Arild Kristiansen
Re: OTRS wont send auto response from incoming tickets
Thats correct.
This SMTP server is an open relay and dont need authentication, it should work, but wil try with an user
This SMTP server is an open relay and dont need authentication, it should work, but wil try with an user
