Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
pfSense Forum
pfSense English Support
»
Packages
»
Postfix - antispam and relay package
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Home
Help
Search
Login
Register
Pages:
1
...
3
4
5
6
[
7
]
8
9
10
11
...
25
Go Down
« previous
next »
Print
Author
Topic: Postfix - antispam and relay package (Read 44201 times)
0 Members and 1 Guest are viewing this topic.
marcelloc
Hero Member
Online
Posts: 8152
Re: Postfix - antispam and relay package
«
Reply #90 on:
November 16, 2011, 05:55:33 am »
If you have static ip on your internet connection and if you could include this ip as a Spf record on your internet dns domain, then you could configure your smtp client option to this package.
I suggest you to change pop3 to imap. It's much better.
Smtp auth with SASL is not working on current version because a missing dependencie in cyrrus-SASL package.
Logged
Have I helped you?
Donations are always welcome!
Te ajudei?
Doações são sempre bem vindas!
cmariotti
Newbie
Offline
Posts: 15
Re: Postfix - antispam and relay package
«
Reply #91 on:
November 17, 2011, 01:13:17 am »
So basically just install the package, create spf record for the public IP and point the clients to use the internal firewall IP as their SMTP server. That sound right?
Logged
marcelloc
Hero Member
Online
Posts: 8152
Re: Postfix - antispam and relay package
«
Reply #92 on:
November 17, 2011, 06:29:41 am »
Yes. That's it.
On package, try this configurarion:
listen only in localhost and lan
disable postscreen
choose basic header verification
do not check Helo valid hostname
at acls, include your internal network on client access list
Logged
Have I helped you?
Donations are always welcome!
Te ajudei?
Doações são sempre bem vindas!
timreichhart
Jr. Member
Offline
Posts: 35
Re: Postfix - antispam and relay package
«
Reply #93 on:
November 23, 2011, 04:10:47 pm »
does this package have a option for users to manage there whitelist/blacklist or any other options they need to configure under there own login page?
Logged
marcelloc
Hero Member
Online
Posts: 8152
Re: Postfix - antispam and relay package
«
Reply #94 on:
November 23, 2011, 04:36:57 pm »
This package act as a relay for internal smtp server. Postfix on pfsense has no client accounts or user page.
Logged
Have I helped you?
Donations are always welcome!
Te ajudei?
Doações são sempre bem vindas!
darklogic
Full Member
Offline
Posts: 167
Re: Postfix - antispam and relay package
«
Reply #95 on:
November 27, 2011, 02:12:58 am »
marcelloc,
Any word on the postfix AV and anti-spam add-on? Your latest release fixed all the issues I was having. Great package. I am excited to see what will come next.
Thanks Again,
Logged
marcelloc
Hero Member
Online
Posts: 8152
Re: Postfix - antispam and relay package
«
Reply #96 on:
November 27, 2011, 11:28:19 am »
The upcoming version 2.3 improves maillog Database and fixes some minor bugs.
Mailscanner maybe released in december.
Logged
Have I helped you?
Donations are always welcome!
Te ajudei?
Doações são sempre bem vindas!
darklogic
Full Member
Offline
Posts: 167
Re: Postfix - antispam and relay package
«
Reply #97 on:
November 27, 2011, 06:24:14 pm »
That is excellent news. Keep up the great work.
Thanks Again,
MDP
Logged
mince69meat
Newbie
Offline
Posts: 11
Re: NEW Postfix antispam and relay package
«
Reply #98 on:
November 29, 2011, 05:26:42 pm »
Quote from: marcelloc on October 20, 2011, 11:05:41 am
Hi all,
Postfix compilation on x64 now includes
cyrus-SASL2
and
TLS
.
who need or want to test it, reinstall or remove/install postfix package.
No changes in gui for this option. Include all your SASL and/or TLS config in
custom main.cf options
att,
Marcello Coutinho
Hi Marcello and everyone else
can anyone help me out I would like to send mail from internal to exturnal though this fantastic packege but can't get passed "smtpd_recipient_restrictions = reject_unauth_destination" have tried "smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination" in custom but it will not override the defaults, tried SASL but don't know how to install it on pfsense, have spent a week doing this before postting so sorry if its in a post elswere, any help or point to any posts that could help or how to override the default would be grateful
Mick
Logged
marcelloc
Hero Member
Online
Posts: 8152
Re: Postfix - antispam and relay package
«
Reply #99 on:
November 29, 2011, 07:39:42 pm »
mince69meat,
I'ts included in upcoming version 2.3. I'm finished coding and now I'm testing before publishing.
The not so good news is that 2.2 sqlite database is not compatible with 2.3.
Logged
Have I helped you?
Donations are always welcome!
Te ajudei?
Doações são sempre bem vindas!
mince69meat
Newbie
Offline
Posts: 11
Re: Postfix - antispam and relay package
«
Reply #100 on:
November 29, 2011, 07:54:36 pm »
Quote from: marcelloc on November 29, 2011, 07:39:42 pm
mince69meat,
I'ts included in upcoming version 2.3. I'm finished coding and now I'm testing before publishing.
The not so good news is that 2.2 sqlite database is not compatible with 2.3.
Love you man, im up all though the night as I was just about to build a bsd VM to get around the problem till your fantastic package was more.. if you want I have a fresh PF without postfix just finnished installing if you need a tester :-) before release. dont know what to do now wait or carry on with the bsd VM, dont know if I can help any more than being a user tester but know a little about coding and postfix, great work - respect
Logged
marcelloc
Hero Member
Online
Posts: 8152
Re: Postfix - antispam and relay package
«
Reply #101 on:
November 29, 2011, 08:06:45 pm »
to patch 2.2 to accept mynetworks,
BACKUP
/usr/local/pkg/postfix.inc to /root dir and then edit /usr/local/pkg/postfix.inc to modify postfix declaration.
Do not backup postfix.inc file on same dir, it will break your boot.
look for '
postscreen_access_list=
' and include permit_mynetworks:
postscreen_access_list = permit_mynetworks,\n\t\t\tcidr:/usr/local/etc/postfix/cal_cidr\n"
look for '
smtpd_recipient_restrictions=
' (02 times in file) and include permit_mynetworks
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination,
save file, Go to custom options in gui, declare 'mynetworks' list save config and check main.cf file in view configuration tab
Code:
Examples:
mynetworks = 127.0.0.0/8 168.100.189.0/28
mynetworks = !192.168.0.1, 192.168.0.0/28
mynetworks = 127.0.0.0/8 168.100.189.0/28 [::1]/128 [2001:240:587::]/64
"mynetworks_style = host"
"mynetworks_style = subnet"
"mynetworks_style = class"
reference:
http://www.postfix.org/postconf.5.html
«
Last Edit: November 29, 2011, 08:14:57 pm by marcelloc
»
Logged
Have I helped you?
Donations are always welcome!
Te ajudei?
Doações são sempre bem vindas!
mince69meat
Newbie
Offline
Posts: 11
Re: Postfix - antispam and relay package
«
Reply #102 on:
November 29, 2011, 09:58:41 pm »
Quote from: marcelloc on November 29, 2011, 08:06:45 pm
to patch 2.2 to accept mynetworks,
BACKUP
/usr/local/pkg/postfix.inc to /root dir and then edit /usr/local/pkg/postfix.inc to modify postfix declaration.
Do not backup postfix.inc file on same dir, it will break your boot.
look for '
postscreen_access_list=
' and include permit_mynetworks:
postscreen_access_list = permit_mynetworks,\n\t\t\tcidr:/usr/local/etc/postfix/cal_cidr\n"
look for '
smtpd_recipient_restrictions=
' (02 times in file) and include permit_mynetworks
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination,
save file, Go to custom options in gui, declare 'mynetworks' list save config and check main.cf file in view configuration tab
Code:
Examples:
mynetworks = 127.0.0.0/8 168.100.189.0/28
mynetworks = !192.168.0.1, 192.168.0.0/28
mynetworks = 127.0.0.0/8 168.100.189.0/28 [::1]/128 [2001:240:587::]/64
"mynetworks_style = host"
"mynetworks_style = subnet"
"mynetworks_style = class"
reference:
http://www.postfix.org/postconf.5.html
Hi marcelloc, knew to edit postfix.inc (would have missed postscreen_access_list, thanks), did not want to edit this file as I'm worried about braking the package on updates, can you comfirm this will not brake anything on update? was looking for a way to override just by the "custom main.cf options" to keep the package as you made it :-) and not cause problems on upgrades as I have boken things in the past by doing things my way and not the matainers way lol
some info for you, installing postfix on x64 I see that cyrus-sasl-2.1.25_1.tbz is installed as dependencie but on a x86 system it is not installed, don't know if you know that, also for the rest of the community pkg_add will not install it properly on x86 :-(
nice work and brill post about adding mynetworks, should help more on here out than just me
respect
«
Last Edit: November 29, 2011, 10:14:52 pm by mince69meat
»
Logged
marcelloc
Hero Member
Online
Posts: 8152
Re: Postfix - antispam and relay package
«
Reply #103 on:
November 29, 2011, 10:14:49 pm »
The postfix in 32 bit version is not compilled every day just like 64bits. This may be something related to 2.1 working. The cyrrus-SASL has a missing dependencie that was not fixed yet, So you can only use unauth outgoing smtp for now.
About the postfix.inc, if you do the way I described, it will not broke any package update. Just insert the update on file and do not remove anything.
Package update will update postfix.inc
Do it with caution.
I'll send a line to core team asking 32bits updates.
Postix is on 2.8.7 on 64 bits and 2.8.5 on 32.
«
Last Edit: November 29, 2011, 10:16:51 pm by marcelloc
»
Logged
Have I helped you?
Donations are always welcome!
Te ajudei?
Doações são sempre bem vindas!
mince69meat
Newbie
Offline
Posts: 11
Re: Postfix - antispam and relay package
«
Reply #104 on:
November 29, 2011, 10:40:25 pm »
How would you use unauth outgoing smtp and get passed the "reject_unauth_destination" or is the only wayto edit /usr/local/pkg/postfix.inc as you said a few posts back?
Logged
Pages:
1
...
3
4
5
6
[
7
]
8
9
10
11
...
25
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Administrative
-----------------------------
=> Forum rules
=> Messages from the pfSense Team
=> Feedback
-----------------------------
pfSense English Support
-----------------------------
=> Installation and Upgrades
=> General Questions
=> 2.1 Snapshot Feedback and Problems
=> Post a bounty
===> Completed Bounties
===> Expired/Withdrawn Bounties
=> Hardware
=> Firewalling
=> NAT
=> CARP/VIPs
=> Routing and Multi WAN
=> Traffic Shaping
=> DHCP and DNS
=> IPv6
=> IPsec
=> PPTP
=> PPPoE Server
=> Captive Portal
=> webGUI
=> Wireless
=> SNMP
=> Packages
=> Virtualization installations and techniques
=> OpenVPN
=> Gaming
-----------------------------
Development/Documentation
-----------------------------
=> Documentation
=> Development
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
International Support
-----------------------------
=> Indonesian
=> Deutsch
=> Español
=> Français
=> Italiano
=> Russian
=> Nederlands
=> Norwegian
=> Portuguese
=> Polish
=> Romanian
=> Swedish
=> Turkish
-----------------------------
Retired
-----------------------------
=> 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
=> 1.2.1-RC Snapshot Feedback and Problems-RETIRED
=> 2.0-RC Snapshot Feedback and Problems - RETIRED
=> DNS Server testing area - RETIRED
Loading...