Mails werden von mailbox nicht nach INBOX geleitet [Confixx][Postfix]

Bl4ckDuck

Registered User
Guten Abend zusammen,

ich habe dieses Thread:
gerade aufmerksam gelesen und bin leider nicht ganz schlau draus geworden.

Folgenes, ich betreibe einen Debian Lenny vServer mit Confixx 3.3.5. Mein Problem ist, dass keine Mails in meinem Mail Programm (Outlook) oder gar im WebMail ankommen. Das versenden von Mails via SSH oder auch Webmail funktioniert hingegen einwandfrei. Standartmäßig war Procmail mit installiert, den Befehl dafür habe ich jedoch auskommentiert. Das ist mein erster Fortschritt gewesen, denn von nun an landen Mails in der mailbox des jeweiligen Users. Nur werden dieser in der INBOX vom Webmail nicht angezeigt und sind auch nicht via Outlook abrufbar.

mail.log

Code:
Jul 31 18:19:40 vadmin1964 postfix/smtpd[4656]: connect from mail-wy0-f172.google.com[74.125.82.172]
Jul 31 18:19:40 vadmin1964 postgrey[1542]: action=pass, reason=triplet found, client_name=mail-wy0-f172.google.com, client_address=74.125.82.172, sender=xxx@googlemail.com, recipient=admin@xblog360.eu
Jul 31 18:19:40 vadmin1964 postfix/smtpd[4656]: 41B812CB0: client=mail-wy0-f172.google.com[74.125.82.172]
Jul 31 18:19:40 vadmin1964 postfix/cleanup[4661]: 41B812CB0: message-id=<4c544d1b.8113e30a.3da1.ffff867f@mx.google.com>
Jul 31 18:19:40 vadmin1964 postfix/qmgr[4651]: 41B812CB0: from=<xxx@googlemail.com>, size=4152, nrcpt=1 (queue active)
Jul 31 18:19:40 vadmin1964 postfix/smtpd[4664]: connect from localhost[127.0.0.1]
Jul 31 18:19:40 vadmin1964 postfix/smtpd[4664]: 796212CB6: client=localhost[127.0.0.1]
Jul 31 18:19:40 vadmin1964 postfix/cleanup[4661]: 796212CB6: message-id=<4c544d1b.8113e30a.3da1.ffff867f@mx.google.com>
Jul 31 18:19:40 vadmin1964 postfix/qmgr[4651]: 796212CB6: from=<xxx@googlemail.com>, size=4541, nrcpt=1 (queue active)
Jul 31 18:19:40 vadmin1964 postfix/smtpd[4664]: disconnect from localhost[127.0.0.1]
Jul 31 18:19:40 vadmin1964 amavis[1425]: (01425-04) Passed CLEAN, [74.125.82.172] [91.59.142.77] <xxx@googlemail.com> -> <admin@xxx60.eu>, Message-ID: <4c544d1b.8113e30a.3da1.ffff867f@mx.google.com>, mail_id: zGGmv499OIf0, Hits: -, size: 4152, queued_as: 796212CB6, 200 ms
Jul 31 18:19:40 vadmin1964 postfix/smtp[4662]: 41B812CB0: to=<admin@xxx60.eu>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.33, delays=0.12/0/0.03/0.18, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01425-04, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 796212CB6)
Jul 31 18:19:40 vadmin1964 postfix/qmgr[4651]: 41B812CB0: removed
Jul 31 18:19:40 vadmin1964 postfix/local[4665]: 796212CB6: to=<web2p1@ikz-webhosting.eu>, orig_to=<admin@xxx60.eu>, relay=local, delay=0.17, delays=0.06/0.02/0/0.09, dsn=2.0.0, status=sent (delivered to mailbox)
Jul 31 18:19:40 vadmin1964 postfix/qmgr[4651]: 796212CB6: removed

meine main.cf von postfix:

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 (Debian/GNU)
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

readme_directory = no

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_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 = ikz-webhosting.eu
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost, localhost.localdomain, $myhostname
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
#mailbox_command = /usr/bin/procmail
mailbox_command =
#mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service inet:127.0.0.1:60000

### Virenscanner ###

content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings

### PARALLELS CONFIXX POSTFIX ENTRY ###

virtual_maps = hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains

### /PARALLELS CONFIXX POSTFIX ENTRY ###

ja und in /var/mail/web2p1 befindet sich halt richtigerweise die Mail. Ich habe alles mehrmals durchgelesen, wahrscheinlich hab ich etwas übersehen. Ich hoffe ihr könnt mir bei der Lösung des Problems helfen :)

Beste Grüße & Danke schon mal im vorraus,

Bl4ckDuck
 
Last edited by a moderator:
Normalerweise sortiert procmail die Emails in die Postfächer.

Was steht denn in der Konfig von procmail?

Welcher POP3- bzw. IMAP-Server läuft?
 
Hey,

Procmail habe ich ja auskommentiert, hier hast du aber trotzdem die Config:

procmailrc

Code:
LOGABSTRACT=all
LOGFILE=/var/log/procmail.log
MAILDIR=$HOME/Maildir/
DEFAULT=$HOME/Maildir/

# SpamAssassin sample procmailrc
# ==============================

# The following line is only used if you use a system-wide /etc/procmailrc.
# See procmailrc(5) for infos on what it exactly does, the short version:
#  * It ensures that the correct user is passed to spamd if spamc is used
#  * The folders the mail is filed to later on is owned by the user, not
#    root.
DROPPRIVS=yes

# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
#
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
#
# The lock file ensures that only 1 spamassassin invocation happens
# at 1 time, to keep the load down.
#
:0fw: spamassassin.lock
* < 256000
| spamassassin

# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
almost-certainly-spam

# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
:0:
* ^X-Spam-Status: Yes
probably-spam

# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped.  This will re-add it.
# NOTE: This is probably NOT needed in recent versions of procmail
:0
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "
  
  :0 fhw
  | sed -e '1s/^/F/'
}

Welcher Server läuft.. Gute Frage, also soweit ich weiß bzw. aus den Logs entnehmen kann Postfix? Oder. Bin noch recht neu auf dem Mail gebiet, deshalb entschuldige bitte die Frage.

Grüße,
Bl4ckDuck
 
mailbox_command = procmail -a "$EXTENSION"
#mailbox_command = /usr/bin/procmail
mailbox_command =

magst Du Dich für eines entscheiden?
Entweder ja zu procmail oder nein oder gar nichts?


Aber mit Deinem Problem hat das erstmal nichts zu tun.
Welche POP3 / IMAP Dämon betrteibst Du und wie sieht dessen Konfiguration aus?
Und last but not least, master.conf.
 
Last edited by a moderator:
Welcher POP 3 Deamon, ehrlich gesagt weiß ich es nicht :/

Hier meine master.cf

Code:
#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd
#submission inet n       -       -       -       -       smtpd
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps     inet  n       -       -       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
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
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
	-o smtp_fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
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

amavis unix - - n - 2 smtp
    -o smtp_data_done_timeout=1200
    -o disable_dns_lookups=yes

127.0.0.1:10025 inet n - n - - smtpd
    -o content_filter=
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o smtpd_restriction_classes=
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o mynetworks=127.0.0.0/8
    -o strict_rfc821_envelopes=yes
    -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
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}

Danke für deine Hilfe :)
 
Back
Top