EPrints Technical Mailing List Archive

Message: #01322


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: NET::SMTP needs Hello in EPrints 3.3.10


Florian, yes you are right, of course I meant EPrints::Email. Sorry for the confusion.

Best regards,
Volker

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Florian Heß
Sent: Tuesday, November 20, 2012 5:20 PM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: NET::SMTP needs Hello in EPrints 3.3.10

Am 20.11.2012 11:40, schrieb Schallehn, Volker:
> Hi,
>
> sending Mail via SMTP (EPrints 3.3.10) results in a mail header like
>
> [...]
>
> Received: from localhost.localdomain (unknown [xxx.xxx.xxx.xxx])
>
> [...]
>
[...]
> As a quick and dirty workaround we changed the behavior of
> EPrints::Utils::send_mail_via_smtp (line 160), from
>
> my $smtp = Net::SMTP->new( $smtphost );
>
> to
>
> my $smtp = Net::SMTP->new( $smtphost, Hello => 'my.eprints.domain' );

Thanks for sharing, Herr Schallehn,

guess you are meaning EPrints::Email, not EPrints:Utils.

As we experience requests from users asking whether or when the 
confirmation email is sent, this could be our problem, too. We will have 
several EPrints instances based on the same installation, so we would 
then assign $p{session}->config("host") and reckon that should be 
preferred for the sake of robust code on single installations as well.

Kind regards,
Florian Heß

-- 
UB Heidelberg (Altstadt)
Plöck 107-109, 69117 HD
- Informationstechnik
- WWW-Redaktion
http://www.ub.uni-heidelberg.de/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/