PDA

View Full Version : Need help configuring a knoppix mail server



pau1knopp
04-27-2006, 01:28 PM
I am interested in setting up knoppix so that it can receive email from a remote windows or linux client.

Using knoppix 4.0.2 I start the mail server (/etc/init.d/smail start). I can then use mutt to send an email from that host to another host sucessfully. however, if i use a remote client and thunderbird using knoppix as the account, and the IP address as the send / receive server, I am unable to attach.

Am trying to use this to send and receive network notifications, and just want to build a quick and dirty prototype to see if my scripts will do what I need.

Any help greatly appreciated.

regards,

~pau1

angor
04-28-2006, 08:07 AM
Cannot help you with smail, but here is how to test working with SMTP. The lines
prefixed by "#" have to be typed at the command prompt, the others are replies
from the server

#telnet localhost 25
220 localhost ESMTP
#helo localhost
250 yourserver.yourdomain
#mail from: <knoppix@localhost>
250 OK
#rcpt to: <knoppix@localhost>
250 OK
#data
354 End data with <CR><LF>.<CR><LF>
#Hello Knoppix!
#.
250 Ok: queued as 8E3DB230D9
#quit
221 Bye
Connection closed by foreign host.

(Of course, you *don't* type the "#")
Does this work?
Is there a difference when you try this from another computer? (substitute the
IPaddress of your knoppix box for localhost in the telnet command)

pau1knopp
04-28-2006, 01:51 PM
Thanks for the quick response back! I'll add that to my bag of tricks.

Actually, my workaround is that I am just using fetchmail / sendmail to retrieve the data from my corporate email server. MUCH easier than actually setting up email services (MX records, etc) (especially if I have to rebuild the server).

regards,

~pau1