Asmodeus wrote:

> > Is the delivery instruction "alias-ppp-mark@localhost" really correct?
> 
>  In my (albeit limited) experience, it is syntactically incorrect.
> 
>  Okay, from the filename /var/qmail/alias/.qmail-ppp-mark
> it seems that you have a virtualdomain setup which is handled through
> 'ppp'.  Ie: in /var/qmail/control/virtualdomains, you have a line such as:
> myvirtualdomain:ppp
> and you don't have a real (/etc/passwd) user named ppp... Correct?

Correct.


>  If so, mail to mark@myvirtualdomain should be handled by the above file
> in /var/qmail/alias.
>  
>  What shows up in your mail logs?
> 
>  I think you might have to show the contents of your config files
> and a `ls -la` of /var/qmail/alias/ ... I, for one, can't see any reason
> why it wouldn't work with the info you've given so far, assuming the
> config is correct.

Here are the infos & files:

# ls -al /var/qmail/alias
total 7
drwxr-sr-x   3 alias    qmail        1024 Jul 22 23:58 .
drwxr-xr-x  10 root     qmail        1024 Jul 21 00:15 ..
-rw-------   1 alias    qmail         260 Jul 22 23:59 .bash_history
-rw-r--r--   1 root     qmail           0 Jul 21 00:57
.qmail-mailer-daemon
-rw-r--r--   1 root     qmail           0 Jul 21 00:57 .qmail-postmaster
-rw-r--r--   1 alias    qmail          10 Jul 22 00:05
.qmail-ppp-default
-rw-r--r--   1 alias    qmail          20 Jul 22 18:59 .qmail-ppp-mark
-rw-r--r--   1 root     qmail          20 Jul 22 19:20 .qmail-root
drwx--S---   5 alias    qmail        1024 Jul 22 00:00 pppdir


# ls -al /var/qmail/
total 11
drwxr-xr-x  10 root     qmail        1024 Jul 21 00:15 .
drwxr-xr-x  17 root     root         1024 Jul 21 00:39 ..
drwxr-sr-x   3 alias    qmail        1024 Jul 22 23:58 alias
drwxr-xr-x   2 root     qmail        1024 Jul 21 00:36 bin
drwxr-xr-x   2 root     qmail        1024 Jul 20 23:51 boot
drwxr-xr-x   2 root     qmail        1024 Jul 22 02:55 control
drwxr-xr-x   2 root     qmail        1024 Jul 20 23:51 doc
drwxr-xr-x  10 root     qmail        1024 Jul 22 01:38 man
drwxr-x---  11 qmailq   qmail        1024 Jul 20 23:51 queue
-rwxr-xr-x   1 root     qmail         205 Jul 21 00:22 rc
drwxr-xr-x   2 root     qmail        1024 Jul 20 23:51 users


#ls -al /home/mark
-----
-rw-rw----   1 mark     mark           11 Jul 22 00:53 .qmail
drwxrwsr-x  11 mark     mark         1024 Jul 21 04:17 Mail
drwx--S---   5 mark     mark         1024 Jul 21 01:31 Maildir
-----


/home/mark/.qmail:
-----
./Maildir/
-----


/var/qmail/alias/.alias-ppp-default:
-----
./pppdir/
-----


/var/qmail/alias/.qmail-ppp-mark:
-----
/home/mark/Maildir/
-----


/var/qmail/control/virtualdomains:
-----
:alias-ppp
-----


/var/log/mail.info:
-----
[configuration without /var/qmail/alias/.qmail-ppp-mark]:

Jul 22 16:04:26 pandora qmail: 932652266.748901 new msg 6253
Jul 22 16:04:26 pandora qmail: 932652266.749180 info msg 6253: 
bytes 2905 from <[EMAIL PROTECTED]> qp 301 uid 1002
Jul 22 16:04:26 pandora qmail: 932652266.751958 starting delivery 26: 
msg 6253 to local alias-ppp-mark@localhost
Jul 22 16:04:26 pandora qmail: 932652266.752170 status: local 1/10
remote 0/20
Jul 22 16:04:26 pandora qmail: 932652266.774033 delivery 26: success:
did_1+0+0/
Jul 22 16:04:26 pandora qmail: 932652266.774267 status: local 0/10
remote 0/20
Jul 22 16:04:26 pandora qmail: 932652266.774385 end msg 6253
Jul 22 16:04:27 pandora qmail: 932652267.787610 new msg 6253
Jul 22 16:04:27 pandora qmail: 932652267.787875 info msg 6253: 
bytes 2912 from <[EMAIL PROTECTED]> qp 305 uid 1002
Jul 22 16:04:27 pandora qmail: 932652267.790627 starting delivery 27: 
msg 6253 to local alias-ppp-mark@localhost
Jul 22 16:04:27 pandora qmail: 932652267.790820 status: local 1/10
remote 0/20
Jul 22 16:04:27 pandora qmail: 932652267.812740 delivery 27: success:
did_1+0+0/
Jul 22 16:04:27 pandora qmail: 932652267.812986 status: local 0/10
remote 0/20
Jul 22 16:04:27 pandora qmail: 932652267.813103 end msg 6253


[configuration with /var/qmail/alias/.qmail-ppp-mark]:

Jul 23 00:01:56 pandora qmail: 932680916.376903 new msg 6258
Jul 23 00:01:56 pandora qmail: 932680916.377163 info msg 6258: 
bytes 3190 from <[EMAIL PROTECTED]> qp 228 uid 1002
Jul 23 00:01:56 pandora qmail: 932680916.380845 starting delivery 3: 
msg 6258 to local alias-ppp-mark@localhost
Jul 23 00:01:56 pandora qmail: 932680916.381038 status: local 1/10
remote 0/20
Jul 23 00:01:56 pandora qmail: 932680916.400320 delivery 3: 
deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
Jul 23 00:01:56 pandora qmail: 932680916.400561 status: local 0/10
remote 0/20
-----


Ciao,
        Mark

Reply via email to