Browse Source
Merge pull request #361 from ymarkus/master
fix vacation.pl resolver
pull/12/head
David Goodwin
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
VIRTUAL_VACATION/vacation.pl
|
|
|
@ -454,7 +454,7 @@ sub send_vacation_email { |
|
|
|
my $to = $orig_from; |
|
|
|
|
|
|
|
# part of the username in the email && part of the domain in the email |
|
|
|
my ($email_username_part, $email_domain_part) = split(/@/, $orig_from); |
|
|
|
my ($email_username_part, $email_domain_part) = split(/@/, $email); |
|
|
|
|
|
|
|
my $resolver = Net::DNS::Resolver->new; |
|
|
|
my @mx = mx($resolver, $email_domain_part); |
|
|
|
|