Brandon Mercer wrote:

>hello again group,
>I've setup dbmail on my openbsd server and things are *almost* working. 
>I'm still having trouble piping the messages from my .qmail control
>file.  I've added a plain old system user and in his home directory
>there is a .qmail file with the following contents:
>
>|/usr/local/sbin/dbmail-smtp -d [EMAIL PROTECTED]
>
>I've also tried:
>
>|/usr/local/sbin/dbmail-smtp -d ${RECIPIENT:7}
>  
>
For anyone using the /bin/sh shell and not the bash shell, try this:

|/usr/local/sbin/dbmail-smtp -d ${RECIPIENT#???????}; 

This will remove the first seven characters of the beginning of whatever
RECIPIENT is.  :-) 
This is of importantance to the OpenBSD users.  :-)
Brandon

Reply via email to