Unable to Send Emails
Moderator: crythias
-
- Znuny newbie
- Posts: 41
- Joined: 26 Dec 2015, 09:42
- Znuny Version: 6.2.1
- Real Name: Nathan Platt
Unable to Send Emails
Hi Everyone,
I'm using OTRS 5.0.5 and tying to configure the email system, i'm using postfix under ubuntu 14.x server. The error message I'm getting is,
error OTRS-otrs.Console.pl-Maint::OTRSBusiness::AvailabilityCheck-00 Can't send message: !
Any idea where I can start?
Nathan
I'm using OTRS 5.0.5 and tying to configure the email system, i'm using postfix under ubuntu 14.x server. The error message I'm getting is,
error OTRS-otrs.Console.pl-Maint::OTRSBusiness::AvailabilityCheck-00 Can't send message: !
Any idea where I can start?
Nathan
-
- Administrator
- Posts: 4253
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Unable to Send Emails
What are your SysConfig setting for Core::Sendmail?
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Unable to Send Emails
You use OTRS Free Version right? And you can't send emails from tickets right?
First Add this two lines into Kernel/Config.pm:
First Add this two lines into Kernel/Config.pm:
Then the error dont come back. But i think the email configuration is not correct. Email config and the OTRSBusinessAvailabilityCheck are two different things.delete $Self->{"Daemon::SchedulerCronTaskManager::Task"}->{"OTRSBusinessAvailabilityCheck"};
delete $Self->{"Daemon::SchedulerCronTaskManager::Task"}->{"OTRSBusinessEntitlementCheck"};
Currently using: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
Extension: FAQ | Survey | System Monitoring | Time Accounting
Test System: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
Extension: FAQ | Survey | System Monitoring | Time Accounting
Test System: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
-
- Znuny newbie
- Posts: 41
- Joined: 26 Dec 2015, 09:42
- Znuny Version: 6.2.1
- Real Name: Nathan Platt
Re: Unable to Send Emails
HI Guys,
Here's what the config says;
SendmailModule = Sendmail
SendmailModule::CMD /usr/bin/mail -i -f
SendmailModule::Host mail.example.com
AS for the kernal edit, where about in the Kernal/config.pm should I put those entries (and yes I am using the free edition)
Here's what the config says;
SendmailModule = Sendmail
SendmailModule::CMD /usr/bin/mail -i -f
SendmailModule::Host mail.example.com
AS for the kernal edit, where about in the Kernal/config.pm should I put those entries (and yes I am using the free edition)
Re: Unable to Send Emails
I do it there, where stand "insert ur own config Settings"

For your Problem with postfix i cant help you. We are using an Exchange Server for Transport E-Mails.

For your Problem with postfix i cant help you. We are using an Exchange Server for Transport E-Mails.
Currently using: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
Extension: FAQ | Survey | System Monitoring | Time Accounting
Test System: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
Extension: FAQ | Survey | System Monitoring | Time Accounting
Test System: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
-
- Znuny newbie
- Posts: 41
- Joined: 26 Dec 2015, 09:42
- Znuny Version: 6.2.1
- Real Name: Nathan Platt
Re: Unable to Send Emails
Thanks anyway, i've added those to the config.pm. Do i need to wait for the Daemon to pass over or so i need to restart OTRS to make these changes effective?
-
- Administrator
- Posts: 4253
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Unable to Send Emails
Using SendmailModule = Sendmail could only work if you have a local MTA configured, most of the times forwarding e-mails to relay. Are you able to send e-mails from your Ubuntu server?
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 41
- Joined: 26 Dec 2015, 09:42
- Znuny Version: 6.2.1
- Real Name: Nathan Platt
Re: Unable to Send Emails
Yes Nagios is configured on this server and it sends emails no problem.
-
- Administrator
- Posts: 4253
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Unable to Send Emails
can you confirm to send an email from the shell by using the mail command?
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 41
- Joined: 26 Dec 2015, 09:42
- Znuny Version: 6.2.1
- Real Name: Nathan Platt
Re: Unable to Send Emails
Can you give me the instructions on how to do that please?
-
- Administrator
- Posts: 4253
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Unable to Send Emails
Code: Select all
mail -s Subject your@address.com
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 41
- Joined: 26 Dec 2015, 09:42
- Znuny Version: 6.2.1
- Real Name: Nathan Platt
Re: Unable to Send Emails
When i try and use your command, the system just hangs and does nothing. Nagios is on the same system and is sending emails without any issue.
Postfix is configured to use a relayhost;
Postfix is configured to use a relayhost;
Code: Select all
mydomain = ourdomain.co.uk
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = 192.168.87.114,$mydomain,$myhostname
relayhost = [192.168.87.114]:25
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_use_tls = yes
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
-
- Znuny newbie
- Posts: 41
- Joined: 26 Dec 2015, 09:42
- Znuny Version: 6.2.1
- Real Name: Nathan Platt
Re: Unable to Send Emails
I've resolved this now, looks like an issue with the outgoing mailserver. Thanks for all the help.