Dear list,

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.


[using real data from my customer 'groenen.nl']

[EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# pwd
/var/vpopmail/domains/groenen.nl

[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/

[EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# less .qmail-default
| /var/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

[EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# less .qmail-postmaster
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]


Email sent to [EMAIL PROTECTED] should be delivered to [EMAIL PROTECTED] afterwhich it gets forwarded to [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] and [EMAIL PROTECTED]

[EMAIL PROTECTED]:/var/vpopmail/domains/groenen.nl# grep [EMAIL PROTECTED] /var/log/maillog
Mar 13 16:18:39 net3-nl-mail-03 qmail: 1047568719.724681 starting delivery 1085901: msg 2066388 to local [EMAIL PROTECTED]


And in my log, I see:
Mar 13 16:18:39 net3-nl-mail-03 qmail: 1047568719.718499 new msg 2066388
Mar 13 16:18:39 net3-nl-mail-03 qmail: 1047568719.718611 info msg 2066388: bytes 848 from <[EMAIL PROTECTED]> qp 15637 uid 0
Mar 13 16:18:39 net3-nl-mail-03 qmail: 1047568719.724681 starting delivery 1085901: msg 2066388 to local [EMAIL PROTECTED]
Mar 13 16:18:39 net3-nl-mail-03 qmail: 1047568719.724768 status: local 1/10 remote 8/20
Mar 13 16:18:39 net3-nl-mail-03 qmail: 1047568719.738686 delivery 1085901: success: did_0+0+1/
Mar 13 16:18:39 net3-nl-mail-03 qmail: 1047568719.738980 status: local 0/10 remote 8/20
Mar 13 16:18:39 net3-nl-mail-03 qmail: 1047568719.738995 end msg 2066388


It looks like that, even when there is an emailaddress in .qmail-default, the mail gets delivered localy.

From the vdelivermail manpage:
        OPTIONS
        [""]
                Blank double quote for backward compatibility

        [default account for delivery]
        If the email does match any .qmail-user file and also does
        not match any virtual domain user, this is the default delivery
        instructions. There are three values this may contain.
                Full path to a vpopmail user directory
                email address to forward email too
                the string bounce-no-mailbox to bounce the email back
                to the sender.
        Default is the postmaster account

vpopmail version:
/* Version number of package */
#define VERSION "5.2.1"

Is there something I've missed? Thanks in advance for any help/pointers.

--
Met vriendelijke groet / Best regards,
Jan Reilink




Reply via email to