EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #10221


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

RE: [EP-tech] Sending email from eprints using postfix


CAUTION: This e-mail originated outside the University of Southampton.

OK, another day spent trying to overcome this issue. Put simply, my question is this:

How can I get the EPrints web interface to send email using the local Postfix sendmail, without hanging or trying to connect directly to SMTP2GO?

 

Please, if anyone has any ideas, I would love to hear them.

 

Thank you

 

Best wishes

 

Will

 

From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> On Behalf Of Will Hughes
Sent: 27 August 2025 19:36
To: EPrints.org Technical List <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] Sending email from eprints using postfix

 

CAUTION: This e-mail originated outside the University of Southampton.

CAUTION: This e-mail originated outside the University of Southampton.

Hi

 

I have been struggling with this issue for a while now. As far as I can tell, I have configured everything I need to get postfix to work in sending eprints system emails.

 

Summarizing: EPrints 3.4 on Ubuntu 24.04 with Postfix configured to relay via SMTP2GO. From the command line, sending email as the eprints user works:

echo "Test message" | sudo -u eprints /usr/sbin/sendmail -v will.hughes.rdg@gmail.com

The message is delivered successfully.

 

When using the web interface to send email (notifications, test messages), the process hangs indefinitely.

Current config in cfg.d/00_email.pl:

$c->{sendmail_program} = "/usr/sbin/sendmail";

$c->{sendmail_args}    = "-oi -t";

$c->{email_from}       = 'abstracts@arcomabstracts.com';

$c->{email_from_name}  = 'ARCOM Abstracts';

$c->{email_reply_to}   = 'abstracts@arcom.ac.uk';

 

Direct SMTP via $c->{sendmail_method} = 'SMTP' also fails. Postfix logs show successful deliveries from CLI; no related errors appear when the web interface hangs.

 

Does anyone have similar experience and/or a solution to this quandary, please?

 

Best wishes

 

Will   

 

Will Hughes

Emeritus Professor of Construction Management and Economics

School of the Built Environment     

University of Reading, PO Box 219, Whiteknights

Reading, RG6 6DF, UK