problem with postfix and libsasl2

Hi!
I'm trying to set up a mailserver on Debian etch for the first time, but
I have a problem: every time I restart postfix I get this message:

/usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version information
available (required by /usr/sbin/postconf)

Any idea on how can I fix it? I can't use SASL...

TIA
Daniele

--------------------------------------------
http://www.salatti.net/

--

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

problem with postfix and libsasl2

Hi!
I'm trying to set up a mailserver on Debian etch for the first time, but
I have a problem: every time I restart postfix I get this message:

/usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version information
available (required by /usr/sbin/postconf)

Any idea on how can I fix it? I can't use SASL...

TIA
Daniele

--------------------------------------------
http://www.salatti.net/

--

problem with postfix and libsasl2

You need to install the package "libsasl2-modules".

-Miles

--
My books focus on timeless truths. -- Donald Knuth

--

problem with postfix and libsasl2

Already installed...

2007/10/1, Miles Bader <miles@gnu.org>:

You need to install the package "libsasl2-modules".

-Miles

--
My books focus on timeless truths.  -- Donald Knuth




--
Daniele Salatti

http://www.salatti.net

problem with postfix and libsasl2

Hi,

I used apt to set up everything. How could this appen?



Daniele

2007/10/1, Florian Kulzer <florian.kulzer+debian@icfo.es>:

On Mon, Oct 01, 2007 at 00:14:42 +0200, Daniele Salatti wrote:
> Hi!
> I'm trying to set up a mailserver on Debian etch for the first time, but I
> have a problem: every time I restart postfix I get this message:

>
> /usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version information
> available (required by /usr/sbin/postconf)
>
> Any idea on how can I fix it? I can't use SASL...

Where does /usr/local/lib/libsasl2.so.2 come from? The libsasl2-2

package puts the library and this symlink into /usr/lib/. (Debian
packages never touch the /usr/local/... directories.) You seem to have
a non-Debian library installed which is broken.

--
Regards,            |
http://users.icfo.es/Florian.Kulzer
          Florian   |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
Daniele Salatti

http://www.salatti.net

problem with postfix and libsasl2

Sam Leon wrote:
> Daniele Salatti wrote:
>> Hi!
>> I'm trying to set up a mailserver on Debian etch for the first time,
>> but I have a problem: every time I restart postfix I get this message:
>>
>> /usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version
>> information available (required by /usr/sbin/postconf)
>>
>> Any idea on how can I fix it? I can't use SASL...
>>
>> TIA
>> Daniele
>>
>>
>> --------------------------------------------
>> http://www.salatti.net/
>>
>>
>
> You might not have it installed. For a normal postfix setup you need
> the packages: postfix libsasl2 sasl2-bin libsasl2-modules libdb3-util
> procmail
>
> What do you mean that you can't use SASL? You can't use it because it
> is not installed or because you don't want to?
>
> Sam
>
>
Hi Sam
I can't use it because of this error (I think). It's installed...but
someway not working. I'm following an how-to, and when I reach this
point (http://workaround.org/articles/ispmail-etch/#id28 - Authenticated
SMTP) I can't access my smtp as shown in the example. (Sorry, but my
english is not so good...)

Daniele

--

problem with postfix and libsasl2

On Mon, Oct 01, 2007 at 12:31:36AM +0200, Daniele Salatti wrote:
> I can't use it because of this error (I think). It's installed...but
> someway not working. I'm following an how-to, and when I reach this
> point (http://workaround.org/articles/ispmail-etch/#id28 - Authenticated
> SMTP) I can't access my smtp as shown in the example. (Sorry, but my
> english is not so good...)

Since Exim can handle auth SMTP, why not just use exim?

Doug.

--

problem with postfix and libsasl2

On Mon, Oct 01, 2007 at 12:31:36AM +0200, Daniele Salatti wrote:
>>> I'm trying to set up a mailserver on Debian etch for the first time,
>>> but I have a problem: every time I restart postfix I get this
>>> message:
>>>
>>> /usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version information
>>> available (required by /usr/sbin/postconf)

>> You might not have it installed. For a normal postfix setup you need
>> the packages: postfix libsasl2 sasl2-bin libsasl2-modules libdb3-util
>> procmail
---^^^^^^^^
procmail is *not* needed.

> I can't use it because of this error (I think). It's installed...but
> someway not working. I'm following an how-to, and when I reach this
> point (http://workaround.org/articles/ispmail-etch/#id28 -
> Authenticated SMTP) I can't access my smtp as shown in the example.
> (Sorry, but my english is not so good...)

Please post the output of 'postconf -n'and 'dpkg -l *sasl2*|grep ^ii'

Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

problem with postfix and libsasl2

Andrei Popescu wrote:
> On Mon, Oct 01, 2007 at 12:31:36AM +0200, Daniele Salatti wrote:
>
>>>> I'm trying to set up a mailserver on Debian etch for the first time,
>>>> but I have a problem: every time I restart postfix I get this
>>>> message:
>>>>
>>>> /usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version information
>>>> available (required by /usr/sbin/postconf)
>>>>
>
>
>>> You might not have it installed. For a normal postfix setup you need
>>> the packages: postfix libsasl2 sasl2-bin libsasl2-modules libdb3-util
>>> procmail
>>>
> ---^^^^^^^^
> procmail is *not* needed.
>
>
>> I can't use it because of this error (I think). It's installed...but
>> someway not working. I'm following an how-to, and when I reach this
>> point (http://workaround.org/articles/ispmail-etch/#id28 -
>> Authenticated SMTP) I can't access my smtp as shown in the example.
>> (Sorry, but my english is not so good...)
>>
>
> Please post the output of 'postconf -n'and 'dpkg -l *sasl2*|grep ^ii'
>
> Regards,
> Andrei
>
Hi!

Here is the output of 'postconf -n':

postconf: /usr/local/lib/libsasl2.so.2: no version information available
(required by postconf)
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
mydestination = localhost
myhostname = salatti.net
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps =
mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
virtual_gid_maps = static:6000
virtual_mailbox_domains =
mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = dovecot
virtual_uid_maps = static:6000

And that's the output of ' dpkg -l *sasl2*|grep ^ii':

ii cyrus-sasl2-dbg 2.1.22.dfsg1-8 Debugging symbols for
Cyrus SASL
ii libsasl2 2.1.22.dfsg1-8 Authentication
abstraction library
ii libsasl2-2 2.1.22.dfsg1-8 Authentication
abstraction library
ii libsasl2-modules 2.1.22.dfsg1-8 Pluggable
Authentication Modules for SASL
ii libsasl2-modules-sql 2.1.22.dfsg1-8 Pluggable
Authentication Modules for SASL (S
ii sasl2-bin 2.1.22.dfsg1-8 Administration
programs for SASL users datab

Daniele

--

problem with postfix and libsasl2

Hi!

Here is the output of the commands you suggested:



dpkg -S libsasl2.so.2:



libsasl2-2: /usr/lib/libsasl2.so.2

cyrus-sasl2-dbg: /usr/lib/debug/usr/lib/libsasl2.so.2.0.22

libsasl2-2: /usr/lib/libsasl2.so.2.0.22



file /usr/local/lib/libsasl2.so.2:



/usr/local/lib/libsasl2.so.2: symbolic link to `libsasl2.so.2.0.22'



stat -L /usr/local/lib/libsasl2.so.2:



  File: `/usr/local/lib/libsasl2.so.2'

  Size:
290327          Blocks:
584        IO Block:
4096   regular file

Device: 801h/2049d      Inode: 262224      Links: 1

Access: (0755/-rwxr-xr-x)  Uid: (   
0/    root)   Gid: (  
50/   staff)

Access: 2007-10-03 06:34:58.000000000 +0200

Modify: 2007-09-30 12:09:54.000000000 +0200

Change: 2007-09-30 12:09:54.000000000 +0200



file /usr/lib/libsasl2.so.2:



/usr/lib/libsasl2.so.2: symbolic link to `libsasl2.so.2.0.22'



stat -L /usr/lib/libsasl2.so.2:



  File: `/usr/lib/libsasl2.so.2'

  Size:
88828          
Blocks: 184        IO Block:
4096   regular file

Device: 801h/2049d      Inode: 246065      Links: 1

Access: (0644/-rw-r--r--)  Uid: (   
0/    root)   Gid: (   
0/    root)

Access: 2007-09-30 12:13:22.000000000 +0200

Modify: 2006-12-13 22:26:16.000000000 +0100

Change: 2006-12-27 11:07:11.000000000 +0100





Daniele







2007/10/2, Florian Kulzer <florian.kulzer+debian@icfo.es>:

On Tue, Oct 02, 2007 at 11:17:28 +0200, Daniele Salatti wrote:

[ top-posted reply shifted to proper place below ]

> 2007/10/1, Florian Kulzer:
> > On Mon, Oct 01, 2007 at 00:14:42 +0200, Daniele Salatti wrote:

> > > Hi!
> > > I'm trying to set up a mailserver on Debian etch for the first time, but
> > I
> > > have a problem: every time I restart postfix I get this message:
> > >

> > > /usr/sbin/postconf: /usr/local/lib/libsasl2.so.2: no version information
> > > available (required by /usr/sbin/postconf)
> > >
> > > Any idea on how can I fix it? I can't use SASL...

> >
> > Where does /usr/local/lib/libsasl2.so.2 come from? The libsasl2-2
> > package puts the library and this symlink into /usr/lib/. (Debian
> > packages never touch the /usr/local/... directories.) You seem to have

> > a non-Debian library installed which is broken.
>
> Hi,
> I used apt to set up everything. How could this happen?

The output of these commands would be interesting:

dpkg -S libsasl2.so.2

file /usr/local/lib/libsasl2.so.2
stat -L /usr/local/lib/libsasl2.so.2
file /usr/lib/libsasl2.so.2
stat -L /usr/lib/libsasl2.so.2

--
Regards,            |
http://users.icfo.es/Florian.Kulzer
          Florian   |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




--
Daniele Salatti
http://www.salatti.net

Syndicate content