Hi toivo,
There is indeed a difference between the two. SMTP only servers are perhaps today just not as useful as they were before. I believe these were always common on *NIX machines. Another, somewhat discombobulated example of a SMTP only server in Windows is the IIS Virtual SMTP Server. I have to say SMTP servers won't be missed the day they die
ISPs worldwide are seeing to it.
Forwarders, on the other hand, function in the way you know. Their main purpose is to allow laptops that travel a lot without having to manually change the mail client smtp settings everytime (the same purpose falsely announced by smtp servers targeting the end user market).
Meanwhile I would love for you to enter into a bit more detail on phpMail. I'm not confident in the Linux world and I installed WAMP because I'm doing the move from ASP to PHP. So, everything new I can learn will be a bonus.
---
Hi Sasha,
You open your php.ini file from the WAMP menu under PHP. You modify the following two lines under the [[mail function] header:
SMTP = localhost
sendmail_from =
xpto@xpto.xptoYou then restart Apache. It's also a good idea to restart Mobile TCP after having set it up.
As for your security concerns, Toivo addressed them already. However I'll add to that the fact you are not running a server and opening any port to the outside by doing this. You are only accepting connections on port 25 from your trusted network (on your case, localhost) and then doing an outgoing connection to your ISP.
So this is just like sending a regular email to your ISP through your mail client. The only difference is that your port 25 was never involved.
toivo Wrote:
-------------------------------------------------------
> Hi marfig,
>
> Interesting to find out that there are SMTP-only
> servers, or send-only mail servers. Is that not
> the same as SMTP forwarder? As you say, ISPs
> nowadays block outgoing connections from their
> customers on port 25 - to other destinations than
> their own STMP server.
>
> However, I am not sure what the benefits are in
> the STMP-only or forwarding approach. Your PHP
> script uses mail(), phpMailer or some other mail
> routine and therefore creates a direct socket
> connection both to the ISP's SMTP server when
> using the mail() function, and to localhost when
> you are using a forwarder.
>
> Regards,