my magento website can‘t use email function, maybe it is about the vps email setting? anyone can help me? - email

i'm running a new store on magento, the contact us show successfully sent email to me, but i didn't get any email. i'm using google email address, but for the vps setting i'm not sure how to set up it. as i'm using linux vps.

If you are using personal VPS hosting, you have to install email server or ask support to do that. The most popular one for Linux is Postfix. You can find a lot of information how to install postfix depend on Linux distrubution. I recommend you to install postfix and use mysql to configure such settings like email forwarding, user list, etc.

Related

Viewing emails via browser on Ubuntu

I have a working postfix smtp server on my Ubuntu 20.04 cloud machine. I can send/receive emails using the standard command line "mail" client. I am now looking for a way to do the same via web browser. I already am running nginx on the server.
It seems there are various apps such as RoundCube and SquirrelMail that are available on Ubuntu. However, they seem to require additional pop3/imap server packages to be installed.
As the webmail client is intended to be on the same machine as my smtp server is, I do not see why additional pop3/imap packages need to be installed.
Wondering if there is a simpler way to look at emails via web browser. Regards.
You need to install a web server, PHP (or whatever is required to run the webmail app of your choosing), and an IMAP server.
mail is an email client that knows how to directly access your messages on the filesystem, something that a web app has no capability to do. Also note that it is executed from the context of you having already logged in to your server as a particular user.
It's a Very Bad Idea to give your web server read/write access to parts of the filesystem outside the directories where your web-related files are kept (write access can and should be even more strict).
It's technically feasible to create a webmail app that does what you want (I think there may have been some attempts in the distant past), but it would be limited to systems with a very specific mail system setup and require some questionable permission tweaking. IMAP is the layer that abstracts your particular mail system setup from any of the various mail clients you may want to use to access your messages. It also helps make sure users and apps are not able to access things they should not.
Wondering if there is a simpler way to look at emails via web browser
Not that I can think of. Fortunately, this will get you most of the way there:
apt-get install dovecot-imapd
Dovecot will need minimal configuration in your case, and more time will be spent installing and tweaking whatever webmail client you choose (or you can try Thunderbird). And remember that the IMAP server can be limited to local clients (webmail counts as such) and need not be exposed to the Internet.

How to install mail server on vps (digitalocean)

I need send and receive e-mails. I need configure on Digital Ocean Vps a Mail server.
I need a how to or any recommendation about it. I think I will have to create a database to store messages.
I have seen:
Mailgun: I have created an account and created dns records Mx and Txt but Its not verified yet. So I can't receive email.
SendMail: I think it's I have already installed but I don't know how to send and receive email from hello#domain.com
Postfix: I've tried to install didn't work it
Thanks.
Mailservers are complex beasts of software. Installing your own might be a bad idea, unless you're willing to invest time to
make it secure
protect it against spam and viruses
back up your emails
understand topics such as DMARC and TLS and greylisting
...
See why you may not want to run your own mail server for more information.
Maybe you could use an email provider instead? Google Suite is a great choice :)
There's an open-source solution
Mail-in-a-Box lets you become your own mail service provider in a few easy steps. It’s sort of like making your own gmail, but one you control from top to bottom.
Technically, Mail-in-a-Box turns a fresh cloud computer into a working mail server.

How to test email notifications of trac in local host ? Especially Mail2Trac plugin and Email2Trac plugin

I'm able to configure SMTP server so that whenever a ticket is created in Trac, the ticket will be sent to the gmail id.
Now the Email to Trac plugin and Mail 2 Trac Plugin works in such a way that, the emails received from the trac system will be replied back and the reply of that mail will be posted automatically as the comment in the ticket.
How to test this plugin functionality in localhost ? I donot know how to setup SMTP server so that I can receive emails generated by trac system inside my machine and I dont have idea how the reverse case (reply to the email) will work locally in my machine.
I'm working in Ubuntu 14.0.4
Guide me on how to do this.
I think smtp_replyto is simply set to an email address, e.g. root#localhost. That's all for the Trac part. Then install an SMTP server on your local machine. Refer to this posting for how to do configure the SMTP server.

Is it possible to install Roundcube on shared server ?

Is it possible to install roundcube on Shared linux
server running Cpanel. I heard from my service provider that it isn't. Well is it possible atleast on Dedicated IP... Please advice. Thanking in advance..
Ahoy,
cPanel ships with Roundcube already installed on the server by default with cPanel. You can access roundcube though the webmail interface using any of the email accounts hosted on that server. The webmail login that you can access roundcube through is at http://example.com/webmail -or- https://example.com:2096
cPanel uses a specially modified version of roundcube to help address issues like passing cPanel authentication data to roundcube to make logins easier. cPanel's roundcube files are stored at:
/usr/local/cpanel/base/3rdparty/roundcube
To update roundcube on a cPanel server you can use the following command. Additionally if you use the --force flag, roundcube will be reinstalled.
/usr/local/cpanel/bin/update-roundcube
cPanel Roundcube also has a special logging location at:
/var/cpanel/roundcube/log
cPanel Roundcube's Primary Configuration file
/usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php
By default roundcube will use MySQL, however it is possible to update roundcube to use sqlite, an quicker and more efficient database driver for roundcube. There are dangers in this conversion (ie. address book loss, roundcube user preferences loss). The command to convert roundcube to sqlite is:
/scripts/convert_roundcube_mysql2sqlite
/scripts/convert_roundcube_mysql2sqlite $username
To update an sqlite roundcube (--force to reinstall)
/usr/local/cpanel/bin/update-roundcube-sqlite
Additionally since roundcube is a php script, you can download roundcube from http://roundcube.net/download/ and install it into any cPanel account if your usage requires customizations that cPanel will not support.
Chears!
Well, it is 100 % possible for sure( I have an example in production)
The only thing to consider is, there may be some missing components that Roundcube requires. If this is is the case, just submit a ticket for your hosting provider, they will certainly install the missing components.
If you want to install SSL for your Roundcube, for sure you also need a dedicated IP.

Installing and configuring a barebones email server on Ubuntu

I've got an unmanaged Linux VPS running ubuntu that I'm using for the web server for a personal website. I'd like to get a barebones email server up and running. All the installation guides I've found so far are for a full-fledged email server with a webmail interface and everything. That's a lot more than I need. There's only two things I need:
My web application needs to be able to send email. Specifically, it'll be emailing me when an exception occurs.
I want all email sent to [anything]#domain.com forwarded to my personal gmail account. The server doesn't even need to retain the email or anything.
I want to reserve resources for the actual web app, so I don't want to install anything I won't need for this.
msmtp or nullmailer sounds like it would fit the bill for the former. You could use google mail for domains for the latter.
I'll Second Postfix. I've been using it since around 2000 - it's not that hard to set up. However, for what you're doing (relaying to your ISP) msmtp or nullmailer as suggested by geocar will probably do the trick - they appear to be specifically designed for this sort of role - although I've never used them so I can't really comment from experience in the way I can with Postfix.
Your web application needs a SMTP server. That server can be a hosted service like Google's or MailHop. If you really want to be an email administrator postfix should be installed HOWTO is here.
If not:
sudo apt-get install postfix