LinuxQuestions.org
Review your favorite Linux distribution.
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 08-01-2010, 10:40 PM   #1
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Rep: Reputation: 30
evolution setup assistant in ubuntu


i wanted to use this as an email server to receive and send emails from ubuntu server. i had nagios installed on my ubuntu, installed postfix too, so i thought i could somehow make use of this evolution setup assistant

but one thing i'm not sure is this:
take a look at this: http://www.zolved.com/synapse/view_c...ount_in_Ubuntu

Under the receiving email, the server is shown as email.iptouch.com , what should i replace this with? And also under sending email, the server i should put as what?

my ubuntu hostname is ubuntu. username is xanios
 
Old 08-02-2010, 12:45 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Am I missing something or do I not understand you? You want to use your own Ubuntu server for sending and receiving mails, is not it? Then why evolution? You need to configure your Ubuntu server first for the job. And then your evolution client.
As for the evolution configuration,
receiving server is your imap or pop3 server that you have been assigned by the mail provider. And sending server is the smtp server name. Both should be provided by the mail provider itself.
 
Old 08-02-2010, 01:06 AM   #3
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
I want use Evolution cause i thought after installing postfix in ubuntu, i must have a smtp server. So i thought Evolution could be the smtp server.

What should be the server name? i mentioned in the first post. should i put the server name using my ubuntu hostname? eg. ubuntu. So server name is ubuntu.

Last edited by Xanios; 08-02-2010 at 01:07 AM.
 
Old 08-02-2010, 01:25 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You need to read more. Evolution is the email client. Not a mail server. Postfix is the smtp server. You do not need to install it if you do not intend to host a mail service.
Where do you have your email hosted? Or you use a mail service from gmail, yahoo or such?
 
Old 08-02-2010, 01:39 AM   #5
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
Hmm. First i just want to try send mail on the localhost (ubuntu machine) When that works, i want to try other mail services like hotmail,gmail etc. I'm using Nagios on ubuntu 9.10. Send email notifications when server is down in nagios
 
Old 08-02-2010, 01:44 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
I am still not able to understand you then. If you have postfix installed, then you only have smtp server. Not the IMAP or POP3. SMTP will just allow you to send emails not receive them. Evolution will need both sending server as well as receiving server. And if you need to just send mails, postfix should be enough.
Read postfix documentation on how to configure it and then use mutt or email command line clients to send mails to check your configuration.
The default configuration for postfix should allow you to send and receive mails on localhost as far as my knowledge goes about postfix.
 
Old 08-02-2010, 01:49 AM   #7
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
Hi Chaitanya,

Yeah i did read documentation on postfix and have configured it.

But i'm faced with this issue:
Could you take a look at this thread?
> http://www.linuxquestions.org/questi...ostfix-823443/
 
Old 08-02-2010, 02:05 AM   #8
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
You can not directly send mails from your internal server to gmail without any internet records. It will not work that way. To send mails to external server, you will need to use relay for the purpose. Check the documentation on how to set a SMTP relay with authentication in postfix.
I do not have lot of experience with postfix and have not used it extensively. So my help is going to be very limited.
 
Old 08-02-2010, 02:07 AM   #9
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
I know i can't just directly send mails to gmail/hotmail etc. For now i just wanted to let Nagios notify me when services are down in localhost (by sending an email to localhost). That will do for me (:
 
Old 08-02-2010, 02:16 AM   #10
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
For that you will need to set Nagios to send emails where you want it to and from which server.
 
Old 08-02-2010, 02:18 AM   #11
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Just like linuxlover.chaitanya indicated, you'll first need to get the facts straight in order to understand how the mail system works. Here are some links to help you on your way:
Creating a Linux mail server (has a great image of the data-flow the mail follows)
Creating a Linux mail server II (very extensive guide)
http://ubuntuforums.org/archive/index.php/t-706606.html (almost copy/paste solution ONLY to send out mail to GMail)

I suggest you read the first link to get some understanding on the issue. If you want fast result so that you can get your Nagios notifications out the door, then follow the last link, and after that read the first to understand what you did

Kind regards,

Eric
 
Old 08-02-2010, 02:47 AM   #12
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
Hi Eric,

Those are useful links. Thank you.

By the way, i created CA certificate (in the last link) but i typed some fields wrongly for the certificate, so how to delete the created CA certificate?

I tried to use this command again:

Code:
/usr/lib/ssl/misc/CA.pl -newca
But it didnt prompt me to create a CA certificate anymore. The first time i typed it it will ask me for it.
 
Old 08-02-2010, 03:25 AM   #13
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

To find out where your CA certificate is saved you can check your openssl.conf. I guess, since you're using Ubuntu that you can find it in /etc/ssl/.
Run this:
Code:
cat /etc/ssl/openssl.cnf | grep CA
You'll notice the header [ CA_defaults ]
Code:
[ CA_default ]
dir             = /etc/ssl/CA           # Where everything is kept
certificate     = $dir/cacert.pem       # The CA certificate
Delete the cacert.pem file and create a new one. You could also change the openssl.conf file to automatically present your data as default.

Kind regards,

Eric
 
Old 08-02-2010, 03:44 AM   #14
Xanios
Member
 
Registered: Jul 2010
Posts: 216

Original Poster
Rep: Reputation: 30
Hi,

thanks

hmm, is this the right command to delete it:

Code:
rm -f -r $dir/cacert.pem
Just want to be sure. thanks again
 
Old 08-02-2010, 03:47 AM   #15
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

No, the $dir variable only exist within the shell where openssl gets executed. You'll have to provide the full path or cd into the directory where the file is.
Code:
rm -r /etc/ssl/CA/cacert.pm
or
Code:
cd /etc/ssl/CA
rm cacert.pm
Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Migration Assistant In Ubuntu 9.04 LXer Syndicated Linux News 0 01-08-2009 01:40 PM
not throws evolution setup assistant dissident_goodchild Linux - Software 0 11-16-2007 09:00 PM
Evolution pppoe setup in Ubuntu won't work with dsl Thane Ubuntu 1 08-16-2006 01:11 PM
evolution mail setup hariiyer Linux - Networking 1 03-03-2006 07:41 AM
Evolution - problems after first setup jburford Linux - Software 2 09-08-2002 04:14 PM


All times are GMT -5. The time now is 06:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration