Re: [exim] Allow authenticated SMTP from one IP Only

Etusivu
Poista viesti
Vastaa
Lähettäjä: Aneesh Joseph
Päiväys:  
Vastaanottaja: Todd Lyons
Kopio: Exim-users, Sathyavrathan PK
Aihe: Re: [exim] Allow authenticated SMTP from one IP Only
Hello Todd,

Thanks for the reply. I have also got another suggestion from Mr.Odhiambo.
I just applied it and it seems working now. I am monitoring to make sure not
one are abusing our SMTP

Her's the suggestion from Mr.Odhiambo

Look for this in your Exim configuration file:
> # Accept if the message arrived over an authenticated connection, from
> # any host. Again, these messages are usually from MUAs, so recipient
> # verification is omitted.
> accept authenticated = *
> Change it to read:
> accept authenticated = a.b.c.d
> You get it?
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223


_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Aneesh Joseph | System Administrator | T: +919895012331 |
aneeshjoseph@??? |http://www.hellosystemadmin.com
Chat [image: Google Talk:] aneeshjoseph [image: Skype:] aneeshjoseph
[image: Linkedin] <http://www.linkedin.com/in/aneeshjoseph>[image:
Facebook]<http://www.facebook.com/profile.php?id=595728820>[image:
Orkut] <http://www.orkut.co.in/Main#Profile?rl=fpp&uid=3496974728077767766>[image:
Twitter] <http://twitter.com/hellosysadmn>



On Thu, Sep 22, 2011 at 11:06 PM, Todd Lyons <tlyons@???> wrote:

> Honestly the easiest option to me is to put an iptables rule on the
> mail server which rejects port 587 (you do require smtp auth to run
> only on port 587, right?) except for 1 IP, that of the webmail server
> you wish to allow.
>
> ...Todd
>
> On Wed, Sep 21, 2011 at 9:39 PM, Aneesh Joseph <aneeshjoseph@???>
> wrote:
> > Hello,
> >
> > I have a mail server and a web server. I have installed the webmail
> client
> > ( custom program ) in the web server. I need to allow Authenticated
> SMTP
> > only from this web server. What I mean is that, if I have the email
> address
> > and password, I should not be able to send email using my Outlook or any
> > script from other server.
> >
> > Now I have enabled POP before SMTP and disabled POP3 port from all IPs
> > Except the web server IP. Still people are sending email using SMTP
> > authentication from remote computer
> >
> > Any Idea how to fix this ? Or any suggestion ?
> >
> >
> > Aneesh Joseph | System Administrator | T: +919895012331 |
> > aneeshjoseph@??? |http://www.hellosystemadmin.com
> > Chat [image: Google Talk:] aneeshjoseph [image: Skype:] aneeshjoseph
> > [image: Linkedin] <http://www.linkedin.com/in/aneeshjoseph>[image:
> > Facebook]<http://www.facebook.com/profile.php?id=595728820>[image:
> > Orkut] <
> http://www.orkut.co.in/Main#Profile?rl=fpp&uid=3496974728077767766>[image:
> > Twitter] <http://twitter.com/hellosysadmn>
> > --
> > ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> > ## Exim details at http://www.exim.org/
> > ## Please use the Wiki with this list - http://wiki.exim.org/
> >
>
>
>
> --
> If Americans could eliminate sugary beverages, potatoes, white bread,
> pasta, white rice and sugary snacks, we would wipe out almost all the
> problems we have with weight and diabetes and other metabolic
> diseases. -- Dr. Walter Willett, Harvard School of Public Health
>