[quote user="KJATL"]Hello,
This is my first foray into the world of Mercury. I was following a tutorial that involved testing a mail() PHP function using Mercury as the mail server. I believe the script is okay because it echos feedback "Message has been sent". Currently I have 28 items "pending" This is what i'm working with where xxx is the first part of my email address:
I ass-u-me that use are using XAMPP.
php.ini :
[mail function]
SMTP = localhost
smtp_port = 25
sendmail_from = Admin@192.168.1.10
This form of the address is invalid, the IP address must be enclosed in [] to make it a literal address. Use Admin@[192.168.1.10]
MercuryS output:
Connection from 127.0.0.1, Wed Apr 29 23:26:41 2009
HELO kkk
Should be a host name like [192.168.1.10] instead of kkk It will work here since Mercury/32 really does not care.
MAIL FROM:<localhost>
Should be Admin@[192.168.1.10] instead of localhost
RCPT TO:<xxx@gmail.com>
DATA
DATA - 6 lines, 185 bytes.
QUIT
0 sec. elapsed, connection closed Wed Apr 29 23:26:41 2009
Connection from 127.0.0.1, Wed Apr 29 23:30:36 2009
HELO kkk
MAIL FROM:<Admin@192.168.1.10>
RCPT TO:<xxx@gmail.com>
DATA
DATA - 6 lines, 185 bytes.
QUIT
0 sec. elapsed, connection closed Wed Apr 29 23:30:36 2009
Mercury Core:
Wed 29, 23:27:03: Job MG000041: from postmaster@[192.168.1.10] (non-local)
Created outgoing job with ID MO000042
To: Admin@[192.168.1.10] (non-local) -OK
Job was accepted and since [192.168.1.10] is not in the domains list then it's sent to the queue for delivery off server. Can't go anywhere though since the address is a non-routable IP address.
Wed 29, 23:30:43: Job MG000043: from Admin@192.168.1.10 (non-local)
Created outgoing job with ID MO000044
To: xxx@gmail.com (non-local) -OK
Job accepted and sent to queue for processing by MercuryC
Does anyone have any idea what I need to work on first?
Probably the outgoing protocol MercuryC used to send SMTP to the outside world via a relay host. MercuryE will not work since you have no fixed IP address and host name. Without a fixed IP address and host name 90% of the receiving SMTP hosts will reject your connection as spam.[/quote]
<blockquote>[quote user="KJATL"]<p>Hello,</p><p>&nbsp;This is my first foray into the world of Mercury. I was following a tutorial that involved testing a mail() PHP function using Mercury as the mail server. I believe the script is okay because it echos feedback&nbsp; "Message has been sent". Currently I have 28 items "pending" This is what i'm working with where xxx is the first part of my email address:</p></blockquote><p>I ass-u-me that use are using XAMPP.
</p><blockquote><p>php.ini :</p><p>&nbsp;[mail function]
SMTP = localhost
smtp_port = 25
sendmail_from = Admin@192.168.1.10</p></blockquote><p>This form of the address is invalid, the IP address must be enclosed in [] to make it a literal address. Use Admin@[192.168.1.10]</p><blockquote><p>MercuryS output:</p><p>Connection from 127.0.0.1, Wed Apr 29 23:26:41 2009
HELO kkk</p></blockquote><p>Should be a host name like [192.168.1.10] instead of kkk&nbsp;&nbsp; It will work here since Mercury/32 really does not care.
</p><blockquote><p>MAIL FROM:&lt;localhost&gt;</p></blockquote><p>Should be Admin@[192.168.1.10] instead of localhost
</p><blockquote><p>RCPT TO:&lt;xxx@gmail.com&gt;
DATA
DATA - 6 lines, 185 bytes.
QUIT
0 sec. elapsed, connection closed Wed Apr 29 23:26:41 2009
Connection from 127.0.0.1, Wed Apr 29 23:30:36 2009
HELO kkk</p><p>MAIL FROM:&lt;Admin@192.168.1.10&gt;
RCPT TO:&lt;xxx@gmail.com&gt;
DATA
DATA - 6 lines, 185 bytes.
QUIT
0 sec. elapsed, connection closed Wed Apr 29 23:30:36 2009
&nbsp;</p><p>&nbsp;Mercury Core:</p><p>&nbsp;Wed 29, 23:27:03: Job MG000041: from postmaster@[192.168.1.10] (non-local)
&nbsp;&nbsp; Created outgoing job with ID MO000042
&nbsp;&nbsp; To: Admin@[192.168.1.10] (non-local) -OK</p></blockquote><p>Job was accepted and since [192.168.1.10] is not in the domains list then it's sent to the queue for delivery off server.&nbsp; Can't go anywhere though since the address is a non-routable IP address.
</p><blockquote><p>Wed 29, 23:30:43: Job MG000043: from Admin@192.168.1.10 (non-local)
&nbsp;&nbsp; Created outgoing job with ID MO000044
&nbsp;&nbsp; To: xxx@gmail.com (non-local) -OK</p></blockquote><p>Job accepted and sent to queue for processing by MercuryC
</p><blockquote><p>&nbsp;Does anyone have any idea what I need to work on first?</p></blockquote><p>Probably the outgoing protocol MercuryC used to send SMTP to the outside world via a relay host.&nbsp; MercuryE will not work since you have no fixed IP address and host name.&nbsp; Without a fixed IP address and host name 90% of the receiving SMTP hosts will reject your connection as spam.[/quote]</p>