Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [Chaz] GM2.2RC1 Header Issues And Broken Links

Quote Reply
Re: [Chaz] GM2.2RC1 Header Issues And Broken Links In reply to
admin/GT/Mail/Send.pm:
Code:
@@ -226,7 +226,7 @@
# If the email address is safe, we set the envelope via -f so bounces are handled properly.
my $from = $self->{mail}->{head}->get('return-path') || $self->{mail}->{head}->get('from');
my $envelope = '';
- if ($from =~ /^([\w\-\.]+\@[\w\-\.]+)$/) {
+ if ($from =~ /<?([\w\-\.]+\@[\w\-\.]+)>?/) {
$envelope = "-f $1";
}
elsif (($from eq '<>') or ($from eq '')) {

This bug only affects you if you're using sendmail (as opposed to smtp) to send mail, and your smtp daemon is actually sendmail (as opposed to qmail, etc).

Adrian

Last edited by:

brewt: Oct 12, 2003, 6:59 PM
Subject Author Views Date
Thread GM2.2RC1 Header Issues And Broken Links anup123 2635 Oct 12, 2003, 3:30 PM
Thread Re: [anup123] GM2.2RC1 Header Issues And Broken Links
brewt 2587 Oct 12, 2003, 4:30 PM
Thread Re: [brewt] GM2.2RC1 Header Issues And Broken Links
Chaz 2561 Oct 12, 2003, 5:50 PM
Thread Re: [Chaz] GM2.2RC1 Header Issues And Broken Links
brewt 2565 Oct 12, 2003, 6:58 PM
Post Re: [brewt] GM2.2RC1 Header Issues And Broken Links
Chaz 2563 Oct 12, 2003, 7:04 PM
Post Re: [brewt] GM2.2RC1 Header Issues And Broken Links
anup123 2549 Oct 13, 2003, 5:38 AM