[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delivery problems..



On Fri, Aug 09, 2002 at 07:38:43PM +1000, Andrew Blogg wrote:
> I've setup previous versions of qmail+sql before, but I've run into more
> problems!
>  
> I've followed the instructions completely, and as a test I tried sending
> a message directly to the server to a test@xxxxxxxxxxx, I was presuming
> that since virtual.org was in the passwd table etc, it should treat it
> as local.. but it tried to deliver it remotely and here's the bounce I
> got.. (just to prove a point)..
>  
> -
> I'm afraid I wasn't able to deliver your message to the following
> addresses. This is a permanent error; I've given up. Sorry it didn't
> work out.
>  
> <test@xxxxxxxxxxx>:
> 216.148.213.135 does not like recipient.
> Remote host said: 550 Unknown local part alias in <alias@xxxxxxxxxxx>
> Giving up on 216.148.213.135.

What directorys do you have and entrys in the database
>  
> --- Below this line is a copy of the message.
> -
>  
> # /var/qmail/bin/qmail-getpw alias virtual.org
> alias10001000/home/virtual.org0
> # /var/qmail/bin/qmail-getpw test virtual.org
> test10001000/home/virtual.org/test0
>  
> And.. I do not have a /var/qmail/control/locals file.
You dont need a locals file its automatic generated by qmail-sql.
If your qmail doesnt know the domain try to give a signal 1 to qmail-send
>  
>  
> Any suggestions would be greatly appreciated.
>  
> -
> Andrew
>  
> -----Original Message-----
> From: Andrew Blogg [mailto:apblogg@xxxxxxxxxxxxxx] 
> Sent: Friday, 9 August 2002 6:25 PM
> To: 'qmail-sql@xxxxxxxxxx'
> Subject: sqlcreatehomedir queries..
>  
> Hi,
>  
> I am trying to get sqlcreatehomedir working, yet I keep getting errors.
>  
> If I run the command 'sqlcreatehomedir user virtualhost' manually, as
> root and as qmail users, it works fine.
>  
> I have attempted the following in the sqlserver file
>  
> autohomedir yes
> autohomedir /usr/local/sbin
> autohomedir /usr/local/sbin/sqlcreatehomedir
>  
> And attempted to create a user and send email to that user on each of
> the three occasions, but I'm still having problems. 
>  
> I would like to get this function working as it would be much easier to
> create new users by a simple insert statement to the database!
>  
> Thanks
>  
> -
> Andrew