Home : Products : Gossamer Mail : Discussion :

Products: Gossamer Mail: Discussion: Re: [Chaz] GM2.2RC1 Header Issues And Broken Links: Edit Log

Here is the list of edits for this post
Re: [Chaz] GM2.2RC1 Header Issues And Broken Links
@@ -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).


Last edited by:

brewt: Oct 12, 2003, 6:59 PM

Edit Log: