[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Email nightmare



I can't hold it any longer...

> > Your CGI script tries to send out an email as if it
> > were user abc. Sendmail assumes this user to be
> > abc@<your full host name>. So if your raq's host
> > name is penutbutter.jelly.com, sendmail assumes the CGI 
> > script is the user: abc@xxxxxxxxxxxxxxxxxxxxxx The host
> > name penutbutter.jelly.com must resolve to an ip address
> > using DNS in order for sendmail to do its job.
> 
> It is starting to sound like the hosting company didn't do 
> the DNS stuff right. I will call them and see what we can do
> to straighten this out.

Alternatively you could just change your script to use:

sendmail -f user@xxxxxxxxxxxxxxx

then the REMOTE mailer will attempt to lookup 'real.domain.com' and not have
a problem. It's all in the switches, guys, and is a lot easier that faffing
about with DNS!

Simply set the sender properly. That's it.

Graeme
-- 
Graeme Fowler
System Administrator
Host Europe Group PLC