Mails gehen alle an web1p1

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
kruegerj
Posts: 18
Joined: 2003-01-20 22:30

Mails gehen alle an web1p1

Post by kruegerj » 2003-04-09 16:39

Hallo, ich habe das problem, dass alle mail die ich an Domains die per DNS auf meinem Server eingetragen sind immer den User web1p1 errecihen aber keine einzige web5p10 zB. Kann mir jemand helfen was daran falsch sein könnte und wie ich das richtig einstelle damit meine Kunden auch ihre Mailaccounts richtig nutzen können ??

mfg

kruegerj

nergal
RSAC
Posts: 82
Joined: 2002-05-24 09:32
Location: Mörfelden-Walldorf

Re: Mails gehen alle an web1p1

Post by nergal » 2003-04-10 08:51

Naja, da meine Glaskugel gerade in Reparatur ist kann ich Deine Konfiguration nicht erraten.

Welchen Mailer? Postfix? Sendmail?

Ausgabe von postconf -n und /etc/aliases

kruegerj
Posts: 18
Joined: 2003-01-20 22:30

Re: Mails gehen alle an web1p1

Post by kruegerj » 2003-04-10 12:45

Also als mail programm: Postfix

Ausgabe von postconf -n:

Code: Select all

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
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 = 2
fast_flush_domains = $relay_domains
in_flow_delay = 0
inet_interfaces = all
local_recipient_maps = $alias_maps unix:passwd.byname
mail_spool_directory = /var/mail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = server.de
masquerade_exceptions = root
mydestination = $myhostname, localhost.$mydomain, $mydomain, smtp.$mydomain
mydomain = server.de
myhostname = p123456.pureserver.info
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/sbin/sendmail
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
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/key.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
strict_rfc821_envelopes = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers
, hash:/etc/postfix/confixx_localDomains
Ausgabe von /etc/aliases:

Code: Select all

# Basic system aliases that MUST be present.
postmaster:     root
mailer-daemon:  postmaster
# amavis
virusalert:     root
# General redirections for pseudo accounts in /etc/passwd.
administrator:  root
daemon: root
lp:     root
news:   root
uucp:   root
games:  root
man:    root
at:     root
postgres:       root
mdom:   root
amanda: root
ftp:    root
wwwrun: root
squid:  root
msql:   root
gnats:  root
nobody: root
# "bin" used to be in /etc/passwd
bin:    root
# Further well-known aliases for dns/news/ftp/mail/fax/web/gnats.
newsadm:        news
newsadmin:      news
usenet: news
ftpadm: ftp
ftpadmin:       ftp
ftp-adm:        ftp
ftp-admin:      ftp
hostmaster:     root
mail:   postmaster
postman:        postmaster
post_office:    postmaster
# "abuse" is often used to fight against spam email
abuse:  postmaster
spam:   postmaster
faxadm: root
faxmaster:      root
webmaster:      root
gnats-admin:    root
mailman:        root
mailman-owner:  mailman
# Majordomo can be used to have mailinglists on your site.
#majordomo:             "|/usr/lib/majordomo/wrapper majordomo"
#owner-majordomo:       root,
#majordomo-owner:       root,
# sample entry for a majordomo mailing-list called "test"
# read /usr/doc/packages/majordomo/README.linux for more information
# replace "test" with a new name and put the administrator into
# the "owner-test" alias instead of "root".
#
#test:                  "|/usr/lib/majordomo/wrapper resend -l test test-outgoing"
#test-outgoing:         :include:/var/lib/majordomo/lists/test
#test-request:          "|/usr/lib/majordomo/wrapper majordomo -l test"
#test-approval:         owner-test,
#owner-test-outgoing:   owner-test,
#owner-test-request:    owner-test,
#owner-test:            root,
#
# if you have bulk_mailer installed, you can replace the above
# "test-outgoing" line with the following:
#test-outgoing:         "|/usr/bin/bulk_mailer owner-test@host.com /var/lib/majordomo/lists/test"

confixx-du-11:  web3p1, web3p2
Vielleicht hilft euch das weiter, um mir zu helfen. Hat das eventuell auch was damit du zu tun das die domains auf meinem DNS liegen und nicht bei schlund ??

mfg
kruegerj

kruegerj
Posts: 18
Joined: 2003-01-20 22:30

Re: Mails gehen alle an web1p1

Post by kruegerj » 2003-04-14 01:58

*nach oben schieb*

servicemensch
Posts: 8
Joined: 2003-04-13 22:00

Re: Mails gehen alle an web1p1

Post by servicemensch » 2003-04-14 03:07

wie wärs zusätzlich mit nem auszug der /etc/mail/virtusertable (standard gedöns kanste weglassen) bzw sind die domains in der cw eingetragen ?!

<-- sendmail user =)

kruegerj
Posts: 18
Joined: 2003-01-20 22:30

Re: Mails gehen alle an web1p1

Post by kruegerj » 2003-04-14 09:31

kann es sein dass es diese datei nur bei sendmail gibt ?? Weil ich sie nur mit endungen wie ".db, .rpmsave, .YAST2.save habe!!

mfg
Kruegerj

flo
RSAC
Posts: 2297
Joined: 2002-07-28 13:02
Location: Berlin

Re: Mails gehen alle an web1p1

Post by flo » 2003-04-14 10:48

Code: Select all

virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers
, hash:/etc/postfix/confixx_localDomains
Schau Dir doch mal de wichtigen Dateien an - die /etc/aliases hilft da nicht allzusehr weiter.

web1p1 - das heißt, daß Du Confixx benutzt, aber weiß Confixx auch, daß Du Postfix benutzt?

Grüße,

flo.

kruegerj
Posts: 18
Joined: 2003-01-20 22:30

Re: Mails gehen alle an web1p1

Post by kruegerj » 2003-04-14 13:45

jo des weiss config!