[quote user="dilberts_left_nut"]
Those mercS settings make you an open relay for any spammers that find you.
If all you want to do is send mail from php to outside addresses then why not (as suggested earlier) just set php to use your ISP SMTP server for outgoing, and your regular mail client to read the replies.
You are adding needless complexity to your system.
[/quote]
well i have setup my firewall to only allowed connections to mercury from 127.0.0.1, as i said earlier, so are you sure? i also added a restriction to relaying to 127.0.0.1 (although i'm not sure if that means only 127.0.0.1 can relay, or not...)
[quote user="Thomas R. Stephenson"]The only password there is the ESMTP AUTH password and that's not security risk at all.[/quote]
oh??? how come? i wouldn't have thought it to be a good idea to leave the password to an inbox of mine lying around unencrypted in an .ini file on my system...
[quote user="Thomas R. Stephenson"]Without having any idea at all as to what you are trying to accomplish I doubt if this will help at all.[/quote]
perhaps i need to re-clarify?:
i want to be able to send mail from my php scripts, running off my laptop (running xp sp3), where i'm developing and testing them. i'd like to be able to send mail both to real addresses out on the web, and also to local addresses. i have so far managed to setup mercury so that my scripts can send mail out to real addresses. although i have got this working, i haven't necessarily got everything configured as it should be, which is why i proposed attaching my mercury.ini file so someone can take a look. i don't know how to also set mercury up so that i can send mail to local addresses. somehow i need to create some simple mail boxes on my computer, but i don't know how. then i need mercury to be able to place messages in them that are destined for them, again, unsure how. then i need some way of accessing them (need to setup a client for this).
[quote user="Thomas R. Stephenson"]To do this you are really going to have to use something other than localhost since there is to many problems with a domain that really is not a domain.[/quote]
how do i do it then?
[quote user="Thomas R. Stephenson"]Pegasus Mail? To access mail in local accounts you are going to need some sort of mail client. [/quote]
ok, perhaps that was a dumb question.
[quote user="Rolf Lindby"]Assuming what you said in your first post still applies:[/quote]
yes...
[quote user="Rolf Lindby"]If so then Mercury will keep any sent messages in queue until you again connect to the Internet, when the mail will be sent to the recipient (using MercuryC). So you won't need to create local mailboxes for external recipients. This would actually be a reason to use Mercury instead of php-ing directly to your ISPs SMTP server.[/quote]
yeh i get that mercury would cache them until a connection is available, but that's not what i want. should i be working without an internet connection, i would like to be able to receive the messages. in this situation i would like to simply be able to change the to addresses the scripts are using from say user123@gmail.com to user1@localhost, then mercury will put it in a mailbox on localhost for account 'user1', and then i can access that mail through pmail or some php software or something. i.e. i still need to be able to send and receive this email without an internet connection!
[quote user="dilberts_left_nut"]<p>Those mercS settings make you an open relay for any spammers that find you.</p><p>If all you want to do is send mail from php to outside addresses then why not (as suggested earlier) just set php to use your ISP SMTP server for outgoing, and your regular mail client to read the replies.</p><p>You are adding needless complexity to your system.</p><p>&nbsp;</p>[/quote]
well i have setup my firewall to only allowed connections to mercury from 127.0.0.1, as i said earlier, so are you sure? i also added a restriction to relaying to 127.0.0.1 (although i'm not sure if that means only 127.0.0.1 can relay, or not...)
[quote user="Thomas R. Stephenson"]The only password there is the ESMTP AUTH password and that's not security risk at all.[/quote]
oh??? how come? i wouldn't have thought it to be a good idea to leave the password to an inbox of mine lying around unencrypted in an .ini file on my system...
[quote user="Thomas R. Stephenson"]Without having any idea at all as to what you are trying to accomplish I doubt if this will help at all.[/quote]
perhaps i need to re-clarify?:
i want to be able to send mail from my php scripts, running off my laptop (running xp sp3), where i'm developing and testing them. i'd like to be able to send mail both to real addresses out on the web, and also to local addresses. i have so far managed to setup mercury so that my scripts can send mail out to real addresses. although i have got this working, i haven't necessarily got everything configured as it should be, which is why i proposed attaching my mercury.ini file so someone can take a look. i don't know how to also set mercury up so that i can send mail to local addresses. somehow i need to create some simple mail boxes on my computer, but i don't know how. then i need mercury to be able to place messages in them that are destined for them, again, unsure how. then i need some way of accessing them (need to setup a client for this).
[quote user="Thomas R. Stephenson"]To do this you are really going to have to use something other than localhost since there is to many problems with a domain that really is not a domain.[/quote]
how do i do it then?
[quote user="Thomas R. Stephenson"]Pegasus Mail?&nbsp; To access mail in local accounts you are going to need some sort of mail client.&nbsp;[/quote]
ok, perhaps that was a dumb question.
[quote user="Rolf Lindby"]Assuming what you said in your first post still applies:[/quote]
yes...
[quote user="Rolf Lindby"]If so then Mercury will keep any sent messages in queue until you again connect to the Internet, when the mail will be sent to the recipient (using MercuryC). So you won't need to create local mailboxes for external recipients. This would actually be a reason to use Mercury instead of php-ing directly to your ISPs SMTP server.[/quote]
yeh i get that mercury would cache them until a connection is available, but that's not what i want. should i be working without an internet connection, i would like to be able to receive the messages. in this situation i would like to simply be able to change the to addresses the scripts are using from say user123@gmail.com to user1@localhost, then mercury will put it in a mailbox on localhost for account 'user1', and then i can access that mail through pmail or some php software or something. i.e. i still need to be able to send and receive this email without an internet connection!