Sophia,
   Sorry, I'm not familiar with SUSE, and I don't know if that distro
offers a better way to do what you want.
Using an opensource sendmail I think there's not a "quick" way to cover
your needs.
Sendmail can be configured to meet your requirements but this topic
can't be covered in few lines.
A little hint: the "check_compat"  ruleset could be the right place to
check if the sender can use the recipient; I think you'll need also to
customize the "check_mail" ruleset to ensure that "sender" corresponds
to the "user" and that the "user" is authenticated; just to be paranoid:
sendmail must be compiled with STARTTLS feature (user/password will be
SSL protected)...
The ouput of the command
sendmail -d0.4 -bv root
will tell you what features sendmail was compiled with;
if you need more features, you must unpack the source tarball, define
them in the <source tree of sendmail>/devtools/Site/site.config.m4 and
recompile/reinstall sendmail; beware: unless you install your sendmail
in a different place, the next rpm install/upgrade will substitute your
binaries with the standard ones.
In the sendmail source tree there are two useful README: one in devtools
subdir which explains how to recompile sendmail; and one in the cf
subdir, and this explains how to build an .mc file (the guide to build
the .cf one).
A third useful file is the op.ps located in the doc/op subdir.
(redhat sendmail-doc rpm contains all three docs).

But if you want to tame sendmail you _must_ buy and read the Sendmail
bat book, 3rd edition.

Best regards
G



alikhani wrote:

I have an alise that want only a specific user can mail to this alise
ant the other can't .
How can I do it?



______________________________________
Inflex - installed on mailserver for domain @itrc.ac.ir
Queries to: admin@

Reply via email to