Skip to content

Commit

Permalink
Another fine tuning for bounces, fixes #1.
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanoostveen committed Aug 3, 2013
1 parent 59dc985 commit 1afb65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/newsletter/pages/start.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function is_error_bounce( $headers, $body )
{
$test1 = ( isset($headers['Return-Path']) && $headers['Return-Path'] == '<>' );
$test3 = ( isset($headers['Return-Path']) && preg_match("/MAILER-DAEMON@web\d\.roosit\.nl/", $headers['Return-Path']) == 1);
$test4 = ( isset($headers['Return-Path']) && preg_match("/MAILER-DAEMON@mail\d+\.roosit\.eu/", $headers['Return-Path']) == 1);
$test4 = ( isset($headers['Return-Path']) && preg_match("/MAILER-DAEMON@(mail|web)\d+\.roosit\.eu/", $headers['Return-Path']) == 1);

$test2 = ( isset($headers['Return-path']) && $headers['Return-path'] == '<>' );

Expand Down

0 comments on commit 1afb65e

Please sign in to comment.