Re: [vchkpw] relay server

2007-11-09 Thread ckubu
hi,

> Hi I wanted to setup a scanning relay server.. I explain I'm using
> vpopmail 5.4.13 and qmail-1.03 with john simpson 7 combined patch I add
> the domains with ./vadddomain domain.com and later add an smtproutes line
> (in this control file) as domain.com:mail.domain.com but the mail always
> is treated as local...
>
>
> should be /var/qmail/users/assign file be changed for this purpose? for
> having users localy for smtp auth purposes but and users to use this
> machine as relay but the mail incoming for this domains to be delivered as
> smtproutes line sais?

your domain is assigned as local, because you added them with ./vadddomain 
domain.com. make a ./vdeldomain domain.com.

take care, ther is no entry in /control/virtualdomains and also 
none in /control/users/cdb which is the databse-file for 
assign-file

for your domain, saying domain.com, only entries in 
/control/rcpthosts like
   domain.com
and in file /control/smtproutes, like
   domain.com:mail.domain.com
are needed

cu
christoph


!DSPAM:47346f8032008919732555!



Re: [vchkpw] relay server

2007-11-09 Thread ed
On Fri, 09 Nov 2007 09:15:53 -0500
Rick Macdougall <[EMAIL PROTECTED]> wrote:

> No, if the domain is in /v/q/c/virtualdomains then the smtproutes
> file will not be looked at.

My mistake

-- 
The cup and string to the moon pop is spiking because of TK421 not
being at his post. Verio is playing NFL 2k2.
:: http://www.s5h.net/ :: http://www.s5h.net/gpg


signature.asc
Description: PGP signature
!DSPAM:47346d3132001106020555!

Re: [vchkpw] relay server

2007-11-09 Thread Rick Macdougall

ed wrote:


In order to accept the mail, the domains in question should exist in:

  /v/q/c/virtualdomains
  /v/q/c/rcpthosts

Then the domains should also exist in

  /v/q/u/assign

Which should also be compiled to a cdb

  /v/q/u/cdb


(check that the two have similar information)

Then you should check that ~vpopmail/bin/vdominfo shows appropriate
information.

Should the domain exist in /v/q/c/smtproutes then the delivery will not
be treated as local and the mail will be sent to the next hop.



No, if the domain is in /v/q/c/virtualdomains then the smtproutes file 
will not be looked at.


Regards,

Rick

!DSPAM:47346b9c32001320215767!



Re: [vchkpw] relay server

2007-11-09 Thread Rick Macdougall

[EMAIL PROTECTED] wrote:

Hi I wanted to setup a scanning relay server.. I explain I'm using
vpopmail 5.4.13 and qmail-1.03 with john simpson 7 combined patch I add
the domains with ./vadddomain domain.com and later add an smtproutes line
(in this control file) as domain.com:mail.domain.com but the mail always
is treated as local...


should be /var/qmail/users/assign file be changed for this purpose? for
having users localy for smtp auth purposes but and users to use this
machine as relay but the mail incoming for this domains to be delivered as
smtproutes line sais?






Remove the domain from virtualdomains to achieve what you want.

We do exactly the same thing here.


Regards,

Rick

!DSPAM:4734686932008588823045!



Re: [vchkpw] relay server

2007-11-09 Thread ed
On Fri, 9 Nov 2007 14:58:43 +0100 (CET)
[EMAIL PROTECTED] wrote:

> Hi I wanted to setup a scanning relay server.. I explain I'm using
> vpopmail 5.4.13 and qmail-1.03 with john simpson 7 combined patch I
> add the domains with ./vadddomain domain.com and later add an
> smtproutes line (in this control file) as domain.com:mail.domain.com
> but the mail always is treated as local...
> 
> 
> should be /var/qmail/users/assign file be changed for this purpose?
> for having users localy for smtp auth purposes but and users to use
> this machine as relay but the mail incoming for this domains to be
> delivered as smtproutes line sais?

One half of the puzzle is accepting the mail, the other half sounds
like you want it then to be routed to another host.

In order to accept the mail, the domains in question should exist in:

  /v/q/c/virtualdomains
  /v/q/c/rcpthosts

Then the domains should also exist in

  /v/q/u/assign

Which should also be compiled to a cdb

  /v/q/u/cdb


(check that the two have similar information)

Then you should check that ~vpopmail/bin/vdominfo shows appropriate
information.

Should the domain exist in /v/q/c/smtproutes then the delivery will not
be treated as local and the mail will be sent to the next hop.

-- 
The Telegraph to the bedroom is wigging because of a memory leak in the
lyris server. OneMain.com is taking barbital.
:: http://www.s5h.net/ :: http://www.s5h.net/gpg


signature.asc
Description: PGP signature
!DSPAM:473465ce32001104016393!

[vchkpw] relay server

2007-11-09 Thread egoitz
Hi I wanted to setup a scanning relay server.. I explain I'm using
vpopmail 5.4.13 and qmail-1.03 with john simpson 7 combined patch I add
the domains with ./vadddomain domain.com and later add an smtproutes line
(in this control file) as domain.com:mail.domain.com but the mail always
is treated as local...


should be /var/qmail/users/assign file be changed for this purpose? for
having users localy for smtp auth purposes but and users to use this
machine as relay but the mail incoming for this domains to be delivered as
smtproutes line sais?


!DSPAM:4734627032009246121266!