Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postfix failed to start #102

Open
gbtech755 opened this issue Feb 27, 2022 · 3 comments
Open

Postfix failed to start #102

gbtech755 opened this issue Feb 27, 2022 · 3 comments

Comments

@gbtech755
Copy link

Hi there

I managed to get the repo to work on pfsense 2.6 , however when i tried to start postfix I get the following error

/pkg_edit.php: The command '/usr/local/sbin/postmap /usr/local/etc/postfix/virtual_alias_maps' returned exit code '1', the output was 'ld-elf.so.1: Shared object "libicuuc.so.68" not found, required by "postmap"'

could you please assist

on another note when running " pkg upgrade "

it finds these packages are not installed

pkg: MailScanner has a missing dependency: lha
pkg: pfSense-pkg-mailscanner has a missing dependency: gcc

how would i be able to resolve this aswell?

kind regards

@marcelloc
Copy link
Owner

Hi there

I managed to get the repo to work on pfsense 2.6 , however when i tried to start postfix I get the following error

/pkg_edit.php: The command '/usr/local/sbin/postmap /usr/local/etc/postfix/virtual_alias_maps' returned exit code '1', the output was 'ld-elf.so.1: Shared object "libicuuc.so.68" not found, required by "postmap"'

could you please assist

on another note when running " pkg upgrade "

it finds these packages are not installed

pkg: MailScanner has a missing dependency: lha pkg: pfSense-pkg-mailscanner has a missing dependency: gcc

how would i be able to resolve this aswell?

kind regards

It's a mismatched icu version between pfsense and postfix. Until I push a fix, try to symlink these libs with current installed version.

ldd virtual_alias_maps comand on console/ssh will show missing libs. Locate current versin and symliny it with ln - s

@gbtech755
Copy link
Author

hello again,
thanks so much for getting back to me....

when running the command "ldd virtual_alias_map" i get the following output ldd: virtual_alias_maps: not a dynamic executable

would you be able to give me an example of what it should look like?

@mma238
Copy link

mma238 commented Aug 22, 2022

Hello

Dear gbtech755

I did this:

ldd /usr/local/sbin/postfix
cd /usr/local/lib
ln -s libicuuc.so.70.1 libicuuc.so.68
ln -s libicui18n.so.70.1 libicui18n.so.68
ln -s libicudata.so.70.1 libicudata.so.68

postfix set-permissions
cd /var/db/postfix
chown postfix:postfix postfix_sid.db

After that postfix service started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants