osTicket Version
v1.9.8.1 (4752178)
Web Server Software
Apache/2.4.7 (Ubuntu)
MySQL Version
5.5.43
PHP Version
5.5.9-1ubuntu4.9Using SMTP for emailI am trying to setup a cronjob for outgoing emails from my OSTicket server to the Agents. Currently these emails (like an email stating a ticket is overdue) are only sent when someone logs into the admin side of OSTicket. I read on another post that a cronjob is required to have these emails get sent out automatically. The cronjob I am using is:*/15 * * * * <path to php> -f <path to cron.php>This should send the emails every 15 minutes but it is not working. In the system logs it appears the cronjob is launching every 15 minutes but there is also the following error:(CRON) info (No MTA installed, discarding output)Do I need to install something like postfix to enable this? Or, is this "output" unrelated to OSTicket?Thank you for any help you can provide,-Helpdesker
Have you setup PHPMail or do you use SMTP?Check your MTA Outgoing settings under Admin Panel > Settings > E-Mail and make sure you have an outgoing MTA selected there.Additionally some wiki articles you should check out:http://osticket.com/wiki/Email_settingshttp://osticket.com/wiki/POP3/IMAP_Setting_Guidehttp://osticket.com/wiki/Email_Piping
As I stated above, using SMTP for email.Under Outgoing Emails for Default MTA: I have a valid email address
Sorry must have missed that you are using SMTP. Since all settings seems to be fine I have no idea, beside checking if SMTP is enabled and verifying all the settings again.
Maybe @[deleted] has some ideas too. :)
It seems like the cronjob is setup properly.It would seem to me that the MTA error message is not relevant because email is being sent out when anyone logs into the help desk on the back end. Right?Maybe the helpdesk is using PHPMail even though I believe I have it setup for SMTP. Is there a way to check that for starters?
Admin panel -> settings -> emails
Really?
Are there any other users out there having a similar problem? Maybe one of you can provide some information?
I'm not sure why you would other people to post information... you haven't post all your information.
What other information exactly did you require. Scrolling up I do not see any place where more information was requested.I do see where I was asked to repeat information that was in my original post. I also see where you repeated the same thing Chefkeks asked, which I already answered.In your post "Please read before requesting assistance" you ask for:PHP Error log entries or displayed errors. (you of course may remove any identifying information) - Provided aboveMail Sending: phpMail functions or SMTP - Provided aboveMail Fetching/Receiving: IMAP or POP and Server version - We are not using this functionPHP version - Provided aboveOperating System - Provided aboveClient or Staff side of the UI - Provided abovethe location - the url or what your clicking on that is causing the problem. - Not applicableI have asked others for help because you are not providing any. So please, what is it that you require? I very much need to get this system finished. How can I resolve this problem?
Q: Maybe the helpdesk is using PHPMail even though I believe I have it setup for SMTP. Is there a way to check that for starters?A: Admin panel -> settings -> emailsyour response: Really?Yes really. You have not provided a screen shot of your settings for the email so we have no idea if they are correct. You have not provided a screen shot of your Admin panel -> Settings -> Emails so we do not know what those settings are. You have not told us your SMTP settings in your php.ini so we have no idea what those are. I did not see any PHP log errors anywhere in the thread. I do see where you said:"(CRON) info (No MTA installed, discarding output)"Do you have a MTA (Mail Transfer Agent) installed? Your server can't send/receive mail with out one. Well unless you configured your PHP.ini to use another server, then I think that it might work. Which leads me back to SMTP settings in your php.ini.
Ok progress.1. You never once, until now, asked for screenshots. Simply stating "Admin panel -> settings -> emails" does not mean "Please provide a screenshot of your email settings." Chefkeks asked me if I had an email set in that location and I replied that I had a valid email set. To me you simply saying "Admin panel -> settings -> emails" was repeating the question. That is in no way my fault. Be more clear. Communicate. It is absurd for you to think that your stating "Admin panel -> settings -> emails" conveys the idea that you want to see a screenshot.2. I do NOT have an MTA installed. Why would you ask when I already stated I do not have one installed. The server is sending email out when someone logs into the admin account. So your stating "Your server can't send/receive mail with out one" seems incorrect. How is it possible that the server is currently sending email if this is the case?
Here is your screenshot.
You appear to have two separate emails configured in osTicket, and haven't provided screen shots of the settings of either. Please provide both (Support Mail and osTicket Alerts).
I am not sure what you are asking for.Do you want to see the actual email addresses? I am not allowed to share that.Default System Email and Default MTA are the same address. (under Default MTA the only choices I have are this email and PHP)Default Alert Email is a different address.Admin's Email Address is another different address.
The settings at:Admin panel -> Emails -> Support Mail addressAdmin panel -> Emails -> osTicket Alerts addressYou made it sound like Alerts were working, so I want to compare the two email configs.additional note after the fact: feel free to blot out the domain name(s), or you can email screen shots to neil@osticket.com.
I'm still confused. If I go to Admin panel -> Emails that is it. I do not have other pages for Support Mail or osTicket Alerts to take screen shots of.Support Mail and osTicketAlerts are 2 different email addresses. Does that matter?for example: SupportMail<support@here.com>osTicketAlerts<alerts@here.com>
When you click on the email addresses in this section then you see the configuration settings for the used mail server. When you use smtp you must configure the corresponding settings there (username, password, host, port, etc.)..
When I click the email addresses I get a dropdown lists of email address to choose from. There are no settings.
It sounds like you are looking at Admin panel -> Settings -> Emails.I'm asking you to look at Admin panel -> Emails -> YOUREMAILS.