newbie - no external mail allowed to some users
Kevin Miller
Kevin_Miller at CI.JUNEAU.AK.US
Wed Aug 6 18:29:01 IST 2003
But you can't just edit it. After you put in your entries you'll have to
turn it into a "database"; on my system I use the following command:
makemap hash access < access
as root in the /etc/mail directory.
I think that's a pretty stock command, but some systems may use something
other than hash. My understanding of what it's doing is taking a text file
in which the entries may be randomly inserted, and turning it into an
indexed file which can be parsed much faster. If you have a big system w/a
gazillion entries in the access file, you don't want your MTA to have to
parse it with brute force by starting at the top and trundling on through
for each mail. Making it indexable (Is that a word? Guess it is now <g>)
speeds up the processing. This also holds for other files; mailertable
comes to mind and I think there's others.
S'later...
...Kevin
-------------------
Kevin Miller Registered Linux User No: 307357
CBJ MIS Dept. Network Systems Administrator, Mail
Administrator
155 South Seward Street ph: (907) 586-0242
Juneau, Alaska 99801 fax: (907 586-4500
>-----Original Message-----
>From: S Mohan [mailto:smohan at VSNL.COM]
>Sent: Wednesday, August 06, 2003 9:15 AM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: newbie - no external mail allowed to some users
>
>
>/etc/mail/access is the file.
>
>Mohan
>
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
>Behalf Of Jose Luis Bazo
>Sent: Wednesday, August 06, 2003 7:45 PM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: newbie - no external mail allowed to some users
>
>
>Yes, it is sendmail......
>Where can I look for that option??
>
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>Behalf Of S Mohan
>Sent: Tuesday, August 05, 2003 10:04 PM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: newbie - no external mail allowed to some users
>
>if it is sendmail, you can use access and deny mails from exterbal
>domains.
>
>Mohan
>
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
>Behalf Of Jose Bazo
>Sent: Wednesday, August 06, 2003 5:58 AM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: newbie - no external mail allowed to some users
>
>
>Hi,
>
>i want to know how i can restrict some users to just send and receive
>emails from one domain (my domain)..
>
>right now I am restricting the outgoing emails (with the
>InternalActions),
>but they can receive emails from all around the world....
>
>so there is any way to restrict also the incoming messages???
>
>please help me!
>
More information about the MailScanner
mailing list