Postfix + Courier (Maildir) + Suse 10.1 + Neustes Confixx - Problem

Mentel

New Member
Hi,

habe Postfix soweit richtig Konfiguriert, es können Mails gesended werden aber es kommen keine an, Grund Relay Access denied...

Postfix und Courier habe ich via. Yast2 installiert.

Confixx hat seine Sachen angehängt und gut. Wie gesagt Mails können versended werden aber nicht empfangen (eigensendung sowieso nicht gilt als Bounce denke ich mal, steht jedenfalls im log)

Hier mal meine postconf -n:

Code:
s15249307:/ # postconf -n
alias_maps = hash:/etc/aliases
biff = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 1
defer_transports = 
disable_dns_lookups = no
disable_mime_output_conversion = no
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
mailbox_size_limit = 0
mailbox_transport = procmail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = 
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain
myhostname = s15249307.onlinehome-server.info
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
soft_bounce = yes
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual
 
Hi,

ja die Domain ist eingetragen, bisher hab ich nichts unternommen da ich so gut wie keinen schimmer habe von mailservern.

/etc/mail/virtusertable
Code:
@domain.tld user

oder für feste adresse

Code:
festeadresse@domain.tld user

/etc/mail/local-host-names
Code:
domain.tld user

(natürlich nicht die echten domains, hier nur als beispiel)
 
Wurde /root/confixx/confixx_main.conf entsprechend angepasst?

$maildrop = ‘HOMEDIR/Maildir/’;
$mailSpool = '';
$mailBoxName = 'Maildir';
$pop_homeDir = 'PFAD/ZU/mail';
$mail_realHome = '1';

Was ist unter $virtUserTableDB und $localDomainsFile eingetragen?
 
Hi,

hier mal der block.. Ich denke nicht das es an confixx liegt...

Code:
## email

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

# location of mailspool directory
$mailSpool = '';

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

# name of Mailbox file
$mailBoxName = 'Maildir';

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

# location of email local domains file
$localDomainsFile = '/etc/mail/local-host-names';

# 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 = '/var/mail';

# location of aliases binary (sendmail & postfix)
$aliases = '/etc/mail/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 = '2';

# 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';
 
Last edited by a moderator:
Bitte in der /root/confixx/confixx_main.conf

$mail_realHome = '0';
ändern in
$mail_realHome = '1';


Unter /etc/postfix/main.cf

virtual_maps = hash:/etc/postfix/virtual, hash:/etc/mail/local-host-names, hash:/etc/mail/virtusertable

hinzufügen

Postfix und Courier reloaden und Confixx Counterscript ausführen:
/root/confixx/confixx_counterscript.pl –fa -dbg
 
Das ergab:

Code:
s15249307:/root/confixx # /root/confixx/confixx_counterscript.pl -fa -dbg
3.3.1 - 20070615.16
SUB: main::check_essentials
SUB: main::check_essentials3
SUB: main::check_essentials4
SUB: main::check_essentials5
Valid until: Time::tm=ARRAY(0x1a7f8e0)
Version: 3pro
Checking datacenter mode.
SUB: main::check_datacenter
SUB: main::set_uids
SUB: main::check_if_update
SUB: main::fpaliasdel
SUB: main::delftps
SUB: main::delusers
SUB: main::delpops
SUB: main::dns
SUB: main::reloadDaemon (bind)
SUB: main::SendSIGHUP
SUB: Modules::ConfixxLog::soft_error
SUB: Modules::ConfixxLog::addEvent (mlf||scripts_process_find||#1069||named||root)
SUB: Modules::ConfixxLog::soft_error
SUB: Modules::ConfixxLog::addEvent (mlf||scripts_process_reload||#1154||named||root)
SUB: main::updatesystem
SUB: main::checkSysDir (/srv/www/htdocs/web0/html)
SUB: main::checkSysDir (/srv/www/htdocs/web1/html)
SUB: main::checkSysDir (/srv/www/htdocs/web2/html)
SUB: main::addusers
SUB: main::addScponlyRoot
SUB: main::addpops
SUB: main::addftps
SUB: main::htaccess
SUB: main::lokaleips
SUB: main::GetLocalIPs
SUB: main::domainLog
SUB: main::userBackup
SUB: main::httpdconf
SUB: main::checkLogFileDir (web0)
SUB: main::checkSysDir (/srv/www/htdocs/web0/log)
SUB: main::checkLogFileDir (web1)
SUB: main::checkSysDir (/srv/www/htdocs/web1/log)
SUB: main::checkLogFileDir (web2)
SUB: main::checkSysDir (/srv/www/htdocs/web2/log)
SUB: main::ssl_update
SUB: main::checkSysDir (/srv/www/htdocs/web0/atd)
SUB: main::checkSysDir (/srv/www/htdocs/web0/html/cgi-bin)
SUB: main::checkSysDir (/srv/www/htdocs/web1/atd)
SUB: main::checkSysDir (/srv/www/htdocs/web1/html/cgi-bin)
SUB: main::checkSysDir (/srv/www/htdocs/web2/atd)
SUB: main::checkSysDir (/srv/www/htdocs/web2/html/cgi-bin)
Modules::System::callSystem:
/usr/sbin/apache2ctl configtest
which: no w3m in (/sbin:/usr/sbin:/usr/local/sbin:/opt/gnome/sbin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/bin:/usr/sbin:/sbin:/bin)
Syntax OK
SUB: main::reloadDaemon (apache)
SUB: main::frontpageadd
SUB: main::fpaliasadd
SUB: main::emailaliases
SUB: main::delaliases
Modules::System::callSystem:
/root/confixx/subs_include_postfix.pl -d 1
version: 3.1.0
SUB: main::CreateVirtDomainsFile
SUB: main::CreateVirtUserTable
SUB: main::CleanMailLists
SUB: main::CreateMailLists
Modules::System::callSystem:
/usr/sbin/postfix reload  >/dev/null 2>&1
SUB: main::GetDiskUsagePerUser
SUB: main::httpdtraffikupdate
SUB: main::createWebalizerConf (web0)
SUB: main::checkSysDir (/srv/www/htdocs/web0/.configs)
SUB: main::createWebalizerConf (web1)
SUB: main::checkSysDir (/srv/www/htdocs/web1/.configs)
SUB: main::createWebalizerConf (web2)
SUB: main::checkSysDir (/srv/www/htdocs/web2/.configs)
SUB: main::cleanTransfer
SUB: main::ftptraffikupdate
SUB: main::cleanTransfer
SUB: main::aendereWebalizer
SUB: main::createWebalizerConf (web0)
SUB: main::webalizerhtpasswd (web0)
SUB: Modules::ConfixxLog::addEvent (mlf||scripts_webalizer_activated)
SUB: main::createWebalizerConf (web1)
SUB: main::webalizerhtpasswd (web1)
SUB: Modules::ConfixxLog::addEvent (mlf||scripts_webalizer_activated)
SUB: main::createWebalizerConf (web2)
SUB: main::webalizerhtpasswd (web2)
SUB: Modules::ConfixxLog::addEvent (mlf||scripts_webalizer_activated)
SUB: main::changeAWstats
SUB: Modules::AWstats::changeAWstatsConf (web0)
SUB: Modules::AWstats::changeAWstatsConf (web1)
SUB: Modules::AWstats::changeAWstatsConf (web2)
SUB: main::aenderePerl
SUB: main::installStdCgis
SUB: main::newpws
SUB: main::update_cronjobs
SUB: main::update_spamfilter
SUB: main::clearEreignisse
SUB: main::changeUserForwards

es gibt keinen neuen logeinträge, jedenfalls keine fehler, die mails kommen trotzdem nicht an :(
 
Back
Top