Mail Server Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationMail Server Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 15th, 2012, 03:06 PM
mscdubb mscdubb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 2 mscdubb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 54 sec
Reputation Power: 0
Help with qmail

I am trying to implement a simple qmail server, but since it is odd in many ways, it isn't working properly. I'm sure it is something stupid, but I can't seem to get it. qmail is installed using xinetd......not using ucpsi-tcp or tcpservers. I see the 4 qmail processes and smtp is listening on port 25. In addition, I do not have DNS. The servers running qmail are linux.

The basics of the design:
- a mail server sends a message to server1
- server1 receives the message and puts it in a file/directory
- a script on server1 will take the message, parse off any smtp header info and send (via netcat) to server2
- server2 will ensure the message is "ok" and pass on to server3
- server3 will have a script that is listening for messages and drop it into a file/directory
- server3 running qmail that will send out that message to 2 known servers.

Right now, I have a test box that is simulating the mail server. It has qmail installed. I am trying to send a message from test box to server1 via:
qmail-inject -f root@1.2.3.4 tech@5.6.7.8 < testfile

I get CNAME error.

The control files are the following:
test box:
locals and me: [1.2.3.4]
smtproutes: [5.6.7.8]

On server1:
locals and me: [5.6.7.8]
rcpthosts: [1.2.3.4]
[5.6.7.8]

I figure if I can get this part working to server1, I will be able to figure out how to get server3 to send out the message....hopefully!

This is not a full blown e-mail processing/server implementation. This is going to process messages/e-mail 1 at a time, and not very often......it isn't going to be bombarded by 100s.

The actual error in the log is:
delivery #: deferral: CNAME_lookup_failed_temporarily
This obviously has to do with DNS, but I'm not using DNS. Can you use qmail w/out DNS? I have the IP addresses in the control files. Do I need name and IP Address? Is there a way to tell qmail NOT to rely on DNS?

Thanks for any advice!

Last edited by mscdubb : September 16th, 2012 at 09:49 AM. Reason: More Info.

Reply With Quote
  #2  
Old September 19th, 2012, 07:46 AM
mscdubb mscdubb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 2 mscdubb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 54 sec
Reputation Power: 0
More?

Can you use server:ip address in the control files?

If and when I get this working, how do I send ALL incoming mail to one directory? The incoming mail might be going to various names, but I want to send it all to the same directory.

Thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationMail Server Help > Help with qmail

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap