Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
  • Email Settings SMTP issues
    Hello.
    No matter what email accout I use I always end up having this issue
    authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS)]
    I made, an gmail, email, hotmail accouts and always get that issue when I try to set the SMTP server. Please help!
  • Email Replies not Coming Into osTicket
    SMTP Error 2

    Tue 2018-07-10 13:09:08.336: Session 433332; child 0004
    Tue 2018-07-10 13:09:08.336: Accepting SMTP connection from 12.130.139.191:60014 to 84.22.183.37:25
    Tue 2018-07-10 13:09:08.338: --> 220 smtp.sys3internet.net ESMTP MDaemon 15.0.3; Tue, 10 Jul 2018 13:09:08 +0100
    Tue 2018-07-10 13:09:08.486: <-- EHLO omp.link.e-comms.net
    Tue 2018-07-10 13:09:08.486: EHLO/HELO response delayed 5 seconds
    Tue 2018-07-10 13:09:13.485: --> 250-smtp.sys3internet.net Hello omp.link.e-comms.net, pleased to meet you
    Tue 2018-07-10 13:09:13.485: --> 250-ETRN
    Tue 2018-07-10 13:09:13.485: --> 250-AUTH LOGIN PLAIN
    Tue 2018-07-10 13:09:13.485: --> 250-8BITMIME
    Tue 2018-07-10 13:09:13.485: --> 250-ENHANCEDSTATUSCODES
    Tue 2018-07-10 13:09:13.485: --> 250-STARTTLS
    Tue 2018-07-10 13:09:13.485: --> 250 SIZE
    Tue 2018-07-10 13:09:13.632: <-- MAIL FROM:<jdwill.3387@envfrm.rsys2.com> BODY=8BITMIME
    Tue 2018-07-10 13:09:13.632: Performing PTR lookup (191.139.130.12.IN-ADDR.ARPA)
    Tue 2018-07-10 13:09:13.635: *  D=191.139.130.12.in-addr.arpa TTL=(59) PTR=[omp.link.e-comms.net]
    Tue 2018-07-10 13:09:13.638: *  D=omp.link.e-comms.net TTL=(0) A=[12.130.139.191]
    Tue 2018-07-10 13:09:13.638: ---- End PTR results
    Tue 2018-07-10 13:09:13.638: Performing IP lookup (omp.link.e-comms.net)
    Tue 2018-07-10 13:09:13.647: *  D=omp.link.e-comms.net TTL=(0) A=[12.130.139.191]
    Tue 2018-07-10 13:09:13.647: ---- End IP lookup results
    Tue 2018-07-10 13:09:13.647: Performing IP lookup (envfrm.rsys2.com)
    Tue 2018-07-10 13:09:14.424: *  P=010 S=000 D=envfrm.rsys2.com TTL=(4) MX=[imh2.rsys2.net]
    Tue 2018-07-10 13:09:14.424: *  P=010 S=001 D=envfrm.rsys2.com TTL=(4) MX=[imh.rsys2.net]
    Tue 2018-07-10 13:09:14.429: *  D=imh2.rsys2.net TTL=(38) A=[12.130.135.44]
    Tue 2018-07-10 13:09:14.433: *  D=imh.rsys2.net TTL=(29) A=[12.130.135.103]
    Tue 2018-07-10 13:09:14.433: *  D=imh.rsys2.net TTL=(29) A=[12.130.135.43]
    Tue 2018-07-10 13:09:14.433: *  D=imh.rsys2.net TTL=(29) A=[12.130.135.102]
    Tue 2018-07-10 13:09:14.433: ---- End IP lookup results
    Tue 2018-07-10 13:09:14.433: --> 250 2.1.0 Sender OK
    Tue 2018-07-10 13:09:14.579: <-- RCPT TO:<gill@phoenixstorage.co.uk>
    Tue 2018-07-10 13:09:14.579: gill@phoenixstorage.co.uk is an alias for PHOENIXSTORgill@sys3internet.net
    Tue 2018-07-10 13:09:14.582: Performing DNS-BL lookup (12.130.139.191 - connecting IP)
    Tue 2018-07-10 13:09:14.610: *  zen.spamhaus.org - passed
    Tue 2018-07-10 13:09:14.619: *  bl.spamcop.net - passed
    Tue 2018-07-10 13:09:14.619: ---- End DNS-BL results
    Tue 2018-07-10 13:09:14.622: --> 250 2.1.5 Recipient OK
    Tue 2018-07-10 13:09:14.768: <-- DATA
    Tue 2018-07-10 13:09:14.770: Creating temp file (SMTP): d:\mdaemon\queues\temp\md50001216676.tmp
    Tue 2018-07-10 13:09:14.770: --> 354 Enter mail, end with <CRLF>.<CRLF>
    Tue 2018-07-10 13:09:15.501: Message size: 96056 bytes
    Tue 2018-07-10 13:09:15.503: Passing message through Spam Filter (Size: 96056)...
    Tue 2018-07-10 13:09:27.010: *  0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
    Tue 2018-07-10 13:09:27.010: *       See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
    Tue 2018-07-10 13:09:27.010: *      for more information.
    Tue 2018-07-10 13:09:27.010: *      [URIs: adnxs.com]
    Tue 2018-07-10 13:09:27.010: *  0.3 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail
    Tue 2018-07-10 13:09:27.010: *      domains are different
    Tue 2018-07-10 13:09:27.010: *  0.8 HTML_IMAGE_RATIO_02 BODY: HTML has a low ratio of text to image area
    Tue 2018-07-10 13:09:27.010: *  0.0 HTML_MESSAGE BODY: HTML included in message
    Tue 2018-07-10 13:09:27.010: *  1.1 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
    Tue 2018-07-10 13:09:27.010: *  0.1 FROM_EXCESS_BASE64 From: base64 encoded unnecessarily
    Tue 2018-07-10 13:09:27.010: ---- End SpamAssassin results
    Tue 2018-07-10 13:09:27.010: Spam Filter score/req: 2.30/5.9
    Tue 2018-07-10 13:09:27.166: Message creation successful: d:\mdaemon\queues\inbound\md50028262581.msg
    Tue 2018-07-10 13:09:27.166: --> 250 2.6.0 Ok, message saved <Message-ID: <0.1.4BF.A39.1D41846E1612356.0@omp.link.e-comms.net>>
    Tue 2018-07-10 13:09:27.174: <-- QUIT
    Tue 2018-07-10 13:09:27.175: --> 221 2.0.0 See ya in cyberspace
    Tue 2018-07-10 13:09:27.175: SMTP session successful (Bytes in/out: 96191/464)
    Tue 2018-07-10 13:09:27.175: ----------
  • Email Replies not Coming Into osTicket
    Thanks ntozier and KevintheJedi.  I have changed the Authentication and after further analysis of the DB tables (as this was able to give me a more accurate time stamp) I have found the following for each failure:

    broken up on different posts due to size limitations... :-)

    Tue 2018-07-10 15:01:25.662: Session 435982; child 0004
    Tue 2018-07-10 15:01:25.662: Accepting SMTP connection from 52.17.137.182:48510 to 84.22.183.37:25
    Tue 2018-07-10 15:01:25.668: --> 220 smtp.sys3internet.net ESMTP MDaemon 15.0.3; Tue, 10 Jul 2018 15:01:25 +0100
    Tue 2018-07-10 15:01:25.683: <-- EHLO mail-3.bark.com
    Tue 2018-07-10 15:01:25.684: EHLO/HELO response delayed 5 seconds
    Tue 2018-07-10 15:01:30.684: --> 250-smtp.sys3internet.net Hello mail-3.bark.com, pleased to meet you
    Tue 2018-07-10 15:01:30.684: --> 250-ETRN
    Tue 2018-07-10 15:01:30.684: --> 250-AUTH LOGIN PLAIN
    Tue 2018-07-10 15:01:30.684: --> 250-8BITMIME
    Tue 2018-07-10 15:01:30.684: --> 250-ENHANCEDSTATUSCODES
    Tue 2018-07-10 15:01:30.684: --> 250-STARTTLS
    Tue 2018-07-10 15:01:30.684: --> 250 SIZE
    Tue 2018-07-10 15:01:30.699: <-- STARTTLS
    Tue 2018-07-10 15:01:30.699: --> 220 2.7.0 Ready to start TLS
    Tue 2018-07-10 15:01:30.731: SSL negotiation successful (TLS 1.2, 1536 bit key exchange, 128 bit  encryption)
    Tue 2018-07-10 15:01:30.745: <-- EHLO mail-3.bark.com
    Tue 2018-07-10 15:01:30.745: --> 250-smtp.sys3internet.net Hello mail-3.bark.com, pleased to meet you
    Tue 2018-07-10 15:01:30.745: --> 250-ETRN
    Tue 2018-07-10 15:01:30.745: --> 250-AUTH LOGIN PLAIN
    Tue 2018-07-10 15:01:30.745: --> 250-8BITMIME
    Tue 2018-07-10 15:01:30.745: --> 250-ENHANCEDSTATUSCODES
    Tue 2018-07-10 15:01:30.745: --> 250 SIZE
    Tue 2018-07-10 15:01:30.759: <-- MAIL From:<noreply@mail.bark.com> SIZE=30340
    Tue 2018-07-10 15:01:30.759: Performing PTR lookup (182.137.17.52.IN-ADDR.ARPA)
    Tue 2018-07-10 15:01:30.761: *  D=182.137.17.52.in-addr.arpa TTL=(4) PTR=[mail-3.bark.com]
    Tue 2018-07-10 15:01:30.779: *  D=mail-3.bark.com TTL=(4) A=[52.17.137.182]
    Tue 2018-07-10 15:01:30.779: ---- End PTR results
    Tue 2018-07-10 15:01:30.780: Performing IP lookup (mail-3.bark.com)
    Tue 2018-07-10 15:01:30.781: *  D=mail-3.bark.com TTL=(3) A=[52.17.137.182]
    Tue 2018-07-10 15:01:30.781: ---- End IP lookup results
    Tue 2018-07-10 15:01:30.781: Performing IP lookup (mail.bark.com)
    Tue 2018-07-10 15:01:30.783: *  D=mail.bark.com TTL=(0) A=[52.16.124.57]
    Tue 2018-07-10 15:01:30.784: *  P=001 S=000 D=mail.bark.com TTL=(3) MX=[mail.bark.com]
    Tue 2018-07-10 15:01:30.820: *  D=mail.bark.com TTL=(4) A=[52.16.124.57]
    Tue 2018-07-10 15:01:30.820: ---- End IP lookup results
    Tue 2018-07-10 15:01:30.821: --> 250 2.1.0 Sender OK
    Tue 2018-07-10 15:01:30.835: <-- RCPT To:<enquiries@designsweet.co.uk>
    Tue 2018-07-10 15:01:30.835: enquiries@designsweet.co.uk is an alias for designsweet@sys3internet.net
    Tue 2018-07-10 15:01:30.840: Performing DNS-BL lookup (52.17.137.182 - connecting IP)
    Tue 2018-07-10 15:01:30.870: *  zen.spamhaus.org - passed
    Tue 2018-07-10 15:01:30.884: *  bl.spamcop.net - passed
    Tue 2018-07-10 15:01:30.884: ---- End DNS-BL results
    Tue 2018-07-10 15:01:30.886: --> 250 2.1.5 Recipient OK
    Tue 2018-07-10 15:01:30.900: <-- DATA
    Tue 2018-07-10 15:01:30.901: Creating temp file (SMTP): d:\mdaemon\queues\temp\md50001218623.tmp
    Tue 2018-07-10 15:01:30.901: --> 354 Enter mail, end with <CRLF>.<CRLF>
    Tue 2018-07-10 15:01:30.930: Message size: 31188 bytes
    Tue 2018-07-10 15:01:30.933: Passing message through Spam Filter (Size: 31188)...
    Tue 2018-07-10 15:01:43.177: *  0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
    Tue 2018-07-10 15:01:43.177: *       See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
    Tue 2018-07-10 15:01:43.177: *      for more information.
    Tue 2018-07-10 15:01:43.177: *      [URIs: cloudfront.net]
    Tue 2018-07-10 15:01:43.177: *  0.0 HTML_MESSAGE BODY: HTML included in message
    Tue 2018-07-10 15:01:43.177: *  0.0 HTML_FONT_LOW_CONTRAST BODY: HTML font color similar or identical to
    Tue 2018-07-10 15:01:43.177: *       background
    Tue 2018-07-10 15:01:43.177: ---- End SpamAssassin results
    Tue 2018-07-10 15:01:43.177: Spam Filter score/req: 0.00/5.9
    Tue 2018-07-10 15:01:43.197: Message creation successful: d:\mdaemon\queues\inbound\md50028263024.msg
    Tue 2018-07-10 15:01:43.197: --> 250 2.6.0 Ok, message saved <Message-ID: <201807101401.w6AE1wHV004973@mail-3.bark.com>>
    Tue 2018-07-10 15:01:43.198: <-- QUIT
    Tue 2018-07-10 15:01:43.198: --> 221 2.0.0 See ya in cyberspace
    Tue 2018-07-10 15:01:43.209: SMTP session successful (Bytes in/out: 32627/1992)
    Tue 2018-07-10 15:01:43.209: ----------
  • Email Replies not Coming Into osTicket
    ntozier,  my apologies, you are quite correct ! Having nothing to go on will not help my cause what so ever ! .... So, here are some details which may help enlighten us both :-)

    Server Information
    osTicket Version v1.10.1 (9ae093d) —  Up to date
    Web Server Software Apache/2.4.33 (Unix)
    MySQL Version 10.1.27
    PHP Version 7.0.30

    Example Error Message from OsTickets:
    Mailer Error
    Unable to email via SMTP:smtp.sys3internet.net:587 [support] Failed to set sender: support@sys3.com [SMTP: Invalid response code received from server (code: -1, response: )]
    IP Address:91.84.57.154

    Entry in SMTP In LOG File (user/pass starred out)
    Tue 2018-07-10 10:53:37.813: Session 430151; child 0003
    Tue 2018-07-10 10:53:37.813: Accepting SMTP connection from 91.84.57.154:41032 to 84.22.183.37:587
    Tue 2018-07-10 10:53:37.815: --> 220 smtp.sys3internet.net ESMTP MSA MDaemon 15.0.3; Tue, 10 Jul 2018 10:53:37 +0100
    Tue 2018-07-10 10:53:37.826: <-- EHLO orwell
    Tue 2018-07-10 10:53:37.826: --> 250-smtp.sys3internet.net Hello orwell, pleased to meet you
    Tue 2018-07-10 10:53:37.826: --> 250-AUTH LOGIN PLAIN
    Tue 2018-07-10 10:53:37.826: --> 250-8BITMIME
    Tue 2018-07-10 10:53:37.826: --> 250-ENHANCEDSTATUSCODES
    Tue 2018-07-10 10:53:37.826: --> 250-STARTTLS
    Tue 2018-07-10 10:53:37.827: --> 250 SIZE
    Tue 2018-07-10 10:53:37.837: <-- AUTH LOGIN
    Tue 2018-07-10 10:53:37.837: --> 334 VXNlcm5hbWU6
    Tue 2018-07-10 10:53:37.849: <-- ******
    Tue 2018-07-10 10:53:37.849: --> 334 UGFzc3dvcmQ6
    Tue 2018-07-10 10:53:37.860: <-- ******
    Tue 2018-07-10 10:53:37.861: --> 235 2.7.0 Authentication successful
    Tue 2018-07-10 10:53:37.861: Authenticated as support@sys3internet.net
    Tue 2018-07-10 10:53:37.871: <-- RSET
    Tue 2018-07-10 10:53:37.872: --> 250 2.0.0 RSET? Well, OK
    Tue 2018-07-10 10:53:37.882: <-- MAIL FROM: <support@sys3.com>
    Tue 2018-07-10 10:53:37.883: --> 250 2.1.0 Sender OK
    Tue 2018-07-10 10:53:37.893: <-- RCPT TO:<support@sys3.com>
    Tue 2018-07-10 10:53:37.895: --> 250 2.1.5 Recipient OK
    Tue 2018-07-10 10:53:37.905: <-- DATA
    Tue 2018-07-10 10:53:37.906: Creating temp file (SMTP): d:\mdaemon\queues\temp\md50001214275.tmp
    Tue 2018-07-10 10:53:37.906: --> 354 Enter mail, end with <CRLF>.<CRLF>
    Tue 2018-07-10 10:53:42.990: Message size: 526508 bytes
    Tue 2018-07-10 10:53:43.002: Message creation successful: d:\mdaemon\queues\inbound\md50028261922.msg
    Tue 2018-07-10 10:53:43.002: --> 250 2.6.0 Ok, message saved <Message-ID: <330470096l.1303950734l138671440l1236l@sys3.com>>
    Tue 2018-07-10 10:53:43.009: <-- QUIT
    Tue 2018-07-10 10:53:43.009: --> 221 2.0.0 See ya in cyberspace
    Tue 2018-07-10 10:53:43.009: SMTP session successful (Bytes in/out: 526645/539)

    Both tmp and msg files no longer exist and when looking in these directories in real time, they immediately get deleted once they have been processed.

    Orwell is the name of our mailserver.  The mail server we use is MDaemon.
    I have checked the IP address given in several instances of the error and they all seem to be owned by our old hosting company which was bought out by heart (i think).  I know we recently whitelisted our domains which enabled mails to flow but I'm thinking there might be something else adrift.  As I monitor the error logs in OSTickets, they increase but not when a ticket is submitted, which makes me think that it is another SMTP interaction causing this.  Currently, if a user replies, it goes to an address which is not being picked up by OSTickets but simply to an email alias.  I think that there are two things going wrong here.  Firstly, I need to give OSTickets an email address and account to pickup reply emails from and/or if OSTickets is already doing this and this is the cause for the error, how can I change the email address to see if the error message in OS changes and to then sort out the new email account which I think it needs.
    I hope this makes sense and feel free to say I'm talking rubbish as its all randomly going through my head at the moment but I think this is where I am at !
    thanks for all and any help.

    Sam
  • SMTP authentication failure
    Hi!

    I'm using Azure Web App (PHP 5.6) to host my osTicket v1.10.1.

    I'm trying to configure an e-mail, but when I try to activate SMTP, I receive this error:
    authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 SMTP server ready)]
    I know it's a quite common error, so I've searched a lot in this forum and on GitHub. I've tried to overwrite SMTP.php and Socket.php files in the /include/pear/Net folder with newer files from pear.php.net, but it caused timeout errors.

    I've also tried to change code in smtp.php as suggested in some forum threads, but nothing worked for me. SMTP port change didn't work.

    My e-mail server settings require authentication to use SMTP, so radio button in osTicket SMTP configuration panel is set to Yes. My username is set as MYDOMAIN\myuser (maybe could it be incorrect?). Fetching email settings (IMAP+SSL) with same authentication is not returning errors.

    Any idea?
  • [resolved] Email configuration error
    Hi guys

    We have gone through all the instructions and made some progress.  The key issue seemed to have been that our mail system is gsuite. For OST to work with it we had the configure the SMTP Relay option within gsuite.

    Also for it to work SMTP authentication must be enabled. So disabling it is not an option.

    So now at this point the error message changed to:
    authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS)]

    image

    I have read the thread in the forum. None of the fixes works for us and downgrading to php 5.5 is also not an option.

    What else can we do? If you require it I can outline all the fixes we tried.


    Thanks
  • [resolved] How to disable STARTTLS?
    Hi there,

    I'm still stuck at this problem. I've just switched my OST over to apache (was nginx) for another issue, hoping for some side effect. None.
    How can I disable STARTTLS then...?

    Help!
    Filippo

  • [resolved] How to disable STARTTLS?
    Yes, I'm setting Authentication Required to No, but this way I'm not able to send anything. With Authentication disabled I receive the error:

    Unable to email via SMTP:mail.xxxx.it:587 [info@xxxxx.it] Failed to add recipient: anette@xxxxxx.it [SMTP: Invalid response code received from server (code: 504, response: 5.5.2 : Helo command rejected: need fully-qualified hostname)]

    My ISP confirmed I need Authentication and that I should just disable STARTTLS...

    Thanks,
    Filippo
  • [resolved] How to disable STARTTLS?
    Hi there,

    I'm running an OSTicket v. 1.10.1 on a Ubuntu 16.04 server, with php 7.0.28.
    I have troubles sending email with SMTP with a single address (the other twelve, from a different domain, work perfectly), googled a couple of days, already substituted PEAR packages (Net_SMTP, Net_Socket) and tried 'tls://', 'ssl://' prefixes/ports in connection settings for the SMTP server. For this server (which I have no control of) of course I need authentication, but connection to 587 with authentication get refused with error:
    authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS)]

    If I telnet from OST server, connection to mail server's port 587 works fine.
    My email service provider doesn't allow port 25, answered he can't deal with OST problems with STARTTLS/self signed certificates and that I should simply disable starttls.
    Is this my best shot? If it is, how do I'd do that?

    Cheers,
    Filippo

  • Postfix Configuration
    Now I installed SASLAUTHD and configured it to use PAM; and now I'm getting this error in mail.log:

    Apr  9 13:56:53 osticket postfix/master[22683]: daemon started -- version 3.1.0, configuration /etc/postfix
    Apr  9 13:56:57 osticket postfix/smtpd[22686]: connect from osticket.mydomain.com[192.168.1.61]
    Apr  9 13:56:57 osticket postfix/smtpd[22686]: warning: SASL authentication failure: unable to canonify user and get auxprops
    Apr  9 13:56:57 osticket postfix/smtpd[22686]: warning: osticket.mydomain.com[192.168.1.61]: SASL DIGEST-MD5 authentication failed: authentication failure
    Apr  9 13:56:57 osticket postfix/smtpd[22686]: disconnect from osticket.mydomain.com[192.168.1.61] ehlo=2 starttls=1 auth=0/1 rset=1 quit=1 commands=5/6
    Apr  9 14:00:17 osticket postfix/anvil[22689]: statistics: max connection rate 1/60s for (smtp:192.168.1.61) at Apr  9 13:56:57
    Apr  9 14:00:17 osticket postfix/anvil[22689]: statistics: max connection count 1 for (smtp:192.168.1.61) at Apr  9 13:56:57
    Apr  9 14:00:17 osticket postfix/anvil[22689]: statistics: max cache size 1 at Apr  9 13:56:57

    So very confused and lost... if I turn off SMTP authentication, I can email and I see through the mail log that I am also receiving email.
    When I'm in CLI I can use the "mail" command to read and check the test emails; which is cool they're getting it. HOWEVER; they're not generating tickets? Why is this?

  • Postfix Configuration
    Does anyone have a good osTicket + Postfix configuration/setup guide? I'm really struggling at the moment.

    We have an exchange server, but its set to relay to the Postfix server running on osTicket.

    I can't seem to get SMTP to authenticate at all.

    Mail.log:
    Apr  9 11:36:08 osticket postfix/smtpd[18220]: NOQUEUE: reject: RCPT from anvexch1.mydomain.com[192.168.1.77]: 454 4.7.1 <rt4ticket@rt4.mydomain.com>: Relay access denied; from=<ticket@nhlearn$
    Apr  9 11:36:08 osticket postfix/smtpd[18220]: disconnect from anvexch1.mydomain.com[192.168.1.77] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6
    Apr  9 11:38:35 osticket postfix/smtpd[18227]: warning: database /etc/aliases.db is older than source file /etc/aliases
    Apr  9 11:38:35 osticket postfix/smtpd[18227]: connect from osticket1.mydomain.com[192.168.1.61]
    Apr  9 11:39:28 osticket postfix/anvil[18222]: statistics: max connection rate 1/60s for (smtp:192.168.1.77) at Apr  9 11:36:08
    Apr  9 11:39:28 osticket postfix/anvil[18222]: statistics: max connection count 1 for (smtp:192.168.1.77) at Apr  9 11:36:08
    Apr  9 11:39:28 osticket postfix/anvil[18222]: statistics: max cache size 1 at Apr  9 11:36:08
    Apr  9 11:40:17 osticket postfix/smtpd[18227]: C324E807A6: client=osticket1.mydomain.com[192.168.1.61]
    Apr  9 11:42:07 osticket postfix/smtpd[18227]: lost connection after RCPT from osticket1.mydomain.com[192.168.1.61]
    Apr  9 11:42:07 osticket postfix/smtpd[18227]: disconnect from osticket1.mydomain.com[192.168.1.61] helo=0/2 ehlo=1/3 mail=1 rcpt=1/2 commands=3/8
    Apr  9 11:42:22 osticket postfix/smtpd[18227]: warning: hostname anvprt01.mydomain.com does not resolve to address 192.168.1.61: Name or service not known
    Apr  9 11:42:22 osticket postfix/smtpd[18227]: connect from unknown[192.168.1.61]
    Apr  9 11:43:20 osticket postfix/smtpd[18227]: 3E842807A6: client=unknown[192.168.1.61]
    Apr  9 11:44:08 osticket postfix/smtpd[18227]: lost connection after DATA (24 bytes) from unknown[192.168.1.61]
    Apr  9 11:44:08 osticket postfix/smtpd[18227]: disconnect from unknown[192.168.1.61] mail=1 rcpt=1/2 data=0/1 commands=2/4
    Apr  9 11:44:08 osticket postfix/cleanup[18297]: 3E842807A6: message-id=<20180409184320.3E842807A6@osticket.mydomain.com>
    Apr  9 11:44:58 osticket postfix/smtpd[18227]: connect from osticket.mydomain.com[192.168.1.61]
    Apr  9 11:44:58 osticket postfix/smtpd[18227]: disconnect from osticket.mydomain.com[192.168.1.61] ehlo=2 starttls=1 rset=1 quit=1 commands=5
    Apr  9 11:45:21 osticket postfix/smtpd[18227]: connect from osticket1.mydomain.com[192.168.1.61]
    Apr  9 11:45:21 osticket postfix/smtpd[18227]: disconnect from osticket1.mydomain.com[192.168.1.61] ehlo=2 starttls=1 rset=1 quit=1 commands=5

    And in the Email settings on OsTicket I get the following error:

    Sending Email via SMTP     
    authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 SMTP server ready)]

    image
  • Office 365 / Installation issues
    Let me preface this by saying i am aware of the information which i will attach below, regarding microsoft's discontinued support of older security protocols.. I have used the work around suggestion of using a non office 365 server to forward to and have osticket poll from that, obviously this is not the ideal circumstance, and means that we can not reply to emails from customers from our main mail email address.
    My question(s) is/are:
    Is support for these alternative protocols going to be added to osticket in the future?
    If plans to add these features are expected, how quickly is the update planned to be released?
    I'm assuming as the microsoft roll out goes on many users will be coming to the boards with issues as their ticket systems will soon cease to function completely.
    Thank you in advance for your replies.
    Brian

    Users cannot setup any of the email features using an MS Office 365 account, because the system doesn't support TLS/ STARTTLS encryption protocol. The TLS 1.2 protocol has become mandatory (announced by Microsoft in December 2017 with the implementation date on March 1, 2018) as MS is phasing out support for previous protocols TLS1.0, TLS 1.1.

    https://support.microsoft.com/en-us/help/4057306/preparing-for-tls-1-2-in-office-365

    Steps to Reproduce

    Hostname |  outlook.office365.com
    Port Number |  995
    Mail Box Protocol | — Select protocol:   IMAP + SSL ; IMAP ; POP + SSL ; POP

    Expected behavior: Normally, an POP + TLS should also exist
    Actual behavior: There are no 'TLS' options

  • LDAP Authentication and Lookup Plug in, sending unencrypted credentials
    The plugin doesn't seem to work with ldaps on port 636. The checkbox is for the STARTTLS feature, which works on 389 and issues a STARTTLS command after connection. To use straight TLS on port 636 would require changes to the plugin code.   
  • authentication failure [SMTP: STARTTLS failed (code: 220, response: TLS go ahead)]
    Hello there;

    When Completing E-Mail Configuration "Authentication Required" Part Selected Yes . I am receiving an Error Message as below.

    authentication failure [SMTP: STARTTLS failed (code: 220, response: TLS go ahead)]

    All the Information I Entered in the Related Areas is Correct.
    "Authentication Required" Part Selected No. Recording Configuration. But Mail Notification does not come.

    How can I solve this problem?
  • office365 email setup
    Hi,

    Hopefully someone can point me in the right direction I have just setup V1.10 but cannot get sending email via SMTP to work with office365,  I have looked at various disscusions on here regarding this and also had spoken with other users on another forum who sent me a screenshot of there settings and I still cannot get it to work.

    I am running on a synology Nas that has Apache 2.2, and PHP 5.6 installed with MariaDB 10, If I set the hostname to tls://smtp.office365.com or ssl://smtp.office365.com I get an error like this:  Failed to connect to tls://smtp.office365.com:587 [SMTP: Failed to connect socket: Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP? (code: -1, response: )]

    If I set the hostname to just smtp.office365.com I get the following error authentication failure [SMTP: SMTP server does not support authentication (code: 250, response: HE1PR09CA0082.outlook.office365.com Hello [213.246.151.185] SIZE 157286400 PIPELINING DSN ENHANCEDSTATUSCODES STARTTLS 8BITMIME BINARYMIME CHUNKING SMTPUTF8)]

    Any ideas on where I should look 2 days searching on forums and still no further forward with this, thanks for any help in advance.
  • SMTP Gmail - OSTicket
    Good morning.

    I can´t setup smtp gmail in Osticket because I always get an error message. I´ve researched on google and on this forum, but I couldn´t find a solution.
    Can somebody help me, please?

    These are my server information:
    OS: Windows Server 2012 R2 Standard
    osTicket Version: v1.10.1 (9ae093d) —  Up to date
    Web Server Software: Apache/2.4.29 (Win32) OpenSSL/1.0.2l PHP/5.6.32
    MySQL Version: 10.1.28
    PHP Version: 5.6.32

    These are four SMTP settings that I´ve tried with their error messages:
    1-
    Status: Enable
    Hostname: smtp.gmail.com
    Port Number: 587
    Authentication Required: Yes
    Header Spoofing: Allow for this email
    Error: authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS)]

    2-
    Status: Enable
    Hostname: smtp.gmail.com
    Port Number: 465
    Authentication Required: Yes
    Header Spoofing: Allow for this email
    Error: Failed to connect to smtp.gmail.com:465 [SMTP: Invalid response code received from server (code: -1, response: )]

    3-
    Status: Enable
    Hostname: ssl://smtp.gmail.com
    Port Number: 587
    Authentication Required: Yes
    Header Spoofing: Allow for this email
    Error: Failed to connect to ssl://smtp.gmail.com:587 [SMTP: Failed to connect socket: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:587 (Unknown error) (code: -1, response: )]

    4-
    Status: Enable
    Hostname: ssl://smtp.gmail.com
    Port Number: 465
    Authentication Required: Yes
    Header Spoofing: Allow for this email
    Error: Failed to connect to ssl://smtp.gmail.com:465 [SMTP: Failed to connect socket: stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) (code: -1, response: )]

    Does somebody has any idea about what I could do?

    Thank you!



  • Problem in Sending Email
    I followed this tutorial to test the connectivity to the Gmail SMTP using the account that is configured to the Osticket. This was also run using the server where the Osticket is installed.  --> https://www.saotn.org/test-smtp-authentication-starttls/

    The results below does not show any error and I am able to receive the test email

    ---
    250 SMTPUTF8
    EHLO xxxxxxxx.com
    250-smtp.gmail.com at your service, [xxx.xxx.xxx.xxx]
    250-SIZE xxxxx
    250-8BITMIME
    250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-CHUNKING
    250 SMTPUTF8
    AUTH PLAIN xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    235 2.7.0 Accepted
    mail from:<sender@domain.com>
    250 2.1.0 OK xxxxxxxxx - gsmtp
    rcpt to:<recipient@domain.com>
    250 2.1.5 OK xxxxxxxxx - gsmtp
    data
    354  Go ahead xxxxxxxxxxxxxxx - gsmtp
    Test Email
    .
    250 2.0.0 OK xxxxxxxx xxxxxxxxxxxxxxxx - gsmtp
    quit
    221 2.0.0 closing connection xxxxxxxxxxxxxx - gsmtp
    read:errno=0

  • Problem in Sending Email
    Below are the errors I am seeing:

    When Saving the Email Settings:

    Sending Email via SMTP     
    authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS)]


    System Logs:
    Unable to email via php mail function:email@domain.com mail() returned failure


    Diagnostic:

    Error sending email - Please try again!
  • Problem in Sending Email
    Our installation was running with no issue (see details below) until yesterday, I noticed it wont send out email. The system is able to login to IMAP+SSL however in the SMTP it is always getting --> authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 Ready to start TLS)] when logging in to Google SMTP server smtp.gmail.com on port 587. Temporarily I have set to use aspmx.l.google.com on port 25 however whatever has been sent is not saved in the mailbox account of G Suite. What could be the problem?

    osTicket Version v1.10.1 (9ae093d) —  Up to date
    Web Server Software Microsoft-IIS/7.5
    MySQL Version 5.7.13
    PHP Version 7.0.21
  • Configuring SMTP to work with exchange 2013
    I've looked through the thread http://osticket.com/forum/discussion/3422/failed-to-configure-email-smtp-settings but it relates to an older version and the bits about socket options are already in our version. Changing the 'version_compare(php_version' gives the error
    authentication failure [SMTP: No supported authentication methods (code:250 response: 
    %servername% Hello
    SIZE 26214400
    PIPELINING
    DSN
    ENHANCEDSTATUSCODES
    STARTTLS
    AUTH GSSAPI NTLM
    8BITMIME
    BINARYMIME
    CHUNKING )]