• 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.

Finding all AOL redirects

nvoth

New Pleskian
Hello,

I need to find all the mail accounts that have redirects to any AOL.com address. The Plesk support guys offered this:

mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e "select domains.name, Parameters.value from domains,Parameters where domains.params_id=Parameters.id and Parameters.parameter='catch_addr' and Parameters.value like '%aol.com%';"

BUT it doesn't really work. Any idea how to easily find all the redirects to AOL?

Thanks,

-Nick Voth
 
connect to mysql using an authorized user...

mysql -u admin -p

then run the following SQL statement

select * from psa.mail_redir where address like '%yahoo%';
 
Thanks very much. That worked well.

I also just figured out a grep string that would work too:

grep aol.com /var/qmail/mailnames/*/*/.qmail

Thanks for your help.

-Nick Voth
 
Back
Top