> Andrew Smith wrote: > >> > On Monday 21 January 2002 15:34, Jason Lim wrote: >> >> Can any one tell me why Sendmail make relay denied as a default. >> > >> > That's to prevent people (spammers, mass mailers etc) from using >> > your mailserver to send stuff to other people. Basically it's to >> > protect against the unauthorised use of your mailserver resources. >> > In other words it's a good thing that sendmail defaults to relay >> > denied. >> >> It is VERY important to dissallow relaying. >> If you have a static IP address (or DHCP with a very long lease) then >> it is ESSENTIAL! >> I get relay attempts on my mail servers every single day. >> I'd hate to think what they would do if they found my mail servers >> open to relaying! >> >> >> Then >> >> how to disable this relaying denied(550) by default. >> > >> > Don't know, I don't use sendmail :) >> > >> >> To enable an IP address to relay throught your sendmail daemon >> to add the line: >> >> a.b.c.d RELAY >> >> to /etc/mail/access >> then in /etc/mail type the command: >> >> make >> >> then sendmail will automatically allow relaying from that IP >> (you don't need to restart sendmail) >> >> you would normally put into the file your local IP addresses >> e.g. if you use 192.168.0.x for your local IP addresses >> >> 192.168.0 RELAY >> >> > > If i got 10000 domains, so it's I need to add 10000 into this file. I > don't think so this is a good idea.
Others have already replied suggesting that if you have a list you could write a simple script to transfer the list to the file ... People WILL abuse your mail server if you allow open relaying (it is not a question of IF, it WILL happen) The other solution is to setup authentication so that the IP address of the sender is not used to determine if they are allowed to send email see: http://www.sendmail.net/usingsmtpauth.shtml It also makes many statements agreeing with what I have said :-) (I found this reference in THIS mailing list - check the archives!) -- -Cheers -Andrew MS ... if only he hadn't been hang gliding! _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list
