sendmail auth - restrict user to local-host-names

Alexander Dalloz ad+lists at uni-x.org
Wed Dec 29 19:07:24 UTC 2004


Am Mi, den 29.12.2004 schrieb shrek-m at gmx.de um 19:46:

> >>s it possible to restrict a user to send mails with smtp-auth only to 
> >>local-host-names ?
> >>"dummy at shrek.local" should only be able to send mails to  "shrek.local"
> >>fc3, sendmail-8.13.1-2

> >http://www.sendmail.org/~ca/email/restrict.html

> thanks, but my sendmail knowledge is restricted.
> 
> there exist no feature in eg. /usr/share/sendmail-cf/feature/
> FEATURE(`intern.only')  :-((

No, it is no feature at all.

> some questions.//
> 
> where do i have to add this?

http://www.sendmail.org/m4/intro.html

So place it at the end of the sendmail.mc.

> LOCAL_CONFIG
> F{Internal}/etc/mail/intern.only

> sorry, but i doubt that i can add this ruleset in my sendmail.cf without problems.

sendmail.mc

> i have absolutely no experience with rulesets and do not know how to modify the ruleset for 8.13.1-2

Don't edit the sendmail.cf!
When adding the LOCAL_RULESET to the sendmail.mc take care to use
tabstops between the LHS and RHS entries. So for the first line for
example

R$*		<here are tabstops - no spaces>		$: $1 $| $>3 $&f

> shrek-m

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 20:01:06 up 6 days, 21:45, load average: 1.51, 0.87, 0.59 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041229/c9659da1/attachment-0001.sig>


More information about the fedora-list mailing list