lukor
16
I hope it works now, but just want to clarify. The port that is automaticly scanned (or more precisely connections to this port are scanned) is controled in the ini file by:
(with default values)
[MailScanner]
SmtpRedirectPort=25
For the purpose of actualy scanning it, and for “old” setups where automatic redirect is not used, Internet Mail Provider listens on some (posibly different) port on localhost. This one is controled by:
[MailScanner]
SmtpListen=127.0.0.1:25
These two number are by no means related. You might view at as if Internet Mail Provider is a SMTP server running on you computer (‘SmtpListen’) which provides antiviral protection. SMTP servers tend to run on port 25, so that is why ‘SmtpListen’ default value is 127.0.0.1:25. Together with this it also automaticly catches every outgoing connection to other machines if they are directed to the SMTP servers. These are recognized by ‘SmtpRedirectPort’ port number. (default is also 25). You can add other values here, eg. if your ISP and/or friend runs a SMTP server on some other port than 25 (maybe for security reasons).
When you are using only the auto scan feature, the number in “SmtpListen” doesn’t matters. The only requirement is (and that is true for every two servers running on you PC) that their port numbers must be different. So I’ve chosen 2525, but it can be anything you like, for example K9 antispam uses 9999, so ours can be lets say 8888 :).
Have a nice day,
Lukas.
PS.: Just a final note. Please consider carefuly whether you will be running a public SMTP server on you PC. If you need just the sendmail functionality for you PHP pages (running on the same machine), there is no need for the SMTP server to be accessible from outside (no forwarding on router) - mail is send from Apache + PHP only. On the other hand, when you need to accept mails sended to you via your SMTP server, there is no need for the server to be able to deliver mail to other domains than yours (thats called open relay). I can hardly imagine any reason for opening an ‘open relay’ server on your very PC…whether your WWW pages would be or would be not protected by access password doesn’t really have any significance.