Qmail Without DNS?-from lifewithqmail

This is a discussion on Qmail Without DNS?-from lifewithqmail within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; HISTORY: So I have use lifewithqmail to get qmail installed and running on Fedora Core 5 (which complexity I am ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-23-2006
dnoyeB
 
Posts: n/a
Default Qmail Without DNS?-from lifewithqmail

HISTORY:
So I have use lifewithqmail to get qmail installed and running on Fedora
Core 5 (which complexity I am liking less every day). I managed to dig
through the web to find out about replacing smtp with 25 in my
qmail-smtpd file as well...(side note, anyone recommend a good home
server distribution?)


ISSUE:
So my issue is qmail is not accepting smtp connections sort of. it is
because i can telnet into it, though I get kicked out. I believe my
problem is that I do NOT have a DNS and I know qmail only uses DNS for
hostname lookup. I only desire to accept connections on localhost. How
do I configure qmail to accept connections from localhost when my
computer is named 'erasmus.' Well 'hostname' returns "erasmus".

I tried to follow the directions from 'lifewithqmail' where it was said

"Note: On a small local LAN you might want to use a pseudo domain such
as ".local". E.g., if your hostname is "mash", you could do
../config-fast mash.local. If you do this, be sure to configure qmail to
use a valid Internet domain name in return addresses. (See section 3,
Configuration.)"

But I am lost. My computer is known as erasmus so I tried

../config-fast erasmus.localdomain

but it didnt work. Is D. Sill giving me instructions here on how to
deal with not having a DNS server, or how to deal with having a DNS
server but a computer with a short name such as mash.local as opposed to
mash.local.com???



--
Thank you,



"Then said I, Wisdom [is] better than strength: nevertheless the poor
man's wisdom [is] despised, and his words are not heard." Ecclesiastes 9:16
Reply With Quote
  #2 (permalink)  
Old 04-23-2006
Vahid Moghaddasi
 
Posts: n/a
Default Re: Qmail Without DNS?-from lifewithqmail

dnoyeB wrote:
>
> ISSUE:
> So my issue is qmail is not accepting smtp connections sort of. it is
> because i can telnet into it, though I get kicked out. I believe my
> problem is that I do NOT have a DNS and I know qmail only uses DNS for
> hostname lookup. I only desire to accept connections on localhost. How
> do I configure qmail to accept connections from localhost when my
> computer is named 'erasmus.' Well 'hostname' returns "erasmus".

If you followed LWQ, you would have see:
2.8.2.3. SMTP Access Control
Allow the local host to inject mail via SMTP:

echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
qmailctl cdb
You may want to add 127.0.0.1 and maybe the IP address too.
>
> I tried to follow the directions from 'lifewithqmail' where it was said
>
> ./config-fast erasmus.localdomain
>

You must use erasmus.local the exact word "local" must appear after the
dot.

> but it didnt work.
>

Having servername.local in the configuration files will allow you to
use a name for your server that is not in DNS. Of course, you MUST form
the sender envelop so the mail goes out as a valid domain and knows how
to bounce back to you. Just follow LWQ and things will work.
Vahid.

Reply With Quote
  #3 (permalink)  
Old 04-24-2006
dnoyeB
 
Posts: n/a
Default Re: Qmail Without DNS?-from lifewithqmail

Vahid Moghaddasi wrote:
> dnoyeB wrote:
>
>>ISSUE:
>>So my issue is qmail is not accepting smtp connections sort of. it is
>>because i can telnet into it, though I get kicked out. I believe my
>>problem is that I do NOT have a DNS and I know qmail only uses DNS for
>>hostname lookup. I only desire to accept connections on localhost. How
>>do I configure qmail to accept connections from localhost when my
>>computer is named 'erasmus.' Well 'hostname' returns "erasmus".

>
> If you followed LWQ, you would have see:
> 2.8.2.3. SMTP Access Control
> Allow the local host to inject mail via SMTP:
>
> echo '127.:allow,RELAYCLIENT=""' >>/etc/tcp.smtp
> qmailctl cdb
> You may want to add 127.0.0.1 and maybe the IP address too.
>


yes I did this, but I didnt use the IP address, just the 127 one.


>>I tried to follow the directions from 'lifewithqmail' where it was said
>>
>>./config-fast erasmus.localdomain
>>

>
> You must use erasmus.local the exact word "local" must appear after the
> dot.
>
>


Yea, thats where I screwed up. It wasn't clear that 'local' is a
special word, but I suspected it was when I did a 'ps' and saw some of
the other processes already using erasmus.local, but it was too late then.



>>but it didnt work.
>>

>
> Having servername.local in the configuration files will allow you to
> use a name for your server that is not in DNS. Of course, you MUST form
> the sender envelop so the mail goes out as a valid domain and knows how
> to bounce back to you. Just follow LWQ and things will work.
> Vahid.
>


I tried to clean it up, but I think the tcp piece still has a mixed name
as I can see it in the 'ps' dump. I'll just uninstall and reinstall.


--
Thank you,



"Then said I, Wisdom [is] better than strength: nevertheless the poor
man's wisdom [is] despised, and his words are not heard." Ecclesiastes 9:16
Reply With Quote
  #4 (permalink)  
Old 04-24-2006
Dave Sill
 
Posts: n/a
Default Re: Qmail Without DNS?-from lifewithqmail

dnoyeB <Fake@ThisOneIsFake.com> writes:

>>>I tried to follow the directions from 'lifewithqmail' where it was said
>>>
>>>./config-fast erasmus.localdomain
>>>

>> You must use erasmus.local the exact word "local" must appear after
>> the
>> dot.
>>

>
> Yea, thats where I screwed up. It wasn't clear that 'local' is a
> special word, but I suspected it was when I did a 'ps' and saw some of
> the other processes already using erasmus.local, but it was too late
> then.


There's nothing magic about "local". The keys are to use config-fast
instead of config, and to use local "domain" name.

>> Having servername.local in the configuration files will allow you to
>> use a name for your server that is not in DNS. Of course, you MUST form
>> the sender envelop so the mail goes out as a valid domain and knows how
>> to bounce back to you. Just follow LWQ and things will work. Vahid.

>
> I tried to clean it up, but I think the tcp piece still has a mixed
> name as I can see it in the 'ps' dump. I'll just uninstall and
> reinstall.


You're probably just seeing "localdomain" being truncated to "local"
by ps.

--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:33 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0