Networking Forums

Networking Forums > Computer Networking > Linux Networking > firewall outgoing mail

Reply
Thread Tools Display Modes

firewall outgoing mail

 
 
elie
Guest
Posts: n/a

 
      09-29-2008, 10:42 PM
is it possible to add a fire wall that will stop a server from sending
any outgoing mail,
I'm having spam problems with my server, ( it is sending spam) i want
to stop it from sending any mail at all.

I'm guessing that mail is sent to a fixed port number on other
servers, so can i make a firewall to stop programs from sending data
to a port on any remote server.
 
Reply With Quote
 
 
 
 
elie
Guest
Posts: n/a

 
      09-30-2008, 12:03 AM
is this right?

iptables -I FORWARD 1 -p tcp --dport 25 -j DROP

i only have a remote server so I don't want to firewall myself out of
it, can someone help me.
 
Reply With Quote
 
Thad Floryan
Guest
Posts: n/a

 
      09-30-2008, 09:27 AM
On Sep 29, 4:42 pm, Maxwell Lol <nos...@com.invalid> wrote:
> elie <mazz...@gmail.com> writes:
> > is it possible to add a fire wall that will stop a server from sending
> > any outgoing mail,

>
> Sure. Block outgoing conections to the SMTP port - 25.


And port 587. Port 25, SMTP, = "transport", 587 is email injection.
Many
ISPs block port 25 now in a misguided attempt to stop spam.
 
Reply With Quote
 
Allen Kistler
Guest
Posts: n/a

 
      09-30-2008, 12:35 PM
Thad Floryan wrote:
> On Sep 29, 4:42 pm, Maxwell Lol <nos...@com.invalid> wrote:
>> elie <mazz...@gmail.com> writes:
>>> is it possible to add a fire wall that will stop a server from sending
>>> any outgoing mail,

>> Sure. Block outgoing conections to the SMTP port - 25.

>
> And port 587. Port 25, SMTP, = "transport", 587 is email injection.
> Many
> ISPs block port 25 now in a misguided attempt to stop spam.


And tcp/465 for smtps. How long before ISPs block them all, I wonder?
 
Reply With Quote
 
elie
Guest
Posts: n/a

 
      09-30-2008, 05:09 PM

guys can someone verify that this is the right syntax

iptables -I FORWARD 1 -p tcp --dport 25 -j DROP

I'm afraid to add it and have my remote server disappear from the
internet.


On Sep 29, 8:03*pm, elie <mazz...@gmail.com> wrote:
> is this right?
>
> iptables -I FORWARD 1 -p tcp --dport 25 -j DROP
>
> i only have a remote server so I don't want to firewall myself out of
> it, can someone help me.


 
Reply With Quote
 
elie
Guest
Posts: n/a

 
      09-30-2008, 07:56 PM
added, thanks for the help.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bind outgoing mail connects to virtual ip address? Jack Snodgrass Linux Networking 4 03-13-2008 02:52 PM
Do tiscali stick adverts on all outgoing mail? Jim Howes Broadband 9 03-09-2007 01:50 AM
Slow outgoing mail through Eclipse? Paul Broadband 2 09-30-2003 02:30 PM
Outgoing mail from fresh RH8.0 box James Schnack Linux Networking 4 09-23-2003 10:56 AM
Linksys BEFW11S4 v.3 and PPTP outgoing mail problem =?ISO-8859-1?Q?Bj=F8rn_G?= Wireless Internet 1 09-09-2003 11:22 AM



1 2 3 4 5 6 7 8 9 10 11