|
Posted by Jim Carlock on 05/01/07 03:42
Max wrote:
> Our mail server accepts emails from the webserver. Our emails are
> going through default MX records, which point to our ISP server, which
> does relay emails to our mail server. Simply put, I want to bypass the
> MX record (which points to the ISP server's SPAM filter, which works
> for us for all other mail, we have no control over)
"Jerry Stuckle" <jstucklex@attglobal.net> wrote:
: In that case you'd have to look at your Unix/Linux configuration. PHP
: knows nothing about MX records.
MX is pure DNS. It points to a mail server which usually opens port
25 up for SMTP and port 110 for POP3. PHP tends to run under an
Apache server which in turn opens port 80, unless one configures
weird/different things with port numbers.
Note, every IP address includes a port number, and a full connect
cannot be established without supplying the 5th element of the IP
address (the port number).
11.11.11.11:80 is a different IP address than 11.11.11.11:25.
When an SMTP server wants to relay mail to your mail server, it
issues an MX (DNS) query. PHP runs underneath Apache, but
I thought I read something somewhere that PHP can make and
accept connections on other ports. Perhaps, I'm getting it mixed
up with some Perl things I've read?
Anyways, that tends to be the way I think of it all. Please correct
me if anything I've stated is wrong.
http://us2.php.net/manual/en/ref.sockets.php
http://us2.php.net/manual/en/function.socket-bind.php
http://us2.php.net/manual/en/function.fsockopen.php
It almost appears that PHP can become a fully functional SMTP
server and/or POP3/IMAP server.
--
Jim Carlock
Post replies to the group.
Navigation:
[Reply to this message]
|