[SOLVED] Sender address rejected: not owned by user

Moderator: crythias

Locked
alfar
Znuny newbie
Posts: 28
Joined: 07 Oct 2010, 07:44
Znuny Version: 3.0.8

[SOLVED] Sender address rejected: not owned by user

Post by alfar »

Hi,
I need some information about sending email from OTRS.

I have in my OTRS:
1. three POP3 email accounts:
rp@mydomain.com - for one application only
hd@mydomain.com - for every other things
help@mydomain.com - for my old customer which uses this email to send tickets
2. three email addresses - just to use them with specific queue as sender address
rp@mydomain.com - for one application only
hd@mydomain.com - for every other things
help@mydomain.com - for my old customer which uses this email to send tickets
3. SMTP account set in sysconfig
hd@mydomain.com
Envelop FROM is empty
4. Queue
RP - which have System address: set to rp@mydomain.com
HD - which have System address: set to hd@mydomain.com
etc...

And when i get new ticket to HD everything is ok, i can send an autoresponse, reply to customer from this email, but when i try to reply to custmer who sent his email to RP queue i get this massage:

Can't send to 'customer@company.com': 5535.7.1 <rp@mydomain.com>: Sender address rejected: not owned by user hd@mydomain.com

I was able to test it when i change in step 4 for RP queue system address from rp@mydomain.com to hd@mydomain.com it sends email properly, but my customer gets email from hd@mydomain.com, not rp@mydomain.com which is very important.

I haven't seen any option to set different SMTP authorization for different System Addresses from OTRS is there an option to solve this problem or i will have to use only one system address, but then why there is an option to select different addresses for queues :(

Best regards
Tom
Last edited by alfar on 30 Jul 2011, 11:57, edited 1 time in total.
OTRS 3.1.1- Ubuntu+apache2+mysql+perl
MichaelR
Znuny expert
Posts: 250
Joined: 12 Oct 2010, 01:35
Znuny Version: 3.0.9
Company: LRS Health

Re: Sender address rejected: not owned by user

Post by MichaelR »

There is a 'Multi SMTP/Sendmail' addon created somewhere. Have a search around for it.

Or just create 1 email account "catchall@mydomain.com" and make the others smtp aliases of catchall@mydomain.com
That might work :/
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks :)
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
alfar
Znuny newbie
Posts: 28
Joined: 07 Oct 2010, 07:44
Znuny Version: 3.0.8

Re: Sender address rejected: not owned by user

Post by alfar »

I can't have one catchall email, i need to have several email addresses to pass them exactly to one queue.
Of course i could use only web form to put tickets into OTRS, but easier for client is to use several email addresses.

I will search for the multi SMTP module, thanks for advice.

Best Regards
Tom
OTRS 3.1.1- Ubuntu+apache2+mysql+perl
renee
Znuny expert
Posts: 241
Joined: 06 Feb 2009, 11:15
Znuny Version: 3.0.x
Company: Perl-Services.de
Contact:

Re: Sender address rejected: not owned by user

Post by renee »

The MultiSMTP addon is available at http://opar.perl-services.de/bin/index. ... /MultiSMTP

Any feedback on this addon is appreciated. If you have questions about it, you can drop me an email at info@perl-services.de.
Need a Perl/OTRS developer? You can contact me at info@perl-services.de
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Sender address rejected: not owned by user

Post by jojo »

Just change the settings of your Exchange Server to allow the user which is used for authentication to send with other mailadresses
"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
alfar
Znuny newbie
Posts: 28
Joined: 07 Oct 2010, 07:44
Znuny Version: 3.0.8

Re: Sender address rejected: not owned by user

Post by alfar »

renee wrote:The MultiSMTP addon is available at http://opar.perl-services.de/bin/index. ... /MultiSMTP

Any feedback on this addon is appreciated. If you have questions about it, you can drop me an email at info@perl-services.de.
Thank's for the module, seems to work fine :) I will test it and i will send You info if there will be a problem.

Best regards
Tom
OTRS 3.1.1- Ubuntu+apache2+mysql+perl
alfar
Znuny newbie
Posts: 28
Joined: 07 Oct 2010, 07:44
Znuny Version: 3.0.8

Re: Sender address rejected: not owned by user

Post by alfar »

jojo wrote:Just change the settings of your Exchange Server to allow the user which is used for authentication to send with other mailadresses
You have assumed wrong that i have exchange server :) I can't change configuration of this SMTP server :) But this kind of configuration is safer, that's why MultiSMTP feature is better solution.

Thanks for advice anyway.

Best regards
Tom
OTRS 3.1.1- Ubuntu+apache2+mysql+perl
Locked