Displaying sender address in quarantine |
Post Reply ![]() |
Author | |
StevenJohns ![]() Senior Member ![]() Joined: 03 August 2006 Status: Offline Points: 119 |
![]() ![]() ![]() ![]() ![]() Posted: 15 February 2008 at 7:27am |
Hi Everyone, I am in the process of creating a webmail front end for our email server and want to incorporate access to the users quarantine folder as part of it. This is relatively easy to do but I have just come across an issue which I am stuck on, namely what to display as the sender of a quarantined email. Let me explain that a little. As an example, I have pasted in a few headers of a sample quarantined email. The "X-TNC" headers are inserted by us so that we can acurately track each email. I have also disguised my email address as steve@xyz.com !!
So, two questions spring to mind, firstly, what should the sender be displayed as??? the SMTP envelope address, or the display address???? If anyone has any ideas, thoughts or suggestions, they would be greatly apprecieted. Thanks. Edited by StevenJohns - 15 February 2008 at 7:30am |
|
![]() |
|
WebGuyz ![]() Senior Member ![]() Joined: 09 May 2005 Location: United States Status: Offline Points: 348 |
![]() ![]() ![]() ![]() ![]() |
Return Path is what is being filtered on. I would display the return path.
|
|
http://www.webguyz.net
|
|
![]() |
|
LogSat ![]() Admin Group ![]() ![]() Joined: 25 January 2005 Location: United States Status: Offline Points: 4104 |
![]() ![]() ![]() ![]() ![]() |
The email address specified int he "From:" email header (From: "Duncan Elliott" <marketinghelp@2u.co.uk>) is what is usually used by emails clients to display the sender's info.
SpamFilter only acts upon the email address specified int he MAIL FROM command. The address specified in that command is added by SpamFilter in the "Return-Path" headers. As email mail server will replace this header, when forwarding the email to your server, your server will overwrite that header (although usually it should add the same address that was there to begin with...). For this reason, SpamFilter also adds the following header which also contains the "MAIL FROM" address that was provided to SpamFilter: X-SF-RX-Return-Path: <rIwMjMxstMzszJysTIyMtEa0zAwcDAxMrA==@smtp-verifiedoptin-01.aweber.com> As far as the if the "From:" header and the "MAIL FROM" address should be the same, they usually are for emails created by humans. They may different in automated notifications to better handle email bounces, as the "MAIL FROM" address is what is supposed to be used to email back notifications to in case of delivery issues. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.139 seconds.