OTRS 5.0.5/5.0.6 on CentOS 6.7 64bit. otrs.CheckModules.pl says I have all modules installed except unused Oracle.
I have problem with sending outbound mail from link:
/otrs/index.pl?Action=AgentTicketEmailOutbound;TicketID=1
When I click 'Send message' button at the bottom any browser I use instead of sending mail asks me to download 0 size index.pl file.
When I download it it is really zero size - empty index.pl file saved. Mail is not sent.
Adding to httpd.conf ssl.conf:
Options Indexes FollowSymLinks ExecCGI
AddHandler cgi-script .cgi .pl
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
makes no difference. Web browser still asks for downloading 0 size index.pl file.
Can not send outbound mail
Moderator: crythias
-
- Znuny newbie
- Posts: 72
- Joined: 18 Jul 2014, 14:40
- Znuny Version: 5.0.4
- Real Name: Jerry Nelson
Re: Can not send outbound mail
I think this is related to pl handling in your apache config. Check this thread:
viewtopic.php?t=18944
And then I read the rest of your post. Have you installed Postfix? Not sure if that's the possible culprit or not but worth a check
# yum list postfix
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: dallas.tx.mirror.xygenhosting.com
* epel: dl.fedoraproject.org
* extras: ftp.osuosl.org
* updates: repos.dfw.quadranet.com
Installed Packages
postfix.x86_64
viewtopic.php?t=18944
And then I read the rest of your post. Have you installed Postfix? Not sure if that's the possible culprit or not but worth a check
# yum list postfix
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: dallas.tx.mirror.xygenhosting.com
* epel: dl.fedoraproject.org
* extras: ftp.osuosl.org
* updates: repos.dfw.quadranet.com
Installed Packages
postfix.x86_64
OTRS 5 on CentOS 7.1
-
- Znuny newbie
- Posts: 53
- Joined: 11 Dec 2014, 13:30
- Znuny Version: 5.0.23
- Real Name: Zbigniew Luszpinski
Re: Can not send outbound mail
Yes postfix is installed.
But otrs uses SMTP for sending.
Core::Sendmail:
SendmailModule: SMTP
and have Host, AuthUser, AuthPassword correctly configured. OTRS is sending mail everywhere else except this form at /otrs/index.pl?Action=AgentTicketEmailOutbound;TicketID=1
Reinstalled otrs 5.0.6, executed, /opt/otrs/bin/otrs.SetPermissions.pl, /opt/otrs/bin/otrs.CheckModules.pl, restarted apache but this form still fails to send mail.
Can I debug somehow this Action=AgentTicketEmailOutbound or run it from text console to better see why it fails? There is no errors in log files about this issue. There is not information at all that anything happened during using this form. There is no point from where I could start tracing this.
Code: Select all
yum list installed postfix
postfix.x86_64 2:2.6.6-6.el6_7.1 @updates
Core::Sendmail:
SendmailModule: SMTP
and have Host, AuthUser, AuthPassword correctly configured. OTRS is sending mail everywhere else except this form at /otrs/index.pl?Action=AgentTicketEmailOutbound;TicketID=1
Reinstalled otrs 5.0.6, executed, /opt/otrs/bin/otrs.SetPermissions.pl, /opt/otrs/bin/otrs.CheckModules.pl, restarted apache but this form still fails to send mail.
Can I debug somehow this Action=AgentTicketEmailOutbound or run it from text console to better see why it fails? There is no errors in log files about this issue. There is not information at all that anything happened during using this form. There is no point from where I could start tracing this.
Re: Can not send outbound mail
And if you try this from a different ticket, does the ticket ID in the url change?
OTRS 6.0.x on CentOS 7 with a PostgreSQL database.
-
- Znuny newbie
- Posts: 53
- Joined: 11 Dec 2014, 13:30
- Znuny Version: 5.0.23
- Real Name: Zbigniew Luszpinski
Re: Can not send outbound mail
Thanks for reply.
Yes. Tried several ticket numbers and url ticket number changed accordingly. Checked that smtp password is ok (which uses same login/password/host as imap account). So host and login credentials for sending mail are ok.jjurkus wrote:And if you try this from a different ticket, does the ticket ID in the url change?
Re: Can not send outbound mail
Oh, ok. I thought it was weird because you were only referring to that URL with TicketID=1 in it.zbigniew wrote:Yes. Tried several ticket numbers and url ticket number changed accordingly. Checked that smtp password is ok (which uses same login/password/host as imap account). So host and login credentials for sending mail are ok.
I think you had better turn on debug logging, and see what that says. Because if you read that other topic it says something about unable to send mail.
I've tried a few things to enable the debug log, but from my notes the thing that should work (in a recent version) is to put this in your Config.pm file:
Code: Select all
$Self->{'Debug'} = 5;


OTRS 6.0.x on CentOS 7 with a PostgreSQL database.