LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-20-2006, 10:50 AM   #1
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Linux Email and the hatered that comes with.


This portion of the howto to setup qmail is confusing even to a seasoned linux operator.


one located here ill link
http://www.faqs.org/docs/Linux-HOWTO...tor-HOWTO.html

now all in all this is a great howto however getting to this point is where it gets bad
Quote:
Now you must install some aliases, since /etc/alias is not used by qmail unless you compile and install an optional package.

Here's my setup :

File : ".qmail-MAILER-DAEMON"
&postmaster
File : ".qmail-bin"
&root
File : ".qmail-daemon"
&root
File : ".qmail-decode"
&root
File : ".qmail-dumper"
&root
File : ".qmail-games"
&root
File : ".qmail-ingres"
&root
File : ".qmail-mailer-daemon"
&postmaster
File : ".qmail-manager"
&root
File : ".qmail-news"
&root
File : ".qmail-nobody"
&root
File : ".qmail-operator"
&root
File : ".qmail-postmaster"
&root
File : ".qmail-root"
&guylhem
File : ".qmail-system"
&root
File : ".qmail-toor"
&root
File : ".qmail-uucp"
&root
File : ".qmail-uucp-default"
|preline -dr /usr/bin/uux - -r -gC -a"${SENDER:-MAILER-DAEMON}" lm!rmail "($DEFAULT@$HOST)"

You need to create each of these file in ~alias, replacing &guylhem in .qmail-root by your own login to get root mail
Ive checked other howto stuff and it seams to be equally confusing and not consistant?


*Post update and changed to be nicer :P*

Last edited by exvor; 01-23-2006 at 12:51 PM.
 
Old 01-20-2006, 11:55 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
Just save yourself the trouble and hassle and just use Postfix..
 
Old 01-20-2006, 01:56 PM   #3
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
hmmm odly enough ive never herd of postfix but ill take a look at it.


ohh yea is there a way to purge a qmail que ?
 
Old 01-21-2006, 11:17 AM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Ubuntu, FreeBSD
Posts: 1,449

Rep: Reputation: 48
Let me jump on the postfix fanboy bandwagon here. I spent hours upon hours trying to get qmail working. I'm not a moron either -- this wasn't my first go around with setting up a mail server. It was driving me mad. I went for postfix. Not only is it very very simple to setup but the configuration documents have very helpful comments. Also, it comes with a collection of very helpful documents which could walk almost anyone through setting it up. You'll probably want to look at BASIC_CONFIGURATION_README and STANDARD_CONFIGURATION_README. The first one just makes sure you set the important settings that postfix does not set for you.

And, on top of that, postfix has been very comfortable on the P150 system I have it on.

Okay... okay... fanboy_mode=OFF

Edit: I'm sorry I can't tell you where those documents are installed on your system. On netbsd it's in /usr/pkg/share/doc/postfix -- but I highly doubt that's where it will install for you. Maybe /usr/share/doc/postfix... but it will be somewhere.

Last edited by frob23; 01-21-2006 at 11:19 AM.
 
Old 01-21-2006, 01:49 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by exvor
*sigh*

Ok to start I will say that the HOWTO documentation for setting up e mail under linux needs to be updated. Most of it is out of date or incompleate or requires you to come from a unix enviorment that assumes you know how to setup a mail server and client software.

I will repeat the HOWTO for linux administraion is horrible.

O.html"]http://www.faqs.org/docs/Linux-HOWTO/Mail-Administrator-HOWTO.html[/URL]

now all in all this is a great howto however getting to this point is where it gets bad

Ok wow yea this part is compleatly crap im sorry for using this language but this is crap I have yet to find what exactly this is even by reading the qmail readme or life with qmail.

it also says use mutt or pine but fails to notify the administrator that hey guess what maildir aint suppored by much. mutt and mabye a few GUI mail programs. PINE IS JUST A NO NO for maildir

Now after my soap box fest i will have to say it shouldent be this hard and guess what it isent this hard.

Ive spent a whole day setting up mail on my own LFS system ive read though several howto and documentaion and I will still say im only 1/2 understanding why my messages dont mail out.

well it turns out what it was that prevented me wasent qmail but my isp. Like most isp's today people do not have there own domain. They use a SMTP server from there isp to route mail to the internet. PINE gives me an option to use a remote SMTP server. Mutt doesent or i just cannot figure out where to find the way to do it.


One last thing ill say about all howto and will praise the LWQ howto is its the only one that will actaully tell you how to make a mailbox for a user. All others dont they assume that you have one alredy.


Now if anyone has more to add about this nitemare or to give information on clearing anything up please post.

That's a lot of ranting and raving--In the future, may I suggest just asking a simple question. I think you will get more help that way.
 
Old 01-22-2006, 12:06 AM   #6
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Clicking "spell check" before submitting a post might help too, then he might have discovered that his spelling of "compleat" is completely obsolete, and has been since what, the 17th century?
 
Old 01-22-2006, 11:24 AM   #7
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
Quote:
Originally Posted by pixellany
That's a lot of ranting and raving--In the future, may I suggest just asking a simple question. I think you will get more help that way.
Thanks very much but I never said I was really looking for help. I was looking for help in my second post but not in the original.


Ohh yea and for the spelling well thats LQ fault for requireing a plugin to check spelling. So I cannot use the feture anymore nither at work where they only allow IE and we cannot install anything or home where I use links.


So bugger off

Last edited by exvor; 01-22-2006 at 11:26 AM.
 
Old 01-22-2006, 05:15 PM   #8
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
Ok to start I will say that the HOWTO documentation for setting up e mail under linux needs to be updated. Most of it is out of date or incompleate or requires you to come from a unix enviorment that assumes you know how to setup a mail server and client software.
I think that should be re-phrased 'I will say that the HOWTO documentation for setting up e mail under linux using qmail needs to be updated'. Postfix comes standard with most distros and is a lot easier to setup as a couple of people have pointed out already. qmail is difficult to install and setup because its licence doesn't allow it to be packaged or altered and because Dan Berstein follows his own phillosophy of programming that is quite different from more standard programs (eg. postfix).

As for the client software try Kontact (Kmail) or Evolution - they're no harder to setup and Outlook is on Windows.
 
Old 01-23-2006, 12:44 PM   #9
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Original Poster
Rep: Reputation: 87
Yea this is true. I actually got e mail working quite smoothly using another program called sylpheed. Local mail still would be a neet thing to setup but my isp blocks port 25 so im looking into postfix to see if there is a way to reroute mail sent to it to a remote server or if there is a way to just bounce it back to the sender when a message is to somone outside of the network.
 
Old 01-23-2006, 03:54 PM   #10
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Depends which direction your ISP blocks port 25. If it blocks port 25 as a destination port for packets from the internet to your comp. then it means you can't run a mail server to receive mail, but can still send mail with your mail server. If it blocks port 25 as a destination port for packets from your comp. to the net that means you can't send email using smtp wether through your mail server or directly through an email program like outlook or kmail that tries to connect to an external smtp server to send mail.

Either way I don't think there's a way around it - AFAIK there's no way to 'tell' a remote server to use a port other than 25 for smtp. You'd need the admin of the remote mailservers you're trying to send to or receive from to reconfigure their machines to use something besides 25.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Transferring Email from Outlook to Linux Email Client dbindel Linux - Software 5 07-24-2006 08:48 AM
How to Import Microsft outlook Email in any Red hat 9 Email mobassir Linux - Software 2 07-28-2003 10:42 AM
How to Import Microsft outlook Email in any Red hat 9 Email Software mobassir Linux - Software 0 07-26-2003 04:08 AM
How do I: convert my fetchmail email file to separate email files? ancientt Linux - Software 1 02-03-2003 02:14 PM
email: win2k to linux in linux hostile environment jkcunningham Linux - Networking 4 01-31-2003 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:46 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