Can't access mail server
| From: | Sergio A. Murillo | Date: | Mon, 26 Jun 2000 19:50:33 +0000 |
| Subject: | Can't access mail server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3184@lists.php.net to get a copy of this message | ||
Hi. I have some code that connects to a SMTP server and mails some stuff.
The SMTP server is apparently working ok. I tried it with an email client
and no porblem but when I send with the mail command i get this error on the
server.
un 22 15:49:05 www sendmail[31157]: PAA31157: ruleset=check_mail,
arg1=<www.foo.com>, relay=[204.22.171.3], reject=553 <www.foo.com>... Domain
name required
I know this is more a sendmail problem. It use to work OK but now I get this
problem! It seems the mail command is sending a mail with the domain as the
user and no domain.
This is my php.ini (NT)
[mail function]
SMTP = foo.com ;for win32 only
sendmail_from = sam@foo.com ;for win32 only
sendmail_path = ;for unix only, may supply arguments as well (default
is sendmail -t)
Can anyone help!!!
Thanks
==============================================
Sergio A. Murillo D.
Internet UNAH
==============================================