Auto notification : invalid MAIL FROM for smtpauth session

Moderator: crythias

Locked
Athena
Znuny newbie
Posts: 17
Joined: 20 Sep 2013, 11:11
Znuny Version: Helpdesk 3.2
Company: Athena Computer Services

Auto notification : invalid MAIL FROM for smtpauth session

Post by Athena »

Hello,

I have configured OTRS with the following environment :
- Windows 2008 R2
- MySQL 5.6
- IIS

Everything is working fine, except the automatic answers.
I can received mails (automatic creation of tickets), and I can manualy send mails during ticket processing.

I also configured some automatic answers but :
- they are not sent
- the CRONw scheduler is stopped
- I received the following message : [Sun Dec 22 18:50:04 2013][Error][Kernel::System::Email::SMTP::Send][122] Can't use from '': 555sorry, invalid MAIL FROM for smtpauth session (http://travaux.ovh.net/?do=details&id=5510)

It seems that "FROM" field in these mails is null or incorrect.

I already have the following parameters :
$Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP';
$Self->{'SendmailModule::Host'} = 'smtp.mydomain.com';
$Self->{'SendmailModule::Port'} = '587';
$Self->{'SendmailModule::AuthUser'} = 'otrs-admin@mydomain.com';
$Self->{'SendmailModule::AuthPassword'} = '**********';

But nothing about the sender address... :?
Where can I configure this parameter in config.pm ?

Thanks in advance for your help.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Auto notification : invalid MAIL FROM for smtpauth sessi

Post by crythias »

AutoReplies come from their own email addresses and your SMTP server may not like the send from. This error is from your SMTP server, not from OTRS.
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
Athena
Znuny newbie
Posts: 17
Joined: 20 Sep 2013, 11:11
Znuny Version: Helpdesk 3.2
Company: Athena Computer Services

Re: Auto notification : invalid MAIL FROM for smtpauth sessi

Post by Athena »

Yes, I know that.
The remote SMTP server deny to relay the mail send from OTRS, becauses that mail does not content the sender reference "FROM" field.

Therefore, my question is : how can I configure OTRS to include this FROM field in the mails he send automaticaly (auto notifications) ?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Auto notification : invalid MAIL FROM for smtpauth sessi

Post by crythias »

Your original question referenced "Automatic Answers"
Your followup indicates auto notifications (These wouldn't be answers, these would be notifications.)

What do you have in SysConfig for sendmail?
https://www.google.com/search?q=site:fo ... il+address
https://www.google.com/search?q=site:fo ... +MAIL+FROM
viewtopic.php?t=17278&p=67132
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
Locked