Deutsch| English
  #1  
Alt 02.02.2008, 20:28
Benutzerbild von planet_fox
Erfahrener Benutzer
 
Registriert seit: 10.10.2007
Ort: München
Beiträge: 1.145
Standard virtual user mit postfix und courier

Hi

Habe nun dieses Howto verwendet

Code:
http://www.howtoforge.de/howto/virtuelle-benutzer-und-domains-mit-postfix-courier-und-mysql-ubuntu-710/
Nach abschluss der config zeigt er mir folgenden Fehler

Code:
Feb  2 20:19:44 tux postfix/smtpd[11674]: fatal: proxymap service is not configured for table "unix:passwd.byname"
Feb  2 20:19:45 tux postfix/master[11136]: warning: process /usr/lib/postfix/smtpd pid 11674 exit status 1
Feb  2 20:19:45 tux postfix/master[11136]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Feb  2 20:20:45 tux postfix/proxymap[11715]: warning: request for unapproved table: "unix:passwd.byname"
Feb  2 20:20:45 tux postfix/proxymap[11715]: warning: to approve this table for proxymap access, list proxy:unix:passwd.byname in main.cf:proxy_read_maps
mail.err

Code:
Feb  2 20:31:56 tux postfix/smtpd[11872]: fatal: proxymap service is not configured for table "unix:passwd.byname"

Geändert von planet_fox (02.02.2008 um 20:34 Uhr). Grund: edit
Mit Zitat antworten
  #2  
Alt 04.02.2008, 11:15
Administrator
 
Registriert seit: 08.08.2007
Beiträge: 8.818
Standard

Poste bitte mal die main.cf Datei und master.cf datei, Kommentarzeilen kannst Du weglassen.
Mit Zitat antworten
  #3  
Alt 04.02.2008, 18:30
Benutzerbild von planet_fox
Erfahrener Benutzer
 
Registriert seit: 10.10.2007
Ort: München
Beiträge: 1.145
Standard

ok das hat sich erledigt mir fehlte

Code:
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
So ich hab momentan folgendes problem ich kann nicht zu greifen per imap oder pop3 . Des weiteren klappt die zustellung wohl noch nicht ganz.

Code:
Feb  4 18:13:54 tux postfix/qmgr[4930]: A86C135EC82: from=<root@tux.erding.lan>, size=471, nrcpt=1 (queue active)
Feb  4 18:13:54 tux postfix/smtp[8541]: fatal: bad network port in destination: [127.0.0.1]:100242
Feb  4 18:13:54 tux postfix/smtp[8542]: fatal: bad network port in destination: [127.0.0.1]:100242
Feb  4 18:13:55 tux postfix/qmgr[4930]: warning: private/amavis socket: malformed response
Feb  4 18:13:55 tux postfix/qmgr[4930]: warning: transport amavis failure -- see a previous warning/fatal/panic logfile record for the problem description
Feb  4 18:13:55 tux postfix/master[4926]: warning: process /usr/lib/postfix/smtp pid 8541 exit status 1
Feb  4 18:13:55 tux postfix/master[4926]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Feb  4 18:13:55 tux postfix/master[4926]: warning: process /usr/lib/postfix/smtp pid 8542 exit status 1
Feb  4 18:13:55 tux postfix/qmgr[4930]: warning: private/amavis socket: malformed response
Feb  4 18:13:55 tux postfix/qmgr[4930]: warning: transport amavis failure -- see a previous warning/fatal/panic logfile record for the problem description
Feb  4 18:13:55 tux postfix/error[8543]: A86C135EC82: to=<postmaster@7ox.de>, relay=none, delay=152034, delays=152033/1.1/0/0.05, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb  4 18:13:55 tux postfix/error[8544]: 7685135ECA9: to=<postmaster@7ox.de>, relay=none, delay=65634, delays=65633/1.1/0/0.05, dsn=4.3.0, status=deferred (unknown mail transport error)
Hier ist die main.cf noch

Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = mail.7ox.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = 7ox.de,tux.erding.lan, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8, 81.122.9.226
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = “The user you are trying to reach is over quota.”
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
content_filter = amavis:[127.0.0.1]:100242
receive_override_options = no_address_mappings
Mit Zitat antworten
  #4  
Alt 05.02.2008, 09:10
Administrator
 
Registriert seit: 08.08.2007
Beiträge: 8.818
Standard

Gibt es Fehler im mail.log, wenn Du amavisd neu startest?
Mit Zitat antworten
  #5  
Alt 05.02.2008, 13:50
Benutzerbild von planet_fox
Erfahrener Benutzer
 
Registriert seit: 10.10.2007
Ort: München
Beiträge: 1.145
Standard

Das sagt er mir, falls das was nützt meine Infrastruktur

DSL-->Router ----> Server

Ich verfüge über eine feste IP adresse, sprich ich brauche keinen externen server zum versenden und kann direkt versenden.

Code:
Feb  5 13:46:05 tux postfix/master[11235]: warning: process /usr/lib/postfix/smtp pid 11767 exit status 1
Feb  5 13:46:05 tux postfix/master[11235]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling
Feb  5 13:46:05 tux postfix/qmgr[11237]: warning: private/amavis socket: malformed response
Feb  5 13:46:05 tux postfix/qmgr[11237]: warning: transport amavis failure -- see a previous warning/fatal/panic logfile record for the problem description
Feb  5 13:46:05 tux postfix/master[11235]: warning: process /usr/lib/postfix/smtp pid 11766 exit status 1
Feb  5 13:46:05 tux postfix/error[11768]: 7685135ECA9: to=<postmaster@7ox.de>, relay=none, delay=135964, delays=135963/1.1/0/0.06, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb  5 13:46:05 tux postfix/error[11769]: A86C135EC82: to=<postmaster@7ox.de>, relay=none, delay=222364, delays=222363/1/0/0.08, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb  5 13:46:05 tux postfix/error[11771]: CA0F935ECAE: to=<postmaster@7ox.de>, relay=none, delay=49564, delays=49563/1.1/0/0.05, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb  5 13:47:04 tux amavis[11793]: starting.  /usr/sbin/amavisd-new at tux.erding.lan amavisd-new-2.4.2 (20060627), Unicode aware, LANG=de_DE.UTF-8
Feb  5 13:47:04 tux amavis[11793]: Perl version               5.008008
Feb  5 13:47:05 tux amavis[11799]: Module Amavis::Conf        2.068
Feb  5 13:47:05 tux amavis[11799]: Module Archive::Tar        1.31
Feb  5 13:47:05 tux amavis[11799]: Module Archive::Zip        1.18
Feb  5 13:47:05 tux amavis[11799]: Module BerkeleyDB          0.31
Feb  5 13:47:05 tux amavis[11799]: Module Compress::Zlib      2.005
Feb  5 13:47:05 tux amavis[11799]: Module Convert::TNEF       0.17
Feb  5 13:47:05 tux amavis[11799]: Module Convert::UUlib      1.06
Feb  5 13:47:05 tux amavis[11799]: Module DBD::mysql          4.004
Feb  5 13:47:05 tux amavis[11799]: Module DBI                 1.57
Feb  5 13:47:05 tux amavis[11799]: Module DB_File             1.814
Feb  5 13:47:05 tux amavis[11799]: Module Digest::MD5         2.36
Feb  5 13:47:05 tux amavis[11799]: Module MIME::Entity        5.420
Feb  5 13:47:05 tux amavis[11799]: Module MIME::Parser        5.420
Feb  5 13:47:05 tux amavis[11799]: Module MIME::Tools         5.420
Feb  5 13:47:05 tux amavis[11799]: Module Mail::Header        1.74
Feb  5 13:47:05 tux amavis[11799]: Module Mail::Internet      1.74
Feb  5 13:47:05 tux amavis[11799]: Module Mail::SpamAssassin  3.002003
Feb  5 13:47:05 tux amavis[11799]: Module Net::Cmd            2.26
Feb  5 13:47:05 tux amavis[11799]: Module Net::DNS            0.60
Feb  5 13:47:05 tux amavis[11799]: Module Net::SMTP           2.29
Feb  5 13:47:05 tux amavis[11799]: Module Net::Server         0.94
Feb  5 13:47:05 tux amavis[11799]: Module Razor2::Client::Version 2.81
Feb  5 13:47:05 tux amavis[11799]: Module Time::HiRes         1.86
Feb  5 13:47:05 tux amavis[11799]: Module Unix::Syslog        0.100
Feb  5 13:47:05 tux amavis[11799]: Amavis::DB code      loaded
Feb  5 13:47:05 tux amavis[11799]: Amavis::Cache code   loaded
Feb  5 13:47:05 tux amavis[11799]: SQL base code        NOT loaded
Feb  5 13:47:05 tux amavis[11799]: SQL::Log code        NOT loaded
Feb  5 13:47:05 tux amavis[11799]: SQL::Quarantine      NOT loaded
Feb  5 13:47:05 tux amavis[11799]: Lookup::SQL code     NOT loaded
Feb  5 13:47:05 tux amavis[11799]: Lookup::LDAP code    NOT loaded
Feb  5 13:47:05 tux amavis[11799]: AM.PDP-in proto code loaded
Feb  5 13:47:05 tux amavis[11799]: SMTP-in proto code   loaded
Feb  5 13:47:05 tux amavis[11799]: Courier proto code   NOT loaded
Feb  5 13:47:05 tux amavis[11799]: SMTP-out proto code  loaded
Feb  5 13:47:05 tux amavis[11799]: Pipe-out proto code  NOT loaded
Feb  5 13:47:05 tux amavis[11799]: BSMTP-out proto code NOT loaded
Feb  5 13:47:05 tux amavis[11799]: Local-out proto code loaded
Feb  5 13:47:05 tux amavis[11799]: OS_Fingerprint code  NOT loaded
Feb  5 13:47:05 tux amavis[11799]: ANTI-VIRUS code      loaded
Feb  5 13:47:05 tux amavis[11799]: ANTI-SPAM code       loaded
Feb  5 13:47:05 tux amavis[11799]: ANTI-SPAM-SA code    loaded
Feb  5 13:47:05 tux amavis[11799]: Unpackers code       loaded
Feb  5 13:47:05 tux amavis[11799]: Found $file            at /usr/bin/file
Feb  5 13:47:05 tux amavis[11799]: No $dspam,             not using it
Feb  5 13:47:05 tux amavis[11799]: Internal decoder for .mail
Feb  5 13:47:05 tux amavis[11799]: Internal decoder for .asc
Feb  5 13:47:05 tux amavis[11799]: Internal decoder for .uue
Feb  5 13:47:05 tux amavis[11799]: Internal decoder for .hqx
Feb  5 13:47:05 tux amavis[11799]: Internal decoder for .ync
Feb  5 13:47:05 tux amavis[11799]: No decoder for       .F    tried: unfreeze, freeze -d, melt, fcat
Feb  5 13:47:05 tux amavis[11799]: Found decoder for    .Z    at /bin/uncompress
Feb  5 13:47:05 tux amavis[11799]: Internal decoder for .gz
Feb  5 13:47:05 tux amavis[11799]: Found decoder for    .bz2  at /bin/bzip2 -d
Feb  5 13:47:05 tux amavis[11799]: Found decoder for    .lzo  at /usr/bin/lzop -d
Feb  5 13:47:05 tux amavis[11799]: No decoder for       .rpm  tried: rpm2cpio.pl, rpm2cpio
Feb  5 13:47:05 tux amavis[11799]: Found decoder for    .cpio at /usr/bin/pax
Feb  5 13:47:05 tux amavis[11799]: Found decoder for    .tar  at /usr/bin/pax
Feb  5 13:47:05 tux amavis[11799]: Found decoder for    .deb  at /usr/bin/ar
Feb  5 13:47:05 tux amavis[11799]: Internal decoder for .zip
Feb  5 13:47:05 tux amavis[11799]: No decoder for       .rar  tried: rar, unrar
Feb  5 13:47:05 tux amavis[11799]: No decoder for       .arj  tried: arj, unarj
Feb  5 13:47:05 tux amavis[11799]: Found decoder for    .arc  at /usr/bin/nomarch
Feb  5 13:47:05 tux amavis[11799]: Found decoder for    .zoo  at /usr/bin/zoo
Feb  5 13:47:05 tux amavis[11799]: No decoder for       .lha  tried: lha
Feb  5 13:47:05 tux amavis[11799]: No decoder for       .doc  tried: ripole
Feb  5 13:47:05 tux amavis[11799]: No decoder for       .cab  tried: cabextract
Feb  5 13:47:05 tux amavis[11799]: No decoder for       .tnef
Feb  5 13:47:05 tux amavis[11799]: Internal decoder for .tnef
Feb  5 13:47:05 tux amavis[11799]: No decoder for       .exe  tried: rar, unrar; lha; arj, unarj
Feb  5 13:47:05 tux amavis[11799]: Using internal av scanner code for (primary) ClamAV-clamd
Feb  5 13:47:05 tux amavis[11799]: Using internal av scanner code for (primary) check-jpeg
Feb  5 13:47:05 tux amavis[11799]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Feb  5 13:47:05 tux amavis[11799]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.31, libdb 4.4
Mit Zitat antworten
  #6  
Alt 05.02.2008, 14:33
Benutzerbild von planet_fox
Erfahrener Benutzer
 
Registriert seit: 10.10.2007
Ort: München
Beiträge: 1.145
Standard

Wenn ich mit squirrelmail connecte kommt das

Code:
ERROR: Connection dropped by IMAP server.
Im Log steh dann folgendes

Code:
root@tux:/usr/local# tail  -n 10 /var/log/mail.log
Feb  5 14:06:48 tux postfix/smtpd[13518]: disconnect from localhost[127.0.0.1]
Feb  5 14:24:31 tux imapd: Connection, ip=[::ffff:127.0.0.1]
Feb  5 14:24:31 tux imapd: LOGIN FAILED, user=fox, ip=[::ffff:127.0.0.1]
Feb  5 14:24:36 tux imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=39, sent=332
Feb  5 14:24:47 tux imapd: Connection, ip=[::ffff:127.0.0.1]
Feb  5 14:24:47 tux imapd: chdir 7ox.de/fox/: No such file or directory
Feb  5 14:25:11 tux imapd: Connection, ip=[::ffff:127.0.0.1]
Feb  5 14:25:11 tux imapd: chdir tux.erding.lan/fox/: No such file or directory
Feb  5 14:27:57 tux imapd: Connection, ip=[::ffff:127.0.0.1]
Feb  5 14:27:57 tux imapd: chdir 7ox.de/fox/: No such file or directory
Mit Zitat antworten
  #7  
Alt 05.02.2008, 19:27
Administrator
 
Registriert seit: 08.08.2007
Beiträge: 8.818
Standard

Du musst erst eine Email an den Account senden, damit das Maildir angelegt wird. Vorher kannst Du Dich nicht mit Imap verbinden.

Der amavisd Output sieht soweit gut aus.
Mit Zitat antworten
  #8  
Alt 06.02.2008, 00:00
Benutzerbild von planet_fox
Erfahrener Benutzer
 
Registriert seit: 10.10.2007
Ort: München
Beiträge: 1.145
Standard

Schon passiert, wenn ich mailq abfrage mache sagt er mir folgendes

Code:
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
7685135ECA9      471 Mon Feb  4 00:00:01  root@tux.erding.lan
                                                (unknown mail transport error)
                                         postmaster@7ox.de

CA0F935ECAE      471 Tue Feb  5 00:00:01  root@tux.erding.lan
                                                (unknown mail transport error)
                                         postmaster@7ox.de

A86C135EC82      471 Sun Feb  3 00:00:01  root@tux.erding.lan
                                                (unknown mail transport error)
                                         postmaster@7ox.de
Er müsste doch in /home/vmail die Verzeichnisse anlegen oder ? dort ist jedenfalls alles leer

Er müsste doch in /home/vmail die Verzeichnisse anlegen oder ? dort ist jedenfalls alles leer.

Ich hab hier mal paar screenshouts gemacht von den Tabellen, ob vielleicht ein fehler ist. Tabelle Transport muss ja für den empfang nicht gefüllt sein.

Screenshouts sind hier zu finden

http://www[dot]planetfox[dot]de/gallery2/main.php?g2_itemId=455

Geändert von planet_fox (06.02.2008 um 00:36 Uhr). Grund: edit
Mit Zitat antworten
  #9  
Alt 06.02.2008, 01:20
Benutzerbild von planet_fox
Erfahrener Benutzer
 
Registriert seit: 10.10.2007
Ort: München
Beiträge: 1.145
Standard

mail.info sagt folgendes

Code:
Feb  6 00:38:04 tux postfix/smtp[21261]: fatal: bad network port in destination: [127.0.0.1]:100242
Feb  6 00:38:05 tux postfix/qmgr[13480]: warning: private/amavis socket: malformed response
Feb  6 00:38:05 tux postfix/qmgr[13480]: warning: transport amavis failure -- see a previous warning/fat       al/panic logfile record for the problem description
Feb  6 00:38:05 tux postfix/master[13476]: warning: process /usr/lib/postfix/smtp pid 21260 exit status        1
Feb  6 00:38:05 tux postfix/master[13476]: warning: /usr/lib/postfix/smtp: bad command startup -- thrott       ling
Feb  6 00:38:05 tux postfix/qmgr[13480]: warning: private/amavis socket: malformed response
Feb  6 00:38:05 tux postfix/qmgr[13480]: warning: transport amavis failure -- see a previous warning/fat       al/panic logfile record for the problem description
Feb  6 00:38:05 tux postfix/master[13476]: warning: process /usr/lib/postfix/smtp pid 21261 exit status        1
Feb  6 00:38:05 tux postfix/error[21262]: A86C135EC82: to=<postmaster@7ox.de>, relay=none, delay=261484,        delays=261483/1/0/0.1, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb  6 00:38:05 tux postfix/error[21264]: 8025035EC53: to=<postmaster@7ox.de>, relay=none, delay=2284, d       elays=2283/1/0/0.1, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb  6 00:38:05 tux postfix/error[21267]: 7685135ECA9: to=<postmaster@7ox.de>, relay=none, delay=175085,        delays=175083/1.1/0/0.07, dsn=4.3.0, status=deferred (unknown mail transport error)
Feb  6 00:38:05 tux postfix/error[21265]: CA0F935ECAE: to=<postmaster@7ox.de>, relay=none, delay=88684,        delays=88683/1.1/0/0.07, dsn=4.3.0, status=deferred (unknown mail transport error)
Mit Zitat antworten
  #10  
Alt 06.02.2008, 08:54
Administrator
 
Registriert seit: 08.08.2007
Beiträge: 8.818
Standard

Die Datenbankeinträge sehen soweit ok aus, ich gehe davon aus, dass Du ein Passwort eingetragen hast.

Poste bitte mal die postfix master.cf Datei.
Mit Zitat antworten
Antwort


Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an



Alle Zeitangaben in WEZ +2. Es ist jetzt 05:13 Uhr.


Powered by vBulletin® Version 3.8.1 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0