Re: sending e-mail in NIS-NFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 22, 2001 at 03:45:22PM -0800, Victor Manuel Banuelos Alvarez wrote:

Hi,

> How can I do for to make that appear the e-mail direction of user
> correctly when they send a mail to somebody?? by example:
> user@server.domainIP

sendmail:

1) When your domain is foobar.com add the entry "DMfoobar.com" to you
   /etc/mail/sendmail.cf

2) Then vi /etc/mail/aliases

    abuse: root
    root: hans

    Syntax: <alias>:<realuser>
    In this example mail for abuse@foobar.com is delivered to
    root@foobar.com and mail for root@foobar.com is delivered to
    hans@foobar.com

3)  vi /etc/mail/mailertable
    Syntax <localuser> <real email adress>
    Example: hans hans@foobar.com

    If your Server is called 123.foobar.com and a user called hans is
    sending a message from this host, the from adress gets changed from
    hans@123.foobar.com to hans@foobar.com.

4)  newaliases aliases.db aliases

5)  /usr/sbin/makemap -f hash /etc/mail/mailertable.new.db \
                < /etc/mail/mailertable;
   
6) /etc/rc.d/init.d/sendmail restart

With best regards

    Hans
-- 
"If you are using an Macintosh e-mail program that is not from Microsoft, we
 recommend checking with that particular company. But most likely other
 e-mail programs like Eudora are not designed to enable virus replication."
  -- http://www.microsoft.com/mac/products/office/2001/virus_alert.asp

------------------------------------------------------------------------
     To unsubscribe email security-discuss-request@linuxsecurity.com
         with "unsubscribe" in the subject of the message.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux