LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-14-2009, 07:55 AM   #16
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

Quote:
Originally Posted by fusion1275 View Post
Sorry forgot to mention I would like to have the server handle mails being sent out to the world from my Thunderbird client.

I will update the above list

Rgds
Then you will need to configure sendmail or postfix or some other MTA or SMTP server.

You can have a look here to get ideas. Gives you a lot of possible combinations, the how to, etc...

Kind regards,

Eric
 
Old 08-14-2009, 07:58 AM   #17
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
Yes I think I will be using the IMAP route

I am still very unsure about the whole "server domain name" entry I am asked to put in when configuring those applications.

Do I need to buy a domain just so I can have a mail server? Or do I simply put anything in the files and it will use it?
 
Old 08-14-2009, 08:07 AM   #18
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
That's a bit unclear to me too. I have a relay server running here and it only has its own server.domain.es listed and no reference to our domain at all. And it works perfectly. As far as I know that server name will be used when sending/authenticating with other MTA's. In my opinion you can put about anything you want in there, since your mail is coming in through your ISP. Thus, as far as I know, you don't need to buy a domain name.

I'm sure that other LQ users with more knowledge about this will kick in and correct me if I'm wrong (at least I hope so, then I would learn something more too).

Kind regards,

Eric
 
Old 08-14-2009, 08:21 AM   #19
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
Thanks Eric thats an awesome link.. tons of combinations in there.

I shall go through it all when I get home later

Yes I hope someone gives an explanation about the dns side of this installation. Its confusing the hell out of me.
 
Old 08-14-2009, 08:53 AM   #20
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
All nice and well options given for MAIL IN, but he also asked for mail OUT, the reverse path..

For sending out mail, through you ubuntu server machine, you need to use a MTA (Mail tranfer agent) package, examples of such mta's incl.: sendmail, or postfix, qmail, exim etc etc..

You can also use spamassassin with either MTA, configuration strongly depends on the MTA in use..

Thunderbird will connect to the MTA for SMTP (or SSMTP)
to send out the mails..
The MTA on his turn queues the mail, so the spam detector (e.g. spamassassin) can review the queue, and then signals the MTA to start sending (this is all done within a matter of seconds, depending on the hardware).

NOTE though, some isp's have a smtp gateway in place, meaning they block port 25 (smtp) from the outside world, directly to the client side.
In such case, you need to configure the MTA to use the gateway.
 
Old 08-14-2009, 09:00 AM   #21
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
Hi teebones,


I think I will be using these packages:

ISP => Fetchmail => Postfix => Spam Assassin => Dovecot => Home client/Web portal


So are you saying that in the part where I put in the "servers domain name" I put in my ISP's SMTP name?

ie

smtp.plusnet.com


????

Last edited by fusion1275; 08-14-2009 at 09:41 AM.
 
Old 08-14-2009, 12:08 PM   #22
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Quote:
So are you saying that in the part where I put in the "servers domain name" I put in my ISP's SMTP name?
ie
smtp.plusnet.com
What are you trying to configure, which conf file do you use?
fetchmail, spamassassin, dovecot.......
 
Old 08-14-2009, 05:22 PM   #23
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
Quote:
Originally Posted by teebones View Post
All nice and well options given for MAIL IN, but he also asked for mail OUT, the reverse path..
As stated in post #16. Didn't miss it
 
Old 08-15-2009, 11:30 AM   #24
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
Well guys n gals I have some great news...

I have managed to configure my mail server in approx 5hrs last night.

I'm now running a nice and fast IMAP mail server using the following applications:

Fetchmail => Postfix => Dovecot

(Spam & virus software to be added this weekend)


I've configured my Thunderbird client to speak to my server and it pulls all the new mail even my transfered folders down and updates them. Its sooooo cool!!!

But...

On the flip side I have a small question!

I have installed all of this without checking on my diskspace in my home dir. Im running out very fast (or will be)

I would love to be able to move the Maildir to my raid partition where I have an extra 400GB. Is that possible?

Cheers
 
Old 08-15-2009, 11:54 AM   #25
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
As an update:

I have ran a cp -fr /home/Maildir /mnt/raid/Mail

All in place with the same permissions as the working directory.

In postfix's main.cf I amended:-

Code:
home_mailbox = Maildir/
to

Code:
home_mailbox = /mnt/raid/Mail/Maildir/
That didnt work!!


So I changed it back and amended the dovecot.conf:-

Code:
mail_location = maildir:~/Maildir
to

Code:
mail_location = maildir:/mnt/raid/Mail/Maildir
Still nothing. What am I missing here???
 
Old 08-15-2009, 06:36 PM   #26
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
Anyone have any ideas? I have 91mb left of space until my filesystem max's out on me and I wont be able receive any mail.
 
Old 08-16-2009, 05:27 AM   #27
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

take a look at Offline-Howto. This is a useful description on how to configure all required internet services on you home server including mail.
 
Old 08-16-2009, 05:54 PM   #28
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 266

Original Poster
Rep: Reputation: 35
I have no idea what "Offline-Howto" is

Was that supposed to be a URL or something?
 
  


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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 02:59 PM
How to start bash commands automatically every time I start the computer brgsousa Linux - Software 2 10-18-2007 12:26 PM
Computer doesn't start; fans start then stop; 1 long, 1 short beep PatrickMay16 General 18 09-26-2007 08:48 PM
disable cold start and warm start snmp traps chkisco Linux - Newbie 0 10-28-2005 03:58 AM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 09:53 PM


All times are GMT -5. The time now is 03:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration