|
|||
Minor help with pf - FreeBSD 10.3
I used to run OpenBSD a long time ago, moved to Linux but now am making the transition to FreeBSD with ZFS to replace my Linux boxes, time has been the real issue and there have been so many cool things that are now in FreeBSD like zfs and the new package commands etc..
I still have my old pf.conf from the OpenBSD box.. but the syntax seems to be different.. so after many hours, I did get the gateway working but have this one thing and one other minor thing to solve.. FreeBSD 10.3 smtp gateway running (OpenBSD) spamd and amavisd. The FreeBSD box replaced a Linux box and was working with what I am trying to do with FreeBSD. Postfix is the MTA. Email flow Working FreeBSD Gateway (filter spamd / amavisd) ==>port 2525 ==>Home Email Not working Home Email ==>port 2525 ==> FReeBSD ==> email out Quote:
Quote:
Thx
__________________
All posts sent on ReCycled Electrons... |
|
|||
I managed to solve this...
2 changes 1) pf.conf rule email_services = 2525 myemail = (my home email ip) pass in proto tcp from $myemail to port $email_services 2) added to master.cf (Postfix) 2525 inet n - n - - smtpd Since 2525 is only accessible from my home email server it isn't opened to the world and bypasses the spamd process completely, which is what I was trying to achieve. If there is a more secure way to accomplish this, I would also that suggestion.. thx
__________________
All posts sent on ReCycled Electrons... |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
libfreetype.so.18.1: minor version | daemonfowl | OpenBSD Packages and Ports | 7 | 13th July 2012 04:18 AM |