Sending email from Ubuntu server to gmail.
Does anyone have some quick tips on how to send an Ubuntu server's email to a gmail account via postfix/procmail?
Thanks! |
That is a very big and open question.
If you have already configured a mail server that sends email to your gmail account using the mail command then you only have to update: Code:
/etc/aliases Remember to read the comments in the various files and man pages for information. If you have not yet got that working then depending on your server set-up etc... you have to configure your MTA respectively. Chances are you just need to tell it to point all outbound email to a specific email server and it takes care of the rest of it for you. If you need more specific help can you give more details about your set-up and configuration. |
Hey amon. I don't know why, I just never figured out email top to bottom. Sorry, I'm lame or lazy or whatever.
So here, I have, the following choices: $ sudo dpkg-reconfigure postfix No configuration Internet Site Internet with smarthost Satellite system Local only Which one should I choose here? Thanks for your help! |
First of all if you are setting up an email sending system of any sort you need to have a basic understanding of SMTP. The same level of understand you would need to have to configure a copy of Thunderbird/Outlook or any other email client.
If you don't have an overview of how SMTP works stop now and google it, things will be much easier if you have an overview. At bare minimum you will want to understand:
The list of options you have given explained a little more (google them for more info):
You need to explain what your set-up is for me to help more. But for now I will assume that you have a server on a local site (It connects to the outside world using a regular ISP). In which case you want Internet with smarthost. For the specific configurations of this you will have to look at your ISPs help pages (or contact their support) to find out about their SMTP server address is and what (if any) authentication is required. |
If you want to sent email using gmail as SMTP, take a look at
http://behindmyscreen.newsvine.com/_...101-easy-steps |
Quote:
|
All times are GMT -5. The time now is 04:21 PM. |