Not getting good delivery on emails. I want to sent mail from OST using mailgun, and receive mail using our IMAP server. I set up the IMAP credentials then select to use SMTP, enter the mailgun server and port, but there is no place to put in the mailgun userid and password. What should I do? osTicket Version v1.10.1 (9ae093d) — Up to dateWeb Server Software Apache/2.4.18 (Ubuntu)MySQL Version 5.7.21PHP Version 5.6.36-1+ubuntu16.04.1+deb.sury.org+1
Setup a second email account in osTicket. Use one for collecting emails and use the second for sending.
I tried that, it does not work. Says "Unable to log in, Check SMTP settingI have entered the mailgun username and password above the imap settings, disabled fetching, and enabled SMTP and port. Selected authentication required.
Then it sounds like Mailgun is not accepting the credentials/server/info that you have provided.
I deleted that user and set up a new one and I am able to send a test message from the diagnostic section of the OST interface, However I get the following error when I try to reply to a ticket. Unable to email via SMTP.mailgun.org Failed to set sender: alerts@upvate.com
What do your mail logs at mailgun say?I would recommend that you talk to mailgun support to see if they can shed any light on why its being rejected.you have a Firewall on the webserver?is alerts@upvate a legitimate email? It says it cannot set that as a sender so I would think that its bogus.
mailgun logs show delivered for the test message but show nothing for the ticket response. No firewall on the web server. alerts@upvate.com is a valid address. It should come from alerts not going to alerts.
alerts@upvate.com is a valid address. It should come from alerts not going to alerts.Yes. Your error is failed to set sender alerts@upvate. The mailserver doesn't appear to like it.
@[deleted]So who are the alerts to go to? I'm confused as to how/why it's sending TO alerts@upvate.com?Here are some things to check:- Admin Panel > Emails > Settings > Admin's Email Address (make sure this is your agent account's email address)- Admin Panel > Emails > Settings > Default Alert Email (make sure this is your alert email)- Owner of the ticket (make sure this is a valid User, not a system email)- Department/Agent/Team Assigned to the ticket (make sure these are all valid and are not system emails)Cheers.
It is not sending TO alerts@upvate.com the error is in setting that as the sender. Why does the following have to be true? Just trying to understand what this has to do with it. - Admin Panel > Emails > Settings > Admin's Email Address (make sure this is your agent account's email address)
Like magic it just start working. I didn't change anything. Thanks for all of your help and input.
and not it is not working. There is some issue with either my server or osticket reliably connecting to mailgun.
@[deleted]Well it can connect to mailgun as it lets you save the credentials. It must be server or mailgun issues as it cannot set the sender.Cheers.
I think that this is a maiilgun issue. The emails finally get sent but after 30 minutes.
if it sending after 30 minutes, it looks like setting on Fetch Frequency set to 30 min.