LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2004, 11:28 AM   #1
debloxie
Member
 
Registered: Jul 2003
Posts: 153

Rep: Reputation: 30
Unhappy Qmail config


hi there,

pls i have qmail up and running on a laptop with mandrake 9.2. i am doing a sort of test for building a mailserver. Qmail, as i have found is the best around with lots of features and add-ons. But the thing is that its tedious of which i dont mind though.

I followed the instructions on Life With Qmail from David Sill, (www.lwq.org) and got qmail up and running with all the four daemons up running for more than 1 second.

I then tried to receive and deliver mail to test the installations. I was able to receive mail locally (the local-local test) with my email address showing in the mail but my email address doesnt show up when i tried to deliver it locally to myself. The mail comes quite alright but it doesnt show my email address, it just shows unknown.

I aliased myself (debloxie) which is a user on this same machine to be the system and postmaster. i then created the /Maildir/ directory in my home dir.

my computer name is mail.casttechnologies.com, the domain is casttechnologies.com
although i wasnt connected to the net as at the time i was doing the installtion of qmail.

i am using Kmail as the MUA.

I wud :

1) want to know whats responsible for the unknown address mystery

2) i wud want to know what the DNS configuration of the system has to be for qmail to work perfectly

3) i want to know exactly how to create mail user accounts for the qmail installtion as the i have webmin installed but its not too clear to me

we can start from here thanks

debloxie
 
Old 09-17-2004, 12:12 PM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
check the config files in /var/qmail/control
http://lifewithqmail.org/lwq.html#config-files
u can run
/var/qmail/bin/qmail-showctl
to see the general configuration.

2- u need a MX record which points your mail server in your domain zone file at DNS side. it is same as other MTAs.
3- i dont know if u installed vpopmail. but probably u did. check the files /home/vpopmail/bin/ directory. there are executable file to add, show, alias users and domains. if u installed vqadmin (administration of domains and users) or qmailadmin (administration of users), u can add users via web access. also your apache must work on your mail server too.

u can reinstall qmail including most of tools, antivirus and antispam protection by copying and pasting lines from www.qmailrocks.org

good luck.
 
Old 09-17-2004, 01:05 PM   #3
debloxie
Member
 
Registered: Jul 2003
Posts: 153

Original Poster
Rep: Reputation: 30
hello maxut,

thanks for ur help.

i actually did the installation prescribed on www.lwq.org and not on qmailrocks.org

i have downloaded the pdf and the tarball for the installation of that qmailrocks.org as well but i want to fully grab that of lwq.org first

1) this is the output of my /var/qmail/bin/qmailctl-showctl

[root@mail Qmail]# /var/qmail/bin/qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 502, 503, 504, 0, 505, 506, 507, 508.
group ids: 502, 503.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is casttechnologies.com.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is casttechnologies.com.

defaulthost: (Default.) Default host name is casttechnologies.com.

doublebouncehost: (Default.) 2B recipient host: casttechnologies.com.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is casttechnologies.com.

helohost: (Default.) SMTP client HELO host name is casttechnologies.com.

idhost: (Default.) Message-ID host name is casttechnologies.com.

localiphost: (Default.) Local IP address becomes casttechnologies.com.

locals:
Messages for casttechnologies.com are delivered locally.

me: My name is casttechnologies.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is casttechnologies.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at casttechnologies.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 casttechnologies.com.

smtproutes:
SMTP route: casttechnologies.com:mail.casttechnologies.com
SMTP route: :mail.casttechnologies.com

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.

defaultdelivery: I have no idea what this file does.

concurrencyincoming: I have no idea what this file does.

2) when u talk of dns, do u mean /etc/resolv.conf or /etc/named.conf

this is my /etc/resolv.conf

[root@mail Qmail]# cat /etc/resolv.conf
nameserver 192.168.0.1
domain casttechnologies.com

3) i think qmailrocks.org rocks but i will try that as soon as possible coz it has the best features i am looking for coz i wud want to build an easy to use mailserver so that anyone can administer it.

Hoping to hear from u

thanks

debloxie
 
Old 09-17-2004, 01:06 PM   #4
debloxie
Member
 
Registered: Jul 2003
Posts: 153

Original Poster
Rep: Reputation: 30
hello maxut,

thanks for ur help.

i actually did the installation prescribed on www.lwq.org and not on qmailrocks.org

i have downloaded the pdf and the tarball for the installation of that qmailrocks.org as well but i want to fully grab that of lwq.org first

1) this is the output of my /var/qmail/bin/qmailctl-showctl

[root@mail Qmail]# /var/qmail/bin/qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 502, 503, 504, 0, 505, 506, 507, 508.
group ids: 502, 503.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is casttechnologies.com.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is casttechnologies.com.

defaulthost: (Default.) Default host name is casttechnologies.com.

doublebouncehost: (Default.) 2B recipient host: casttechnologies.com.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is casttechnologies.com.

helohost: (Default.) SMTP client HELO host name is casttechnologies.com.

idhost: (Default.) Message-ID host name is casttechnologies.com.

localiphost: (Default.) Local IP address becomes casttechnologies.com.

locals:
Messages for casttechnologies.com are delivered locally.

me: My name is casttechnologies.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is casttechnologies.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at casttechnologies.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 casttechnologies.com.

smtproutes:
SMTP route: casttechnologies.com:mail.casttechnologies.com
SMTP route: :mail.casttechnologies.com

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.

defaultdelivery: I have no idea what this file does.

concurrencyincoming: I have no idea what this file does.

2) when u talk of dns, do u mean /etc/resolv.conf or /etc/named.conf

this is my /etc/resolv.conf

[root@mail Qmail]# cat /etc/resolv.conf
nameserver 192.168.0.1
domain casttechnologies.com

3) i think qmailrocks.org rocks but i will try that as soon as possible coz it has the best features i am looking for coz i wud want to build an easy to use mailserver so that anyone can administer it.

Hoping to hear from u

thanks

debloxie
 
Old 09-18-2004, 02:41 AM   #5
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
Quote:
smtproutes:
SMTP route: casttechnologies.com:mail.casttechnologies.com
SMTP route: :mail.casttechnologies.com
there is no smtp route entry on my qmail.

here is my config.
Code:
[root@egemen root]# /var/qmail/bin/qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 255.
subdirectory split: 211.
user ids: 507, 508, 509, 0, 510, 511, 512, 513.
group ids: 508, 509.
 
badmailfrom: (Default.) Any MAIL FROM is allowed.
 
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
 
bouncehost: (Default.) Bounce host name is egemen.egemenyazilim.com.
 
concurrencylocal: (Default.) Local concurrency is 10.
 
concurrencyremote: Remote concurrency is 255.
 
databytes: (Default.) SMTP DATA limit is 0 bytes.
 
defaultdomain: Default domain name is egemenyazilim.com.
 
defaulthost: (Default.) Default host name is egemen.egemenyazilim.com.
 
doublebouncehost: (Default.) 2B recipient host: egemen.egemenyazilim.com.
 
doublebounceto: (Default.) 2B recipient user: postmaster.
 
envnoathost: (Default.) Presumed domain name is egemen.egemenyazilim.com.
 
helohost: (Default.) SMTP client HELO host name is egemen.egemenyazilim.com.
 
idhost: (Default.) Message-ID host name is egemen.egemenyazilim.com.
 
localiphost: (Default.) Local IP address becomes egemen.egemenyazilim.com.
 
locals:
 
me: My name is egemen.egemenyazilim.com.
 
percenthack: (Default.) The percent hack is not allowed.
 
plusdomain: Plus domain name is egemenyazilim.com.
 
qmqpservers: (Default.) No QMQP servers.
 
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
 
rcpthosts:
SMTP clients may send messages to recipients at sidesafir.com.
SMTP clients may send messages to recipients at otestelekom.com.
SMTP clients may send messages to recipients at localhost.
SMTP clients may send messages to recipients at egemen.egemenyazili.com.
SMTP clients may send messages to recipients at mail.egemenyazilim.com.
SMTP clients may send messages to recipients at egemenyazilim.com.
SMTP clients may send messages to recipients at gungortekiner.k12.tr.
 
morercpthosts: (Default.) No effect.
 
morercpthosts.cdb: (Default.) No effect.
 
smtpgreeting: (Default.) SMTP greeting: 220 egemen.egemenyazilim.com.
 
smtproutes: (Default.) No artificial SMTP routes.
 
spfbehavior: (Default.) The SPF behavior is 0.
 
spfexp: (Default.) The SPF default explanation is: 550 See http://spf.pobox.com/why.html?sender=%{S}&ip=%{I}&receiver=%{xR}.
 
spfguess: (Default.) The guess SPF rules are: .
 
spfrules: (Default.) The local SPF rules are: .
 
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
 
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
 
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
 
virtualdomains:
Virtual domain: sidesafir.com:sidesafir.com
Virtual domain: otestelekom.com:otestelekom.com
Virtual domain: localhost:localhost
Virtual domain: egemen.egemen:egemen.egemen
Virtual domain: egemen.egemenyazili.com:egemen.egemenyazili.com
Virtual domain: egemenyazilim.com:egemenyazilim.com
Virtual domain: egemen.egemenyazilim.com:egemen.egemenyazilim.com
Virtual domain: gungortekiner.k12.tr:gungortekiner.k12.tr
 
servercert.pem: I have no idea what this file does.
 
clientcert.pem: I have no idea what this file does.
 
defaultdelivery: I have no idea what this file does.
 
concurrencyincoming: I have no idea what this file does.
 
rcpthosts.lock: I have no idea what this file does.
 
virtualdomains.lock: I have no idea what this file does.
 
locals.lock: I have no idea what this file does.
 
kas-qmail: I have no idea what this file does.

2- DNS:
Quote:
[root@mail Qmail]# cat /etc/resolv.conf
nameserver 192.168.0.1
domain casttechnologies.com
u use a private ip as your nameserver. so u have your own nameserver, right?. u need a MX record in zone file of casttechnologies.com. probably zone file is in /var/named/ directory
Code:
....
mail       IN      A       [ip_of_qmail_server]
@       IN      MX      10      mail
actually MX records are needed to find the mail exchanger of that domain. when a mail server tries to send mails to another mail server, first it searchs the MX record of destination domain. so it is necessary for identification. otherwise your mail server cant be find by other mail servers.
maybe it is not necesssary for testing qmail itself. but it is a part of bulding a mail server.

ps: im not an expert. i just can copy and past the lines from www.qmailrocks.org
 
  


Reply



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-19-2016 11:27 PM
Open Webmail / Mailfront / smtpfront-qmail / qmail-smtpd Apollo77 Linux - Software 2 01-20-2009 03:33 AM
Spamassassin using vpopmail/qmail/courier-imap config issues korozion Linux - Software 0 03-14-2005 04:29 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
qmail ./config problem Thinkgeekness Linux - Software 4 04-13-2003 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11: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
Open Source Consulting | Domain Registration