Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imap - Additional recevied mail header for remote device IP address #83

Conversation

matidau
Copy link
Collaborator

@matidau matidau commented Jul 4, 2024

Released under the GNU Affero General Public License (AGPL), version 3

What does this implement/fix? Explain your changes.

Adds an option to include the remote device IP in a received header for Imap Backend

Example
received: from 1.2.3.123 by hostname (Z-Push); Mon, 01 Jan 2024 00:00:00 +1000

Does this close any currently open issues?

#61

Any relevant logs, error output, etc?

#61

Where has this been tested?

Server (please complete the following information):

  • OS: Ubuntu
  • PHP Version: 8.0
  • Backend for: Mail-in-a-Box
  • and Version: v68

Smartphone (please complete the following information):

  • Device: Xiaomi 11T
  • OS: Android
  • Mail App GMail
  • Version latest

@matidau matidau linked an issue Jul 4, 2024 that may be closed by this pull request
@matidau
Copy link
Collaborator Author

matidau commented Jul 4, 2024

Hi @si458

Can you test this PR out for your feature request?

Cheers,
Mat

@si458
Copy link
Contributor

si458 commented Jul 4, 2024

yep works a treat thanks!
its adding an entry with the remote devices external ip address!
this will at least help us identify WHERE the email was first sent from via z-push before z-push send it out via out SMTP gateway!

@matidau matidau merged commit ac6c025 into Z-Hub:develop Jul 4, 2024
2 checks passed
@matidau matidau deleted the 61-add-remote-device-ip-as-received-header-in-outbound-email branch July 11, 2024 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add remote device IP as Received header in outbound email
2 participants