Mail funktioniert nur mit 1 Domain und nur Eingang - eni - 01-17-2010 07:43 AM
Hallo zusammen.
Ich habe da ein Problem mit ispcp, besser gesagt mit dem Mail. Ich habe mehrere Domains, Web funktioniert prima. Doch das Mail funktioniert nur mit domain1.xx und mit allen anderen nicht. Und auch dort geht nur die Inbox, beim versenden der Mails erscheint in der mail.log:
Code:
Jan 16 22:31:35 vs0145 postfix/smtpd[9668]: NOQUEUE: reject: RCPT from xxxxx.xxxx.xxxx.local[127.0.0.1]: 550 5.1.1 <xxx@xx23.ch>: Recipient address rejected: User unknown in virtual mailbox table; from=<xx@xxx46.ch> to=<xxx@yyyyy.ch> proto=ESMTP helo=<vyyyyy@yy.xx>
Komischerweise kann ich mich mit allen angelegten Accounts in dem Webmailer (sqirrelmail) einloggen, aber die Inbox geht nur mit einer Domain, versenden geht gar nicht.
Systemdaten: Debian Lenny 32bit vserver
ispCP 1.0.3 OMEGA
maia nach dieser Anleitung: http://www.isp-control.net/documentation/doku.php?id=de:howto:mail:install_maia_mailguard_1.0.2a_on_ispcp_omega_rc3
postconf -n
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
inet_interfaces = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
message_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = mail.e46.local
myhostname = mail.e46.ch
mynetworks_style = host
myorigin = $myhostname
receive_override_options = no_address_mappings
recipient_delimiter = +
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP ispCP 1.0.3 OMEGA Managed
smtpd_data_restrictions = reject_multi_recipient_bounce, reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname
smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:12525, check_policy_service inet:127.0.0.1:60000, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, permit_mynetworks, permit_sasl_authenticated
transport_maps = hash:/etc/postfix/ispcp/transport
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001
grep -v “^#” /etc/postfix/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").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd
# -o receive_override_options=no_address_mappings # Uncomment this line, when unsing AMaViS
#submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# For AOL-Accounts
587 inet n - - - - smtpd
-o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination
#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
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error 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
# ====================================================================
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright 2001-2006 by moleSoftware GmbH
# @copyright 2006-2009 by ispCP | http://isp-control.net
# @version SVN: $Id: master.cf 2053 2009-09-28 19:14:58Z nuxwin $
# @link http://isp-control.net
# @author ispCP Team
# ====================================================================
# for AMaViS and spam filter support
amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
localhost: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 smtpd_override_options=no_address_mappings
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
# ispCP autoresponder
ispcp-arpl unix - n n - - pipe
flags=O user=vmail argv=/var/www/ispcp/engine/messenger/ispcp-arpl-msgr
# TLS - Activate, if TLS is avaiable/used
smtps inet n - - - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#
# ====================================================================
# 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}
bitte helft mir!
danke
RE: Mail funktioniert nur mit 1 Domain und nur Eingang - eni - 01-17-2010 08:56 AM
update: der mailausgang funktioniert nun, das problem war das ich an eine mail senden wollte deren domain ich zwar schon hinzugefügt, aber mx noch nicht geändert habe.
das problem ist nun das die mail nur mit domain1 richtig funktioniert (inbox & senden), bei allen anderen domains funktioniert nur senden via webmail, empfangen nicht, kann dazu nichts in den logs finden.
RE: Mail funktioniert nur mit 1 Domain und nur Eingang - ZooL - 01-17-2010 09:12 AM
rechte prüfen, checken ob im postfix/ispcp ordner daten vorhanden sind... etc etc
problem einkreisen statt ausgrenzen...
RE: Mail funktioniert nur mit 1 Domain und nur Eingang - eni - 01-17-2010 09:20 AM
unter /etc/postfix/ispcp/ sind die dateien domains aliases etc, und dort sind alle e-mail-adressen korrekt eingetragen.
welche rechte soll ich genau prüfen? (in sachen mailserver bin ich blutiger anfänger).
ich kann zudem von domain1 eine mail zu domain2 schicken und sie kommt an. nur mit extrernen geht es nicht.
RE: Mail funktioniert nur mit 1 Domain und nur Eingang - ZooL - 01-17-2010 09:37 AM
ja das ist bekannt das intern geht vieleicht haste bei den anderen domains auch die mx einträge vergessen ? oder noch nicht aktive ?
RE: Mail funktioniert nur mit 1 Domain und nur Eingang - FISA4 - 01-17-2010 09:41 AM
Ich würde mal die mx.domain1.de und mx.domain2.de anpingen.
bei mir wäre das zum Beispiel:
Code:
ping mail.fisa4.de
ping mail.fisaweb.info
Gruß
FISA4
EDIT:
wird bei beiden die IP deines neuen Servers angezeigt, dann liegts am Server, wenn nicht, dann am DNS Eintrag.
RE: Mail funktioniert nur mit 1 Domain und nur Eingang - ZooL - 01-17-2010 09:45 AM
ja so meinte ich das...
als Moderator geht man meistens von einer art Wissensstandart aus
RE: Mail funktioniert nur mit 1 Domain und nur Eingang - eni - 01-17-2010 09:51 AM
sind imho richtig gesetzt.
dig domain1: (die funktionierende)
Code:
$ dig mx e46.ch
e46.ch. 120 IN MX 10 mail.e46.ch.
$ dig mail.e46.ch
mail.e46.ch. 110 IN A 195.88.44.105
dig domain2: (die nicht funktierende)
Code:
$ dig mx widamwaud.ch
wiudamwaud.ch. 120 IN MX 10 mail.wiudamwaud.ch.
$ dig mail.wiudamwaud.ch
mail.wiudamwaud.ch. 48 IN A 195.88.44.105
(das ganze habe ich von einem externen rechner probiert)
RE: Mail funktioniert nur mit 1 Domain und nur Eingang - ZooL - 01-17-2010 11:01 AM
was sagt nslookup ip auf dem server geguckt und nslookup ergebnis
RE: Mail funktioniert nur mit 1 Domain und nur Eingang - eni - 01-17-2010 11:11 AM
weiss nicht genau was du damit meinst?
nslookup liefert die so ziemlich das gleiche wie dig.
|