EPrints Technical Mailing List Archive

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

Message: #10220


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

[EP-tech] Sending email from eprints using postfix


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