View Single Post
  #13  
Old 30th July 2009, 14:07
wiewioor wiewioor is offline
Junior Member
 
Join Date: Jul 2009
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Point taken. Thanks It is a great learning curve for me.

I've re-done authmysqlrc (no ctrl+v this time ) and can now successfully login into both webm2slt@serwer2slt.lan and admin@serwer2slt.lan (made this account for testing).

But...

I can't send or receive emails on any of the accounts! The only emails present in the mailbox were ones crated using mailx during testing. Now when I send new mail it doesn't reach its recipient ( even when using mailx ).
The /home/vmail/serwer2slt.lan/webm2slt/new directory is empty.

I've found however a file in /var/mail/ called webm2slt:
Code:
From MAILER-DAEMON  Thu Jul 30 13:14:07 2009
Return-Path: <>
X-Original-To: webm2slt@serwer2slt.lan
Delivered-To: webm2slt@serwer2slt.lan
Received: by serwer2slt.lan (Postfix)
	id DDCE829691F; Thu, 30 Jul 2009 13:14:07 +0200 (CEST)
Date: Thu, 30 Jul 2009 13:14:07 +0200 (CEST)
From: MAILER-DAEMON@serwer2slt.lan (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: webm2slt@serwer2slt.lan
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="C9231296917.1248952447/serwer2slt.lan"
Content-Transfer-Encoding: 8bit
Message-Id: <20090730111407.DDCE829691F@serwer2slt.lan>

This is a MIME-encapsulated message.

--C9231296917.1248952447/serwer2slt.lan
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii

This is the mail system at host serwer2slt.lan.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<admin@aerwer2slt.lan>: Host or domain name not found. Name service error for
    name=aerwer2slt.lan type=A: Host not found

--C9231296917.1248952447/serwer2slt.lan
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; serwer2slt.lan
X-Postfix-Queue-ID: C9231296917
X-Postfix-Sender: rfc822; webm2slt@serwer2slt.lan
Arrival-Date: Thu, 30 Jul 2009 13:14:06 +0200 (CEST)

Final-Recipient: rfc822; admin@aerwer2slt.lan
Original-Recipient: rfc822;admin@aerwer2slt.lan
Action: failed
Status: 5.4.4
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
    for name=aerwer2slt.lan type=A: Host not found

--C9231296917.1248952447/serwer2slt.lan
Content-Description: Undelivered Message
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit

Received: from serwer2slt (localhost.localdomain [127.0.0.1])
	by serwer2slt.lan (Postfix) with ESMTP id C9231296917
	for <admin@aerwer2slt.lan>; Thu, 30 Jul 2009 13:14:06 +0200 (CEST)
Received: from 192.168.5.200
        (SquirrelMail authenticated user webm2slt@serwer2slt.lan)
        by serwer2slt with HTTP;
        Thu, 30 Jul 2009 13:14:06 +0200 (CEST)
Message-ID: <fda2e61d0d1f2ce1d33082feff59656d.squirrel@serwer2slt>
Date: Thu, 30 Jul 2009 13:14:06 +0200 (CEST)
Subject: test1
From: webm2slt@serwer2slt.lan
To: admin@aerwer2slt.lan
User-Agent: SquirrelMail/1.4.15
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal

chyba nie ma polskich liter ąćżśźęńł


--C9231296917.1248952447/serwer2slt.lan--

From MAILER-DAEMON  Thu Jul 30 13:14:51 2009
Return-Path: <>
X-Original-To: webm2slt@serwer2slt.lan
Delivered-To: webm2slt@serwer2slt.lan
Received: by serwer2slt.lan (Postfix)
	id AABC0296920; Thu, 30 Jul 2009 13:14:51 +0200 (CEST)
Date: Thu, 30 Jul 2009 13:14:51 +0200 (CEST)
From: MAILER-DAEMON@serwer2slt.lan (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: webm2slt@serwer2slt.lan
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="9C64F29691A.1248952491/serwer2slt.lan"
Content-Transfer-Encoding: 8bit
Message-Id: <20090730111451.AABC0296920@serwer2slt.lan>

This is a MIME-encapsulated message.

--9C64F29691A.1248952491/serwer2slt.lan
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii

This is the mail system at host serwer2slt.lan.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<admin@serwer2slt.lan>: unknown user: "admin"

--9C64F29691A.1248952491/serwer2slt.lan
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; serwer2slt.lan
X-Postfix-Queue-ID: 9C64F29691A
X-Postfix-Sender: rfc822; webm2slt@serwer2slt.lan
Arrival-Date: Thu, 30 Jul 2009 13:14:51 +0200 (CEST)

Final-Recipient: rfc822; admin@serwer2slt.lan
Original-Recipient: rfc822;admin@serwer2slt.lan
Action: failed
Status: 5.1.1
Diagnostic-Code: X-Postfix; unknown user: "admin"

--9C64F29691A.1248952491/serwer2slt.lan
Content-Description: Undelivered Message
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit

Received: from serwer2slt (localhost.localdomain [127.0.0.1])
	by serwer2slt.lan (Postfix) with ESMTP id 9C64F29691A
	for <admin@serwer2slt.lan>; Thu, 30 Jul 2009 13:14:51 +0200 (CEST)
Received: from 192.168.5.200
        (SquirrelMail authenticated user webm2slt@serwer2slt.lan)
        by serwer2slt with HTTP;
        Thu, 30 Jul 2009 13:14:51 +0200 (CEST)
Message-ID: <ca5207327aa40eaa5127ec22542943f6.squirrel@serwer2slt>
Date: Thu, 30 Jul 2009 13:14:51 +0200 (CEST)
Subject: test1
From: webm2slt@serwer2slt.lan
To: admin@serwer2slt.lan
User-Agent: SquirrelMail/1.4.15
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal

Nie ma polskich liter? ążśćźęńł


--9C64F29691A.1248952491/serwer2slt.lan--

From admin@serwer2slt.lan  Thu Jul 30 13:16:10 2009
Return-Path: <admin@serwer2slt.lan>
X-Original-To: webm2slt@serwer2slt.lan
Delivered-To: webm2slt@serwer2slt.lan
Received: from serwer2slt (localhost.localdomain [127.0.0.1])
	by serwer2slt.lan (Postfix) with ESMTP id C9CBD296920
	for <webm2slt@serwer2slt.lan>; Thu, 30 Jul 2009 13:16:10 +0200 (CEST)
Received: from 192.168.5.200
        (SquirrelMail authenticated user admin@serwer2slt.lan)
        by serwer2slt with HTTP;
        Thu, 30 Jul 2009 13:16:10 +0200 (CEST)
Message-ID: <9f4a2065626110f451c59289fe1ea383.squirrel@serwer2slt>
Date: Thu, 30 Jul 2009 13:16:10 +0200 (CEST)
Subject: test4
From: admin@serwer2slt.lan
To: webm2slt@serwer2slt.lan
User-Agent: SquirrelMail/1.4.15
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal

chyba coś nie działa?

From webm2slt@serwer2slt.lan  Thu Jul 30 13:25:40 2009
Return-Path: <webm2slt@serwer2slt.lan>
X-Original-To: webm2slt@serwer2slt.lan
Delivered-To: webm2slt@serwer2slt.lan
Received: from serwer2slt (localhost.localdomain [127.0.0.1])
	by serwer2slt.lan (Postfix) with ESMTP id 7ADED296920
	for <webm2slt@serwer2slt.lan>; Thu, 30 Jul 2009 13:25:40 +0200 (CEST)
Received: from 192.168.5.200
        (SquirrelMail authenticated user webm2slt@serwer2slt.lan)
        by serwer2slt with HTTP;
        Thu, 30 Jul 2009 13:25:40 +0200 (CEST)
Message-ID: <918d3248f64c4838401dd5e51c7818ac.squirrel@serwer2slt>
Date: Thu, 30 Jul 2009 13:25:40 +0200 (CEST)
Subject: test5
From: webm2slt@serwer2slt.lan
To: webm2slt@serwer2slt.lan
User-Agent: SquirrelMail/1.4.15
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-2
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal

chyba nie dochopdzi

From root@serwer2slt.lan  Thu Jul 30 13:32:56 2009
Return-Path: <root@serwer2slt.lan>
X-Original-To: webm2slt@serwer2slt.lan
Delivered-To: webm2slt@serwer2slt.lan
Received: by serwer2slt.lan (Postfix, from userid 0)
	id 65697296921; Thu, 30 Jul 2009 13:32:56 +0200 (CEST)
To: webm2slt@serwer2slt.lan
Subject: test6
Message-Id: <20090730113256.65697296921@serwer2slt.lan>
Date: Thu, 30 Jul 2009 13:32:56 +0200 (CEST)
From: root@serwer2slt.lan (root)

jakaĹ tam treĹć

From root@serwer2slt.lan  Thu Jul 30 13:41:28 2009
Return-Path: <root@serwer2slt.lan>
X-Original-To: webm2slt@serwer2slt.lan
Delivered-To: webm2slt@serwer2slt.lan
Received: by serwer2slt.lan (Postfix, from userid 0)
	id CB504296921; Thu, 30 Jul 2009 13:41:28 +0200 (CEST)
To: webm2slt@serwer2slt.lan
Subject: tetst test
Message-Id: <20090730114128.CB504296921@serwer2slt.lan>
Date: Thu, 30 Jul 2009 13:41:28 +0200 (CEST)
From: root@serwer2slt.lan (root)

moĹźe to w koĹcu zacznie dzialać?!
I've also found this in my mail.log:
Code:
Jul 30 13:41:28 serwer2slt postfix/trivial-rewrite[3861]: warning: do not list domain serwer2slt.lan in BOTH mydestination and virtual_mailbox_domains
but in main.cf i have this:
Code:
[...]
mydestination = serwer2slt.lan, localhost, localhost.localdomain
[...]
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
[...]
so I guess it is all right.

I know it is a pain but what might be wrong?

Are there any steps I have to take in order to re-do this HowTo (ie. anything I should remove/uninstall first)?

BIG Thanks for putting up with me.
Reply With Quote