I am using osticket 1.9.12 (stable) version and I have configured email to send and receive emails to the ticketing system. I am not using any php mailer for sending emails.  I would like to know whether the ticketing system attempts to relay email, if configured SMTP authentication fails? Occassionally I am getting relaying error at the time when SMTP authentication is failing. Just want to find out the problem causing this relaying error.

I am having this doubt because even though I am using SMTP authentication in the email setting of osticket, I am getting mail related log at /var/log/maillog (sendmail log). I have stopped the sendmail service, then also I am getting email related logs. Not consistently, may be once in 20 post replies. It seems when SMTP authentication is failing, due to some reasons(network issues), osticket is trying to use local sendmail. Somebody please correct me, if I am wrong in my conclusion. 

sample log before stopping sendmail-----------Mar 18 14 osticket sendmail: u2I9I60g022521: to=<xxxxxxx@gmail.com>, ctladdr=<apache@localhost6.localdomain6> (48/48), delay=00, xdelay=00, mailer=esmtp, pri=126748, relay=gmail-smtp-in.l.google.com. , dsn=2.0.0, stat=Sent (OK 1458292751 lk8si4638486pab.112 - gsmtp)Mar 18 14 osticket sendmail: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128Mar 18 14 osticket sendmail: u2I9IAio022525: to=<xxxxxxx@gmail.com>, ctladdr=<root@localhost6.localdomain6> (0/0), delay=00, xdelay=00, mailer=esmtp, pri=125446, relay=gmail-smtp-in.l.google.com. , dsn=2.0.0, stat=Sent (OK 1458292753 m3si6460597pfi.8 - gsmtp)-------------log after stopping sendmail service--------------Mar 18 16 osticket sendmail: u2IAv68V022776: from=apache, size=5205, class=0, nrcpts=1, msgid=<AtS50nQ-NPizX68Ab-pgMAAD+aAABV-@9ab978eda6>, relay=apache@localhostMar 18 16 osticket sendmail: u2IAv68V022776: to="xxxxx" <xxxxxxx@gmail.com>, ctladdr=apache (48/48), delay=00, xdelay=00, mailer=relay, pri=35205, relay= , dsn=4.0.0, stat=Deferred: Connection refused by Mar 18 17 osticket sendmail: u2IBbOZK022842: from=apache, size=2950, class=0, nrcpts=1, msgid=<AtS50nQ-Il9i68Qye-TwQAAGOaAABV-@a39e1be1cc>, relay=apache@localhostMar 18 17 osticket sendmail: u2IBbOZK022842: to="xxxxxxxx" <xxxxxxx@gmail.com>, ctladdr=apache (48/48), delay=00, xdelay=00, mailer=relay, pri=32950, relay= , dsn=4.0.0, stat=Deferred: Connection refused by

I don't actually know the answer to that. But I would think that the answer would be no.  I'll ask the devs to take a look at this thread.

Write a Reply...