Uable to receive email notification

Moderator: crythias

Locked
manishz
Znuny newbie
Posts: 6
Joined: 04 Oct 2010, 08:22
Znuny Version: 2.4.7

Uable to receive email notification

Post by manishz »

Hi all,

I want to enable the event based notification.Whenever the owner of the ticket is updated owner should get email.
I have enabled it through notification(event).But still ticket owner does not receive notification

When I see the ssmtp log this is what I get

Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: Set Root=""
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: Set MailHub="mailhub-server-name"
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: Set RemotePort="25"
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: Set RewriteDomain="domainname"
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: Set FromLineOverride="True"
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: Set UseSTARTTLS="True"
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: Set AuthUser="authemailaddress"
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: Set AuthPass="AUTHPASS"
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: Set AuthMethod="LOGIN"
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: Creating SSL connection to host
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: 220 EXSMTP012-11.exch012.intermedia.net Microsoft ESMTP MAIL Service, Version: 6.0.3790.4675 ready at Mon, 4 Apr 2011 05:26:30 -0700
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: EHLO ip-10-126-42-174
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: 250 OK
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: STARTTLS
Apr 4 12:26:29 ip-10-126-42-174 sSMTP[22541]: 220 2.0.0 SMTP server ready
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: SSL connection using RC4-MD5
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: EHLO ip-10-126-42-174
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: 250 OK
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: AUTH LOGIN
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: 334 VXNlcm5hbWU6
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: YWRtYXJ2ZWx0aWNrZXRzQGFkbWFydmVsLmNvbQ==
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: 334 UGFzc3dvcmQ6
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: bT0kRlRfODVr
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: 235 2.7.0 Authentication successful.
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: MAIL FROM:<otrs@mydomain.com>
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: 454 5.7.3 Client does not have permission to Send As this sender.
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: 454 5.7.3 Client does not have permission to Send As this sender.
Apr 4 12:26:30 ip-10-126-42-174 sSMTP[22541]: Can't open /var/www/dead.letter failing horribly!


Seems that its trying to send the email with "otrs@mydomain.com" which do not have permission to send email.
Can somebody help me , how can change this email address to one which I desire?

Thanks in advance

Manish
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Uable to receive email notification

Post by jojo »

go to sysconfig. Framework::Core

There you'll find the Notification From Address
"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
manishz
Znuny newbie
Posts: 6
Joined: 04 Oct 2010, 08:22
Znuny Version: 2.4.7

Re: Uable to receive email notification

Post by manishz »

Hello jojo,

Thanks for the reply. The mails are getting sent from OTRS system.But there is a problem in that mail
In mail body
Hi <OTRS_UserFirstname>

"OTRS_UserFirstname" is not getting replaced by actual username.Any idea what must be the problem here?

Thanks in advance
Manish
Locked