in the incoming.pl program around line 518 you are getting a list of possible recipients matching on things like to, cc, bcc etc... but why is this line in there?
$head->split_field('Received'),
all the others are who the message is going to, but this one seems to cover who its from when it goes through all the email headers. The reason I ask is that I somehow managed to get it so one user on the system sending an email to another on the system would get a copy of the message they sent in their inbox, as if they cc'd themselves. Once I commented out this line, it seems to be working fine.
Is this a bug or is there some other reason the Received header should be in there?
$head->split_field('Received'),
all the others are who the message is going to, but this one seems to cover who its from when it goes through all the email headers. The reason I ask is that I somehow managed to get it so one user on the system sending an email to another on the system would get a copy of the message they sent in their inbox, as if they cc'd themselves. Once I commented out this line, it seems to be working fine.
Is this a bug or is there some other reason the Received header should be in there?