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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|