InvoicePlane / InvoicePlane

A self-hosted open source application for managing your invoices, clients and payments.
https://www.invoiceplane.com
Other
2.55k stars 799 forks source link

Logout when mail sending fails #65

Closed Jadaw1n closed 10 years ago

Jadaw1n commented 10 years ago

I get logged out without any error message when I accidentially try to send an email to an unknown mail address. e.g. Email to: someone@g00gle.con

Edit: Mail sending method is SMTP with authentication.

Kovah commented 10 years ago

We need some more information about that. Please post details about your webhoster / webserver (OS, Apache version, PHP version, etc.) and if available the SMTP server you are running and the error logs.

Jadaw1n commented 10 years ago

Happens on two instances:

Logs from production instance: http://pastebin.com/jNdAv00r (btw. DEBUG messages should be disabled on a production instance) Can't see any mail related errors... There were no error logged in Apache or PHP error log.

Relevant mail server Logs:

Aug 25 18:29:09 squirrel postfix/smtpd[30516]: Anonymous TLS connection established from (invoiceplane-client): TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
Aug 25 18:29:09 squirrel postfix/smtpd[30516]: NOQUEUE: reject: RCPT from squirrel.the-admins.ch[144.76.108.140]: 450 4.1.2 <nonexistent@mail.address>: Recipient address rejected: Domain not found; from=<me@valid.address> to=<nonexistent@mail.address> proto=ESMTP helo=<(invoiceplane-client)>
Aug 25 18:29:09 squirrel postfix/smtpd[30516]: lost connection after RCPT from (invoiceplane-client)
Aug 25 18:29:09 squirrel postfix/smtpd[30516]: disconnect from (invoiceplane-client)

Same behaviour and logs on the developer instance.

Kovah commented 10 years ago

Seems to be the same issue like in #77. Please continue the discussion there.