LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2019, 10:24 AM   #1
brijan007
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Rep: Reputation: Disabled
view list of email accounts with codes


i would like to be able to get a list of all email accounts in our server with the corresponding codes. i go through the different steps to arrive to the last one:
/usr/local/psa/admin/bin/mail_auth_view
however the file is in binary and i cann't read it.
could some of you indicate me how to get this information in a legible format?
thank you very much
 
Old 01-28-2019, 10:46 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by brijan007 View Post
i would like to be able to get a list of all email accounts in our server with the corresponding codes. i go through the different steps to arrive to the last one:
/usr/local/psa/admin/bin/mail_auth_view
however the file is in binary and i cann't read it. could some of you indicate me how to get this information in a legible format?
Read the "Question Guidelines" link in my posting signature. You need to provide details, such as whatever scripts/commands you're running, version/distro of Linux, etc.

Past that, the mail_auth_view file is a *PROGRAM*...it is not 'legible'. You run that program to give you whatever it's written to do. If you need to parse the information after that, that's certainly doable.
 
1 members found this post helpful.
Old 02-06-2019, 09:31 AM   #3
brijan007
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Read the "Question Guidelines" link in my posting signature. You need to provide details, such as whatever scripts/commands you're running, version/distro of Linux, etc.

Past that, the mail_auth_view file is a *PROGRAM*...it is not 'legible'. You run that program to give you whatever it's written to do. If you need to parse the information after that, that's certainly doable.
how can i run this program? i am very sorry indeed but i don't know how to do. thanks.
 
Old 02-06-2019, 12:05 PM   #4
l0f4r0
Member
 
Registered: Jul 2018
Location: Paris
Distribution: Debian
Posts: 900

Rep: Reputation: 290Reputation: 290Reputation: 290
So you are running Plesk?
I really don't know that solution but internet seems to give the following hint:
Code:
/usr/local/psa/admin/bin/mail_auth_view | grep "<string_related_to_email_accounts>"
Of course you need to replace "<string_related_to_email_accounts>" with the right string.
This command runs binary mail_auth_view and search for some strings inside its output
 
1 members found this post helpful.
Old 02-07-2019, 06:21 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by brijan007 View Post
how can i run this program? i am very sorry indeed but i don't know how to do. thanks.
You *TYPE IN*
Code:
/usr/local/psa/admin/bin/mail_auth_view
and press enter. And read the "Question Guidelines" link in my posting signature; there is ample documentation on that command available with a brief search.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ns2 codes for OLSR codes sukrutha Linux - Newbie 3 01-25-2012 11:42 PM
[SOLVED] How to compile .jar Java byte-codes into native machine codes? ilgaar Linux - Software 1 08-30-2010 12:52 AM
How to compile .jar Java byte-codes into native machine codes? ilgaar Linux - Software 6 08-28-2010 11:20 PM
Tryying to keep Konqueror in "Detailed List View", but it always reverts to Icon View jlinkels Linux - Software 3 05-16-2006 08:45 PM
Are the hex codes for colors in a jpg the same codes as used in html? abefroman Linux - Security 3 07-31-2005 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration