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

forward



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