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

Re: forward



Hi Brano,

Did you create the virtual_host in your passwd-table ? Did you create at least
the alias-user in that domain ? You have to create a readable homedirectory
for that user, even if you want only forwarding. This applies to every user
in the passwd-table: everybody needs a readable homedirectory. (i'm not
sure if qmail also checks whether the directory is writable).
Do you have a control/locals-file or are you using the database to this
purpose ?
(And you don't need the moreip-patch: your desired setup works with qmail-sql
 without additional patching).

Regards,
Michael.
On Mon, May 27, 2002 at 04:00:55PM +0200, [brano] wrote:
> Hi all,
> my dotqmails =>
> 
> mysql> select * from dotqmails where login = 'test';
> +-------+--------------+-----------+-----------------+
> | login | virtual_host | extension | dotqmail        |
> +-------+--------------+-----------+-----------------+
> | test  | okeychat.sk  |           | brano@xxxxxxxxx |
> +-------+--------------+-----------+-----------------+
> 1 row in set (0.00 sec)
> 
> I remove only extension to forward mail
> If pc2000.sk is local ip (another IP but at the same pc) qmail write error (/var/log/maillog) =>
> 
> May 27 15:49:29 hidden qmail: 1022507369.060801 delivery 35: failure: Sorry._Although_I'm_listed_as_a_best-preference_MX_or_A_for_that_host,/it_isn't_in_my_control/locals_file,_so_I_don't_treat_it_as_local._(#5.4.6)/
> 
> How can I fix it ? 
> I found some qmail-1.03-moreipme-0.4.patch (patch and reinstall qmail) and add me ips to moreipme but it still don't work.
> And how can I forward mail without delivere it local ? (don't save to local Maildir)
> If I use /dev/null qmail write error => 
> May 27 15:54:13 hidden qmail: 1022507653.894975 delivery 40: deferral: Unable_to_switch_to_/dev/null:_not_a_directory._(#4.3.0)/
> 
> I'd like to delivery some mail localy and some mails only forward (but all users must be in mysql database)
> 
> Thanks
> Brano from Slovakia
>