Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: SMTP server as a Windows service with Indy???
| Subject: | Re: SMTP server as a Windows service with Indy??? |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Fri, 5 May 2006 18:22:05 |
"Bo Berglund" <bo.berglund@telia.com> wrote in message
news:btmn52l4ecf22gd930aiihi3hpodrso2v4@4ax.com...
> I am looking for a way to solve my email sending problems where my
> ISP has now gone to content filtering *outgoing* mail such that I can
> no longer send attachments with exe files in them. Such attachments
> makes the message blocked by the ISP. Stupid but true.
That is easy to get around. You can either:
1) put the .exe file into a .zip file and attach that instead
2) change the TIdAttachment.Filename property to something else. You can
also set the TIdAttachment.ContentType property to
'application/octet-stream'. By changing both of these properties, the only
way the server can determine whether or not an attachment is an .exe file is
to extract the attachment and parse the .exe file's raw data. Most server's
are not likely to do that yet.
> So I am looking to create a SMTP server using Indy9 and Delphi 7.
You don't need to do that to solve this issue.
> What I need is a service app thta I can install on a W2K server I
> have on my LAN and which will have the sole task of sending mail
> on to the destination.
That is easier said then done. A lot of SMTP servers nowadays are
black-listing unknown servers that send messages to them. ISPs recognize
each other's servers, though. This way, spammers are being forced to send
outgoing messages through their own ISPs rather than to their target
recipients directly. The ISPs can then filter the messages accordingly.
Gambit