We had to put in the following rules to block outbound port 25 traffic, except the mail from our LAN mail server. I need to log the IPs of workstations that are triggering the deny rule. How would I go about that?
Rules:
1 ;;; Allow email from our approved SMTP senders list regardless of destination
chain=forward action=accept protocol=tcp
src-address-list=APPROVED_SMTP_SERVERS dst-port=25
2 ;;; Allow email from our approved SMTP senders list regardless of destination
chain=forward action=accept protocol=tcp
dst-address-list=APPROVED_SMTP_SERVERS dst-port=25
3 ;;; Drop traffic to invalid SMTP servers
chain=forward action=drop protocol=tcp dst-port=25