Current time: 07-09-2024, 09:37 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[gelöst] Kann keine Mail empfangen
Author Message
Hammy Offline
Junior Member
*

Posts: 88
Joined: Jul 2007
Reputation: 0
Post: #1
[gelöst] Kann keine Mail empfangen
Hallo zusammen,

vielleicht könnt ihr mir helfen. ich kann keine emails mehr empfangen (Relay access denied)

wir haben ein ispCP 1.0rc3 OMEGA build: 2007-10-15 Priamos

mail.log:
Code:
Jan 17 14:01:18 localhost postfix/smtpd[15508]: connect from abc.erlm.siemens.de[xxx.xxx.xxx.71]
Jan 17 14:01:18 localhost postfix/smtpd[15508]: NOQUEUE: reject: RCPT from abc.erlm.siemens.de[xxx.xxx.xxx.71]: 554 5.7.1 <christian@byscnet.de>: Relay access denied; from=<christian.keck.ext@siemens.com> to=<christian@byscnet.de> proto=ESMTP helo=<thelpusa.erlm.siemens.de>
Jan 17 14:01:18 localhost postfix/smtpd[15508]: disconnect from abc.erlm.siemens.de[xxx.xxx.xxx.71]

mail.info:
Code:
Jan 17 14:01:18 localhost postfix/smtpd[15508]: connect from abc.erlm.siemens.de[xxx.xxx.xxx.71]
Jan 17 14:01:18 localhost postfix/smtpd[15508]: NOQUEUE: reject: RCPT from abc.erlm.siemens.de[xxx.xxx.xxx.71]: 554 5.7.1 <christian@byscnet.de>: Relay access denied; from=<christian.keck.ext@siemens.com> to=<christian@byscnet.de> proto=ESMTP helo=<abc.erlm.siemens.de>
Jan 17 14:01:18 localhost postfix/smtpd[15508]: disconnect from abc.erlm.siemens.de[xxx.xxx.xxx.71]

postconf:
Code:
h1057677:/var/log# postconf -n
alias_database = 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 = 50000000
mydestination = $myhostname, $mydomain
mydomain = mail.byscnet.de
myhostname = mail.byscnet.de
mynetworks_style = host
myorigin = $mydomain
setgid_group = postdrop
smtpd_banner = welcome to $myhostname
smtpd_recipient_restrictions = permit_mynetworks,                               permit_sasl_authenticated,                               reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks,                               permit_sasl_authenticated,                               reject_unauth_destination
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 = 1000
virtual_transport = virtual
virtual_uid_maps = static:1000

weiß vielleicht jemand wie ich das problem fixen könnte?

vielen dank für eure hilfe!

mfg, Hammy


EDIT:

vielleicht liegt es auch an den verzeichnisrechten?
4,0K drwxrwxrwx 9 vmail mail 4,0K 2008-01-17 12:52 xyz.de

ich habe übrigends den /var/www/ispcp/engine/ispcp-rqst-mngr laufen lassen. seit dem geht das mit der mail nimmer. kann das sein, dass der an den mail accounts irgendwas verändert hat?
im debug modus meinte er bei jedem mail account, dass er was geändert hätte - aber was?
(This post was last modified: 01-18-2008 03:27 AM by Hammy.)
01-17-2008 11:08 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: Kann keine Mail empfangen
kannst du mail die virtual_mailbox_domains, virtual_mailbox_maps und transport_maps posten?
01-18-2008 12:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Hammy Offline
Junior Member
*

Posts: 88
Joined: Jul 2007
Reputation: 0
Post: #3
RE: Kann keine Mail empfangen
main.cf:
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
transport_maps = hash:/etc/postfix/ispcp/transport (leer)

mailboxes (nur ein kl. auszug da liste zu lang):
#
# MTA Managment Mailboxes List;
#
# Please do NOT edit it manually;
#
christian@byscnet.de byscnet.de/christian/
hotline@byscnet.de byscnet.de/hotline/
stefan@byscnet.de byscnet.de/stefan/
beate@ddc-hoechstadt.de ddc-hoechstadt.de/beate/

AAAAAAH

in domains steht nur eine domain drin und das ist falsch! hat mir wohl der rqst-manager kaputt gemacht, als ich ihn vorhin laufen hab lassen...
habe jetzt mal die fehlenden domains ausm backup hinzugefügt. nur wie mach ich daraus jetzt eine domains.db?
01-18-2008 12:13 AM
Find all posts by this user Quote this message in a reply
Hammy Offline
Junior Member
*

Posts: 88
Joined: Jul 2007
Reputation: 0
Post: #4
RE: Kann keine Mail empfangen
okay mit postmap geht das...

allerdings wenn ich jetzt ne mail an eine adresse von uns schreibt erscheit die wie folgt im webmail:

Unknown date

also sonst nichts weiter nur unknown date... ma n kann sie eigentrlich nur löschen.
haben auf dem ding noch einen amavis laufen der die mails abgreift und checkt. vielleicht macht der die kaputt? kennt jemand das problem?

danke für die hilfe!
01-18-2008 12:28 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #5
RE: Kann keine Mail empfangen
kannst du das direkt per imap anschauen?
01-18-2008 12:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Hammy Offline
Junior Member
*

Posts: 88
Joined: Jul 2007
Reputation: 0
Post: #6
RE: Kann keine Mail empfangen
wie meinst du direkt?
wie mach ich das? meinst du per telnet auf den port und abrufen? weiß leider ned wie das geht.
01-18-2008 12:43 AM
Find all posts by this user Quote this message in a reply
Hammy Offline
Junior Member
*

Posts: 88
Joined: Jul 2007
Reputation: 0
Post: #7
RE: Kann keine Mail empfangen
wenn ich jetzt versuche die mails im webinterface zu löschen kommt:

ERROR: Could not complete request.
Query: STORE +FLAGS (\Deleted)
Reason Given: Error in IMAP command received by server.
01-18-2008 12:45 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #8
RE: Kann keine Mail empfangen
nein per mail client (outlook/tb/evolution...) scheint du hast ein problem mit dem imap server.
01-18-2008 01:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Hammy Offline
Junior Member
*

Posts: 88
Joined: Jul 2007
Reputation: 0
Post: #9
RE: Kann keine Mail empfangen
ja ganz schrecklich Sad
hab schon fast keine nerven mehr...

das empfangen klappt laut logfiles ohne probleme. PASSED CLEAN sagt mein amavis und schicks auch gleich weiter ins postfach. nur da ist es dann kaputt -.-

mail.log:
Jan 17 16:09:46 localhost postfix/smtp[17270]: F1DBAAE47E1: to=<christian@byscnet.de>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.7, delays=0.08/0.01/0/4.6, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=16954-10, from MTA: 250 2.0.0 Ok: queued as 999CEAE47F5)
Jan 17 16:09:46 localhost postfix/qmgr[16545]: F1DBAAE47E1: removed
Jan 17 16:09:46 localhost postfix/virtual[17274]: 999CEAE47F5: to=<christian@byscnet.de>, relay=virtual, delay=0.1, delays=0.06/0.04/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Jan 17 16:09:46 localhost postfix/qmgr[16545]: 999CEAE47F5: removed

ich versteh auch ned ganz warum der ispcp-rqst-mngr alle alten files gelöscht hat und neu angelegt hat. es waren nämlich alle domaisn auf ok bis auf eine, die auf toadd stand. nach dem lauf waren alle anderen in den config files weg und es stand nur noch die toadd (jetzt auf ok) drin...

hat vielleicht noch jemand einen tipp?


EDIT: wie schaut es denn mit den rechten der virtual boxen aus? was müssen die für nen mode haben? hab mal alles auf 777 gesetzt und user vmail und gruppe mail. jetzt hat er mir gerade noch ein weiteres file angelegt:

4,0K -rw-r--r-- 1 1004 mail 632 2008-01-17 16:15 courierimapuiddb

was ist das?
(This post was last modified: 01-18-2008 01:25 AM by Hammy.)
01-18-2008 01:16 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #10
RE: Kann keine Mail empfangen
mach chmod vmail:mail auf /var/mail/virtual

hast du an den uids gedreht?
Ich kenne courier überhaupt nicht, daher kann ich dir nicht gross helfen. Wenn du (nütliche) hilfe von meiner seite erwartest wechsle auf dovecot ;-)
01-18-2008 01:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)