LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-28-2004, 10:29 PM   #1
ereeno
Member
 
Registered: Jul 2003
Location: New Westminster BC, Canada
Distribution: mandrake 9.1
Posts: 58

Rep: Reputation: 15
Unhappy qmail is running but not doing anything


hello,

i have qmail installed and running on my RH9 box. I followed the instructions at http://www.lifewithqmail.org and qmail is now running. However I'm not exactly sure what to do from here. I tried sending an email from the server to my personal mail account but it didn't go through. I also tried sending to root@myserver.com but it got bounced.

I know the program is running but i'm not sure what to do next.

Can anyone give me any pointers? Help would be hugely appreciated.

ereeno
 
Old 01-28-2004, 11:04 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Do you have your maildirs setup? Did you setup your aliases? Did you copy the /var/qmail/bin/sendmail program to /usr/sbin and /usr/lib?
 
Old 01-28-2004, 11:05 PM   #3
ereeno
Member
 
Registered: Jul 2003
Location: New Westminster BC, Canada
Distribution: mandrake 9.1
Posts: 58

Original Poster
Rep: Reputation: 15
I think it's the aliases that I have to do next. I did the copying, but i'm not sure about the maildirs, i was following the tutorial and don't really know what I am doing.

Where are the aliases defined?
 
Old 01-28-2004, 11:15 PM   #4
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
You define aliases in /var/qmail/aliases/

For instance, if you want an alias for postmaster@yourdomain.com you would make a file called .qmail-postmaster in /var/qmail/aliases. The contents of this file would be either the user on the system you want the mail delivered too (say, root) or an e-mail address if it is a user on another system.

Of course you still need your place to store mail. Qmail uses something call maildir's, which blows the socks off mbox. There should be a program somewhere on your system called mkmaildir or something to this effect. You want to go into all your users directories and do a mkmaildir .Maildir. Then check to make sure the /var/qmail/control/defaultdelivery file is set to "./.Maildir/". Also make sure, if you haven't already, that you have the rcphosts file created so you aren't running on Open Relay. If that file is empty then put your domain in it so it knows it is allowed to deliver mail from the local machine.

Another thing to try, telnet to port 25 and type helo and make sure it responds
 
Old 01-28-2004, 11:31 PM   #5
ereeno
Member
 
Registered: Jul 2003
Location: New Westminster BC, Canada
Distribution: mandrake 9.1
Posts: 58

Original Poster
Rep: Reputation: 15
ok i've got a file called .qmail-postmaster and it just contains the word "root".

i did a locate mkmaildir and it didn't return anything. where can i get this tool or how can i create the neccessary items manually?
 
Old 01-29-2004, 08:46 AM   #6
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I am sorry, it is "maildirmake" not mkmaildir. And it should come with qmail if I am not mistaken... it has been a LONG time since I have actually installed qmail, it just kinda works forever once you get it set up.

Last edited by jtshaw; 01-29-2004 at 08:50 AM.
 
Old 01-29-2004, 08:47 AM   #7
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Another suggestion, put a maildir in your /etc/skel directory (make sure to set owner and group to root) so all new users will automatically get a maildir.
 
  


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
qmail /service/qmail-send: unable to open supervise mangueJOE Linux - Networking 20 04-20-2016 12:27 AM
running an Ipv6 qmail clueless_user Linux - Software 0 08-26-2004 10:40 AM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 12:29 PM
Qmail up and running Dark_Helmet LinuxQuestions.org Member Success Stories 0 06-04-2004 10:51 PM
problem whit running qmail W0uter Linux - Software 0 05-27-2004 02:53 AM


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