SMTP config

Troubleshooting with your custom scripts/programs installed on Polarhome.

Moderator: Moderators

SMTP config

Postby ilyail3 » Mon Apr 11, 2005 6:39 am

I have an account in redhat and openbsd
my account name in both is ilyail3
can I use one of them as SMTP server
if I can what's the adress I need to write
tried the "ports" page
ilyail3
Newbie
 
Posts: 7
Joined: Thu Apr 07, 2005 7:04 am

Postby miker_alpha » Mon Apr 11, 2005 12:08 pm

can I use one of them as SMTP server


Well, yes and no.
You can write your own SMTP server, or modify an existing one. BUT - you cannot use the standard SMTP port (25, IIRC) You will have to check for an unused port in the appropriate range (for debian.polarhome.com 30000 - 34999; there should be a couple spare...) and modify your client(s) to connect on that port.

Seems a bit like re-inventing the wheel, IMHO :)

If you need the programming practise - go ahead, knock yourself out! If you need an actual SMTP server I suggest you contact your ISP who probably already has one. If you need a server under your control for nafarious purposes you're looking in the wrong place.

Note: some of this is from personal experience. I have written a server much simpler than SMTP and had to learn more than I ever wanted to know about socket programming. (Theres a QOTD server on alpha.polarhome running on http://gate.polarhome.com:3017/ see my sig.)

MikeR
Look for OpenVMS help on my webpage
Check for QOTD here.
Image
User avatar
miker_alpha
Moderator
Moderator
 
Posts: 256
Joined: Sat May 08, 2004 9:20 am
Location: Kibbutz Tzora, Israel


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 15 guests

cron