Postfix + pop-before-smtp problem
I have Postfix installed and configured and it is working fine. I installed pop-before-smtp perl script (http://popbsmtp.sourceforge.net).
Well, clients from external IP addresses can not send mail to external e-mail addresses (Relay access denied). Pop-before-smtp script is working fine, because i ran it in debug mode and it showed up fine. One thing is that when i do postmap -q XXX.XXX.XXX.XXX hash:/etc/postfix/pop-before-smtp in says: Quote:
/etc/postfix/main.cf: Code:
# Do not change these directory settings - they are critical to Postfix |
what a stupid mistake i did :D it was written "smptd_recipient_restrictions" instead of "smtpd_recipient_restrictions". it works fine now :p
|
or maybee it does not. that wierd database error is now present in postfix logs (as if the database format is incorrect) ? it works fine if i use postmap to generate the DB file from a txt file, but it just can't read the database that pop-before-smtp generates.
|
seems that i have to answer myself (again) :) so, the problem was that Perl used an old Berkeley DB lib (2.x), but Postfix used the 3 version. So i installed the new berkeley db and then recompiled the perl module BerkeleyDB. now the problem has been (finally) solved. :D
|
All times are GMT -5. The time now is 03:59 PM. |