• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Problem to send email with subversion

BRAHM

Basic Pleskian
Hi,

When I run:

su -c '/var/www/vhosts/brmais2.com/httpdocs/svn/mailer.pl "/var/www/vhosts/brmais2.com/httpdocs/svn/uniclin" "1" "daniel" --diff n --from [email protected] -s "[UNICLIN PC] Rev: [" [email protected]' -s /bin/sh apache

I get this:

Mail handler 'limit-out' said: REPLY:554:5.7.0 Your message could not be sent. The sender's domain is not registered in Panel, or is misconfigured.
/var/www/vhosts/brmais2.com/httpdocs/svn/mailer.pl: error in closing `/usr/sbin/sendmail -f'[email protected]' daniel [email protected]' for writing:

It was supposed to send an email after each commit in my subersion.


If I run the first coomand with the user root or brmais2 it works but I need to work with apache user.

How to fix this?

My plesk version is:

12.0.18 CentOS 5 1200151014.15
 
Hi IgorG,

Unfortunetelly both solutions did not work.

I have set up in my mailer.pl script:

$ENV{'PPP_SENDER_VHOST_ID'} = '50b1d061-1b90-412a-9fee-a8581019476b';

and it did not work.

and In plesk at 'Allow scripts and users to use Sendmail' option is enabled in Home > Tools & Settings > Server-Wide Mail Settings
it was already correct.

I am still getting the error message when I hit:

#su -c '/var/www/vhosts/brmais2.com/httpdocs/svn/mailer.pl "/var/www/vhosts/brmais2.com/httpdocs/svn/uniclin" "1" "daniel" --diff n --from [email protected] -s "[UNICLIN PC] Rev: [" [email protected]' -s /bin/sh apache

Mail handler 'limit-out' said: REPLY:554:5.7.0 Your message could not be sent. The sender's domain is not registered in Panel, or is misconfigured.
/var/www/vhosts/brmais2.com/httpdocs/svn/mailer.pl: error in closing `/usr/sbin/sendmail -f'[email protected]' daniel [email protected]' for writing:


This is too bad because my developer team is not getting commit e-mails from subversion.

I have tried serveral workarounds with no lucky.
 
Back
Top