[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

please help: upgrade from woody to sarge; postfix broken



I hope someone can help me.. Im desperate..

Recently I changed my /etc/apt/sources.list to upgrade from woody to sarge.
All in all it went reasonably well. This is my current sources.list:

SOURCES.LIST
-----
deb ftp://ftp.debian.nl/debian/ sarge main non-free contrib
deb-src ftp://ftp.debian.nl/debian/ sarge main non-free contrib
deb http://non-us.debian.org/debian-non-US sarge/non-US main contrib
non-free
deb-src http://non-us.debian.org/debian-non-US sarge/non-US main contrib
non-free

#php5 etc..
deb http://packages.dotdeb.org ./
-----

Before the upgrade I used the backports.org version of postfix. It was the
same version as in sarge. I didn't change any config files and this is what
postfix puts in mail.log after I start it:

ERROR
-----
Nov 17 22:36:55 server01 postfix/master[15177]: fatal: getaddrinfo: Servname
not supported for ai_socktype
-----

Probably some problem with libresolv? Anyway.. I simply upgraded and
libresolv is now nicely at version 2.3.2 (/lib/libresolv*). Also master
nicely is linked to it:

-----
server01:/usr/lib/postfix# ldd /usr/lib/postfix/master
                libpostfix-global.so.1 => /usr/lib/libpostfix-global.so.1
(0x40020000)
        libpostfix-util.so.1 => /usr/lib/libpostfix-util.so.1 (0x40043000)
        libdb-4.2.so => /usr/lib/libdb-4.2.so (0x40068000)
        libnsl.so.1 => /lib/tls/libnsl.so.1 (0x4013e000)
        libresolv.so.2 => /lib/tls/libresolv.so.2 (0x40153000)
        libgdbm_compat.so.3 => /usr/lib/libgdbm_compat.so.3 (0x40165000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40168000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0x402a3000)
        libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x402a7000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
-----

This is my postconf -n output:

-----
server01:/usr/lib/postfix# postconf -n
alias_database = hash:/etc/aliases
alias_maps = pgsql:/etc/postfix/pgsql-aliases.cf
append_dot_mydomain = yes
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:127.0.0.1:10024
daemon_directory = /usr/lib/postfix
default_destination_recipient_limit = 100
delay_warning_time = 4
disable_vrfy_command = yes
header_checks = pcre:/etc/postfix/headercheck
home_mailbox = Maildir/
in_flow_delay = 5s
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
message_size_limit = 20480000
mydestination = $myhostname, $transport_maps, localhost.infogateway.org,
localhost
mydomain = infogateway.org
myhostname = server01.infogateway.org
mynetworks = 127.0.0.0/8, 192.168.0.0/16,       212.45.53.2/32,
212.142.6.228/32,       213.233.209.62/32,      217.128.103.29/32,
213.92.131.53/32,    62.73.241.146/32,        64.23.55.49/32
myorigin = $mydomain
notify_classes = resource,software,2bounce
recipient_delimiter = +
relocated_maps = pgsql:/etc/postfix/pgsql-relocated.cf
setgid_group = postdrop
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP (Debian/GNU). We intend to block/report all
spam!
smtpd_client_restrictions =
smtpd_data_restrictions =
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,   reject_non_fqdn_sender,   reject_non_fqdn_recipient,
reject_unknown_sender_domain,   reject_unknown_recipient_domain,
reject_unauth_pipelining,   reject_unauth_destination,
check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
check_sender_access pcre:/etc/postfix/sender_checks.pcre,
check_client_access pcre:/etc/postfix/client_checks.pcre,
reject_rbl_client relays.ordb.org,   reject_rbl_client list.dsbl.org,
reject_rbl_client sbl.spamhaus.org,   reject_rbl_client xbl.spamhaus.org,
reject_rbl_client bl.spamcop.net,   reject_rbl_client cbl.abuseat.org,
reject_rbl_client dnsbl.njabl.org,   permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions =
smtpd_tls_CAfile = /etc/postfix/cacert-comodo.pem
smtpd_tls_CApath = /etc/postfix/certs/
smtpd_tls_ask_ccert = no
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/smtp_infogateway_org.crt
smtpd_tls_key_file = /etc/postfix/smtp_infogateway_org.key
smtpd_tls_loglevel = 0
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = sdbm:/etc/postfix/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
tls_random_source = dev:/dev/urandom
transport_maps = pgsql:/etc/postfix/pgsql-transport.cf
unknown_address_reject_code = 554
unknown_client_reject_code = 550
unknown_hostname_reject_code = 554
virtual_gid_maps = pgsql:/etc/postfix/pgsql-virtual-gid.cf
virtual_mailbox_base = /rdfs/postfix-vmail
virtual_mailbox_maps = pgsql:/etc/postfix/pgsql-virtual-maps.cf
virtual_uid_maps = pgsql:/etc/postfix/pgsql-virtual-uid.cf
-----

And again: I hope someone can help me.. Im desperate..

Jacco



Reply to: