LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   qmail question (https://www.linuxquestions.org/questions/linux-newbie-8/qmail-question-188755/)

citrus 06-02-2004 04:30 AM

qmail question
 
my home network consists of 3 winxp boxes and a linux server connected to the hub just like all the other computers

i just got to step 9 i think with qmail installation for slackware

i have never set up a mail server before

i want to know what my domain should be


i don't have a registared domain

my servers lan ip is 192.168.1.77 and the netbios name is slackserver


#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
exec tcpserver -H -R -v -c100 0 110 qmail-popup mailserver_hostname \
/home/vpopmail/bin/vchkpw qmail-pop3d Maildir 2>&1

what should i put there(where i bolded it)????

i do have a sub domain at hopto.org its http://hhh.hopto.org that just rederects to my ip (something free i found)




for the qmail admin page its asks for my
user account
domain
and password


it says to use post master

i don't know what i should put for the domain



and the password is the same for that htpasswd thing i had to do right??

thanks for you help and i am sure more questions are going to come with this mail server thing
i have never even USED sendmail or any other kind

update
it says this on the qmailadmin page this...
Error. Domain slackserver was not found in the assign file

Donboy 06-02-2004 09:02 AM

Quote:

i just got to step 9 i think with qmail installation for slackware
What installation guide are you using??? Life with Qmail? I would think not, because it doesn't cover the use of qmailadmin.

I don't know if you really need a valid hostname or not, but I would think so... I've only ever used a fully qualified domain name. For example, if you get the domain name "mydomain.com" and your slackware machine has the hostname "slackserver" then your fully qualified domain name is slackserver.mydomain.com. This is what you should put for the section in bold you had specified.

Considering domain names cost less than 10 bucks, you might as well get one.

esher2292 06-02-2004 01:25 PM

I'm guessing that you are using qmailrocks.org 's guide. I think that you can use your ip addy.

citrus 06-02-2004 03:28 PM

ok so what about the qmailadmin

i can't use my ip for that

and what ip should i use? my WAN or my LAN

Donboy 06-02-2004 03:39 PM

You can use the vpopmail command "vadddomain yourdomain.com" which will add "yourdomain.com" to work with qmail/vpopmail/qmailadmin. Then you can login to qmailadmin using "yourdomain.com".

What this means is... you will need to have a domain that is pointed to the IP address of your mail server. This way, you can send/receive mail for that domain.

citrus 06-02-2004 06:28 PM

can i just use my ip?

or can i use my hhh.hopto.org? that points to my server

esher2292 06-02-2004 06:50 PM

Go ahead and use the hopto address. I think it will work!

citrus 06-02-2004 07:44 PM

ok

and what ports should i forward in my router?

Donboy 06-03-2004 03:38 PM

Qmail uses 110 for pop3 (checking your mail) and 25 for SMTP (sending mail to the server or to other remote systems). That's all. Forward both of them to your qmail server's IP.


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