Hello everyone !
I am new to this list.. so please forgive me if this
question has been answered before.
I have googled quite a bit, but do not have a solution
to this problem :
I am using sendmail 8.12 with Fedora Core 2..
I have two domains configured, eg abc.com and def.com.
There are two email ids configured : [EMAIL PROTECTED]
and [EMAIL PROTECTED]
I have the following configured in sendmail.mc ->
_____________________________________________________
LOCAL_CONFIG
F{Internal}/etc/mail/internal-only
LOCAL_RULESETS
SLocal_check_rcpt
dnl # get sender address and canonify it
R$* $: $1 $| $>3 $&f
R$* $| <> $@ OK <> is always
ok
R$* $| $={Internal} <@$=w.> $: $1
[EMAIL PROTECTED]
R$* $| $={Internal} $: $1 luser?
R$* $| $* $@ OK someone else
R$* $: $>3 $1 check recipient
R$+<@$=w.> $@ OK local? ok
R$+<@$+> $#error $@ 5.1.8 $: "551
Sorry.. you are restricted to sending Internal Emails
Only."
_____________________________________________________
Now the problem is, that if I add "hemali" in the
/etc/mail/internal-only file, then [EMAIL PROTECTED] and
[EMAIL PROTECTED], both become restricted to sending
internal emails only.
I want to restrict [EMAIL PROTECTED] to internal emails
but [EMAIL PROTECTED] should be able to send external
emails.
how can this be done ?? I understand that instead of
just the username, the entire email address needs to
be put into the /etc/mail/internal-only file... but if
I do that, what do I need to change in the sendmail.mc
file, so that the entire email address is checked and
not just the username ?
Please help me.
regards to all,
Hemali.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help