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

Re: [cobalt-users] how to tell sendmail to ALWAYS use an external SMTP?



Audric Leperdi wrote:

> HOWEVER: when a cgi or the php send() sends a mail to an address that has a
> domain on the RaQ the mail gets lost.
> 
> I think sendmail wrongly thinks the pop account is on the RaQ.

Sendmail is trying local delivery first because of the way
/etc/virtusertable is set up.

Are your domains checked for "receive email for domain"?  If so, make
sure they're not.

If they're not, and this is still happening, the problem is a bit more
complex...

How do your cgi programs address mail:  user@xxxxxxxxxx or
user@xxxxxxxxxxxxxx?  They should be user@xxxxxxxxxxx

If that doesn't work, you might try user@xxxxxxxxxxx, which should work.

If not, then we'll just have to get down and dirty in virtusertable
(which can be painful <smile>).

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users