Probleme mit Postfix & Confixx

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
dts
Posts: 290
Joined: 2004-02-05 20:40

Probleme mit Postfix & Confixx

Post by dts » 2005-01-19 21:12

Hallo

Ich quäle mich schon seit Tagen durch verschiedene Howto's aus diesem und anderen Foren, aber es will einfach nicht klappen, dass Emailadressen funktionieren, die ich per Confixx 3.0.5 anlege:

Die Fehlermeldung in /var/log/mail.log sieht folgend aus:

Code: Select all

Jan 19 17:00:59 eco3027 postfix/smtpd[28954]: NOQUEUE: reject: RCPT from host177-135.pool80105.interbusiness.it[80.105.135.177]: 550 <info@eine-email-adresse.at>: Recipient address rejected: User unknown in virtual alias table; from=<ligouri@24.com> to=<info@eine-email-adresse.at> proto=SMTP helo=<host177-135.pool80105.interbusiness.it>
Etwas mehr zu meiner Konfiguration:

Ich habe "Dovcot" als POP3/IMAP-Mailserver installiert und für Postfix aus diversen Howtos ein "Smtp-Auth" über SASL zusammen geflickt:

Demnach sehen meine Konfigurationsdateien so aus:

/etc/postfix/main.cf:

Code: Select all

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

smtpd_banner = $myhostname ESMTP
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 = 2h

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = echo3027.netclusive.de, localhost
myhostname = eco3027netclusive.de
mynetworks = 127.0.0.0/8
mailbox_command = /usr/bin/procmail
mailbox_size_limit = 0
recipient_delimiter = +
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
disable_vrfy_command = yes
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_helo_restrictions = permit_mynetworks, permit

#Virenscanner

content_filter = amavis:

# confixx postfix entry

virtual_maps = hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
/etc/postfix/master.cf

Code: Select all

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       -       300     1       qmgr
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
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil

#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/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 -d -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}

# only used by postfix-tls
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
#smtps    inet  n       -       n       -       -       smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587      inet  n       -       n       -       -       smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes

# Amavis #

localhost:10025 inet n  -       n       -       -       smtpd -o content_filter=

amavis     unix  -       n       n       -       4       pipe user=amavis argv=/usr/sbin/amavisd $sender  $recipient



#amavis           unix  -       n       n       -       -       pipe    user=amavis argv=/usr/sbin/amavis ${sender} ${recipie
#localhost:10025 inet n - n - 10 smtpd -o content_filter=
Ehrlich gesagt, stehe ich total an, was ich ev. falsch gemacht habe? Möglicherweise liegt es daran, dass ich etwas krank bin? Na, aber es muss eben sein und es wäre echt total super, wenn ihr mir helfen könnt!

Liebe Grüsse
Jürgen[/quote]

antondollmaier
Posts: 485
Joined: 2004-03-30 10:06

Re: Probleme mit Postfix & Confixx

Post by antondollmaier » 2005-01-19 21:17

Code: Select all

virtual_maps = hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
das is ok, passt ...


aber:

check mal diese dateien ... ob da auch das richtige drinnen steht, besonders confixx_virtualUsers ... da is die zuweisung email-addy => postfach drinnen ...


wenns ned geht:

counterscript mit "-fa -dbg" laufen lassen ... und da dann output checken ...

außerdem die MTA-einstellungen in der confixx_main.conf ... ob da auch wirklich obige dateien angegeben sind ...

viel erfolg!

mfg,
Anton

dts
Posts: 290
Joined: 2004-02-05 20:40

Re: Probleme mit Postfix & Confixx

Post by dts » 2005-01-19 21:29

Code: Select all

./confixx_updatescript.pl -fa -dbg

Code: Select all

3.0.5 - 20041116.12 - mysqlonly
SUB: main::check_essentials
SUB: main::check_essentials2
SUB: main::check_essentials3
SUB: main::check_essentials4
SUB: main::check_essentials5
Valid until: Thu Dec 29 18:16:35 2005
Version: 3pro
SUB: main::set_uids
SUB: main::check_if_update
SUB: main::frontpagedel
SUB: main::fpaliasdel
SUB: main::delftps
SUB: main::delusers
SUB: main::delpops
SUB: main::updatesystem2
SUB: main::addusers
SUB: main::addScponlyRoot
SUB: main::addpops
SUB: main::addftps
SUB: main::changeQuota
SUB: main::changeUserQuota
SUB: main::changeMailQuota
SUB: main::htaccess
SUB: main::lokaleips
SUB: main::GetLocalIPs
SUB: main::domainLog
SUB: main::backup
SUB: main::restore
SUB: main::httpdconf2
SUB: main::checkLogFileDir (web0)
SUB: main::checkLogFileDir (web1)
SUB: main::checkLogFileDir (web2)
SUB: main::checkLogFileDir (web3)
SUB: main::reloadDaemon (apache)
SUB: main::emailaliases
SUB: main::delaliases
version: 3.0
SUB: main::CreateVirtDomainsFile
SUB: main::CreateVirtUserTable
SUB: main::CleanMailLists
SUB: main::CreateMailLists
SUB: main::GetDiskUsagePerUser
SUB: main::httpdtraffikupdate
SUB: main::createWebalizerConf (web0)
SUB: main::createWebalizerConf (web1)
SUB: main::createWebalizerConf (web2)
SUB: main::createWebalizerConf (web3)
SUB: main::cleanTransfer
SUB: main::ftptraffikupdate
SUB: main::cleanTransfer
SUB: main::aendereWebalizer
SUB: main::aenderePerl
SUB: main::installStdCgis
SUB: main::frontpagepw
SUB: main::frontpageemail
SUB: main::newpws
SUB: main::update_cronjobs
SUB: main::update_spamfilter
SUB: main::clearEreignisse
Eigentlich nichts auffälliges, finde ich? :?

Hier der Inhalt von /etc/postfix/confixx_virtualUsers:

Code: Select all

office@erstedomain.com web1p1
@zweitedomain.com web3p1
@drittedomain.com web3p1
@viertedomain.com web2p1
Hier der Inhalt von /etc/postfix/confixx_localDomains:

Code: Select all

erstedomain.com confixx
zweitedomain.com confixx
drittedomain.com confixx
viertedomain.com confixx
Hier noch der ganze Kram aus der "confixx_main.conf":

Code: Select all

## email

# used mta ( sendmail | postfix | qmail )
$mta = 'postfix';

# location of mailspool directory
$mailSpool = '/var/spool/mail';

# type of maildrop ( /var/spool/mail/USER | HOMEDIR/Mailbox | HOMEDIR/Maildir/ )
$maildrop = '';

# name of Mailbox file
$mailBoxName = '';

# location of email virtusertable file
$virtUserTableDB = '/etc/postfix/confixx_virtualUsers';

# location of email local domains file
$localDomainsFile = '/etc/postfix/confixx_localDomains';

# location of makemap binary (sendmail only)
$bin_makemap = '';

# location of postmap binary (postfix only)
$bin_postmap = '/usr/sbin/postmap';

# location of postfix binary (postfix only)
$bin_postfix = '/usr/sbin/postfix';

# location of newaliases binary (sendmail & postfix)
$bin_newaliases = '/usr/bin/newaliases';

# location of mta main config file
$MailConfigFile = '/etc/postfix/main.cf';

# location of mail users homedir
$pop_homeDir = '/home/mail/';

# location of aliases binary (sendmail & postfix)
$aliases = '/etc/aliases';

# location of autoresponder.pl
$bin_autorespond = '/usr/bin/autoresponder.pl';

# XXX
$use_autorespond = '1';

# uid used by mta to run local scripts (e.g. autoresponder.pl)
$mta_uid = '8';

# gid used by mta to run local scripts (e.g. autoresponder.pl)
$mta_gid = '0';

# location of sendmail binary (to send mails from local)
$bin_sendmail = '/usr/sbin/sendmail';

# mail users get real homedir (ignoring $maildrop)
$mail_realHome = '1';

# 1: mta is on localhost, 0: mta is on remote host
$mail_server = '1';

$append_mail_disk_space = '';
Also stimmt auch die Pfadangaben, von

Code: Select all

virtual_maps = hash:/etc/postfix/confixx_virtualUsers,
hash:/etc/postfix/confixx_localDomains
Hmm, an was kann das noch liegen? :cry:

antondollmaier
Posts: 485
Joined: 2004-03-30 10:06

Re: Probleme mit Postfix & Confixx

Post by antondollmaier » 2005-01-19 22:00

schon mal ne mail an office@erstedomain.com geschickt? *gg*

gibts noch andere fehler außer dem mitm not found?

dts
Posts: 290
Joined: 2004-02-05 20:40

Re: Probleme mit Postfix & Confixx

Post by dts » 2005-01-19 22:14

Ja, da bekomme ich vom Mailerdaemon die Meldung:

Code: Select all

Recipient address rejected: User unknown in virtual alias table;
Eben das selbe, was auch in der Log steht...

dts
Posts: 290
Joined: 2004-02-05 20:40

Re: Probleme mit Postfix & Confixx

Post by dts » 2005-01-20 10:32

Keiner mehr eine Idee?
:cry:
Ich weiss wirklich nichtmehr weiter, warum das so ist...