Ah, another chance for me to get onto my hobby horse - sendmail and open
relays. Sorry Khader, here goes, once again :)
On Mon, 7 Feb 2000, thus spake Dinesh Shah:
> > FEATURE(`promiscuous_relay') to turn off all anti-relay functionality -
> > but I'd recommend against it.
Never do this (unless you want yr smtp server hijacked by spammers, and
blacklisted) :)
> Even I would not like to do the same. So far I have gone as far as
> configuring sendmail to atleast accept mail from my clients. I have
If Redhat 6.1 you can safely use linuxconf. The hosts for which you
receive mail will be in etc/sendmail.cw (all permutations and combinations
of yr hostname - like domain.com, smtp.mydomain.com, foo.mydomain.com etc)
see http://www.sendmail.org/tips/relaying.html and
http://www.sendmail.org/~ca for more info.
For specific users, use /etc/virtusertable - very much better and safer.
> > >Either I tell my ISP (who hosts my web page) to forward all my mail (
> > >*@mydomain.dom) to my local ISP's mail box (Who gives me the access to
This means that YOU have to run a box 24x7 on the net and run procmail /
sendmail access filters here as well. Redundant and cumbersome for a
large setup.
> > >internet via dialup) Or I can tell my hosting service to accumulate
> all mail > >address to *@mydomain.dom > >What do u sujest is the best
> approch?
This is the best.
> Does it mean creating individual accounts on either of the servers? If
> so it is
/etc/virtusertable ensures you don't need to create extra addresses.
> Some where I have read that u can instruct sendmail to deliver mail
> based on deliver-to: feild in mail headers. does any thing like that
> exists? If so do u
Procmail will help you better in this :)
Suresh Ramasubramanian | President, CAUCE India
[EMAIL PROTECTED] | [EMAIL PROTECTED]
http://www.india.cauce.org | Stopping Spam In India
--
A bug in the hand is better than one as yet undetected.
--------------------------------------------------------------------------
LI is all for free speech, but this list was created for a purpose --
to help popularise Linux in India. If your messages are counterproductive
to that purpose, your privileges to submit messages can and will be revoked.