Jonas Pasche wrote:
Hi Jan,
I've asked this same question before, but I haven't received an answer/solution yet.
The following problem occurs when a catch-all should be forwarded to an external address : The email is only delivered locally to the catch-all account.
Where does it actually get delivered, as there isn't a "i-am-a-test" account in reality?
There is no "i-am-a-test" account. The email gets delivered to the catch-all account (postmaster), which is correct.
But when postmaster receives the email, it should be forwarded to the named emailaddresses, and this doesn't happen.
See also these headers:
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 15637 invoked by uid 0); 13 Mar 2003 15:18:39 -0000
Received: from post-21.mail.nl.demon.net (194.159.73.20)
by net3-nl-mail-03.ad.vevida.net with SMTP; 13 Mar 2003 15:18:39 -0000
Received: from [212.238.190.175] (helo=vevida.nl)
by post-21.mail.nl.demon.net with esmtp (Exim 3.36 #1)
id 18tUaI-000Lz3-00
for [EMAIL PROTECTED]; Thu, 13 Mar 2003 15:25:30 +0000
Message-ID: <[EMAIL PROTECTED]>
Date: Thu, 13 Mar 2003 16:25:30 +0100
From: Jan Reilink <[EMAIL PROTECTED]>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: Test
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
[EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# ls -la total 352 drwx------ 5 vpopmail vchkpw 4096 Feb 27 21:53 ./ drwx------ 13630 vpopmail vchkpw 331776 Mar 13 14:02 ../ -rw------- 1 vpopmail vchkpw 58 Jul 23 2002 .qmail-default -rw------- 1 vpopmail vchkpw 71 Feb 27 21:53 .qmail-postmaster drwx------ 3 vpopmail vchkpw 4096 Aug 4 2002 kantoor/ drwx------ 3 vpopmail vchkpw 4096 Dec 4 2001 postmaster/ drwx------ 3 vpopmail vchkpw 4096 Jul 25 2002 vakantie/
There are two files missing: vpasswd and vpasswd.cdb. Probably this is the reason for a strange behaviour of vdelivermail (which should be use better error-catching, if this is really the case).
vpasswd is in: [EMAIL PROTECTED]:/var/vpopmail/bin# ls -la vpasswd -rwx--x--x 1 vpopmail vchkpw 133677 Feb 6 01:09 vpasswd*
There is no vpasswd.cdb file on our server, we use mySQL for authentication.
I'd suggest deleting and recreating the three users, or restoring vpasswd[.cdb] from a recent backup.
I'll delete -just got approval from the customer- the account (vdeldomain) to recreate it (vadddomain) and see what happens then.
Thanks :).
-- Met vriendelijke groet / Best regards, Jan Reilink