Check and Configure Mail Server in Command Prompt
-
@DustinB3403 said:
The reason he's using Alpine (from what i've read) is that he's uncertain of how to send and confirm emails from the command line.
Why he's not configuring thunderbird (or any other gui based mail client) to test these settings I don't know.
That's where I am confused. Sending from the command line you use the mail command (part of mailx.) To check your emails in Zimbra you use Zimbra itself or an IMAP tool like Thunderbird or Outlook. I don't see how you can mix Alpine and Zimbra without causing problems. Alpine is not made for this and I don't see what the goal is.
-
@Lakshmana said:
I am able to send the mail from the command prompt but unable to see the sender name and it gives me the [email protected].
Why this was like this?@scottalanmiller said:
Why are you trying to use Alpine? What is your goal here? This is very confusing.
He is probably using a default postfix setup. Or whatever default SMTP sending is on his distribution.
@Lakshmana said:
I am also need to see the inbox in my command prompt.Whether it is possible to carry out?
This is a completely different issue. As @scottalanmiller stated, there is no inbound mail handling by default on any OS, Linux or otherwise. You have to install and configure one.
-
Oh, I see, this isn't the same box as the one with Zimbra, this is another box entirely? Now this "makes more sense." He's trying to use Alpine (a mail client) to do the work of a mail server on a non-email box. I'm more clear now.
-
@Lakshmana said:
So i have used the ssmtp to configure but there is an error coming in the terminal that it was unable to process.
What is the error message?
Are you attempting to send email from your Ubuntu computer to the Zimbra server?
-
First I have tried to have the zimbra mail to be configured in the Alphine.
Since the zimbra is my office mail,i cannot test with so i am going to test the alphine with my gmail account now.
How to configure gmail in alphine to check and send mails? -
@Lakshmana said:
First I have tried to have the zimbra mail to be configured in the Alphine.
I'm not sure that that is even possible. They are not meant to work together like that
-
@Lakshmana said:
Since the zimbra is my office mail,i cannot test with so i am going to test the alphine with my gmail account now.
I'm confused, why are you using Alpine at all?
-
@scottalanmiller No Confusion,I just checking how can i access the gmail in the command line ?
This is my testing process?
Just forgot about zimbra now and now concentrating on Gmail to access in command line.We are having mail clients in GUI that everyone knows,but any chance to access the mail in CLI?
That is now I am testing with the ubuntu machine in command line. -
@Lakshmana said:
@scottalanmiller No Confusion,I just checking how can i access the gmail in the command line ?
Alpine CAN do this, you need to turn IMAP on on your GMail system and configure the client to connect via IMAP and SMTP.
-
@Lakshmana said:
This is my testing process?
What are you trying to test? All of the effort seems to be in the test. What functionality do you want to know is working?
-
@Lakshmana said:
We are having mail clients in GUI that everyone knows,but any chance to access the mail in CLI?
Yes you can. But it requires all of the same setup as a GUI client. Is there really a time that you would want to do this today? Even as a command line guy, I can't think of a time that I would want to do this.
-
@scottalanmiller I am having time to do this and I have enabled the IMAP option in my gmail and i have tried to configure the alpine but SMTP error comes here and any link to configure gmail in alphine.
I dont know to configure the alphine.Any idea to configure the Alphine step by step?
-
@Lakshmana said:
@scottalanmiller I am having time to do this and I have enabled the IMAP option in my gmail and i have tried to configure the alpine but SMTP error comes here and any link to configure gmail in alphine.
Share your configuration details. Always start with providing the details. We will have to ask for these in every case.
-
I'm with Scott - why would you want to do this, even for testing? If you want to make sure mail services are working, you can simply telnet into your email host use some hello/ello commands, etc to test the ability to send/pickup email, but configuring a command line client, I'm baffled.