firewall and mail relay

firewall and mail relay

Post by Jason Huan » Tue, 25 Dec 2001 14:42:19



Hi,

Is it possible to prevent mail relaying in the IPTABLES?
Thanks.

Jason

 
 
 

firewall and mail relay

Post by Hal Burgis » Tue, 25 Dec 2001 15:00:34




Quote:

> Is it possible to prevent mail relaying in the IPTABLES?

Proper configuration of the MTA is the right way.

--
Hal Burgiss

 
 
 

firewall and mail relay

Post by ken_yap_d7e349f7_.. » Tue, 25 Dec 2001 15:45:41


|Is it possible to prevent mail relaying in the IPTABLES?

The right place to configure is your mail transport agent. The decision
about which hosts are allowed to relay (i.e. hosts you trust to send
outwards) and which hosts are allowed to just send inwards is not
something a firewall can/should decide.

 
 
 

firewall and mail relay

Post by Dean Thompso » Tue, 25 Dec 2001 22:59:32


Hi!,


> Hi,

> Is it possible to prevent mail relaying in the IPTABLES?

Think about what iptables does.  It basically blocks incoming connections, it
doesn't examine the packets and react to them.  As others have pointed out,
the MTA needs to be configured correctly to support the mail operations that
you want.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

1. mail relay help to stop relay

Dear Friends

I have installed sendmail 8.12.1 on my sparc machine which is solaris 2.7 .I
have put the relays om relay-domains files and also in the access file . i
can stop the relay by ip from access . but by domain anyone can relay
through my machine . any one help me please
this is my senmail.mc

divert(0)dnl
OSTYPE(solaris2)dnl
DOMAIN(generic)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
FEATURE(`access_db',`dbm /etc/mail/access')
FEATURE(`blacklist_recipients')
MAILER(local)
MAILER(procmail)
MAILER(smtp
thank you

suraj

2. Quick setsockopt question

3. Any mail server relay mail by user id/password?

4. while ((getline variable <"file") > 0)

5. Mail relay program that TRASHES ALL INCOMING MAIL?

6. CHANGE file systems on linux?

7. Matrox Mystique ands X.

8. More Linux fun

9. Configuring sendmail relay behind the firewall

10. Sendmail relay-not a regular relay

11. postfix: relay domains and open relay

12. How do I change sendmail from open relay to closed relay?