LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   authorised email address - Sendmail Server (https://www.linuxquestions.org/questions/linux-newbie-8/authorised-email-address-sendmail-server-805879/)

shibu_sp 05-04-2010 11:58 AM

authorised email address - Sendmail Server
 
Hi All

I am having many mails transferred through my Sendmail server,but I want to configure only authorised email address through our server. please help me to optimize my mail server's configuration.

Thanks in advance!!!


Shibu

smoker 05-05-2010 09:07 AM

Which version of sendmail and which OS ?

relaying is denied by default after sendmail v8.9

vikas027 05-05-2010 08:48 PM

If I got your question right, You need to modify this file for this --> /etc/mail/access
See these examples.

Code:

Connect:mail.yahoo.com        REJECT        # Allow yahoo.com domain
To:a1@server.vikas.com        REJECT            # Reject a1 user from recieving mails
From:b1@server.vikas.com    REJECT            # Reject b1 user from sending mails

A restart of sendmail is required after making changes.

shibu_sp 05-06-2010 09:22 AM

Quote:

Originally Posted by vikas027 (Post 3958696)
If I got your question right, You need to modify this file for this --> /etc/mail/access
See these examples.

Code:

Connect:mail.yahoo.com        REJECT        # Allow yahoo.com domain
To:a1@server.vikas.com        REJECT            # Reject a1 user from recieving mails
From:b1@server.vikas.com    REJECT            # Reject b1 user from sending mails

A restart of sendmail is required after making changes.

Hi

Thanks for your valuable replay.

But I want to only authorised email address through our server(smtp)

Thanks in advance

Shibu


All times are GMT -5. The time now is 10:35 PM.