PHP & mailing list & Relay of SMTP
Posted: Tue Oct 17, 2006 6:09 am
Hi,
I have a mailing list (also standard forms) based on PHP
example:
mail("external@domain.com","subject","message","from....");
and I HAD TO check the option "allow relay for local sender addresses" in my smtp server (also see here: http://www.jbmd.com/es.jpg), otherwise emails would not be sent to external email accounts.
However, everybody knows that this option opens my email server to spammers.
Is there any other solution how to keep above mention option in smtp relay unchecked? (And I´d prefer NOT to use PEAR smtp driver) and still be able to send email ?
I have a mailing list (also standard forms) based on PHP
example:
mail("external@domain.com","subject","message","from....");
and I HAD TO check the option "allow relay for local sender addresses" in my smtp server (also see here: http://www.jbmd.com/es.jpg), otherwise emails would not be sent to external email accounts.
However, everybody knows that this option opens my email server to spammers.
Is there any other solution how to keep above mention option in smtp relay unchecked? (And I´d prefer NOT to use PEAR smtp driver) and still be able to send email ?