Page 1 of 1
Emailversand funkt nicht
Posted: 2011-06-27 12:14
by Dr.Go
Guten Tach.
Auf meinem kleinen mailserver (debian,postfix,sasl,spamassassin) habe ich ein problem mit den Versand der emails. Das will einfach nicht klappen. Der Server arbeitet mit 2 domains und virtuellen usern und mailboxes. Früher, als ich noch eine domäne hatte, ging alles problemlos. Aber jetzt, mit der neuen Konfiguration kommt nur noch sowas wenn ich email senden will:
Code: Select all
Jun 27 11:42:41 toshi3244 postfix/smtpd[25033]: warning: SASL authentication failure: no secret in database
Jun 27 11:42:41 toshi3244 postfix/smtpd[25033]: warning: xxxxxxxxxx.adsl.alicedsl.de[11.22.33.44.55]: SASL CRAM-MD5 authentication failed: authentication failure
Jun 27 11:42:55 toshi3244 postfix/smtpd[25033]: disconnect from xxxxxx.adsl.alicedsl.de[11.22.33.44.55]
Jun 27 11:43:15 toshi3244 postfix/smtpd[25033]: connect from xxxxxx.adsl.alicedsl.de[11.22.33.44.55]
Jun 27 11:43:15 toshi3244 postfix/smtpd[25033]: setting up TLS connection from xxxxxx.adsl.alicedsl.de[11.22.33.44.55]
Jun 27 11:43:15 toshi3244 postfix/smtpd[25033]: Anonymous TLS connection established from xxxxxx.adsl.alicedsl.de[11.22.33.44.55]: TLSv1 with cipher AES256-SHA (256/256 bits)
Sasl smtpd.conf
Code: Select all
pwcheck_method: authdaemond
mech_list: cram-md5 digest-md5
auxprop_plugin: mysql
sql_hostnames: 127.0.0.1
sql_database: virtualmail
sql_user: mailuser
sql_passwd: ******
sql_select: select password from virtualusers where email = '%u'
Re: Emailversand funkt nicht
Posted: 2011-06-27 23:13
by rudelgurke
Klappt eine manuelle Abfrage aus der SQL Datenbank ? Existenz, Plain Passwörter usw. ?
Re: Emailversand funkt nicht
Posted: 2011-06-28 01:13
by Dr.Go
hi,ja ich kann die emails abfragen.Die pw´s und benutzernamen sind korrekt und werden akzeptiert. Nur beim Versand gibt es probleme.
Re: Emailversand funkt nicht
Posted: 2011-06-28 03:09
by rudelgurke
Und ein "postconf -n" meint ?
Re: Emailversand funkt nicht
Posted: 2011-06-29 10:10
by Dr.Go
Hi, sorry - war gestern viel unterwegs. Das habe ich hier als Antwort:
Code: Select all
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
html_directory = /usr/share/doc/postfix/html
inet_protocols = ipv4
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, localhost, 127.0.0.1
mydomain = domäne.de
myhostname = servername2.domäne.de
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = $mydomain
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relay_domains = hash:/etc/postfix/transport,hash:/etc/postfix/relay_domains
smtp_sasl_security_options = noanonymous
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_helo_required = yes
smtpd_sasl_auth_enable = yes
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_cert_file = /etc/ssl/certs/postfix.pem
smtpd_tls_key_file = /etc/ssl/private/postfix.pem
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_recipient_restrictions = reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, permit_sasl_authenticated, permit_mynetworks, reject_rbl_client zen.spamhaus.org, reject_rbl_client ix.dnsbl.maintu.net, reject_unauth_destination, permit
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
tls_random_prng_update_period = 3600s
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vuser/Maildir
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = procmail
virtual_uid_maps = static:5000
Re: Emailversand funkt nicht
Posted: 2011-07-02 15:04
by Dr.Go
Hi,
ist denn keiner mehr hier der mir helfen könnte?
Re: Emailversand funkt nicht
Posted: 2011-07-02 16:17
by Joe User
Hast Du es schon mit "mech_list: plain login" versucht?
CRAM-MD5 und DIGEST-MD5 werden in den Clients leider manchmal falsch oder gar nicht implementiert. In welcher Form liegen denn die Passwörter und Usernamen in der Datenbank?
Re: Emailversand funkt nicht
Posted: 2011-07-02 17:42
by Dr.Go
Ich habe mit "mech_list = plain login" schon leider versucht.
Die Usernamen und Passwörter liegen in Spalten "email" und "password". Die Emailadresse ist gleichzeitig der Login Name.
Re: Emailversand funkt nicht
Posted: 2011-07-02 22:35
by Joe User
So, habe nochmal kurz in meinen alten Aufzeichnungen gestöbert und diese per Google verifiziert: authdaemond kann mit CRAM-MD5 und DIGEST-MD5 nicht umgehen, daher musst Du auf PLAIN und LOGIN wechseln.
Wie lautet denn die neue Fehlermeldung?
Re: Emailversand funkt nicht
Posted: 2011-07-03 21:46
by Dr.Go
Die Fehlermeldungen haben sich nicht geändert. Aber ich habe jetzt noch bei auth.log vorbeigeschaut. Dort steht folgendes:
Code: Select all
Jul 3 21:42:03 toshi3244 saslauthd[7939]: pam_mysql - SELECT returned no result.
Jul 3 21:42:03 toshi3244 saslauthd[7939]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module
Jul 3 21:42:03 toshi3244 saslauthd[7939]: do_auth : auth failure: [user=username] [service=smtp] [realm=example.com] [mech=pam] [reason=PAM auth error]
Re: Emailversand funkt nicht
Posted: 2011-07-03 22:56
by Joe User
Wie hast Du den Mailserver genau aufgesetzt? Bitte alle Pakete und die Configs angeben. Da taucht ja mit jedem zweiten Post ein neues Mosaikstück auf.
http://www.postfix.org/SASL_README.html
Re: Emailversand funkt nicht
Posted: 2011-07-04 20:18
by rudelgurke
Hmm - Frage - wenn hier pam_mysql läuft, warum dann der Umweg über authdaemond ?
Saslauthd für SASL und dadurch die PAM Daten auslesen bzw. übergegen lassen.
Braucht es keine Konfiguration an verschiedenen Stellen und das Ganze wird von Nsswitch und PAM geregelt.
Dazu in der smtpd.con (von SASL) - saslauthd angeben und dann entsprechend PAM einrichten.
Sieht so aus als ob hier verschiedene Dienste bzw. Konfiguration regeln was an einer Stelle zentral gemacht werden könnte - und dann vielleicht übersichtlicher wird. :)
Re: Emailversand funkt nicht
Posted: 2011-07-05 11:34
by Dr.Go
Na, normales SASL klappt auch nciht.
@ JoeUser
Was willst du genau von mir wissen? Ich habe nach der anleitung gearbeitet
http://www.howtoforge.de/howto/virtuell ... ntu-710/1/
Da sind schon mal die pakete:
Code: Select all
dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=======================================-=======================================-==============================================================================================
ii acpi 1.5-2 displays information on ACPI devices
ii acpi-support-base 0.137-5 scripts for handling base ACPI events such as the power button
ii acpid 1:2.0.7-1 Advanced Configuration and Power Interface event daemon
ii adduser 3.112+nmu2 add and remove users and groups
ii apache2 2.2.16-6+squeeze1 Apache HTTP Server metapackage
ii apache2-mpm-prefork 2.2.16-6+squeeze1 Apache HTTP Server - traditional non-threaded model
ii apache2-utils 2.2.16-6+squeeze1 utility programs for webservers
ii apache2.2-bin 2.2.16-6+squeeze1 Apache HTTP Server common binary files
ii apache2.2-common 2.2.16-6+squeeze1 Apache HTTP Server common files
ii apt 0.8.10.3 Advanced front-end for dpkg
ii apt-show-versions 0.16 lists available package versions with distribution
ii apt-spy 3.1-19 writes a sources.list file based on bandwidth tests
ii apt-utils 0.8.10.3 APT utility programs
ii aptitude 0.6.3-3.2 terminal-based package manager (terminal interface only)
ii base-files 6.0squeeze1 Debian base system miscellaneous files
ii base-passwd 3.5.22 Debian base system master password and group files
ii bash 4.1-3 The GNU Bourne Again SHell
rc bind9 1:9.7.3.dfsg-1~squeeze2 Internet Domain Name Server
ii binutils 2.20.1-16 The GNU assembler, linker and binary utilities
ii bld 0.3.4.1-4 Black List Daemon, automatically build blacklists
ii bld-postfix 0.3.4.1-4 Postfix tools for the Black List Daemon
ii bsdmainutils 8.0.13 collection of more utilities from FreeBSD
ii bsdutils 1:2.17.2-9 Basic utilities from 4.4BSD-Lite
ii busybox 1:1.17.1-8 Tiny utilities for small and embedded systems
ii ca-certificates 20090814+nmu2 Common CA certificates
ii console-setup 1.68+squeeze2 console font and keymap setup program
ii console-terminus 4.30-2 Fixed-width fonts for fast reading on the Linux console
ii coreutils 8.5-1 GNU core utilities
ii courier-authdaemon 0.63.0-3 Courier authentication daemon
ii courier-authlib 0.63.0-3 Courier authentication library
ii courier-authlib-mysql 0.63.0-3 MySQL support for the Courier authentication library
ii courier-authlib-userdb 0.63.0-3 userdb support for the Courier authentication library
ii courier-base 0.65.0-3 Courier mail server - base system
ii courier-imap 4.8.0-3 Courier mail server - IMAP server
ii courier-imap-ssl 4.8.0-3 Courier mail server - IMAP over SSL
rc courier-maildrop 0.65.0-3 Courier mail server - mail delivery agent
ii courier-pop 0.65.0-3 Courier mail server - POP3 server
ii courier-pop-ssl 0.65.0-3 Courier mail server - POP3 over SSL
ii courier-ssl 0.65.0-3 Courier mail server - SSL/TLS Support
ii cpio 2.11-4 GNU cpio -- a program to manage archives of files
ii cpp 4:4.4.5-1 The GNU C preprocessor (cpp)
ii cpp-4.4 4.4.5-8 The GNU C preprocessor
ii cpufrequtils 007-1 utilities to deal with the cpufreq Linux kernel feature
ii cron 3.0pl1-116 process scheduling daemon
ii dash 0.5.5.1-7.4 POSIX-compliant shell
ii db4.8-util 4.8.30-2 Berkeley v4.8 Database Utilities
ii dbconfig-common 1.8.46+squeeze.0 common framework for packaging database applications
ii debconf 1.5.36.1 Debian configuration management system
ii debconf-i18n 1.5.36.1 full internationalization support for debconf
ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian archive
ii debianutils 3.4 Miscellaneous utilities specific to Debian
ii dictionaries-common 1.5.17 Common utilities for spelling dictionary tools
ii diffutils 1:3.0-1 File comparison utilities
ii dmidecode 2.9-1.2 Dump Desktop Management Interface data
ii dmsetup 2:1.02.48-5 The Linux Kernel Device Mapper userspace library
ii dpkg 1.15.8.10 Debian package management system
ii e2fslibs 1.41.12-2 ext2/ext3/ext4 file system libraries
ii e2fsprogs 1.41.12-2 ext2/ext3/ext4 file system utilities
ii eject 2.1.5+deb1+cvs20081104-7.1 ejects CDs and operates CD-Changers under Linux
ii ethtool 1:2.6.34-3 display or change Ethernet device settings
rc exim4-base 4.72-6 support files for all Exim MTA (v4) packages
rc exim4-config 4.72-6 configuration for the Exim MTA (v4)
rc exim4-daemon-light 4.72-6 lightweight Exim MTA (v4) daemon
ii expect 5.44.1.15-4 A program that can automate interactive applications
ii file 5.04-5 Determines file type using "magic" numbers
ii findutils 4.4.2-1+b1 utilities for finding files--find, xargs
rc fontconfig-config 2.8.0-2.1 generic font configuration library - configuration
ii ftp 0.17-23 The FTP client
ii gamin 0.1.10-2+b1 File and directory monitoring system
ii gcc 4:4.4.5-1 The GNU C compiler
ii gcc-4.4 4.4.5-8 The GNU C compiler
ii gcc-4.4-base 4.4.5-8 The GNU Compiler Collection (base package)
ii gettext-base 0.18.1.1-3 GNU Internationalization utilities for the base system
ii gforge-common 5.0.2-5 collaborative development tool - shared files
rc gforge-db-postgresql 5.0.2-5 collaborative development tool - database (using PostgreSQL)
rc gforge-mta-postfix 5.0.2-5 collaborative development tool - mail tools (using Postfix)
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP replacement
ii gpgv 1.4.10-4 GNU privacy guard - signature verification tool
ii grep 2.6.3-3 GNU grep, egrep and fgrep
ii groff-base 1.20.1-10 GNU troff text-formatting system (base system components)
ii grub 0.97-64 GRand Unified Bootloader (dummy package)
ii grub-common 1.98+20100804-14 GRand Unified Bootloader, version 2 (common files)
ii grub-pc 1.98+20100804-14 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii gzip 1.3.12-9 GNU compression utilities
ii heirloom-mailx 12.4-2 feature-rich BSD mail(1)
ii hostname 3.04 utility to set/show the host name or domain name
ii iamerican 3.1.20.0-7 An American English dictionary for ispell
ii ifupdown 0.6.10 high level tools to configure network interfaces
ii info 4.13a.dfsg.1-6 Standalone GNU Info documentation browser
ii initramfs-tools 0.98.8 tools for generating an initramfs
ii initscripts 2.88dsf-13.1 scripts for initializing and shutting down the system
ii insserv 1.14.0-2 Tool to organize boot sequence using LSB init.d script dependencies
ii install-info 4.13a.dfsg.1-6 Manage installed documentation in info format
ii iproute 20100519-3 networking and traffic control tools
ii iptables 1.4.8-3 administration tools for packet filtering and NAT
ii iputils-ping 3:20100418-3 Tools to test the reachability of network hosts
ii iputils-tracepath 3:20100418-3 Tools to trace the network path to a remote host
ii isc-dhcp-client 4.1.1-P1-15+squeeze2 ISC DHCP client
ii isc-dhcp-common 4.1.1-P1-15+squeeze2 common files used by all the isc-dhcp* packages
ii ispell 3.1.20.0-7 International Ispell (an interactive spelling corrector)
ii javascript-common 7 Base support for javascript library packages
ii kbd 1.15.2-2 Linux console font and keytable utilities
ii keyboard-configuration 1.68+squeeze2 system-wide keyboard preferences
ii klibc-utils 1.5.20-1 small utilities built with klibc for early boot
ii less 436-1 pager program similar to more
ii libacl1 2.2.49-4 Access control list shared library
ii libapache2-mod-php5 5.3.6-6~dotdeb.1 server-side, HTML-embedded scripting language (Apache 2 module)
ii libapr1 1.4.2-6+squeeze2 The Apache Portable Runtime Library
ii libaprutil1 1.3.9+dfsg-5 The Apache Portable Runtime Utility Library
ii libaprutil1-dbd-sqlite3 1.3.9+dfsg-5 The Apache Portable Runtime Utility Library - SQLite3 Driver
ii libaprutil1-ldap 1.3.9+dfsg-5 The Apache Portable Runtime Utility Library - LDAP Driver
ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg
ii libattr1 1:2.4.44-2 Extended attribute shared library
ii libauthen-pam-perl 0.16-2 Perl interface to PAM library
rc libbind9-60 1:9.7.3.dfsg-1~squeeze2 BIND9 Shared Library used by BIND
ii libblkid1 2.17.2-9 block device id library
ii libboost-iostreams1.42.0 1.42.0-4 Boost.Iostreams Library
ii libbsd0 0.2.0-1 utility functions from BSD systems - shared library
ii libbz2-1.0 1.0.5-6 high-quality block-sorting file compressor library - runtime
ii libc-bin 2.11.2-10 Embedded GNU C Library: Binaries
ii libc-dev-bin 2.11.2-10 Embedded GNU C Library: Development binaries
ii libc6 2.11.2-10 Embedded GNU C Library: Shared libraries
ii libc6-dev 2.11.2-10 Embedded GNU C Library: Development Libraries and Header Files
ii libcap2 1:2.19-3 support for getting/setting POSIX.1e capabilities
ii libcdb1 0.77 shared library for constant databases (cdb)
ii libcomerr2 1.41.12-2 common error description library
ii libcpufreq0 007-1 shared library to deal with the cpufreq Linux kernel feature
ii libcurl3 7.21.0-1 Multi-protocol file transfer library (OpenSSL)
ii libcwidget3 0.5.16-3 high-level terminal interface library for C++ (runtime files)
ii libdata-optlist-perl 0.104-1 Parse and validate simple name/value option pairs
ii libdb4.7 4.7.25-9 Berkeley v4.7 Database Libraries [runtime]
ii libdb4.8 4.8.30-2 Berkeley v4.8 Database Libraries [runtime]
ii libdbd-mysql-perl 4.016-1 Perl5 database interface to the MySQL database
ii libdbd-pg-perl 2.17.1-2 Perl DBI driver for the PostgreSQL database server
ii libdbi-perl 1.612-1 Perl Database Interface (DBI)
ii libdevmapper1.02.1 2:1.02.48-5 The Linux Kernel Device Mapper userspace library
ii libdigest-hmac-perl 1.02+dfsg-1 module for creating standard message integrity checks
ii libdigest-sha1-perl 2.13-1 NIST SHA-1 message digest algorithm
rc libdns69 1:9.7.3.dfsg-1~squeeze2 DNS Shared Library used by BIND
ii libdotconf1.0 1.0.13-3 Configuration file parser library - runtime files
ii libedit2 2.11-20080614-2 BSD editline and history libraries
ii libept1 1.0.4 High-level library for managing Debian package information
ii liberror-perl 0.17-1 Perl module for error/exception handling in an OO-ish way
ii libexpat1 2.0.1-7 XML parsing C library - runtime library
rc libfam0 2.7.0-17 Client library to control the FAM daemon
ii libfont-afm-perl 1.20-1 Font::AFM - Interface to Adobe Font Metrics files
rc libfontconfig1 2.8.0-2.1 generic font configuration library - runtime
ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared library files
ii libgamin0 0.1.10-2+b1 Client library for the gamin file and directory monitoring system
ii libgcc1 1:4.4.5-8 GCC support library
ii libgcrypt11 1.4.5-2 LGPL Crypto library - runtime library
rc libgd2-xpm 2.0.36~rc1~dfsg-5 GD Graphics Library version 2
ii libgdbm3 1.8.3-9 GNU dbm database routines (runtime version)
rc libgeoip1 1.4.7~beta6+dfsg-1 A non-DNS IP-to-country resolver library
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libglib2.0-data 2.24.2-1 Common files for GLib library
ii libgmp3c2 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii libgnutls26 2.8.6-1 the GNU TLS library - runtime library
ii libgomp1 4.4.5-8 GCC OpenMP (GOMP) support library
ii libgpg-error0 1.6-1 library for common error values and messages in GnuPG components
ii libgpm2 1.20.4-3.3 General Purpose Mouse - shared library
ii libgssapi-krb5-2 1.8.3+dfsg-4 MIT Kerberos runtime libraries - krb5 GSS-API Mechanism
ii libhtml-format-perl 2.04-2 format HTML syntax trees into text, PostScript or RTF
ii libhtml-parser-perl 3.66-1 collection of modules that parse HTML text documents
ii libhtml-tagset-perl 3.20-2 Data tables pertaining to HTML
ii libhtml-template-perl 2.9-2 module for using HTML Templates with Perl
ii libhtml-tree-perl 3.23-2 Perl module to represent and create HTML syntax trees
ii libidn11 1.15-2 GNU Libidn library, implementation of IETF IDN specifications
ii libio-pty-perl 1:1.08-1 Perl module for pseudo tty IO
ii libio-socket-inet6-perl 2.65-1.1 Object interface for AF_INET6 domain sockets
ii libio-string-perl 1.08-2 Emulate IO::File interface for in-core strings
rc libisc62 1:9.7.3.dfsg-1~squeeze2 ISC Shared Library used by BIND
rc libisccc60 1:9.7.3.dfsg-1~squeeze2 Command Channel Library used by BIND
rc libisccfg62 1:9.7.3.dfsg-1~squeeze2 Config File Handling Library used by BIND
ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG runtime library (version 6.2)
ii libjs-mootools 1.2.4.0~debian1-1 compact JavaScript framework
ii libk5crypto3 1.8.3+dfsg-4 MIT Kerberos runtime libraries - Crypto Library
ii libkeyutils1 1.4-1 Linux Key Management Utilities (library)
ii libklibc 1.5.20-1 minimal libc subset for use with initramfs
ii libkrb5-3 1.8.3+dfsg-4 MIT Kerberos runtime libraries
ii libkrb5support0 1.8.3+dfsg-4 MIT Kerberos runtime libraries - Support library
ii libldap-2.4-2 2.4.23-7 OpenLDAP libraries
ii liblocale-gettext-perl 1.05-6 Using libc functions for internationalization in Perl
ii liblockfile1 1.08-4 NFS-safe locking library, includes dotlockfile program
ii libltdl7 2.2.6b-2 A system independent dlopen wrapper for GNU libtool
rc liblwres60 1:9.7.3.dfsg-1~squeeze2 Lightweight Resolver Library used by BIND
ii liblzma2 5.0.0-2 XZ-format compression library
ii libmagic1 5.04-5 File type determination library using "magic" numbers
ii libmail-sendmail-perl 0.79.16-1 Send email from a perl script
ii libmail-spf-perl 2.007-1 Perl implementation of Sender Policy Framework and Sender ID
ii libmailtools-perl 2.06-1 Manipulate email in perl programs
ii libmcrypt4 2.5.8-3.1 De-/Encryption Library
ii libmixin-linewise-perl 0.003-1 module to handle general file input/output operations
ii libmpfr4 3.0.0-2 multiple precision floating-point computation
ii libmysqlclient16 5.1.57-1~dotdeb.1 MySQL database client library
ii libncurses5 5.7+20100313-5 shared libraries for terminal handling
ii libncursesw5 5.7+20100313-5 shared libraries for terminal handling (wide character support)
ii libnet-daemon-perl 0.43-1 Perl module for building portable Perl daemons easily
ii libnet-dns-perl 0.66-2 Perform DNS queries from a Perl script
ii libnet-ip-perl 1.25-2 Perl extension for manipulating IPv4/IPv6 addresses
ii libnet-ssleay-perl 1.36-1 Perl module for Secure Sockets Layer (SSL)
ii libnetaddr-ip-perl 4.028+dfsg-1 IP address manipulation module
ii libnewt0.52 0.52.11-1 Not Erik's Windowing Toolkit - text mode windowing with slang
ii libnfnetlink0 1.0.0-1 Netfilter netlink library
ii libonig2 5.9.1-1 Oniguruma regular expressions library
ii libopts25 1:5.10-1.1 automated option processing library based on autogen
ii libpam-modules 1.1.1-6.1 Pluggable Authentication Modules for PAM
ii libpam-mysql 0.7~RC1-4+b1 PAM module allowing authentication from a MySQL server
ii libpam-runtime 1.1.1-6.1 Runtime support for the PAM library
ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules library
ii libparams-util-perl 1.00-1 Perl extension for simple stand-alone param checking functions
ii libpci3 1:3.1.7-6 Linux PCI Utilities (shared library)
ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expression Library - runtime files
ii libplrpc-perl 0.2020-2 Perl extensions for writing PlRPC servers and clients
ii libpng12-0 1.2.44-1 PNG library - runtime
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii libpq5 8.4.7-0squeeze2 PostgreSQL C client library
ii libqdbm14 1.8.77-4 QDBM Database Libraries [runtime]
ii libreadline5 5.2-7 GNU readline and history libraries, run-time libraries
ii libreadline6 6.1-3 GNU readline and history libraries, run-time libraries
ii libsasl2-2 2.1.23.dfsg1-7 Cyrus SASL - authentication abstraction library
ii libsasl2-modules 2.1.23.dfsg1-7 Cyrus SASL - pluggable authentication modules
ii libselinux1 2.0.96-1 SELinux runtime shared libraries
ii libsepol1 2.0.41-1 SELinux library for manipulating binary security policies
ii libsigc++-2.0-0c2a 2.2.4.2-1 type-safe Signal Framework for C++ - runtime
ii libslang2 2.2.2-4 The S-Lang programming library - runtime version
ii libsocket6-perl 0.23-1 Perl extensions for IPv6
ii libsort-versions-perl 1.5-4 Perl module for sorting of revision (and similar) numbers
ii libsqlite3-0 3.7.3-1 SQLite 3 shared library
ii libss2 1.41.12-2 command-line interface parsing library
ii libssh2-1 1.2.6-1 SSH2 client-side library
ii libssl0.9.8 0.9.8o-4squeeze1 SSL shared libraries
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii libsub-exporter-perl 0.982-1 sophisticated exporter for custom-built routines
ii libsub-install-perl 0.924-2 Install subroutines into packages easily
ii libsys-hostname-long-perl 1.4-2 Figure out the long (fully-qualified) hostname
ii libt1-5 5.1.2-3 Type 1 font rasterizer library - runtime
ii libtasn1-3 2.7-1 Manage ASN.1 structures (runtime)
ii libtext-autoformat-perl 1.669002-1 module for automatic text wrapping and reformatting
ii libtext-charwidth-perl 0.04-6 get display widths of characters on the terminal
ii libtext-iconv-perl 1.7-2 converts between character sets in Perl
ii libtext-reform-perl 1.20-1 Perl module for manual text wrapping and reformatting
ii libtext-wrapi18n-perl 0.06-7 internationalized substitute of Text::Wrap
ii libtimedate-perl 1.2000-1 collection of modules to manipulate date/time information
ii libudev0 164-3 libudev shared library
ii liburi-perl 1.54-2 module to manipulate and access URI strings
ii libusb-0.1-4 2:0.1.12-16 userspace USB programming library
ii libuuid-perl 0.02-4 Perl extension for using UUID interfaces as defined in e2fsprogs
ii libuuid1 2.17.2-9 Universally Unique ID library
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers library
ii libwww-perl 5.836-1 Perl HTTP/WWW client/server library
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libx11-data 2:1.3.3-4 X11 client-side library
ii libxapian22 1.2.3-2 Search engine library
ii libxau6 1:1.0.6-1 X11 authorisation library
ii libxcb1 1.6-1 X C Binding
ii libxdmcp6 1:1.0.3-2 X11 Display Manager Control Protocol library
ii libxext6 2:1.1.2-1 X11 miscellaneous extension library
ii libxml2 2.7.8.dfsg-2+squeeze1 GNOME XML library
ii libxmuu1 2:1.0.5-2 X11 miscellaneous micro-utility library
ii libxpm4 1:3.5.8-1 X11 pixmap library
ii lilo 1:22.8-10 LInux LOader - The Classic OS loader can load Linux and others
ii linux-base 2.6.32-34squeeze1 Linux image base package
ii linux-image-2.6-amd64 2.6.32+29 Linux 2.6 for 64-bit PCs (meta-package)
ii linux-image-2.6.32-5-amd64 2.6.32-34squeeze1 Linux 2.6.32 for 64-bit PCs
ii linux-libc-dev 2.6.32-34squeeze1 Linux support headers for userspace development
ii locales 2.11.2-10 Embedded GNU C Library: National Language (locale) data [support]
ii lockfile-progs 0.1.15 Programs for locking and unlocking files and mailboxes
ii login 1:4.1.4.2+svn3283-2+squeeze1 system login tools
ii logrotate 3.7.8-6 Log rotation utility
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init script functionality
ii lsb-release 3.2-23.2squeeze1 Linux Standard Base version reporting utility
ii lvm2 2.02.66-5 The Linux Logical Volume Manager
ii maildrop 2.2.0-3.1 mail delivery agent with filtering abilities
ii mailman 1:2.1.13-5 Powerful, web-based mailing list manager
ii make 3.81-8 An utility for Directing compilation.
ii man-db 2.5.7-8 on-line manual pager
ii manpages 3.27-1 Manual pages about using a GNU/Linux system
ii manpages-dev 3.27-1 Manual pages about using GNU/Linux for development
ii mawk 1.3.3-15 a pattern scanning and text processing language
ii mbr 1.1.10-2 Master Boot Record for IBM-PC compatible computers.
ii mdadm 3.1.4-1+8efb9d1 tool to administer Linux MD arrays (software RAID)
ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap', and support programs
ii module-init-tools 3.12-1 tools for managing Linux kernel modules
ii mount 2.17.2-9 Tools for mounting and manipulating filesystems
ii mysql-client-5.1 5.1.57-1~dotdeb.1 MySQL database client binaries
ii mysql-common 5.1.57-1~dotdeb.1 MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.1.57-1~dotdeb.1 MySQL database server (metapackage depending on the latest version)
ii mysql-server-5.1 5.1.57-1~dotdeb.1 MySQL database server binaries and system database setup
ii mysql-server-core-5.1 5.1.57-1~dotdeb.1 MySQL database server binaries
ii mysqmail 0.4.9-7 real-time logging system in MySQL
ii mysqmail-postfix-logger 0.4.9-7 real-time logging system in MySQL - Postfix traffic-logger
ii nano 2.2.4-1 small, friendly text editor inspired by Pico
ii ncurses-base 5.7+20100313-5 basic terminal type definitions
ii ncurses-bin 5.7+20100313-5 terminal-related programs and man pages
ii net-tools 1.60-23 The NET-3 networking toolkit
ii netbase 4.45 Basic TCP/IP networking system
ii netcat-traditional 1.10-38 TCP/IP swiss army knife
ii ntp 1:4.2.6.p2+dfsg-1+b1 Network Time Protocol daemon and utility programs
ii ntpdate 1:4.2.6.p2+dfsg-1+b1 client for setting system time from NTP servers
ii openssh-blacklist 0.4.1 list of default blacklisted OpenSSH RSA and DSA keys
ii openssh-blacklist-extra 0.4.1 list of non-default blacklisted OpenSSH RSA and DSA keys
ii openssh-client 1:5.5p1-6 secure shell (SSH) client, for secure access to remote machines
ii openssh-server 1:5.5p1-6 secure shell (SSH) server, for secure access from remote machines
ii openssl 0.9.8o-4squeeze1 Secure Socket Layer (SSL) binary and related cryptographic tools
ii p7zip 9.04~dfsg.1-1 7zr file archiver with high compression ratio
ii p7zip-full 9.04~dfsg.1-1 7z and 7za file archivers with high compression ratio
ii passwd 1:4.1.4.2+svn3283-2+squeeze1 change and administer password and group data
ii pciutils 1:3.1.7-6 Linux PCI Utilities
ii perl 5.10.1-17 Larry Wall's Practical Extraction and Report Language
ii perl-base 5.10.1-17 minimal Perl system
ii perl-modules 5.10.1-17 Core Perl modules
ii php5 5.3.6-6~dotdeb.1 server-side, HTML-embedded scripting language (metapackage)
ii php5-cli 5.3.6-6~dotdeb.1 command-line interpreter for the php5 scripting language
ii php5-common 5.3.6-6~dotdeb.1 Common files for packages built from the php5 source
ii php5-gd 5.3.6-6~dotdeb.1 GD module for php5
ii php5-mcrypt 5.3.6-6~dotdeb.1 MCrypt module for php5
ii php5-mysql 5.3.6-6~dotdeb.1 MySQL module for php5
ii php5-suhosin 5.3.6-6~dotdeb.1 suhosin module for php5
ii phpmyadmin 4:3.3.7-5 MySQL web administration tool
ii postfix 2.7.1-1+squeeze1 High-performance mail transport agent
ii postfix-cdb 2.7.1-1+squeeze1 CDB map support for Postfix
ii postfix-dev 2.7.1-1+squeeze1 Loadable modules development environment for Postfix
ii postfix-doc 2.7.1-1+squeeze1 Documentation for Postfix
ii postfix-gld 1.7-3 greylisting daemon for postfix, written in C, uses MySQL
ii postfix-mysql 2.7.1-1+squeeze1 MySQL map support for Postfix
rc postfix-policyd 1.82-2+b1 anti-spam plugin for Postfix
rc postfix-policyd-spf-python 0.8.0-2 Postfix policy server for SPF checking
rc postgresql-8.4 8.4.7-0squeeze2 object-relational SQL database, version 8.4 server
rc postgresql-client-common 113 manager for multiple PostgreSQL client versions
rc postgresql-common 113 PostgreSQL database-cluster manager
ii procmail 3.22-19 Versatile e-mail processor
ii procps 1:3.2.8-9 /proc file system utilities
rc proftpd-basic 1.3.3a-6squeeze1 Versatile, virtual-hosting FTP daemon - binaries
ii psmisc 22.11-1 utilities that use the proc file system
ii pwgen 2.06-1+b1 Automatic Password generation
ii python 2.6.6-3+squeeze6 interactive high-level object-oriented language (default version)
ii python-central 0.6.16+nmu1 register and build utility for Python packages
ii python-dns 2.3.4-4 DNS client module for Python
ii python-gdbm 2.6.6-1 GNU dbm database support for Python
ii python-minimal 2.6.6-3+squeeze6 minimal subset of the Python language (default version)
ii python-spf 2.0.5-2 sender policy framework (SPF) module for Python
ii python-support 1.0.10 automated rebuilding support for Python modules
ii python2.6 2.6.6-8+b1 An interactive high-level object-oriented language (version 2.6)
ii python2.6-minimal 2.6.6-8+b1 A minimal subset of the Python language (version 2.6)
ii pyzor 1:0.5.0-2 spam-catcher using a collaborative filtering network
ii razor 1:2.85-3 spam-catcher using a collaborative filtering network
ii re2c 0.13.5-1 tool for generating fast C-based recognizers
ii readline-common 6.1-3 GNU readline and history libraries, common files
ii rsync 3.0.7-2 fast remote file copy program (like rcp)
ii rsyslog 4.6.4-2 enhanced multi-threaded syslogd
ii sasl2-bin 2.1.23.dfsg1-7 Cyrus SASL - administration programs for SASL users database
ii sed 4.2.1-7 The GNU sed stream editor
rc sendmail-base 8.14.3-9.4 powerful, efficient, and scalable Mail Transport Agent
rc sendmail-bin 8.14.3-9.4 powerful, efficient, and scalable Mail Transport Agent
rc sendmail-cf 8.14.3-9.4 powerful, efficient, and scalable Mail Transport Agent
rc sensible-mda 8.14.3-9.4 Mail Delivery Agent wrapper
ii sensible-utils 0.0.4 Utilities for sensible alternative selection
ii sgml-base 1.26+nmu1 SGML infrastructure and SGML catalog file support
ii shared-mime-info 0.71-4 FreeDesktop.org shared MIME database and spec
ii spamassassin 3.3.1-1 Perl-based spam filter using text analysis
ii spamc 3.3.1-1 Client for SpamAssassin spam filtering daemon
ii squirrelmail 2:1.4.21-1 Webmail for nuts
ii squirrelmail-locales 1.4.18-20090526-1 Translations for the SquirrelMail Webmail package
ii squirrelmail-viewashtml 3.8-3 SquirrelMail plugin: View mails as HTML
ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL
ii sysv-rc 2.88dsf-13.1 System-V-like runlevel change mechanism
ii sysvinit 2.88dsf-13.1 System-V-like init utilities
ii sysvinit-utils 2.88dsf-13.1 System-V-like utilities
ii tar 1.23-3 GNU version of the tar archiving utility
ii tasksel 2.88 Tool for selecting tasks for installation on Debian systems
ii tasksel-data 2.88 Official tasks used for installation of Debian systems
ii tcl8.5 8.5.8-2 Tcl (the Tool Command Language) v8.5 - run-time files
ii tcpd 7.6.q-19 Wietse Venema's TCP wrapper utilities
ii telnet 0.17-36 The telnet client
ii traceroute 1:2.0.15-1 Traces the route taken by packets over an IPv4/IPv6 network
ii tzdata 2011d-0squeeze1 time zone and daylight-saving time data
ii ucf 3.0025+nmu1 Update Configuration File: preserve user changes to config files.
ii udev 164-3 /dev/ and hotplug management daemon
rc update-inetd 4.38+nmu1 inetd configuration file updater
ii usbutils 0.87-5 Linux USB utilities
ii util-linux 2.17.2-9 Miscellaneous system utilities
ii vim 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - enhanced vi editor
ii vim-common 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - Common files
ii vim-runtime 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - Runtime files
ii vim-tiny 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - enhanced vi editor - compact version
ii vsftpd 2.3.2-3 lightweight, efficient FTP server written for security
ii webmin 1.530 A web-based administration interface for Unix systems.
ii wfinnish 0.7-17.3 A small Finnish dictionary for /usr/share/dict
ii wget 1.12-2.1 retrieves files from the web
ii whiptail 0.52.11-1 Displays user-friendly dialog boxes from shell scripts
ii wwwconfig-common 0.2.1 Debian web auto configuration
ii xauth 1:1.0.4-1 X authentication utility
ii xfsprogs 3.1.4 Utilities for managing the XFS filesystem
ii xkb-data 1.8-2 X Keyboard Extension (XKB) configuration data
ii xml-core 0.13 XML infrastructure and XML catalog file support
ii xz-utils 5.0.0-2 XZ-format compression utilities
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Re: Emailversand funkt nicht
Posted: 2011-07-05 14:01
by Joe User
Von Seite 2 des HowTos bist Du, aus welchem Grund auch immer, gravierend abgewichen, daher läufts auch nicht.
Re: Emailversand funkt nicht
Posted: 2011-07-06 00:55
by Dr.Go
Das war deswegen so, weil ich eine alte konfiguration umgeändert hatte. :-o
Re: Emailversand funkt nicht
Posted: 2011-07-06 01:02
by Joe User
Wie auch immer: Wenn Du das HowTo 1:1 umsetzt, läufts auch.
Re: Emailversand funkt nicht
Posted: 2011-07-07 18:33
by Dr.Go
Das ist nicht ganz richtig. Ich hatte zunächst eigentlich alles genauso wie bei diesen tut, aber es lief nicht. Dann habe ich meine alte config wieder ausgegraben und teils angepasst. Zudem benutze ich für die zustallung porcmail.
Re: Emailversand funkt nicht
Posted: 2011-07-07 19:44
by Joe User
Definiere bitte "eigentlich" und "aber es lief nicht". Ohne exakte Fehlermeldungen, Configs und Logauszüge kann man nunmal schlecht helfen.
Mehr als Dir mitzuteilen wo Du Fehler gemacht hast (Seite 2 des HowTo) und Dir zusätzlich die SASL_README um die Ohren zu hauen, kann ich nun wirklich nicht mehr machen. Das Lesen und das Lernen musst Du schon selbst übernehmen, oder jemanden mit dem nötigen Fachwissen gegen Cash mit der Administration beauftragen.
Sorry, aber wir drehen uns im Kreis und Du lieferst einfach nicht die notwendigen Informationen, obwohl Du nun mehrfach darum gebeten wurdest. Wir helfen Dir wirklich gerne weiter, aber nur wenn Du mithilfst und Deine Hausaufgaben machst.
Re: Emailversand funkt nicht
Posted: 2011-07-07 23:00
by Dr.Go
Na, sorry. Es ist aber schon etwas länger her wo "es nicht lief" - die Fehlermeldungen von damals sind nach den ganzen Monaten obsolet und passen ohnehin nicht zu der aktuellen Konfiguration.
Außerdem wurde ich damals auch eher "hängengelassen", da war nach einer sehr kurzen Zeit bei allen beteiligten die Luft raus und keine Reaktion mehr. Und gepostet hatte ich so ziemlich alles. Daher entschuldige bitte wenn ich jetzt einfach nicht mehr so postgeil bin. Auch ich bin inzwischen ermüdet schätze ich.
/etc/postfix/master.cf
Code: Select all
smtp inet n - - - - smtpd -v
submission inet n - - - - smtpd
-o smtpd_tls_security_level=may
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
smtps inet n - - - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
-o smtp_fallback_relay=
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
procmail unix - n n - - pipe
-o flags=RO user=vuser argv=/usr/bin/procmail -t -m USER=${user} EXTENSION=${extension} /etc/postfix/procmailrc.common
/etc/postfix/mysql-virutal-alias-maps.cf
Code: Select all
user = datenbank-user
password = datenbank-passwort
hosts = 127.0.0.1
dbname = datenbank
query = SELECT destination FROM virtual_aliases WHERE source='%s'
/etc/postfix/mysql-virutal-mailbox-domains.cf
Code: Select all
user = datenbank-user
password = datenbank-passwort
hosts = 127.0.0.1
dbname = datenbank
query = SELECT 1 FROM virtual_domains WHERE name='%s'
/etc/postfix/mysql-virutal-mailbox-maps.cf
Code: Select all
user = datenbank-user
password = datenbank-passwort
hosts = 127.0.0.1
dbname = datenbank
query = SELECT 1 FROM virtual_users WHERE email='%s'
/etc/postfix/transport
Code: Select all
user1@domain1.de procmail:
user2@domain1.de procmail:
user3@domain1.de procmail:
user4@domain1.de procmail:
user1@domain2.de procmail:
user2@domain2.de procmail:
/etc/postfix/relay_domains
Code: Select all
domain1.de procmail:
domain2.de procmail:
/etc/postfix/procmailrc.common
Code: Select all
MAILDIR="$HOME/Maildir/$DOMAIN/$USER"
DEFAULT="$MAILDIR/"
VERBOSE=ON
#each user will set his own log file
LOGFILE="/home/vuser/proclog-$USER"
NL="
"
WS=" "
#SWITCHRC="$HOME/.procmail/$USER"
:0:
* ^To.*user1@domain1.de
/home/vuser/Maildir/domain1.de/user1/
:0:
* ^To.*user2@domain1.de
/home/vuser/Maildir/domain1.de/user2/
:0:
* ^To.*user3@domain1.de
/home/vuser/Maildir/domain1.de/user3/
:0:
* ^To.*user4@domain1.de
/home/vuser/Maildir/domain1.de/user4/
:0:
* ^To.*user1@domain2.de
/home/vuser/Maildir/domain2.de/user1/
:0:
* ^To.*user2@domain2.de
/home/vuser/Maildir/domain2.de/user2/
/etc/postfix/virtual_mailbox_aliases
Code: Select all
user1@domain1.de user1.nick1@domain1.de
user2@domain1.de user2.nick2@domain1.de
user3@domain1.de user3.nick3@domain1.de
user1@domain2.de user1@domain2.de
user2@domain2.de user2.nick2@domain2.de
user3@domain2.de user3.nick3@domain2.de
nick1@domain2.de user.nick1@domain2.de
postmaster@domain2.de user1@domain2.de
abuse@domain2.de user1@domain2.de
postmaster@domain1.de user1@domain1.de
abuse@domain1.de user1@domain1.de
/etc/postfix/virtual_mailbox_recipients
Code: Select all
user1@domain1.de domain1.de/user1/
user2@domain1.de domain1.de/user2/
user3@domain1.de domain1.de/user3/
user4@domain1.de domain1.de/user4/
user1@domain2.de domain2.de/user1/
user2@domain2.de domain2.de/user2/
user3@domain2.de domain2.de/user3/
nick@domain2.de domain2.de/nick/
Na, dann bin ich gespannt ob das was bringt...
Re: Emailversand funkt nicht
Posted: 2011-07-08 01:32
by Joe User
OK, ich gebe an dieser Stelle auf, da Du schlicht nicht lernen willst.
Führe das HowTo 1:1 durch und verzichte auf jegliche Abweichung vom HowTo, zumindest solange bis Du vollständig verstanden hast, was Deine eigenwilligen Abweichungen bewirken.
Sorry, aber so lernresistent wie Du war hier schon lange kein User mehr...