[vchkpw] same domain on more servers Problem

2003-07-23 Thread Peter Mikeska
Hi,

I have qmail+vpopmail for company.com, but they have 3 departments
located in other cities, these 3 locations are connected on slow lines.
Problem is, that poeople in all 3 locations using same domain for mail
adresses.
I want setup somehow mailserver on each site like d1.company.com,
d2.company.com. But I dont want let them send mail which is local send
through main site.


|-d1.company.com (smith, neo)
---internetcompany.com(main)---
|-d2.company.com (trinity)


Main Server has primary mailboxes for neo, trinity, smith. and it has setup
to forward these adreses to [EMAIL PROTECTED], [EMAIL PROTECTED] 
but how setup server d1.company.com to send mail between
[EMAIL PROTECTED] and [EMAIL PROTECTED] without message traveling
to main server and back. i need save traffic ;((
I try vaddaliasdomain to setup alias for d1.company.com but it works
only on local users, if i send mail from d1.company.com to regular
user on main server, it wont work.

or i miss something ? its possible do it somehow thru .smtproutes ?
plz, any info really help.
Thank you in advance

Miki

ps: sorry for crappy english ;)




[vchkpw] vpopmail + fasftforward aliase question

2003-03-05 Thread Peter Mikeska
Hi, plz save my ass ;))
I have virt domain firm.com , all I want is if somebody send mail to
this domain , it will check aliases.cdb (ther vill be info like
[EMAIL PROTECTED]:[EMAIL PROTECTED]) if it find it will send it to him in .edu
if not just put mail to [EMAIL PROTECTED]

i cant somehow figureout which line put in .qmail-default ;)) so I
making something wrong as usual ;))
.qmail-default 
| /home/vpopmail/bin/vdelivermail ''| /var/qmail/bin/fastforward -d /etc/aliases.cdb
|/home/vpopmail/domains/firm.com/catchall

and in aliases
[EMAIL PROTECTED]:[EMAIL PROTECTED]

i tried also
[EMAIL PROTECTED]:[EMAIL PROTECTED]

but wont work .
uff . Thnx for any info ;)

cee ya

-- 
S pozdravom
 Peter  mailto:[EMAIL PROTECTED]




Re[2]: [vchkpw] maildrop problem with vpopmail

2003-03-04 Thread Peter Mikeska
Hello Gregor,

Monday, March 3, 2003, 4:45:03 PM, you wrote:

GL At 12:44 03/03/2003, you wrote:
Hi,
I have maildrop, spamassa, avir, and KAV, when I put |maildrop to
.qmail-default for domain I get error
@40003e6399702d9e6dbc status: local 0/10 remote 0/20
@40003e639c712d9618ec starting delivery 51: msg 1623022 to local
[EMAIL PROTECTED]
@40003e639c712d964f9c status: local 1/10 remote 
0/20
@40003e639c712e478e9c delivery 51: deferral: 
maildrop:_Changing_to_/home/vpopmail/maildrop:_Invalid_home_directory_permiss
ions_-_world_writable./

but I check all directory has permision 600 for that domain,  and i
dont have dire /home/vpopmail/maildrop , just
/home/vpopmail/domains/...

GL Where's your mailfilter file with the rules and what permissions has it got?
GL What you probably want to do is to specify the file that holds the 
GL mailfilter rules on the command line

GL i.e.
GL | /usr/local/bin/maildrop /var/vpopmail/domains/mailfilter

GL Make sure the mailfilter file is owned by vpopmail.vchkpw and has 
GL permission 600

GL Not sure if this solves the problem, but it definitely works here (vpopmail 
GL version 5.3.8)

GL - Gregor 



thnx , it works, damm last time it worked normalway, duno why have to
exactly set path to maildroprc file ;( but now its fine, thank you a
lot ;))

miki

-- 
Best regards,
 Petermailto:[EMAIL PROTECTED]




[vchkpw] maildrop problem with vpopmail

2003-03-03 Thread Peter Mikeska
Hi,
I have maildrop, spamassa, avir, and KAV, when I put |maildrop to
.qmail-default for domain I get error
@40003e6399702d9e6dbc status: local 0/10 remote 0/20
@40003e639c712d9618ec starting delivery 51: msg 1623022 to local
[EMAIL PROTECTED]
@40003e639c712d964f9c status: local 1/10 remote 0/20   
   
@40003e639c712e478e9c delivery 51: deferral: 
maildrop:_Changing_to_/home/vpopmail/maildrop:_Invalid_home_directory_permiss
ions_-_world_writable./

but I check all directory has permision 600 for that domain,  and i
dont have dire /home/vpopmail/maildrop , just
/home/vpopmail/domains/...

$cat .qmail-default
|maildrop
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox


where i make mistake ? when I remove |maildrop , everything work fine,
thnx a lot.

Miki

  

-- 
S pozdravom
 Peter  mailto:[EMAIL PROTECTED]




Re[2]: [vchkpw] Redeliver mail to another MTA

2003-02-28 Thread Peter Mikeska
Hello Justin,

Thursday, February 27, 2003, 3:06:07 PM, you wrote:

JH On Thursday 27 February 2003 13:56, Peter Mikeska wrote:
 Hi, plz can any1 help me ;))
 I have local qmail+vpopmail with few domains, I have few (well many)
 users which use adreses with local domain , but they have also adreses
 from another domain.
 Local .edu .com
 NONLocal .de
 I make virtualdomain .de,.com,edu
 so I want when some local user send mail to [EMAIL PROTECTED] and this
 user exist in my own .de domain, its OK, but when it doesn not exist,
 just redeliver message to another smtp host(regular MX for domain .de).

 Mail to this adreses when its com from internet , go to .de origin
 server by DNS MX and it forward mails to my mailboxes. but I dont know
 how to retrieve mail for local user which are not found in my local domain.
 uff, well its messy , any ideas ?
 I found that in .qmail-default in domain dir make this thig but its
 redirect to exact mail adres, but i need just redirect it to smtp
 server.

 thnx in advance

Miki

JH i think this was covered somewhen last year..
JH i'm not sure, what the solution was back then, but i'd say

JH on your Local server:
JH add mx record for pseudo.one.de
JH and alias the pseudo.one.de domain to one.de domain

JH .qmail-default:
JH | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]

JH on your NONLocal Server:
JH add mx record for realmx.one.de
JH and alias the realmx.on.de domain to one.de domain.

JH .qmail-default:
JH | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

JH .qmail-someuseronlocal:
JH  [EMAIL PROTECTED]




JH what does this do?
JH qmail puts the username part of the RCPT TO: email address into the env 
JH variable EXT (at least i think it does?).
JH so on your local server vdelivermail will first check, if the user exist on 
JH the _local_ system ? if no: it forwards the mail to [EMAIL PROTECTED] which 
JH is no local domain, but handled by the NONLocal server.

JH on the NONLocal server it receives the mail, as realmx.one.de is an 
JH aliasdomain for one.de it will handle the mail just as expected: if the user 
JH doesn't exist on this system either, it will bounce the mail.

JH you just have to make sure, that for each user on the local server a 
JH .qmail-useronlocalname file on the NONLocal server exists.

 well, I dont have any access to NONlocal server ;((
 ill try better describe situation.

 internet.de---company.de|--localLAN.de
 |
 |
 |i
 |n
 |t
 |r
 |a
 |n
 |e
 |t
 |
 |
internet.edu--company.edu|---localLAN.edu

on company.edu i make virtual server company.edu for local mail but
how to make to send mail to realusers from real company.de ?

on company.edu exists users aka [EMAIL PROTECTED] and he has mailbox
also [EMAIL PROTECTED] , on server company.de he has made mailbox and
its forwarding all mails from internet.de and localLAN.de to
[EMAIL PROTECTED]  what I have to do is make that if someone from
localLAN.edu send mail to adres [EMAIL PROTECTED] mail will not travel
to company.de and then back to .edu coz we pay for this line huge
amount of money ;((, just round in circle and get to mailbox
[EMAIL PROTECTED] another problem is that on
company.edu are jus few users with mail .de, its not full copy of all
users from company.de. I dont have access to company.de

one solution is redirect all unrecognized mail to some local.edu user
and use some other program to monitor his queue and push all files to
smpt server on company.de,
second i found that in .qmail-default is delivering to some address
but i cant set it to '' [EMAIL PROTECTED] because it goes to loop
uff, any help ? plz ;)))

c:\u\l8ter


  miki




[vchkpw] Redeliver mail to another MTA

2003-02-27 Thread Peter Mikeska
Hi, plz can any1 help me ;))
I have local qmail+vpopmail with few domains, I have few (well many)
users which use adreses with local domain , but they have also adreses
from another domain.
Local .edu .com
NONLocal .de
I make virtualdomain .de,.com,edu
so I want when some local user send mail to [EMAIL PROTECTED] and this
user exist in my own .de domain, its OK, but when it doesn not exist,
just redeliver message to another smtp host(regular MX for domain .de).

Mail to this adreses when its com from internet , go to .de origin
server by DNS MX and it forward mails to my mailboxes. but I dont know
how to retrieve mail for local user which are not found in my local domain.
uff, well its messy , any ideas ?
I found that in .qmail-default in domain dir make this thig but its
redirect to exact mail adres, but i need just redirect it to smtp
server.

thnx in advance

   Miki
  

-- 
S pozdravom
 Peter  mailto:[EMAIL PROTECTED]




Re[2]: [vchkpw] vpopmail and fastforward and aliases

2003-02-05 Thread Peter Mikeska
Hello Peter,

Wednesday, February 5, 2003, 1:56:38 PM, you wrote:

PP Hi Peter,

PP On Wed, 5 Feb 2003 07:25:43 +0100 Peter Mikeska
PP [EMAIL PROTECTED] wrote:

 I want ask U this I have working vpopmail+qmail+courier, its about 5
 domains, and when I make alias for some address I
 get file .qmail-nameofalias in directory for domain
 for every alias I make, so I decided to put it to
 aliases only ONE file in /etc , i use fastforward , so I have write
 one line of command to .qmail-DEFAULT but I dont know in which one,
 .qmail-default from qmail installation seem dont work this way with
 vpopmail, and every domain have one in dir, I tryed put it to every
 file but wont work. so can some1 help me how to use aliases file with
 vpopmail?

PP There're several reasons that stand against your plan.

PP 1.) Files ~vpopmail/domains/example.com/.qmail-*
PP are handled natively by qmail-local.
PP Vpopmail doesn't step in here, so they're already the most efficient
PP way of doing.
PP Vpopmail only takes actions for
PP ~vpopmail/domains/example.com/user
PP as vdelivermail searches for user in vpasswd.cdb and gets
PP directed to that directory for message storing.

PP 2.) You will not succeed. 'fastforward' doesn't allow mailbox or maildir
PP delivery instructions in alias file.

PP Imagine a simple example:

PP [EMAIL PROTECTED] should be forwared to [EMAIL PROTECTED]

PP So your key / value pair in alias file would be

PP [EMAIL PROTECTED]: [EMAIL PROTECTED]

PP Your ~vpopmail/domains/example.com/.qmail-default would look like

PP | ~vpopmail/bin/vdelivermail '' | fastforward /etc/aliases.cdb

PP The mail comes in, vdelivermail is invoked, as no
PP ~vpopmail/domains/example.com/.qmail-qwertz exists and
PP ~vpopmail/domains/example.com/.qmail-default ist chosen.

PP fastforward looks up the aliases file for
PP '[EMAIL PROTECTED]', finds it and forwards the mail.
PP The mail gets reinjected, directed to '[EMAIL PROTECTED]'.
PP qmail-local don't find
PP ~vpopmail/domains/example.com/.qmail-postmaster, therefor
PP .qmail-edfault is used again. Now fastforward looks for
PP '[EMAIL PROTECTED]' in aliases file. Either this
PP key doesn't exist and the mail gets bounced or it exists and has to
PP point to an external address, else you'll walk through this loop
PP indefinitely (until qmail recognizes the loop by Delivered-To
PP lines).

PP At least you'll have to have a .qmail-user file for every user that
PP should be a final recipient of a fastforward action.

PP Well ... ain't it the best to leave the existing dot-qmail files as
PP it's working the fastest way possible, instead off replacing them by
PP only other dot-qmail file that achive, in the end, the same?!?

PP P.S.: PLEASE ... disable your Reply-To for this list or set it to the
PP   lists address.
PP   1.) Your Reply-To makes absolutely _no sense_. It's set to your
PP From which would already be taken as address to reply to if no
PP Reply-To header would be present.
PP   2.) Your Reply-To header destroys the List-Reply functionality
PP of some MUAs, as they're (for good reasons) configured to
PP _first_ use Reply-To when replying, and only if absent
PP List-Header which could be used for replying are searched.

thank you  a lot, also I change reply, hope its ok ;))
so its no other way to keep out of hundreds of .qmail-something files
in dir ?

thnx anyway

Miki

-- 
Best regards,
 Petermailto:[EMAIL PROTECTED]





[vchkpw] vpopmail and fastforward and aliases

2003-02-04 Thread Peter Mikeska
Hi, i just subscribe ;))
I want ask U this I have working vpopmail+qmail+courier, its about 5
domains, and when I make alias for some address I
get file .qmail-nameofalias in directory for domain
for every alias I make, so I decided to put it to
aliases only ONE file in /etc , i use fastforward , so I have write
one line of command to .qmail-DEFAULT but I dont know in which one,
.qmail-default from qmail installation seem dont work this way with
vpopmail, and every domain have one in dir, I tryed put it to every
file but wont work. so can some1 help me how to use aliases file with
vpopmail?

thnx a lot

 Miki

-- 
S pozdravom
 Peter  mailto:[EMAIL PROTECTED]