The simple queue is going to catching anything that the mangle rule shows,
which is dst-port x.x.x.x:25.  When you say the torch is showing 1-2 megs
what all traffic is it showing?  Does this include src-port since your SMTP
server is sending many messages?

Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


On Tue, Feb 24, 2009 at 4:27 PM, Eric Sooter <e...@junct.com> wrote:

> Our bandwidth is getting a bit tight.   I was hoping to be able to shape
> our inbound SMTP traffic to our mail server.  Sometimes, it can consume a
> big chunk of bandwidth.  I am using a few mangle rules and a simple queue to
> shape.  Unfortunately, the simple queue never shows very much traffic.
> Whereas torch will show around 1-2mb/s of traffic.   Here is the export:
>
> x.x.x.35 is mail server
> the mangle rules are also at top of mangle chain
> there are no queue trees
>
>
> /ip firewall mangle
> add action=mark-connection chain=forward comment="Inbound SMTP Conn Mangle"
> \
>   disabled=no dst-address=x.x.x.35 dst-port=25 new-connection-mark=\
>   inbound-smtp-conn passthrough=no protocol=tcp
> add action=mark-packet chain=forward comment="" connection-mark=\
>   inbound-smtp-conn disabled=no new-packet-mark=inbound-smtp-packet \
>   passthrough=no
>
>
> /queue simple
> add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
>   direction=both disabled=no dst-address=0.0.0.0/0 interface=all
> limit-at=\
>   0/0 max-limit=512000/512000 name=inbound-smtp-queue packet-marks=\
>   inbound-smtp-packet parent=none priority=8 queue=\
>   default-small/default-small total-queue=default-small
>
> Eric
> _______________________________________________
> Mikrotik mailing list
> Mikrotik@mail.butchevans.com
> http://www.butchevans.com/mailman/listinfo/mikrotik
>
> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik
> RouterOS
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.butchevans.com/pipermail/mikrotik/attachments/20090224/9b7217e6/attachment.html>
_______________________________________________
Mikrotik mailing list
Mikrotik@mail.butchevans.com
http://www.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

Reply via email to