Howdy, Stranger!

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

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

email relaying when smtp authentication fails

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.

Comments

  • 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:49:12 osticket sendmail[22523]: u2I9I60g022521: to=<xxxxxxx@gmail.com>, ctladdr=<apache@localhost6.localdomain6> (48/48), delay=00:01:06, xdelay=00:01:05, mailer=esmtp, pri=126748, relay=gmail-smtp-in.l.google.com. [74.125.200.27], dsn=2.0.0, stat=Sent (OK 1458292751 lk8si4638486pab.112 - gsmtp)
    Mar 18 14:49:12 osticket sendmail[22527]: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128
    Mar 18 14:49:13 osticket sendmail[22527]: u2I9IAio022525: to=<xxxxxxx@gmail.com>, ctladdr=<root@localhost6.localdomain6> (0/0), delay=00:01:03, xdelay=00:01:03, mailer=esmtp, pri=125446, relay=gmail-smtp-in.l.google.com. [74.125.200.27], dsn=2.0.0, stat=Sent (OK 1458292753 m3si6460597pfi.8 - gsmtp)

    -------------

    log after stopping sendmail service

    --------------
    Mar 18 16:27:11 osticket sendmail[22776]: u2IAv68V022776: from=apache, size=5205, class=0, nrcpts=1, msgid=<AtS50nQ-NPizX68Ab-pgMAAD+aAABV-@9ab978eda6>, relay=apache@localhost
    Mar 18 16:27:11 osticket sendmail[22776]: u2IAv68V022776: to="xxxxx" <xxxxxxx@gmail.com>, ctladdr=apache (48/48), delay=00:00:05, xdelay=00:00:00, mailer=relay, pri=35205, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Mar 18 17:07:24 osticket sendmail[22842]: u2IBbOZK022842: from=apache, size=2950, class=0, nrcpts=1, msgid=<AtS50nQ-Il9i68Qye-TwQAAGOaAABV-@a39e1be1cc>, relay=apache@localhost
    Mar 18 17:07:24 osticket sendmail[22842]: u2IBbOZK022842: to="xxxxxxxx" <xxxxxxx@gmail.com>, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32950, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]


  • 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.
Sign In or Register to comment.