Postfix with Carp
-
Is it possible to do this?
The gui will always set the ip on the wan and or lan to the box ip not the carp ip. Is it possible to set this via the custom config?
-
mschiek01,
Listen postfix on localhost and then create a nat rule from carp ip to 127.0.0.1.
att,
Marcello Coutinho -
When you said a "Nat Rule" do you mean a "NAT PORT FOWARD" or a firewall rule?
-
Both :)
Nat rdr needs a firewall rule to work.
During nat config, you have the option to associate it with a firewall rule.
-
Thanks I was able to get it working.
Another question, Is there a way to set the smtp banner?
-
Paste any custom config on custom main.cf option.
-
for the smtp banner how would I set that with the custom feature? What would be the command?
-
Thanks for the config tip I figured it out and used "smtpd_banner =" to fix it.
The only other problem I am having is the "Enable LDAP fetch" does not appear to be working for me. I installed per the hint p5-perl-ldap but I do not see any errors in the log. When I click the "relay recipents" is just shows the file location and nothing else.
-
The only other problem I am having is the "Enable LDAP fetch" does not appear to be working for me. I installed per the hint p5-perl-ldap but I do not see any errors in the log. When I click the "relay recipents" is just shows the file location and nothing else.
Check update frequency sample and run it from console to see what happens:
/usr/local/bin/php -q /usr/local/www/postfix_recipients.phpThe output must show each AD server configured
extracting from server_you_configured…(total_of_emails_retrieved)
-
From the command line I receive "Can't locate NET/LDAP.PM" with some additional debug information.
-
There are missing modules.
try to reinstall perl ldap module.
i386
pkg_add -r http://e-sac.siteseguro.ws/packages/8/All/p5-perl-ldap-0.4300.tbzamd64
pkg_add -r http://e-sac.siteseguro.ws/packages/amd64/8/All/p5-perl-ldap-0.4300.tbz -
I have tried removing the package via pkg_delete and reinstalling.
When I do reinstall I do see an error pkg_add: warning: package 'p5-perl-ldap-0.4300' requires 'perl-5.12.4_3, but 'perl-5.12.3' is installedand
pkg_add: warning: package 'p5-perl-ldap-0.4300' requires 'perl-5.12.4_3, but 'perl-5.12.4' is installed
perl-5.12.4_3 is installed as it is required for some other packages.
-
Its just a warning, not an error.
try to fetch lpad info again
/usr/local/bin/php -q /usr/local/www/postfix_recipients.php -
Same error
Can't locate Net/LDAP.PM in @inc (@inc contains: /usr/local/lib/perl5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 .) at /usr/local/etc/postfix/adexport.pl line 41.
Begin failed -
Do you have any other packages using perl?
you many need to apply 'force perl version' patch until I release a new version
http://forum.pfsense.org/index.php/topic,45143.msg235361.html#msg235361 -
Packages using perl-5.12.4_3
Squid
SquidGuard
lightsquidThanks for you time on this!
Please let me know how I can donate to the project.
-
If you want to donate to pfsense project,
http://www.pfsense.org/index.php?option=com_content&task=view&id=69&Itemid=80
If you want to donate this package maintainer ;D my paypal account is marcellocoutinho@gmail.com
-
Thanks for the info.
On forcing the file version per: "you many need to apply 'force perl version' patch until I release a new version
http://forum.pfsense.org/index.php/topic,45143.msg235361.html#msg235361"Which file do I need to edit the path?
-
Thanks for the info.
On forcing the file version per: "you many need to apply 'force perl version' patch until I release a new version
http://forum.pfsense.org/index.php/topic,45143.msg235361.html#msg235361"Which file do I need to edit the path?
The first line of /usr/local/etc/postfix/adexport.pl
The perl version should be 5.12.4.
ls /usr/local/bin/perl* will show all perl versions you have on your system.
-
That fixed the error.
Now the run from the command line shows:
extracting from 'server name" …/usr/local/etc/postfix.pl: not found.
There is no backup file for "server" -
The first line show be this way
#!/usr/local/bin/perl5.12.4 -w
Can you post the output of
ls -l /usr/local/bin/perl5*
-
Thanks- I had fixed the error. I had a spelling error on the perl version in the file.
The command seems to be working now although I am getting a error: erro while binding:The wrong password was supplied or the SASL credentials could not be processed.
-
Can you reset configured users password and re check Active directory info you configured?
Field hint
Hostname:
dc1.mysite.comDomain:
dc=mysite,dc=comUsername:
cn=antispam,cn=Users -
Same error.
I even created a new user and tried it. Also tried administrator.
-
Just to be sure you understood user field,
cn=antispam,cn=Users
means that user antispam is in Users container
-
yes user "antispam" is in the users container on the dc.
Here is what I have configured.
first box = "server_name.domain_name.local"
second box = "domain.local"
third box = "antispam" -
yes user "antispam" is in the users container on the dc.
Here is what I have configured.
first box = "server_name.domain_name.local"
second box = "domain.local"
third box = "antispam"change to
first box = "server_name.domain_name.local"
second box = "cn=domain,cn=local"
third box = "cn=antispam,cn=Users"without quotes
-
Same error.
Sent you a pm with the exact configuration.
-
Sent you a pm with the exact configuration.
I did not received it.Received,
The config is right.
In my setup antispam user is a normal user, without admin privileges
If pfsense can reach your realm server, I don't undestand why it's not working.
I'm using Ad from windows 2003.
-
I resent.
-
Last thing I can think about this is to
Configure/check pfsense dns config option to your active directory ip. -
I go it :)
change to
first box = "server_name.domain_name.local"
second box = "cn=domain,cn=local"
third box = "cn=antispam,cn=Users"second box should bd "DC=domain,DC=local"
-
Nice! sorry for the typo on that post :)
You could set update frequency to 1h if you have a huge domain with many changes.
att,
Marcello Coutinho