I just did a fresh install and I'm trying to send an Admin Notification to myself. It says the message was sent but I didn't get it (not in junk mail either).
Where are the logs for this function?
Sendmail not working
Moderator: crythias
-
- Znuny newbie
- Posts: 6
- Joined: 28 Oct 2016, 19:36
- Znuny Version: 5.0.13
-
- Administrator
- Posts: 4253
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Sendmail not working
Check otrs log, maillog and the webserver error log.
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: 6
- Joined: 28 Oct 2016, 19:36
- Znuny Version: 5.0.13
Re: Sendmail not working
I don't see anything related under Admin > System Log.
Where do I find those logs?
Where do I find those logs?
Re: Sendmail not working
your Linux Admin will help you
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 6
- Joined: 28 Oct 2016, 19:36
- Znuny Version: 5.0.13
Re: Sendmail not working
Ok, I've checked maillog and found that it's failing to send the email:
Oct 31 09:47:13 mycompany-otrs postfix/pickup[38072]: 3E7038119980: uid=48 from=<helpdesk@mycompany.com>
Oct 31 09:47:13 mycompany-otrs postfix/cleanup[38619]: 3E7038119980: message-id=<1477921633.685463.504230171@otrs.mycompany.com>
Oct 31 09:47:13 mycompany-otrs postfix/qmgr[1952]: 3E7038119980: from=<helpdesk@mycompany.com>, size=1047, nrcpt=1 (queue active)
Oct 31 09:47:17 mycompany-otrs postfix/smtp[38577]: connect to mycompany.com[172.16.207.0]:25: Connection timed out
However, according to the documentation here https://otrs.github.io/doc/manual/admin ... tings.html, sending mail should work out of the box so I'm not sure what's wrong. It can fetch emails just fine.
Oct 31 09:47:13 mycompany-otrs postfix/pickup[38072]: 3E7038119980: uid=48 from=<helpdesk@mycompany.com>
Oct 31 09:47:13 mycompany-otrs postfix/cleanup[38619]: 3E7038119980: message-id=<1477921633.685463.504230171@otrs.mycompany.com>
Oct 31 09:47:13 mycompany-otrs postfix/qmgr[1952]: 3E7038119980: from=<helpdesk@mycompany.com>, size=1047, nrcpt=1 (queue active)
Oct 31 09:47:17 mycompany-otrs postfix/smtp[38577]: connect to mycompany.com[172.16.207.0]:25: Connection timed out
However, according to the documentation here https://otrs.github.io/doc/manual/admin ... tings.html, sending mail should work out of the box so I'm not sure what's wrong. It can fetch emails just fine.
Re: Sendmail not working
It seems that your firewall and/or the postfix is not set up correctly. Receiving mails ist not the same as sending them.alliancesupport wrote: Oct 31 09:47:17 mycompany-otrs postfix/smtp[38577]: connect to mycompany.com[172.16.207.0]:25: Connection timed out
However, according to the documentation here https://otrs.github.io/doc/manual/admin ... tings.html, sending mail should work out of the box so I'm not sure what's wrong. It can fetch emails just fine.
No OTRS error, just improper setup of your linux system
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com