• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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