what is a user-oriented virtual-domain tables

2001-08-08 Thread François Philippo

I try to replace an interresting netscape messenger function with qmail.

auto-rewrite an email address and send it to the good server
--
ex:
receive an email for [EMAIL PROTECTED]
rewrite to [EMAIL PROTECTED]
and sending it
---
the best would be to works with ldap (like netscape)

I have found fastfoward. 
which works with an what is a user-oriented virtual-domain tables.
can someone send me an example of a such table?

thanx



Re: NEED HELP problem with virtual domain

2001-07-19 Thread Lukas Beeler

At 20:40 19.07.2001 +0700, you wrote:
>sorry iam a newbie in qmail
>I have problem with virtual domain, some domains work but the other is not
>work.
>my default domain default.net
>if i send to [EMAIL PROTECTED] it deliver to [EMAIL PROTECTED] not to
>[EMAIL PROTECTED]
>i have set other.com:oth in virtualdomains
>and have add to local and rcphost

don't put other.com in local..
i think thats the solution for your problem

>how do i for qmail to read virtualdomains file (ihave do start and stop but
>not work)
>
>
>
>
>_
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com

-- 
--/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
   \ \  My HomePage: http://www.projectdream.org>  / /




NEED HELP problem with virtual domain

2001-07-19 Thread Loroq

sorry iam a newbie in qmail
I have problem with virtual domain, some domains work but the other is not
work.
my default domain default.net
if i send to [EMAIL PROTECTED] it deliver to [EMAIL PROTECTED] not to
[EMAIL PROTECTED]
i have set other.com:oth in virtualdomains
and have add to local and rcphost

how do i for qmail to read virtualdomains file (ihave do start and stop but
not work)




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: imap to virtual domain instead of pop (user%domain)

2001-06-21 Thread alexus

do you know if i can use my patched uw imapd?

thanks

- Original Message - 
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 12:27 PM
Subject: Re: imap to virtual domain instead of pop (user%domain)


> alexus <[EMAIL PROTECTED]> wrote:
> 
> > can i imap to my virtual domain instead of pop (user%domain)?
> 
> Yes.  vmailmgr supports Courier IMAP as well as qmail-pop3d.
> 
> Also, you might want to trim your .sig a bit for mailing lists.
> 
> Charles
> -- 
> ---
> Charles Cazabon<[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> ---
> 




Re: imap to virtual domain instead of pop (user%domain)

2001-06-21 Thread Henning Brauer

On Thu, Jun 21, 2001 at 12:11:04PM -0400, alexus wrote:
> can i imap to my virtual domain instead of pop (user%domain)?

don't crosspost!!! mail to one list a time. if this is the wrong list
someone will tell you which one to use.
and drop this stupid signature. a sig should be 4 lines or less.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: imap to virtual domain instead of pop (user%domain)

2001-06-21 Thread Charles Cazabon

alexus <[EMAIL PROTECTED]> wrote:

> can i imap to my virtual domain instead of pop (user%domain)?

Yes.  vmailmgr supports Courier IMAP as well as qmail-pop3d.

Also, you might want to trim your .sig a bit for mailing lists.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



imap to virtual domain instead of pop (user%domain)

2001-06-21 Thread alexus

can i imap to my virtual domain instead of pop (user%domain)?

_/_/   _/ _/_/_/   _/ _/   _/ _/  _/_/_/
  _/  _/  _/_/_/  _/ _/   _/ _/ _/_/
_/_/ _/_/  _/  _/_/ _/ _/
   _/_/ _/_/_/_/   _/_/ _/ _/  _/_/_/
  _/_/_/_/ _/_/  _/  _/_/ _/   _/
 _/_/ _/ _/ _/ _/  _/ _/  _/ _/ _/_/
_/_/ _/_/_/_/_/_/_/   _/  _/   _/_/_/   _/_/_/

   (W)orld(W)ide(W)eb: http://box.nexgen.com/
  (I)nternet(R)elay(C)hat: EFnet #aLeXuS





Re: Virtual domain How-to

2001-06-19 Thread Jörgen Persson

On Tue, Jun 19, 2001 at 02:24:47PM +0800, Alex Tsang wrote:
> Do any one have some documents talking about creating virtual domain?


It's described in Bernsteins FAQ[1]

Jörgen
[1] http://cr.yp.to/qmail/faq/incominghost.html#virtual



Virtual domain How-to

2001-06-18 Thread Alex Tsang








Dear All

 

Do any one have some documents talking about creating virtual domain?

 

Regards

 

Alex Tsang








Virtual domain

2001-06-07 Thread marco1




I set up Qmail and It's ok.
When i'm setting up vpopmail i haven't Virtual 
domain and assign.
I've created an empty assign file.
When I try  to add the user postmaster it 
tells that the domain doesn't exist(using vadduser)    

when i try to add the domain(using vadddomain) 
 it tells that the domain already exist.
 
What's wrong?
 
Thanks


Re: Virtual Domain

2001-06-05 Thread Lye On Siong Johnny

At 08:15 AM 6/5/2001 -0600, you wrote:
>Lye On Siong Johnny <[EMAIL PROTECTED]> wrote:
> >
> > Are there any other way to implement virtual domain apart from using
> > vpopmail?
>
>Lots of other ways; vmailmgr is one other commonly used package.  Or, as
>Russell said, you could roll your own (or pay him or another qmail consultant
>to roll one for you).

I have got vpopmail running fine. :) So far so good until one of my client 
have got dash in their
email. But that problem is solve with the new development version of 
vpopmail. Thanks to Ken jones.


> > or is it true that if having virtual domain, then the log in name will be
> > the full email address since that's the only way to differentiate the
> > accounts?
>
>No, not necessarily true.  vmailmgr supports differentiation of virtual
>domains based on the reverse DNS entries of the IP addresses in use, if you
>can spare an IP address for each virtual domain you want to host.  Why?  Is
>supplying the full email address a show-stopper for you?

Definitely not a show-stopper. I am more than happy with the performance of 
qmail. Just that one of my client uses
www.thatweb.com to check their mail, and they were unable to do it. And 
just too bad, I do not really have spare IP.
So i guess full email address is the only way to go.

Johnny




Re: Virtual Domain

2001-06-05 Thread Charles Cazabon

Lye On Siong Johnny <[EMAIL PROTECTED]> wrote:
> 
> Are there any other way to implement virtual domain apart from using
> vpopmail?

Lots of other ways; vmailmgr is one other commonly used package.  Or, as
Russell said, you could roll your own (or pay him or another qmail consultant
to roll one for you).

> or is it true that if having virtual domain, then the log in name will be
> the full email address since that's the only way to differentiate the
> accounts?

No, not necessarily true.  vmailmgr supports differentiation of virtual
domains based on the reverse DNS entries of the IP addresses in use, if you
can spare an IP address for each virtual domain you want to host.  Why?  Is
supplying the full email address a show-stopper for you?

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Virtual Domain

2001-06-04 Thread Russell Nelson

Lye On Siong Johnny writes:
 > Are there any other way to implement virtual domain apart from using vpopmail?

There are many ways.  qmail is in effect a tool for sending and
receiving email.  You can use it in many different ways, vpopmail
being just one of them.  You could use vmailmgr
(http://www.vmailmgr.org/) instead.  Rumor has it that IBM has a
virtual domain system based on qmail; I expect it's proprietary since
they charge very large amounts of money for it.  Or you could invent
your own.  I usually do that for my larger customers, because their
requirements are specialized and unique.  E.g. rediffmail.com, which
doesn't need virtual domains, but which handles ten million users.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Microsoft rivets everything.
521 Pleasant Valley Rd. | +1 315 268 1925 voice | Linux has some loose screws.
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX  | You own a screwdriver.



Virtual Domain

2001-06-04 Thread Lye On Siong Johnny

hi,

Are there any other way to implement virtual domain apart from using vpopmail?

or is it true that if having virtual domain, then the log in name will be 
the full email address since that's the only way to differentiate the accounts?

Thanks
Johnny




Re: $EXT value clarification, virtual domain question

2001-05-07 Thread Paul Gregg

In article <[EMAIL PROTECTED]> you wrote:
> Doh, that was a complete misunderstanding of what you were saying on my
> part. Sorry!
> 
> Allright, so let's say I want to pass the local part of the address to the
> .qmail file from virtualdomains, i.e.:
> 
> control/virtualdomains:
>   mail.aaa.com:alias-mail.aaa.com-$LOCAL
> ~alias/.qmail-mail:aaa:com-default:
>   # could use $DEFAULT which refers to the $LOCAL of virtualdomains.
> 
> Would $LOCAL in virtualdomains be the variable to use?

You wouldn't use it in the virtualdomains file, but in the .qmail file.

I tend not to use ~alias, but users/assign - but it is the same anyway...

e.g. Say I receive mail for foobar.co.uk and want to map every username
to the equivalent foobar.com address for delivery, e.g. [EMAIL PROTECTED]
-> [EMAIL PROTECTED], [EMAIL PROTECTED] -> [EMAIL PROTECTED], etc

cd /var/qmail
echo "foobar.co.uk:foobar-co-uk" >> control/virtualdomains
echo "foobar.co.uk" >> control/rcpthosts

Put:
+foobar-co-uk:popuser:888:888:/var/qmail/popboxes/foobar-co-uk:::
into users/assign  (remember this file should have a "." on the last line
and you have to run qmail-newu to create the cdb)

Then in /var/qmail/popboxes/foobar-co-uk, create .qmail-default with:

Each of these does the same thing:

| if U=`echo "$LOCAL"@foobar.com | sed 's/foobar-co-uk-//'`; then forward "$U"; fi
(this should all be on one line)
Here $LOCAL is "foobar-co-uk-user1", so we need sed to get rid of the
"virtual user".  If you use alias, you'll probably have to remove something
else.

Or 

| forward "$EXT2"@foobar.com

Or

| if U=`echo "$EXT2"@foobar.com`; then forward "$U"; fi

Hope this helps,

Paul Gregg.




Re: $EXT value clarification, virtual domain question

2001-05-07 Thread Chris Johnson

On Mon, May 07, 2001 at 02:46:13PM -0600, Benjamin Collar wrote:
> On Mon, 7 May 2001, Chris Johnson wrote:
> 
> > If by "username" you mean "local part of the address
> > [EMAIL PROTECTED]," it's in $DEFAULT.
> 
> Do you mean $DEFAULT would equal "whatever" in "[EMAIL PROTECTED]"? And
> this variable is available in the .qmail- file? 

Yep. From the qmail-command man page:

> DEFAULT is the portion corresponding to the default part of the .qmail-...
> file name; DEFAULT is not set if the file name does not end with default.

Chris

 PGP signature


Re: $EXT value clarification, virtual domain question

2001-05-07 Thread Benjamin Collar

Doh, that was a complete misunderstanding of what you were saying on my
part. Sorry!

Allright, so let's say I want to pass the local part of the address to the
.qmail file from virtualdomains, i.e.:

control/virtualdomains:
mail.aaa.com:alias-mail.aaa.com-$LOCAL
~alias/.qmail-mail:aaa:com-default:
# could use $DEFAULT which refers to the $LOCAL of virtualdomains.

Would $LOCAL in virtualdomains be the variable to use?

Thanks again
Ben

On Mon, 7 May 2001, Benjamin Collar wrote:

> On Mon, 7 May 2001, Chris Johnson wrote:
> 
> > If by "username" you mean "local part of the address [EMAIL PROTECTED],"
> > it's in $DEFAULT.
> Do you mean $DEFAULT would equal "whatever" in
> "[EMAIL PROTECTED]"? And this variable is available in the .qmail-
> file? 
> 
> Sorry I'm not up on the terminology :)
> 
> Thanks
> Ben
> 
> 
>  > 
> > Chris
> > 
> 
> 




Re: $EXT value clarification, virtual domain question

2001-05-07 Thread Benjamin Collar

On Mon, 7 May 2001, Chris Johnson wrote:

> If by "username" you mean "local part of the address [EMAIL PROTECTED],"
> it's in $DEFAULT.
Do you mean $DEFAULT would equal "whatever" in
"[EMAIL PROTECTED]"? And this variable is available in the .qmail-
file? 

Sorry I'm not up on the terminology :)

Thanks
Ben


 > 
> Chris
> 




Re: $EXT value clarification, virtual domain question

2001-05-07 Thread Chris Johnson

On Mon, May 07, 2001 at 02:10:22PM -0600, Benjamin Collar wrote:
> Let's say in control/virtualdomains I put:
> 
> mail.aaa.com:alias-mail.aaa.com
> 
> This will be delivered to the ~alias/.qmail-mail:aaa:com-default file (if
> it's the only matching file). But when I'm in that file, how do I know
> what username is being sent to?

If by "username" you mean "local part of the address [EMAIL PROTECTED],"
it's in $DEFAULT.

Chris

 PGP signature


$EXT value clarification, virtual domain question

2001-05-07 Thread Benjamin Collar

Howdy

Question 1)
I'm not sure I understand the values of $EXT correctly.  Will someone
confirm/deny my assesment? There is a file
~alias/.qmail-mail:aaa:com-default. When in the file, the variables would
be:

$EXT:  mail.aaa.com-default
$EXT2: mail.aaa.com
$EXT3: default

Question 2)
Let's say in control/virtualdomains I put:

mail.aaa.com:alias-mail.aaa.com

This will be delivered to the ~alias/.qmail-mail:aaa:com-default file (if
it's the only matching file). But when I'm in that file, how do I know
what username is being sent to? Could I put something like:

mail.aaa.com:alias-mail.aaa.com-$USER

in virtualdomains and thus catch it with $EXTs in the .qmail (and thus
forward it to the right place)?

Thank you all for your help,
Ben




Re: problem about move to qmail for virtual domain.

2001-04-21 Thread Robin S. Socha

* Michael Cheung <[EMAIL PROTECTED]> writes:
> as I want to add virtual domain, which is better vmailmgr and vpopmail
> or any other choice?

It does not really matter. Personally, I like vpopmail's "one user, all
domains" concept better and inter7 has kindly provided some rather nifty
add-ons (like vqsignup and its successor) as well as a pretty decent
webinterface to administrate your domains (qmailadmin - vmailmgr has
omailadmin which is equally good). You should not see any differences
using either of them AFAICT.
-- 
Robin S. Socha 
http://my.gnus.org/ - To boldly frobnicate what no newbie has grokked before.



Re[2]: problem about move to qmail for virtual domain.

2001-04-19 Thread Michael Cheung



On Thu, 19 Apr 2001 23:03:33 -0700
Greg White <[EMAIL PROTECTED]> wrote:

> On Fri, Apr 20, 2001 at 02:26:21PM +0900, Michael Cheung wrote:
> > Hi:
> > I move to qmail from sendmail for a virtual domain be added.
> > problem is:
> > 1. can't deliver to user@domain.
> > 2. can't use qmail-popup to recieve mail.
> > 
> > me:
> > develop
> 
> I'm not familiar with that TLD -- is this some sort of alternative TLD?
> See below...
> 
my qmail server is an internal server on our intranet.
my machine is vividy.develop, and the server is server.develop.
domain "develop" MX record is point to server.develop
it just for internal communication.

> > 
> > locals:
> > localhost
> > develop
> > 
> > virtual:
> > sales
> 
> Nor am I familiar with the 'sales' TLD -- where do these come from?
> Unless the internet at large is able to reach your server by looking for
> an MX record [1] that matches _exactly_ what's in these control files,
> you'll be getting no mail whatsoever... Can people really reach
> 'joeuser@sales' and 'joeuser@develop' ?
> 
> 
Now I want to add a sales domain in server.develop.
when I mail to user@localhost or user@develop, server defer the mail, and
following error message in bounced mail:
can't find develop.server.develop.
qmail add the hostname to mail address!

> [1] or an A record, of course.
> > 
> > no rcphost file.
> 
> That's 'rcpthosts', I presume. You're not likely to be able to recieve
> any mail whatsoever without something in rcpthosts. Virtual domains go
> in rcpthosts and virtualdomains, system-account domains go in rcpthosts
> and locals. Nothing whatsoever goes in virtualdomains or locals
> _without_ going in rcpthosts.
> 
I have deleted the "rcphosts" file, I want the server can relay all mail from
anywhere to anywhere, actually just for our intranet.
> > 
> > Can I still use mailbox after I add a virtual domain?
> > I have install vmailmgr and create a domain, it use maildir now.
> 
> This is a virtual domain -- why does VSM matter at all? The users have
> no shell accounts -- VSM is even more pointless than usual. :)
> vmailmgr's checkvpw may only support maildir in any case -- check the
> man pages for vmailmgr.
I want to leave the system-account as before, so still in mailbox format.
as you said, I have to transfer all system-account to maildir format?

when I use standard checkpassword in qmail-popup, I can login to my
system-account mailbox, but it said "no %USER/Maildir".
question here: qmail-popup only support maildir?

and when I changed standard "checkpassword" to vmailmgr "checkvpw".
I can't login to mailbox.

> 
> SNIP
> 
> Afraid that's all I can help you with for now.
I lost myself in too many qmail module and documents, I don't know what is need
toinstall for my purpose.

Thanks.




Re: problem about move to qmail for virtual domain.

2001-04-19 Thread Greg White

On Fri, Apr 20, 2001 at 02:26:21PM +0900, Michael Cheung wrote:
> Hi:
> I move to qmail from sendmail for a virtual domain be added.
> problem is:
> 1. can't deliver to user@domain.
> 2. can't use qmail-popup to recieve mail.
> 
> me:
> develop

I'm not familiar with that TLD -- is this some sort of alternative TLD?
See below...

> 
> locals:
> localhost
> develop
> 
> virtual:
> sales

Nor am I familiar with the 'sales' TLD -- where do these come from?
Unless the internet at large is able to reach your server by looking for
an MX record [1] that matches _exactly_ what's in these control files,
you'll be getting no mail whatsoever... Can people really reach
'joeuser@sales' and 'joeuser@develop' ?


[1] or an A record, of course.
> 
> no rcphost file.

That's 'rcpthosts', I presume. You're not likely to be able to recieve
any mail whatsoever without something in rcpthosts. Virtual domains go
in rcpthosts and virtualdomains, system-account domains go in rcpthosts
and locals. Nothing whatsoever goes in virtualdomains or locals
_without_ going in rcpthosts.

> 
> Can I still use mailbox after I add a virtual domain?
> I have install vmailmgr and create a domain, it use maildir now.

This is a virtual domain -- why does VSM matter at all? The users have
no shell accounts -- VSM is even more pointless than usual. :)
vmailmgr's checkvpw may only support maildir in any case -- check the
man pages for vmailmgr.

SNIP

Afraid that's all I can help you with for now.

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



problem about move to qmail for virtual domain.

2001-04-19 Thread Michael Cheung

Hi:

another question:
as I want to add virtual domain, which is better vmailmgr and vpopmail or any
other choice?

Thanks in advance.

Regards;
Michael




problem about move to qmail for virtual domain.

2001-04-19 Thread Michael Cheung

Hi:
I move to qmail from sendmail for a virtual domain be added.
problem is:
1. can't deliver to user@domain.
2. can't use qmail-popup to recieve mail.

me:
develop

locals:
localhost
develop

virtual:
sales

no rcphost file.

rc:
#!/bin/sh

# Using splogger to send the log through syslog.
# Using procmail to deliver messages to /var/spool/mail/$USER by default.

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|preline procmail' splogger qmail

Can I still use mailbox after I add a virtual domain?
I have install vmailmgr and create a domain, it use maildir now.

use setting below in inetd.conf for pop service:
pop-3   stream  tcp nowait  qmaild  /var/qmail/bin/qmail-popup qmail-popup
linux.justware /var/qmail/vmail
mgr/bin/checkvpw /var/qmail/bin/qmail-pop3d

and when I recieve mail from a user which is system user, I got error message:
-ERR authorization failed

Thanks in advance.

Regards;
Michael




Re: virtual domain aliases problems...

2001-04-10 Thread Dave Sill

Geoffrey Gallaway <[EMAIL PROTECTED]> wrote:

>I recently moved from sendmail to qmail-1.03. I'm having a few problems
>getting per-domain alias files working.
>
>[snip description of sendmail method]
>
>Now, with qmail I've installed fastforward and setup /etc/aliases to
>work correctly. The question is how do I make qmail recognize the
>aliases files for the virtual domains that my users have?

For example, say you have virtual.example.com managed by "joe". In
control/virtualdomains:

  virtual.example.com:joe-virtual

In ~joe/.qmail-virtual-default:

  | fastforward -d virtual.aliases.cdb

-Dave



virtual domain aliases problems...

2001-04-08 Thread Geoffrey Gallaway

Hello,

I recently moved from sendmail to qmail-1.03. I'm having a few problems
getting per-domain alias files working.

I have a few users on my system that had shell accounts and also had
some domains I hosted for them. Each of these kind of users had a
domain.aliases file in their home directory so they could manage their
own domains aliases' without bothering me. All I did was add the
location of the aliases files to sendmail.cf's 'AliasFile=' line when I
started hosting a new domain.

Now, with qmail I've installed fastforward and setup /etc/aliases to
work correctly. The question is how do I make qmail recognize the
aliases files for the virtual domains that my users have?

Thanks,
Geoff




Re: mbox POP3 Server w/Virtual Domain Support

2001-03-04 Thread James R Grinter

Ben Schumacher <[EMAIL PROTECTED]> writes:
> mbox server and virtual domains.  Basically I need to be able to allow my
> users to have both shell and POP3 access to their mail, and since they
> will be using clients such as Pine, elm and others, I'm going to need to
> support the mbox format.

You could just make all clients talk through POP3 or IMAP.

(That might discount Elm, but I wouldn't consider that a great loss)

James.



Re: virtual domain & procmail

2001-03-02 Thread Timothy Legant

On Sat, Mar 03, 2001 at 11:07:42AM +0700, Agi Subagio wrote:
> >Agi Subagio <[EMAIL PROTECTED]> wrote:
> If i run TEST.deliver and deliver locally to any users at domain 
> 'testing.com', still i have the same unsucessful result like this :
>
> [root@mail agi]# echo to : [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
>
> new msg 216
> info msg 216: bytes 210 from <[EMAIL PROTECTED]> qp 1570 uid 0
> starting delivery 17: msg 216 to local [EMAIL PROTECTED]

Remove testing.com and mail.testing.com from /var/qmail/control/locals.

Tim



Re: virtual domain & procmail

2001-03-02 Thread Agi Subagio

At 01:09 PM 3/2/2001 -0500, you wrote:
>Agi Subagio <[EMAIL PROTECTED]> wrote:
>
> >/var/qmail/control/virtualdomains :
> >testing.com:myname
> >mail.testing.com:myname
> >
> >and i have a .procmailrc in /home/myname directory :
> >:0
> >/home/myname/testing.txt
> >
> >1. If i run TEST.deliver and send to [EMAIL PROTECTED] or [EMAIL PROTECTED],
> >qmail gave me a "Sorry_no_mailbox..." result, why?
>
>Because of the way that virtual domains work. For example, to accept
>mail for [EMAIL PROTECTED], you should have a .qmail-xyz or
>.qmail-default file (containing the procmail invocation).

i have /var/qmail/control/virtualdomains like this :
testing.com:agi
mail.testing.com:agi

i have /home/agi/.qmail-default like this :
|preline /usr/bin/procmail

and i have /home/agi/.procmailrc like this :
:0
/home/myname/testing.txt
:1
|"/usr/local/apache/cgi-bin/freemail/mail.cgi" $1 (<=== script cgi for 
Alias Mail (www.solutionscripts.com))

i used /var/qmail/rc like this :
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start "./Mailbox"

If i run TEST.deliver and deliver locally to any users at domain 
'testing.com', still i have the same unsucessful result like this :
[root@mail agi]# echo to : [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
new msg 216
info msg 216: bytes 210 from <[EMAIL PROTECTED]> qp 1570 uid 0
starting delivery 17: msg 216 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/40
delivery 17: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
status: local 0/10 remote 0/40
[root@mail agi]# bounce msg 216 qp 1573
end msg 216
new msg 218
info msg 218: bytes 759 from <> qp 1573 uid 510
starting delivery 18: msg 218 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/40
delivery 18: success: did_1+0+0/
status: local 0/10 remote 0/40
end msg 218

[root@mail agi]# echo to : [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
new msg 216
info msg 216: bytes 212 from <[EMAIL PROTECTED]> qp 1585 uid 0
starting delivery 19: msg 216 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/40
delivery 19: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
status: local 0/10 remote 0/40
bounce msg 216 qp 1588
end msg 216
new msg 218
info msg 218: bytes 763 from <> qp 1588 uid 510
[root@mail agi]# starting delivery 20: msg 218 to local [EMAIL PROTECTED]
status: local 1/10 remote 0/40
delivery 20: success: did_1+0+0/
status: local 0/10 remote 0/40
end msg 218

why ?
how to change an incoming message to [EMAIL PROTECTED] and rewritten to 
[EMAIL PROTECTED] ?
did someone has try alias mail with qmail?




Re: mbox POP3 Server w/Virtual Domain Support

2001-03-02 Thread Charles Cazabon

Ben Schumacher <[EMAIL PROTECTED]> wrote:
> For various reasons, I need to find a good POP3 which can handle both the
> mbox server and virtual domains.  Basically I need to be able to allow my
> users to have both shell and POP3 access to their mail, and since they
> will be using clients such as Pine, elm and others, I'm going to need to
> support the mbox format.

Wrong question:  you should have said "I'm going to deliver virtual domain
users to Maildirs, but some clients will have shell access.  Where can I
find MUAs which support Maildir?"

The answer then is mutt.org plus see qmail.org for pointers to Maildir-
patched versions of pine.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



mbox POP3 Server w/Virtual Domain Support

2001-03-02 Thread Ben Schumacher

For various reasons, I need to find a good POP3 which can handle both the
mbox server and virtual domains.  Basically I need to be able to allow my
users to have both shell and POP3 access to their mail, and since they
will be using clients such as Pine, elm and others, I'm going to need to
support the mbox format.

Could somebody please point me in the direction of  a good mbox
format POP3 server.  I've looked into qpopper and spop3d, but neither of
these have native support for virtual domains as well.

Thanks in advance,
Ben Schumacher





Re: Adding Apparently-To: Field to all Inbound EMail for Virtual Domain

2001-03-02 Thread Charles Cazabon

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> My setup is this: qmail server setup as a gateway for my domain. Using
> pullmail to retrieve email from single POP3 account on gateway and then
> sending it to the Exchange SMTP server. Pullmail seems to have problems
> with email sent from various email lists because the To: field is the
> mailing list address - which bounces on my system. Pullmail supports
> To: or Apparently-To: field in the header of each email and uses this in
> the RCPT-TO command to the SMTP server.

Tell the pullmail author to support Delivered-To.  Or, don't do delivery
by SMTP injection (getmail runs under Windows as well).  If neither of
these work, then:

1.  Make the domain virtual on the qmail server.
2.  Have the relevant .qmail file deliver with a script that inserts an
Apparently-To: header.  Knowing your virtualdomain setup, this should
be easy with the various env variables available.  See the manpage for
qmail-command.
3.  Deliver to a Maildir.
4.  Use pullmail to pull the messages as per usual.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Adding Apparently-To: Field to all Inbound EMail for Virtual Domain

2001-03-02 Thread schoon

Thanks for reading!!

My setup is this: qmail server setup as a gateway for my domain. Using
pullmail to retrieve email from single POP3 account on gateway and then
sending it to the Exchange SMTP server. Pullmail seems to have problems
with email sent from various email lists because the To: field is the
mailing list address - which bounces on my system. Pullmail supports
To: or Apparently-To: field in the header of each email and uses this in
the RCPT-TO command to the SMTP server. What I'd like qmail to do is to
add an Apparently-To: field to every messages with the [EMAIL PROTECTED]
address and not the [EMAIL PROTECTED] that is found in
Delivery-To: My last question, is this the right approach to solving
this problem?? 

Thanks again!

.mark
"Windows 95/98 /n./ 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded for a 4 bit
microprocessor, written by a 2 bit company that can't stand 1 bit of
competition."

use Disclaimer;
my $opinion_only;




Adding Apparently-To: Field to all Inbound EMail for Virtual Domain

2001-03-02 Thread schoon

Thanks for reading!!

My setup is this: qmail server setup as a gateway for my domain. Using
pullmail to retrieve email from single POP3 account on gateway and then
sending it to the Exchange SMTP server. Pullmail seems to have problems
with email sent from various email lists because the To: field is the
mailing list address - which bounces on my system. Pullmail supports
To: or Apparently-To: field in the header of each email and uses this in
the RCPT-TO command to the SMTP server. What I'd like qmail to do is to
add an Apparently-To: field to every messages with the [EMAIL PROTECTED]
address and not the [EMAIL PROTECTED] that is found in
Delivery-To: My last question, is this the right approach to solving
this problem?? 

Thanks again!

.mark
"Windows 95/98 /n./ 32 bit extensions and a graphical shell for a 16 bit
patch to an 8 bit operating system originally coded for a 4 bit
microprocessor, written by a 2 bit company that can't stand 1 bit of
competition."

use Disclaimer;
my $opinion_only;




Re: virtual domain & procmail

2001-03-02 Thread Dave Sill

Agi Subagio <[EMAIL PROTECTED]> wrote:

>/var/qmail/control/virtualdomains :
>testing.com:myname
>mail.testing.com:myname
>
>and i have a .procmailrc in /home/myname directory :
>:0
>/home/myname/testing.txt
>
>1. If i run TEST.deliver and send to [EMAIL PROTECTED] or [EMAIL PROTECTED], 
>qmail gave me a "Sorry_no_mailbox..." result, why?

Because of the way that virtual domains work. For example, to accept
mail for [EMAIL PROTECTED], you should have a .qmail-xyz or
.qmail-default file (containing the procmail invocation).

>2. Should I use .qmail in /home/myname?

.qmail-something, yes.

>3. Is there any documentations or mail archives about this?

"Life with qmail", http://www.lifewithqmail.org/, specifically:

  http://www.lifewithqmail.org/lwq.html#virtual-domains

-Dave



virtual domain & procmail

2001-03-02 Thread Agi Subagio

i want to make all incoming email for testing.com to only one local user 
that have procmail script (in this case, i used user "myname"). i have create :

/var/qmail/control/virtualdomains :
testing.com:myname
mail.testing.com:myname

/var/qmail/control/rcpthosts and /var/qmail/control/locals :
localhost.testing.com
mail.testing.com
testing.com

/var/qmail/rc :
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|dot-forward .forward
|preline procmail'

and i have a .procmailrc in /home/myname directory :
:0
/home/myname/testing.txt

1. If i run TEST.deliver and send to [EMAIL PROTECTED] or [EMAIL PROTECTED], 
qmail gave me a "Sorry_no_mailbox..." result, why?
and the testing.txt show that there is no user with xyz or abc name in this 
domain (testing.com).
2. Should I use .qmail in /home/myname?
3. Is there any documentations or mail archives about this?




RE: Missing To:/From: Fields in Virtual Domain Setup.

2001-02-24 Thread schoon

Andy,

Thanks for the help. Pullmail is not removing the to:/from: headers.
I've looked at the files in the Maildir/new and those fields are not
listed. Here's a copy of the *.mail file in /home/user/Maildir/new:

Return-Path: <[EMAIL PROTECTED]>Delivered-To:
[EMAIL PROTECTED]: (qmail 24217 invoked from network); 24 Feb
2001 11:45:07 -Received: from unknown (HELO mail.xxx.com)
(127.0.0.1)  by localhost with SMTP; 24 Feb 2001 11:45:07 -Subject:
TestTest
End of message

If I use qmail-inject and cat a text file with the to:/from: fields in
it ala TEST.deliver, the system works fine. Pullmail pops it off the
server and routes it to the correct user on the Exchange system. qmail
itself is putting all email destined for the domain into a single user
account on the mail server. In order to put the messaged into the queue,
I'm telnetting to port 25 on the mail server and manually running the
commands - just as described in TEST.deliver. This is the only place so
far that the system fails. Not sure where else to look. Here's my rc
file in case that helps. My gut is telling me I'm missing something
there.

/var/qmail/rc

#!/bin/sh# Using splogger to send the log through syslog.# Using
procmail to deliver messages to /var/spool/mail/$USER by default.exec
env - PATH="/var/qmail/bin:$PATH" \qmail-start './Maildir/' splogger
qmail
Thanks again for you help.

.mark



>--
>From:  Andy Bradford[SMTP:[EMAIL PROTECTED]]
>Sent:  Friday, February 23, 2001 5:43 PM
>To:Mark Schoonover
>Cc:[EMAIL PROTECTED]
>Subject:   Re: Missing To:/From: Fields in Virtual Domain Setup. 
>
>On Fri, 23 Feb 2001 16:57:59 PST,  wrote:
>
>> have I obviously missed?? I've used the LWQ and set up the qmail server
>> using Ch 11 of Running with qmail - Using qmail as an ISP server. Am I
>> supposed to resupply the To: / From: fields using variables in the
>> .qmail-default file?? Any help would be greatly appreciated!
>
>No, qmail will not modify those headers by default.  Exchange pullmail 
>must be removing them or they are not included with the email when it 
>was injected into the queue.  Try looking at the mail in the Maildir to 
>see if they are present before they get pop'd.  In addition, how are 
>the messages being put into the queue?  Are you doing it from a script? 
> Are you sending it from a MUA?  And no, you shouldn't have to resupply 
>them in a .qmail-default... :-)
>
>Andy
>
>



Re: Missing To:/From: Fields in Virtual Domain Setup.

2001-02-23 Thread Andy Bradford

On Fri, 23 Feb 2001 16:57:59 PST,  wrote:

> have I obviously missed?? I've used the LWQ and set up the qmail server
> using Ch 11 of Running with qmail - Using qmail as an ISP server. Am I
> supposed to resupply the To: / From: fields using variables in the
> .qmail-default file?? Any help would be greatly appreciated!

No, qmail will not modify those headers by default.  Exchange pullmail 
must be removing them or they are not included with the email when it 
was injected into the queue.  Try looking at the mail in the Maildir to 
see if they are present before they get pop'd.  In addition, how are 
the messages being put into the queue?  Are you doing it from a script? 
 Are you sending it from a MUA?  And no, you shouldn't have to resupply 
them in a .qmail-default... :-)

Andy




Missing To:/From: Fields in Virtual Domain Setup.

2001-02-23 Thread schoon

Good evening!

It looks like I'm on the last stretch of setting qmail up as a smart
host. I do have one - hopefully last - problem. Here's what works:

Standard qmail installation that works with SMTP and POP3.
qmail-inject test work fine using TEST.deliver .

Telnet localhost/IPADDR 25 and manually entering commands works and the
message is delivered into Maildir just fine. I have pullmail running on
NT machine to POP3 out of domain acct and shove it into Exchange. That
works as well... My problem is, when mail arrives for
[EMAIL PROTECTED], it is accepted, but the message itself no longer
contains any To: or From: fields. When pullmail pops the mail from qmail
server, Exchange  bounces it all because there is no To: field! What
have I obviously missed?? I've used the LWQ and set up the qmail server
using Ch 11 of Running with qmail - Using qmail as an ISP server. Am I
supposed to resupply the To: / From: fields using variables in the
.qmail-default file?? Any help would be greatly appreciated!

TIA
.mark
1.79x10^12 furlongs per fortnight -- it's not just a good idea, it's the
law!!

use Disclaimer;
my $opinion_only;




Re: Virtual Domain Quota

2001-02-23 Thread Frank Tegtmeyer

> But, How to make user quota in virtual domain, because I try to use
> vsetuserquota in Vpopmail and cannot blok the user space.

Please ask such questions at the vpopmail mailinglist.

Regards, Frank 



Virtual Domain Quota

2001-02-23 Thread Eko Yulianto

Hello,

I 've installed Qmail 1.03 on FreeBSD 4.2. I install Vpopmail for virtual
domain.
But, How to make user quota in virtual domain, because I try to use
vsetuserquota in Vpopmail and cannot blok the user space.
Can any one explain to me

Thanks



Regards,


eko


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




LWQ - Was: anybody know howto make 3 virtual domain in the one machine,and each virtualdomain not use the fullname(mean username is [email protected])??

2001-02-08 Thread Peter Cavender

>At 10:15 PM 2/7/2001, dick wrote:
>
>sigh.i think we all know the awnser
>
>read LWQ at http://www.lifewithqmail.org
>
>dave - you should charge $1.00 for every person that reads LWQ, 
>you'd be a very wealthy man. :-)


If he charged $1 for everyone who _didn't_ read it before posting, 
he'd be even richer :-)

>
>~kurth
>
>>any suggestion is welcome.




Re: anybody know howto make 3 virtual domain in the one machine,and each virtualdomain not use the fullname(mean username is [email protected])??

2001-02-08 Thread Kurth Bemis

At 10:15 PM 2/7/2001, dick wrote:

sigh.i think we all know the awnser

read LWQ at http://www.lifewithqmail.org

dave - you should charge $1.00 for every person that reads LWQ, you'd be a 
very wealthy man. :-)

~kurth

>any suggestion is welcome.




RE: anybody know howto make 3 virtual domain in the one machineSNIP

2001-02-08 Thread Tim Hunter

You obviously have not read the full docs, since with vpopmail you can only
use the username to login for different domains as long as you have proper
dns records, with reverselookup working properly.

You probably want to move this discussion to the vpopmail list as this is
out of the scope with stock qmail.

-Original Message-
From: dick [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 1:46 AM
To: Greg White; [EMAIL PROTECTED]
Subject: Re: anybody know howto make 3 virtual domain in the one
machineSNIP


thanks your answer,but i mean the username is dick not [EMAIL PROTECTED]
maybe there no such solution?
maybe all the virtualmail user must use the fullmailname.


- Original Message -
From: Greg White <[EMAIL PROTECTED]>
To: dick <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 1:58 PM
Subject: Re: anybody know howto make 3 virtual domain in the one machineSNIP


> On Thu, Feb 08, 2001 at 11:15:05AM +0800, dick wrote:
> > any suggestion is welcome.
>
> Suggestion -- putting your question in the subject line, unless your
> question is ten words or less, is a very bad idea at all times, and is
> not really a good idea at any time.
>
> Suggestion -- Read all the documentation available at:
>
> http://www.inter7.com/qmail/index.html
>
> for vpopmail -- I am positive your question is answered there.
>
> I replied off list intentionally, as it's generally considered to be
> incredibly bad form to post with a subject line as long as yours, and
> considered that you deserved a private warning before the on-list
> flame-fest begins.
>
> --
> Greg White
> Those who make peaceful revolution impossible will make violent
> revolution inevitable.
> -- John F. Kennedy
>




Re: anybody know howto make 3 virtual domain in the one machineSNIP

2001-02-07 Thread dick

thanks your answer,but i mean the username is dick not [EMAIL PROTECTED]
maybe there no such solution?
maybe all the virtualmail user must use the fullmailname.


- Original Message - 
From: Greg White <[EMAIL PROTECTED]>
To: dick <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 1:58 PM
Subject: Re: anybody know howto make 3 virtual domain in the one machineSNIP


> On Thu, Feb 08, 2001 at 11:15:05AM +0800, dick wrote:
> > any suggestion is welcome.
> 
> Suggestion -- putting your question in the subject line, unless your
> question is ten words or less, is a very bad idea at all times, and is
> not really a good idea at any time.
> 
> Suggestion -- Read all the documentation available at:
> 
> http://www.inter7.com/qmail/index.html
> 
> for vpopmail -- I am positive your question is answered there.
> 
> I replied off list intentionally, as it's generally considered to be
> incredibly bad form to post with a subject line as long as yours, and
> considered that you deserved a private warning before the on-list
> flame-fest begins.
> 
> -- 
> Greg White
> Those who make peaceful revolution impossible will make violent
> revolution inevitable.
> -- John F. Kennedy
> 



anybody know howto make 3 virtual domain in the one machine,and each virtualdomain not use the fullname(mean username is [email protected])??

2001-02-07 Thread dick

any suggestion is welcome.



processing mail before qmail delivers to vmailmgr virtual domain...

2001-01-18 Thread Sanjay Arora

I want to do some processing on mails before they are delivered by qmail to
vmailmgr virtual domain. What point in delivery do I take it and what point
do I return the mail (post-processing) to vmailmgr.

Any pointers at all shall be greatly  appreciated.

With best regards.

Sanjay.




Re: Virtual Domain Tools

2001-01-02 Thread qmail

On Sat, Feb 07, 2037 at 04:58:02AM -0500, Aaron Carr wrote:

> Does anyone know anywhere to find or happen to have any RPMs for the Inter7
> programs QmailAdmin, and vpopmail?  I have an RH 7 server, and the Inter7
> programs don't seem to want to install in their current format.  I keep
> getting the error no acceptable cc found in $PATH

Something must be wrong in your settings,
I have installed vpopmail and it went fine on my RH 7.0

Mettavihari



Virtual Domain Tools

2001-01-01 Thread Aaron Carr

Does anyone know anywhere to find or happen to have any RPMs for the Inter7
programs QmailAdmin, and vpopmail?  I have an RH 7 server, and the Inter7
programs don't seem to want to install in their current format.  I keep
getting the error no acceptable cc found in $PATH

Thanks in advance.

Aaron



Re: Virtual Domain equivalent problem

2000-12-22 Thread Dave Sill

[EMAIL PROTECTED] wrote:

> This is a very confusing thing I am trying to accomplish, but for
>reasons outside of my control it must be done. I have a main domain name
>of company..com in locals. I have a company.fi:alias-companyfi line in
>virtualdomains. The alias file looks like this:
>
>| forward ${DEFAULT}@company.com
>
> All mail coming to company.fi should be a full equivalent to all
>[EMAIL PROTECTED] addresses and mailalternateaddress in the ldap entries.

If company.fi and company.com are identical in every way, just list
company.fi in control/locals and forget about the virtualdomains
stuff. The whole point of virtual domains is to *separate* the
namespaces, which is the opposite of what you're trying to do.

-Dave



Re: Virtual Domain equivalent problem

2000-12-21 Thread Turbo Fredriksson

Quoting Mike Jackson <[EMAIL PROTECTED]>:

>  This is a very confusing thing I am trying to accomplish, but for
> reasons outside of my control it must be done. I have a main domain name
> of company..com in locals. I have a company.fi:alias-companyfi line in
> virtualdomains. The alias file looks like this:

Five hits with the whips for not reading QLDAPINSTALL file! :)

- s n i p -
~control/ldapdefaultdotmode

 The default interpretation of .qmail files
 Default: ldaponly
 Example: both
 Values: both, dotonly, ldaponly, ldapwithprog, none
 Note: Works only for deliveries based on LDAP lookups.
   Local mails use dotonly like in normal qmail.
- s n i p -



Virtual Domain equivalent problem

2000-12-21 Thread Mike Jackson

Hi,
 This is a very confusing thing I am trying to accomplish, but for
reasons outside of my control it must be done. I have a main domain name
of company..com in locals. I have a company.fi:alias-companyfi line in
virtualdomains. The alias file looks like this:

| forward ${DEFAULT}@company.com

 All mail coming to company.fi should be a full equivalent to all
[EMAIL PROTECTED] addresses and mailalternateaddress in the ldap entries.
It is currently working fine, with one problem. One person needs to not
have his incoming mail rewritten to [EMAIL PROTECTED] I am controlling
the setting of his outgoing address to [EMAIL PROTECTED] with sendmail at
the firewall, but to not change the incoming address is what I need help
with. I tried to make an alias called .alias-companyfi-user and put
&[EMAIL PROTECTED], then put mailalternateaddress: [EMAIL PROTECTED] in his
ldap entry, but the message looped and died. 

 Any ideas??

Thanks,
Mike



Re: Virtual Domain Users

2000-12-16 Thread Jerry A!

On Sat, Dec 16, 2000 at 01:56:14PM -0600, Charles Cazabon wrote:
: 
: Create one file containing the appropriate forward directive, and
: symlink or hardlink it to .qmail-virt1-postmaster, .qmail-virt2-postmaster,
: etc.
: 
: If you don't like the brute force approach, you could have separate 
: entries in virtualdomains for the role accounts you want:
: 
: [EMAIL PROTECTED]:postmaster
: [EMAIL PROTECTED]:postmaster
: virtdomain1.com:virtuser1
: virtdomain2.com:virtuser2

Maybe I've just been spoiled by using other MTAs.  I was hoping to
avoid this type of duplication.

I guess what I really hoping for was a method of expanding wildcards in
the assign file (eg *-root:...).

Anyway, thanks for the pointers...

--Jerry

name:  Jerry Alexandratos ||  Open-Source software isn't a
phone: 703.599.6023   ||  matter of life or death...
email: [EMAIL PROTECTED]   ||  ...It's much more important
  ||  than that!



Re: Virtual Domain Users

2000-12-16 Thread Charles Cazabon

Jerry A! <[EMAIL PROTECTED]> wrote:
> On Fri, Dec 15, 2000 at 03:01:26PM -0600, Charles Cazabon wrote:
> : 
> : Just put a forwarding directive in your ~alias/.qmail-* entries:
> : 
> : &user@localdomain
> : 
> : You'll typically have a line like this for each of
> : ~alias/.qmail-{root,postmaster,...}
 
> But how do I get this one alias to be used for *all* my virtual domains?
> Right now postmaster@virt1, hostmaster@virt2, etc. goes to the default
> user for each domain.  I want "administrative" mail to be caught by the
> default .qmail-alias files.

Create one file containing the appropriate forward directive, and
symlink or hardlink it to .qmail-virt1-postmaster, .qmail-virt2-postmaster,
etc.

If you don't like the brute force approach, you could have separate 
entries in virtualdomains for the role accounts you want:

[EMAIL PROTECTED]:postmaster
[EMAIL PROTECTED]:postmaster
virtdomain1.com:virtuser1
virtdomain2.com:virtuser2

The two postmaster accounts could then be handled by
~postmaster/.qmail-postmaster or ~alias/.qmail-postmaster-default, which
the rest of those virtualdomains are handled normally.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Virtual Domain Users

2000-12-16 Thread Jerry A!

On Fri, Dec 15, 2000 at 03:01:26PM -0600, Charles Cazabon wrote:
: 
: Yes, although root is a bad example.  qmail doesn't deliver to root, ever,
: as a security measure.
: 
: Just put a forwarding directive in your ~alias/.qmail-* entries:
: 
: &user@localdomain
: 
: You'll typically have a line like this for each of
: ~alias/.qmail-{root,postmaster,...}

But how do I get this one alias to be used for *all* my virtual domains?
Right now postmaster@virt1, hostmaster@virt2, etc. goes to the default
user for each domain.  I want "administrative" mail to be caught by the
default .qmail-alias files.

I'm guessing that this is possible, but obviously I'm missing something.
Any pointers would be appreciated.

--Jerry

name:  Jerry Alexandratos ||  Open-Source software isn't a
phone: 703.599.6023   ||  matter of life or death...
email: [EMAIL PROTECTED]   ||  ...It's much more important
  ||  than that!



Re: Virtual Domain Users

2000-12-15 Thread Charles Cazabon

Jerry A! <[EMAIL PROTECTED]> wrote:
> I've got a bunch of virtual domains that I manage and I was wondering if
> it would be possible to do the following.  Basically, I don't want to
> have to create root, postmaster, hostmaster, etc... aliases for each of
> the virtual domains.
[...] 
> I guess this would be analagous to putting something like the following
> at the top of your sendmail/postfix virtualdomains/virtuserstable:
> rootroot@localhost
> 
> Is something like this possible under qmail?

Yes, although root is a bad example.  qmail doesn't deliver to root, ever,
as a security measure.

Just put a forwarding directive in your ~alias/.qmail-* entries:

&user@localdomain

You'll typically have a line like this for each of
~alias/.qmail-{root,postmaster,...}

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Virtual Domain Users

2000-12-15 Thread Jerry A!

I've got a bunch of virtual domains that I manage and I was wondering if
it would be possible to do the following.  Basically, I don't want to
have to create root, postmaster, hostmaster, etc... aliases for each of
the virtual domains.

Ideally, I'd like them to be handled by the default ~alias/.qmail-xxx
aliases on the system.

I guess this would be analagous to putting something like the following
at the top of your sendmail/postfix virtualdomains/virtuserstable:
rootroot@localhost

Is something like this possible under qmail?

Thanks in advance...

--Jerry

name:  Jerry Alexandratos ||  Open-Source software isn't a
phone: 703.599.6023   ||  matter of life or death...
email: [EMAIL PROTECTED]   ||  ...It's much more important
  ||  than that!



Re: a problem about hostname/virtual domain

2000-12-14 Thread qmail

On Tue, Dec 12, 2000 at 01:52:14PM -0500, Tim Hunter wrote:

> First Excuse my Outlook 2000, corp standard.
 
> The only files you need to be concerned with for virtual hosts using
> vpopmail:
> /var/qmail/control/rcthosts
> metta.lk
> /var/qmail/control/virtualdomains
> metta.lk:metta.lk
> /var/qmail/users/assign
> +metta.lk-:metta.lk:512:5002:/home/vpopmail/domains/metta.lk:-::
> /home/vpopmail/domains/metta.lk/vpasswd
> relevant password entries
 
> All of these changes would have been made if you added the domain with
> ~vpopmail/bin/vadddomain metta.lk
 
> I would suggest deleting the domain ~vpopmail/bin/vdeldomain metta.lk
> and readding it, something is severely screwed up.


Thanks for the replies.
You are quite right.
I re-installed from the OS onwards and it works now.
Thanks for the clear notes from everyone.

Mettavihari
Sri Lanka. 



RE: a problem about hostname/virtual domain

2000-12-12 Thread Tim Hunter

First Excuse my Outlook 2000, corp standard.

The only files you need to be concerned with for virtual hosts using
vpopmail:
/var/qmail/control/rcthosts
metta.lk
/var/qmail/control/virtualdomains
metta.lk:metta.lk
/var/qmail/users/assign
+metta.lk-:metta.lk:512:5002:/home/vpopmail/domains/metta.lk:-::
/home/vpopmail/domains/metta.lk/vpasswd
relevant password entries

All of these changes would have been made if you added the domain with
~vpopmail/bin/vadddomain metta.lk

I would suggest deleting the domain ~vpopmail/bin/vdeldomain metta.lk
and readding it, something is severely screwed up.





Re: a problem about hostname/virtual domain

2000-12-12 Thread qmail

On Tue, Dec 12, 2000 at 11:24:55AM -0600, Charles Cazabon wrote:

> > I have installed qmail, sqwebmail, vpopmail, vqsignup.
> > My machine name is "mail.metta.lk"
> [...] 
> > I have generated the domain name  "metta.lk" in the dir below using the
> > given program.
> > /home/vpopmail/domains/metta.lk/
> Hmm, vpopmail.  It handles virtualdomains a little differently from stock
> qmail, IIRC.  I'm not a vpopmail user, so I can't help you there.
 
> > But the server does not deliver mail to the virtual domain "metta.lk"
> > The MX has been set correctly in the dns and mail is going to
> > mail.metta.lk but returned. see message below.
> > 
> > I have a feeling that the conflict is because the domain name "metta.lk" 
> > and the virtual domain name "metta.lk" is the same,
> > and I have not told qmail correctly that it should
> > deliver incoming mail addressed to "metta.lk"  to a virtual domain,
> > it instead tries to deliver that mail to itself.
> > 
> > The contents of /var/qmail/control is as follows:
> 
> Post the contents of the files
> /var/qmail/control/{locals,virtualdomains,rcpthosts} .
> 
> You probably have "metta.lk" in locals, while it should be only in
> rcpthosts and virtualdomains.  locals should probably only contain
> 'localhost' and 'mail.metta.lk'.

I have tried several ways
I also just tried the setup suggested by you
but mail is still not going to domain.
below are the files /var/qmail/control/

-rw-r--r--1 root root9 Nov 28 11:34 defaultdomain
metta.lk
-rw-r--r--1 root root   34 Dec 12 14:05 locals
localhost
mail.metta.lk
-rw-r--r--1 root root   49 Dec 12 14:07 rcpthosts
localhost
mail.metta.lk
metta.lk
-rw-r--r--1 root root   18 Dec  8 18:33 virtualdomains
metta.lk:metta.lk

Thanks for the help.
with best regards
Mettavihari
Sri Lanka.



Re: a problem about hostname/virtual domain

2000-12-12 Thread Charles Cazabon

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> I have installed qmail, sqwebmail, vpopmail, vqsignup.
> My machine name is "mail.metta.lk"
[...] 
> I have generated the domain name  "metta.lk" in the dir below using the
> given program.
> 
> /home/vpopmail/domains/metta.lk/

Hmm, vpopmail.  It handles virtualdomains a little differently from stock
qmail, IIRC.  I'm not a vpopmail user, so I can't help you there.

> But the server does not deliver mail to the virtual domain "metta.lk"
> The MX has been set correctly in the dns and mail is going to
> mail.metta.lk but returned. see message below.
> 
> I have a feeling that the conflict is because the domain name "metta.lk" 
> and the virtual domain name "metta.lk" is the same,
> and I have not told qmail correctly that it should
> deliver incoming mail addressed to "metta.lk"  to a virtual domain,
> it instead tries to deliver that mail to itself.
> 
> The contents of /var/qmail/control is as follows:

Post the contents of the files
/var/qmail/control/{locals,virtualdomains,rcpthosts} .

You probably have "metta.lk" in locals, while it should be only in
rcpthosts and virtualdomains.  locals should probably only contain
'localhost' and 'mail.metta.lk'.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



a problem about hostname/virtual domain

2000-12-12 Thread qmail

Hi all,

I have installed qmail, sqwebmail, vpopmail, vqsignup.
My machine name is "mail.metta.lk"

The installation has been done on a Redhat 7.0 
and sqwebmail is in the dir /home/vpopmail/
I have generated the domain name  "metta.lk" in the dir below using the
given program.

/home/vpopmail/domains/metta.lk/

I can login to the webserver, 
create accounts on the server, 
and send mail from the server.

But the server does not deliver mail to the virtual domain "metta.lk"
The MX has been set correctly in the dns and mail is going to
mail.metta.lk but returned. see message below.

I have a feeling that the conflict is because the domain name "metta.lk" 
and the virtual domain name "metta.lk" is the same,
and I have not told qmail correctly that it should
deliver incoming mail addressed to "metta.lk"  to a virtual domain,
it instead tries to deliver that mail to itself.

The contents of /var/qmail/control is as follows:
-
-rw-r--r--1 root root   11 Nov 28 11:45 defaultdelivery
./Maildir/
-rw-r--r--1 root root9 Nov 28 11:34 defaultdomain
mail.metta.lk
-rw-r--r--1 root root   34 Dec 12 14:05 locals
localhost
mail.metta.lk
metta.lk
-rw---1 root root0 Dec  8 18:33 locals.lock
-rw-r--r--1 root root   14 Nov 28 11:34 me
-rw-r--r--1 root root9 Nov 28 11:34 plusdomain
-rw-r--r--1 root root   49 Dec 12 14:07 rcpthosts
localhost
mail.metta.lk
dhamma.metta.lk
-rw---1 root root0 Dec  8 18:33 rcpthosts.lock
-rw-r--r--1 root root   18 Dec  8 18:33 virtualdomains
metta.lk:metta.lk
-rw---1 root root0 Dec  8 18:33 virtualdomains.lock

I suspect the virtualdomains incorrect.
below is the returned message.

Your advice is much appriciated
Mettavihari
Sri Lanka.


-
Delivered-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Date: 12 Dec 2000 08:14:59 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at mail.metta.lk.
I tried to deliver a bounce message to this address, but the bounce
bounced!

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 886 invoked for bounce); 12 Dec 2000 08:14:59 -
Date: 12 Dec 2000 08:14:59 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice


Hi. This is the qmail-send program at mail.metta.lk.
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.

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 879 invoked by uid 508); 12 Dec 2000 08:14:58 -
Message-ID: <[EMAIL PROTECTED]>
From: "metta" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: test after putting metta.lk in locals
Date: Tue, 12 Dec 2000 08:14:58 GMT
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit


Test after putting metta.lk in
/var/qmail/control/locals

---
Get a free webmail account from http://metta.lk
If one holds oneself dear, one should protect oneself well. During every
one of the three watches the wise man should keep vigil. Random Dhammapada
Verse 157

--



Re: Multiple users on virtual domain

2000-11-25 Thread David Benfell

On Sat, Nov 25, 2000 at 09:14:44AM -0500, Chris Johnson wrote:
> 
> On Sat, Nov 25, 2000 at 12:14:57AM -0800, David Benfell wrote:
> > I am trying to set up a virtual domain to be controlled by a user.
> 
> [snip]
> 
> > The purpose of this is to set up a secondary MX for our Star Trek fan
> > club e-mail addresses.
> 
> If this is a secondary MX, you should add the domain name to rcpthosts *only*.
> That's all the configuration necessary. Don't make it a virtual domain on this
> server.
> 
[Chuckle...]  Gee, that makes sense.  She succeeded in confusing me.
This is easy to do.  Thanks!
> [snip]
> 
> > So far I have added trek.parts-unknown.org to /var/qmail/control/locals and
> > /var/qmail/control/rcpthosts.  I have put an entry in
> > /var/qmail/control/virtualdomains which looks like:
> 
> A domain should never be in both locals and virtualdomains. If it's in locals,
> the virtualdomains entry will be ignored.

Bingo!  Thanks a million!
> 
> But if this is a secondary MX setup, it shouldn't be in either locals or
> virtualdomains.
> 
Since she's the administrator of the primary site, I'll have to find
out from her what she really wants to do.  Thanks again!

-- 
David Benfell
[EMAIL PROTECTED]
---
The grand leap of the whale up the Fall of Niagara is esteemed, by all
who have seen it, as one of the finest spectacles in nature.
-- Benjamin Franklin.

[from fortune]

 

 PGP signature


Re: Multiple users on virtual domain

2000-11-25 Thread Chris Johnson

On Sat, Nov 25, 2000 at 12:14:57AM -0800, David Benfell wrote:
> I am trying to set up a virtual domain to be controlled by a user.

[snip]

> The purpose of this is to set up a secondary MX for our Star Trek fan
> club e-mail addresses.

If this is a secondary MX, you should add the domain name to rcpthosts *only*.
That's all the configuration necessary. Don't make it a virtual domain on this
server.

[snip]

> So far I have added trek.parts-unknown.org to /var/qmail/control/locals and
> /var/qmail/control/rcpthosts.  I have put an entry in
> /var/qmail/control/virtualdomains which looks like:

A domain should never be in both locals and virtualdomains. If it's in locals,
the virtualdomains entry will be ignored.

But if this is a secondary MX setup, it shouldn't be in either locals or
virtualdomains.

Chris



Multiple users on virtual domain

2000-11-25 Thread David Benfell

Hello all,

I know this has been answered before.  I have seen the answer.  But I
can't remember the answer and I can't remember where I saw it before.

A search of the archive for this list was fruitless.

I am trying to set up a virtual domain to be controlled by a user.  I
want her to have complete control over the user names on this virtual
domain.  I'm afraid they'll conflict with other user names I might
eventually set up on other virtual domains in the future.  So I want
all of this configuration in her account, where she can mess with it
to her heart's content.

I do not want her to have to precede these usernames with her
username.  Ideally, qmail would see trek.parts-unknown.org and figure
it all out from .qmail files (or some other configuration) in her
account.

None of these users will be using POP on my server.  My firewall is
configured to prevent POP access (I don't like passwords in clear
text).  All of these users will have their mail forwarded to their
regular e-mail addresses.

For example, [EMAIL PROTECTED] will be forwarded to me at
[EMAIL PROTECTED]

The purpose of this is to set up a secondary MX for our Star Trek fan
club e-mail addresses.  The user in question uses /etc/aliases on her
sendmail setup to configure all this in a relatively compact form, so
it's not like she has a qmail setup I can duplicate.

I tried vpopmail.  It refused to do the configuration, saying that the
virtual domain already existed.  I grumpily understand this: I had
already started configuring the virtual domain.  So I tried removing
this configuration from the qmail control files.  But it still said
the virtual domain already exists.  I tried telling it to delete the
virtual domain, whereupon it said it couldn't add it.  vpopmail
doesn't seem to be helping.

So far I have added trek.parts-unknown.org to
/var/qmail/control/locals and /var/qmail/control/rcpthosts.  I have
put an entry in /var/qmail/control/virtualdomains which looks like:

trek.parts-unknown.org:star

"star" is her username on my system.  I have set up a bunch of .qmail
files in her account.  One of these is .qmail-xo.  It contains my
e-mail address, [EMAIL PROTECTED]  Another of these is
.qmail-trek, which I think should apply to
[EMAIL PROTECTED], an ezmlm+idx mailing list with all our
members in it.

I can get to the mailing list if I change the above entry in
/var/qmail/control/virtualdomains to:

trek.parts-unknown.org:star-trek

But then when I send her an e-mail on her virtual domain's username at
[EMAIL PROTECTED], it fails saying, "Sorry, no mailbox here
by that name."

She is able to receive mail on my system; I have a cron job which runs
under her account to mirror the fan club website which produces a
piece of mail for her every day.  When I su'd into her account and ran
mutt, it was all there.

In addition, I tried sending her an e-mail to her username on my
system but on the virtual domain, i.e [EMAIL PROTECTED]
This also got properly delivered.

What this looks like to me is that the virtual domain configuration is
having utterly no effect whatsoever.  I'm sure it isn't supposed to be
this way.  What am I missing?

-- 
David Benfell
[EMAIL PROTECTED]
---
The grand leap of the whale up the Fall of Niagara is esteemed, by all
who have seen it, as one of the finest spectacles in nature.
-- Benjamin Franklin.

[from fortune]

 

 PGP signature


Re: tcpserver & virtual domain

2000-11-15 Thread Dave Sill

"Kiran" <[EMAIL PROTECTED]> wrote:

>1. I am able to send & receive mails, but i need to start qmail manually
>even though i have written the init scripts.
>   This is the error i get in the nohup.out which is created when starting
>qmail file : nonup env - PATH="$PATH" svscan &
>
>./run: Can't reopen pipe to command substitution (fd 4): No child processes

Hmm, I wonder what's in your run script(s).

>And on checking the files under /var/log/qmail directory I get the following
>message :
>
>@40003a12898c17eccf2c tcpserver: fatal: unable to bind: address already
>used.

tcpserver is trying to listen to some port (probably 25), but
something else is already listening on that port (e.g., sendmail,
inetd, xinetd, tcpserver).

>The IP that has been assigned to this linux box is not being used anywhere
>else.

The "address" it's talking about is a port number, not an IP address.

>2.One more thing was the machine was giving a 'host not found' error for the
>2nd domain that i had given. I had assigned a
>   2nd domain and given the full entries in the locals and the rcpthosts
>file. When i try to send a mail to that domain, it gives
>   me  a "Host unknown (Name server: lists.example2.com.example2.com : host
>not found)" error.The dns entries for the MX
>   and A records point to the correct machine but this error occurs. I tried
>telnet into that domain on port 25. It accepted the
>   RCPT TO address and the data. But when i checked the logs i founs the
>error :
>Nov 15 18:54:33 lists qmail: 974294673.441538 delivery 37: deferral:
>Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/.
>
>Now I am stuck here. Could u plz suggest a way out.

Sure: provide some real information instead of a summary that says,
basically, "I did everything right but it doesn't work." The output of 
qmail-showctl would be a good start.

-Dave



tcpserver & virtual domain

2000-11-15 Thread Kiran

hi,

1. I am able to send & receive mails, but i need to start qmail manually
even though i have written the init scripts.
   This is the error i get in the nohup.out which is created when starting
qmail file : nonup env - PATH="$PATH" svscan &

./run: Can't reopen pipe to command substitution (fd 4): No child processes

And on checking the files under /var/log/qmail directory I get the following
message :

@40003a12898c17eccf2c tcpserver: fatal: unable to bind: address already
used.

The IP that has been assigned to this linux box is not being used anywhere
else.

2.One more thing was the machine was giving a 'host not found' error for the
2nd domain that i had given. I had assigned a
   2nd domain and given the full entries in the locals and the rcpthosts
file. When i try to send a mail to that domain, it gives
   me  a "Host unknown (Name server: lists.example2.com.example2.com : host
not found)" error.The dns entries for the MX
   and A records point to the correct machine but this error occurs. I tried
telnet into that domain on port 25. It accepted the
   RCPT TO address and the data. But when i checked the logs i founs the
error :
Nov 15 18:54:33 lists qmail: 974294673.441538 delivery 37: deferral:
Sorry,_I_couldn't_find_any_host_by_that_name._(#4.1.2)/.

Now I am stuck here. Could u plz suggest a way out.

Again Thanks in Advance

Regards

Kiran


- Original Message -
From: Mike Smith <[EMAIL PROTECTED]>
To: Kiran <[EMAIL PROTECTED]>
Sent: Sunday, November 12, 2000 2:21 AM
Subject: Re: Fw: re-smtp port


>
>
> You still have previous qmail processes running.  Assuming from your
previous
> mails, you don't have init scripts, yet.  Just ps for the qmail-send
process and
> kill it. When it dies, the other three process running (qmail-lspawn,
> qmail-rspawn, and qmail-clean) will die, as well.  Brutal, but effective.
>
> -Mike
>
> -Original Message-
> From: "Kiran" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>, "Denis Petrov" <[EMAIL PROTECTED]>
> Date: Sat, 11 Nov 2000 23:02:12 +0530
> Subject: Fw: re-smtp port
>
> >Hi,
> >
> >I was just looking into the logs. It gives an error message :
> >tcpserver: fatal: unable to bind: address already used.
> >
> >What could this mean?
> >
> >Kiran
> >- Original Message -
> >From: Kiran <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>; Denis Petrov <[EMAIL PROTECTED]>
> >Cc: <[EMAIL PROTECTED]>
> >Sent: Saturday, November 11, 2000 8:39 PM
> >Subject: Re: re-smtp port
> >
> >
> >> Hi,
> >> Thanks for that info. I was able to telnet to the particular port after
> >> adding the lines in inetd.conf.
> >>
> >> After this i was able to place the scripts etc for starting qmail
> >> automatically while booting. While installing the ucspi-tcp package i
> >> reliased that scripts for starting this were not avaliable . Could u
giude
> >> as to where to get these?
> >>
> >> Thanks in Advance
> >>
> >> Regards
> >> Kiran
> >>
> >> - Original Message -
> >> From: vasudeva <[EMAIL PROTECTED]>
> >> To: <[EMAIL PROTECTED]>
> >> Sent: Saturday, November 11, 2000 1:27 PM
> >> Subject: re-smtp port
> >>
> >>
> >> > Hi,
> >> >could u inserted line related to smtp in
> >> > /etc/inetd.conf.. ? if not include the following line
> >> > # Smtp setup for qmail
> >> >  smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env
> >> > tcp-env /var/qmail/bin/qmail-smtpd
> >> >
> >> > and also check the file /etc/services the port 25
> >> > shoulb be enabled.
> >> >
> >> > Ok try this and get back to me
> >> >
> >> > Vasu
> >> > Systems Administrator
> >> > Eximsoft Technologies Pvt ltd.
> >> > Bangalore
> >> > email: [EMAIL PROTECTED]
> >> >
> >> >
> >> > =
> >> >
> >> >
> >> > __
> >> > Do You Yahoo!?
> >> > Thousands of Stores.  Millions of Products.  All in one Place.
> >> > http://shopping.yahoo.com/
> >
> >




Re: problem with virtual domain

2000-09-29 Thread Dave Sill

Martin Jespersen <[EMAIL PROTECTED]> wrote:

>../controls/me: 
>
>mother.mbj.dk
>
>../controls/virtualdomains: 
>
>carlsminde.dk:alias-carlsminde-dk
>
>../alias/.qmail-carlsminde-dk-whatever
>
>&[EMAIL PROTECTED]
>
>../alias/.qmail-carlsminde-default
>
>&[EMAIL PROTECTED]
>
>../alias/.qmail-carlsminde-dk-default: 
>
>&[EMAIL PROTECTED]

Do you have a ~alias/.qmail-default? What does "ls -l
~alias/.qmail-carlsminde*" say?

>Now if i send to [EMAIL PROTECTED] everything works fine

How about mail to [EMAIL PROTECTED]? Or [EMAIL PROTECTED]?

>if i send to [EMAIL PROTECTED] then, as far as i understand,
>
>this is supposed to be handled by the following dot-qmail files in
>the follwoing order:
>
>1: ../alias/.qmail-carlsminde-dk-whatever
>2: ../alias/.qmail-carlsminde-dk-default
>3: ../alias/.qmail-carlsminde-default
>4: ../alias/.qmail-default

Correct.

>but it just doesn't work that way :(
>
>it completely ignores the 3 first files, and if i don't have ../alias/.qmail-default 
>the mail
>bounces...

What happens if you send directly to
[EMAIL PROTECTED]?

>here is the output of the syslog:

Dang, you stole my thunder. :-)

>can somebody please explain what i am doing wrong?

Not sure yet.

-Dave



problem with virtual domain

2000-09-29 Thread Martin Jespersen

Hi there.

I have just set up qmail 1.03.

It works fine for delivery to localhost, but i have a serious problem with virtual 
hosts/domains.

I have the following setup:


../controls/me: 

mother.mbj.dk

../controls/virtualdomains: 

carlsminde.dk:alias-carlsminde-dk

../alias/.qmail-carlsminde-dk-whatever

&[EMAIL PROTECTED]

../alias/.qmail-carlsminde-default

&[EMAIL PROTECTED]

../alias/.qmail-carlsminde-dk-default: 

&[EMAIL PROTECTED]




Now if i send to [EMAIL PROTECTED] everything works fine

if i send to [EMAIL PROTECTED] then, as far as i understand,

this is supposed to be handled by the following dot-qmail files in the follwoing order:

1: ../alias/.qmail-carlsminde-dk-whatever
2: ../alias/.qmail-carlsminde-dk-default
3: ../alias/.qmail-carlsminde-default
4: ../alias/.qmail-default

but it just doesn't work that way :(

it completely ignores the 3 first files, and if i don't have ../alias/.qmail-default 
the mail
bounces...

here is the output of the syslog:

Sep 29 18:30:05 mother qmail: 970245005.104882 new msg 407358
Sep 29 18:30:05 mother qmail: 970245005.105521 info msg 407358: bytes 528 from 
<[EMAIL PROTECTED]> qp 2690
uid 503
Sep 29 18:30:05 mother qmail: 970245005.110662 starting delivery 1: msg 407358 to local
[EMAIL PROTECTED]
Sep 29 18:30:05 mother qmail: 970245005.94 status: local 1/10 remote 0/20
Sep 29 18:30:05 mother qmail: 970245005.297557 delivery 1: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Sep 29 18:30:05 mother qmail: 970245005.298367 status: local 0/10 remote 0/20
Sep 29 18:30:05 mother qmail: 970245005.306510 bounce msg 407358 qp 2692
Sep 29 18:30:05 mother qmail: 970245005.307096 end msg 407358


can somebody please explain what i am doing wrong?

thanx

/Martin



RE: virtual domain & "no mailbox here...."

2000-09-22 Thread Stefan . Gasteiger

Bingo!

root@gandalf:/home > ls -al
drwxr-xr-x   3 root root 1024 Sep 22 22:17 wkb
root@gandalf:/home > chown wkb wkb 
root@gandalf:/home > chgrp  nofiles wkb

--> That's it! Now it works as it should!

Many thanks, Dave!!!


Stefan Gasteiger
SG5599-RIPE
I+K Betrieb (zertifiziert nach DIN EN ISO 9001)
InfraServ Gendorf   
Tel.: +49 8679 7 5599   
Fax: +49 8679 7 39 5599
Mobiltel.: +49 172 8649205
E-Mail: [EMAIL PROTECTED]


> -Original Message-
> From: Dave Sill [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 22, 2000 10:04 PM
> To: [EMAIL PROTECTED]
> Subject: Re: virtual domain & "no mailbox here"
> 
> 
> [EMAIL PROTECTED] wrote:
> 
> >/var/qmail/control/virtualdomains:
> >lug-waldkraiburg.org:wkb
> >
> >~wkb/.qmail-members:
> >&[EMAIL PROTECTED]
> >
> >If I send a mail at [EMAIL PROTECTED], I get 
> >"Sorry,_no_mailbox_here_by_that_name."
> 
> That all looks good. What happens when you send mail directly to wkb?
> Read the qmail-getpw man page carefully--especially the part about
> the requirements qmail places on accounts (e.g., not uid 0, owns home
> directory, etc.).
> 
> -Dave
> 



Re: virtual domain & "no mailbox here...."

2000-09-22 Thread Dave Sill

[EMAIL PROTECTED] wrote:

>/var/qmail/control/virtualdomains:
>lug-waldkraiburg.org:wkb
>
>~wkb/.qmail-members:
>&[EMAIL PROTECTED]
>
>If I send a mail at [EMAIL PROTECTED], I get 
>"Sorry,_no_mailbox_here_by_that_name."

That all looks good. What happens when you send mail directly to wkb?
Read the qmail-getpw man page carefully--especially the part about
the requirements qmail places on accounts (e.g., not uid 0, owns home
directory, etc.).

-Dave



RE: virtual domain & "no mailbox here...."

2000-09-22 Thread Stefan . Gasteiger

Jerry, 

thanks for this hint, but this doesn't work either :-(

Stefan Gasteiger
SG5599-RIPE
I+K Betrieb (zertifiziert nach DIN EN ISO 9001)
InfraServ Gendorf   
Tel.: +49 8679 7 5599   
Fax: +49 8679 7 39 5599
Mobiltel.: +49 172 8649205
E-Mail: [EMAIL PROTECTED]


> -Original Message-
> From: Jerry Keene [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 22, 2000 9:43 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: virtual domain & "no mailbox here"
> 
> 
> Stefan:
> 
> Did you precede your virtualdomain definition with an initial dot?  
> That initial dot (.) would tell the system to route "all" 
> users to the 
> domain.
> 
> //jrkeene
> > 
> > /var/qmail/control/virtualdomains:
> > lug-waldkraiburg.org:wkb
> > 
> > ~wkb/.qmail-members:
> > &[EMAIL PROTECTED]
> > 
> > If I send a mail at [EMAIL PROTECTED], I get 
> > "Sorry,_no_mailbox_here_by_that_name."
> > 
> > with the following in the mail log:
> > 
> > Sep 22 20:36:09 gandalf qmail: 969647769.130807 new msg 701129
> > Sep 22 20:36:09 gandalf qmail: 969647769.133111 info msg 
> 701129: bytes
> > 802 from <[EMAIL PROTECTED]> qp 268 uid 0 Sep 22 20:36:09
> > gandalf qmail: 969647769.269828 starting delivery 1: msg 701129 to
> > local [EMAIL PROTECTED] Sep 22 20:36:09 
> gandalf qmail:
> > 969647769.271016 status: local 1/10 remote 0/20 Sep 22 20:36:09
> > gandalf qmail: 969647769.284978 delivery 1: failure:
> > Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Sep 22 
> 20:36:09 gandalf
> > qmail: 969647769.285714 status: local 0/10 remote 0/20 Sep 
> 22 20:36:09
> > gandalf qmail: 969647769.418679 bounce msg 701129 qp 271 Sep 22
> > 20:36:09 gandalf qmail: 969647769.419035 end msg 701129
> > 
> > Any hints are welcome!
> > 
> > TIA,



Re: virtual domain & "no mailbox here...."

2000-09-22 Thread Dave Sill

[EMAIL PROTECTED] wrote:

>Did you precede your virtualdomain definition with an initial dot?  
>That initial dot (.) would tell the system to route "all" users to the 
>domain.

Nope. A virtualdomains entry that doesn't specify a local part
("something@") automatically matches all local parts.

-Dave



Re: virtual domain & "no mailbox here...."

2000-09-22 Thread Jerry Keene

Stefan:

Did you precede your virtualdomain definition with an initial dot?  
That initial dot (.) would tell the system to route "all" users to the 
domain.

//jrkeene
> 
> /var/qmail/control/virtualdomains:
> lug-waldkraiburg.org:wkb
> 
> ~wkb/.qmail-members:
> &[EMAIL PROTECTED]
> 
> If I send a mail at [EMAIL PROTECTED], I get 
> "Sorry,_no_mailbox_here_by_that_name."
> 
> with the following in the mail log:
> 
> Sep 22 20:36:09 gandalf qmail: 969647769.130807 new msg 701129
> Sep 22 20:36:09 gandalf qmail: 969647769.133111 info msg 701129: bytes
> 802 from <[EMAIL PROTECTED]> qp 268 uid 0 Sep 22 20:36:09
> gandalf qmail: 969647769.269828 starting delivery 1: msg 701129 to
> local [EMAIL PROTECTED] Sep 22 20:36:09 gandalf qmail:
> 969647769.271016 status: local 1/10 remote 0/20 Sep 22 20:36:09
> gandalf qmail: 969647769.284978 delivery 1: failure:
> Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Sep 22 20:36:09 gandalf
> qmail: 969647769.285714 status: local 0/10 remote 0/20 Sep 22 20:36:09
> gandalf qmail: 969647769.418679 bounce msg 701129 qp 271 Sep 22
> 20:36:09 gandalf qmail: 969647769.419035 end msg 701129
> 
> Any hints are welcome!
> 
> TIA,
> 
> Stefan Gasteiger
> SG5599-RIPE
> I+K Betrieb (zertifiziert nach DIN EN ISO 9001)
> InfraServ Gendorf 
> Tel.: +49 8679 7 5599 
> Fax: +49 8679 7 39 5599
> Mobiltel.: +49 172 8649205
> E-Mail: [EMAIL PROTECTED]
> 
> 



Jerry R. Keene
Senior Systems Analyst
SCS ENGINEERS---1970-2000! Thirty Year Anniversary
Partners With EPA Through The Landfill Methane Outreach Program

Phone: 703.471.6150
Fax: 703.471.6676
http://www.scsengineers.com



virtual domain & "no mailbox here...."

2000-09-22 Thread Stefan . Gasteiger

Hi out there!

I've set up the following

/var/qmail/control/virtualdomains:
lug-waldkraiburg.org:wkb

~wkb/.qmail-members:
&[EMAIL PROTECTED]

If I send a mail at [EMAIL PROTECTED], I get 
"Sorry,_no_mailbox_here_by_that_name."

with the following in the mail log:

Sep 22 20:36:09 gandalf qmail: 969647769.130807 new msg 701129
Sep 22 20:36:09 gandalf qmail: 969647769.133111 info msg 701129: bytes 802
from <[EMAIL PROTECTED]> qp 268 uid 0
Sep 22 20:36:09 gandalf qmail: 969647769.269828 starting delivery 1: msg
701129 to local [EMAIL PROTECTED]
Sep 22 20:36:09 gandalf qmail: 969647769.271016 status: local 1/10 remote
0/20
Sep 22 20:36:09 gandalf qmail: 969647769.284978 delivery 1: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Sep 22 20:36:09 gandalf qmail: 969647769.285714 status: local 0/10 remote
0/20
Sep 22 20:36:09 gandalf qmail: 969647769.418679 bounce msg 701129 qp 271
Sep 22 20:36:09 gandalf qmail: 969647769.419035 end msg 701129

Any hints are welcome!

TIA,

Stefan Gasteiger
SG5599-RIPE
I+K Betrieb (zertifiziert nach DIN EN ISO 9001)
InfraServ Gendorf   
Tel.: +49 8679 7 5599   
Fax: +49 8679 7 39 5599
Mobiltel.: +49 172 8649205
E-Mail: [EMAIL PROTECTED]




Re: Virtual domain Help please.

2000-09-14 Thread Oezguer Kesim

Thus spake Oezguer Kesim ([EMAIL PROTECTED]):

> > my.virtual.domain.com:user
> 
> That means, that a mail to
>   [EMAIL PROTECTED]
> will be sent locally to
>   user-my.virtual.domain.com-foo

STOP -- what a *mistake*!!  I personaly get used to have lines like
my.virtual.domain.com:user-my.virtual.domain.com
in my virtualdomains file.

Only in that case the above rewritings apply!

Sorry for the failure -- it was too late and I get used to much in my own
habits...

cheers,
  oec



Re: Virtual domain Help please.

2000-09-14 Thread Dave Sill

"Dejan Markic" <[EMAIL PROTECTED]> wrote:

>So ... I have put virtual domain to virtualdomains file:
>
>my.virtual.domain.com:user
>
>user is valid user on my server, and he's getting mail's normaly.
>
>So when I make this file I go to user's home dir. In this case /home/user/
>I touch file named .qmail-info (i don't write anything in this file). 
>
>I chown i to user and chgrp it to users (my group for normal users) 
>
>I do a 'ps ax' and there i find '  99 ?S  0:01
>qmail-send' so ... I send ' kill -HUP 99' (this should reread
>virtualdomains and all that it has to..) 
>
>And then I send message to [EMAIL PROTECTED] and I get
>message that Mailbox by that name does not exist. 

It sounds like you did everything right, so What Do The Logs Say? (tm) 
Post a snippet of the qmail-send logs during an attempted delivery to
the virtual domain.

Also, please show us the actual contents of your virtualdomains file,
not something that resembles it. Even better, post the unmodified
output of qmail-showctl.

-Dave



Re: Virtual domain Help please.

2000-09-14 Thread Dave Sill

Oezguer Kesim <[EMAIL PROTECTED]> wrote:

>Thus spake Dejan Markic ([EMAIL PROTECTED]):
>
>> So ... I have put virtual domain to virtualdomains file:
>> 
>> my.virtual.domain.com:user
>
>That means, that a mail to
>   [EMAIL PROTECTED]
>will be sent locally to
>   user-my.virtual.domain.com-foo

No, it'll go to user-foo. Check the qmail-send man page.

>Stay calm.  Relax.  Enjoy beauty.

Always good advice. :-)

-Dave



Re: Virtual domain Help please.

2000-09-13 Thread Oezguer Kesim

Thus spake Dejan Markic ([EMAIL PROTECTED]):

> So ... I have put virtual domain to virtualdomains file:
> 
> my.virtual.domain.com:user

That means, that a mail to
[EMAIL PROTECTED]
will be sent locally to
user-my.virtual.domain.com-foo

Please note the complete virtualdomain in the forwarded address.

> I touch file named .qmail-info (i don't write anything in this file). 

This doesn´t fit.  For the domain above, you have to touch
.qmail-my:virtual:domain:com-info

> Please help, I am in hurry...

Stay calm.  Relax.  Enjoy beauty.

cheers,

  oec



Virtual domain Help please.

2000-09-13 Thread Dejan Markic



Hello
 
I have read two different FAQ's about Virtual 
domains. I've done everything that was written there.
 
So ... I have put virtual domain to virtualdomains 
file:
 
my.virtual.domain.com:user
 
user is valid user on my server, and he's getting 
mail's normaly.
 
So when I make this file I go to user's home dir. 
In this case /home/user/
I touch file named .qmail-info (i don't write 
anything in this file). 
 
I chown i to user and chgrp it to users (my group 
for normal users) 
 
I do a 'ps ax' and there i find '  99 
?    S  0:01 
qmail-send' so ... I send ' kill -HUP 99' (this should reread virtualdomains and 
all that it has to..)
 
And then I send message to [EMAIL PROTECTED] and I 
get message that Mailbox by that name does not exist.
 
Please help, I am in hurry...
 
Thank you very much..please point to to atleast 
one good url where I can find answers about this problem.
 
have a nice day! :)
 
Dejan
-=-=-=-=-=-=-=-=-=-=-=¤×ß§| Wahoo Band 
|§ßפ=-=-=-=-=-=-=-=-=
 
Web:  http://dejan.wahoo-band.com  
http://www.wahoo-band.com  
http://wahoo.eu.orgMail : [EMAIL PROTECTED]
 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
 


Re: virtual domain error.

2000-08-31 Thread Dave Sill

Muhammad Yusuf <[EMAIL PROTECTED]> wrote:

>I've set up a virtual domain, say domain1.
>before setting up that virtual domain, I use domain0.
>I put domain0 in rcpthosts and virtualdomains.
>but when I try to send an e-mail to domain1 from another machine.
> it sent to domain0.
>
>is there anyone can help me with this??

Sure. First, avoid using made-up example domains. Show us exactly what
you've got in control/locals, control/virtualdomains, and
control/rcpthosts.

-Dave



RE: virtual domain error.

2000-08-30 Thread Jason J. Czerak

Look at vpopmail

http://www.inter7.com/vpopmail/

It's the perfect utility to set up vdomains...

I would first erase any files you started messing around with. Reset them
back to orignal state and then install.. It's almost to simple 

On 31-Aug-2000 Muhammad Yusuf wrote:
> hi..
> 
> I've set up a virtual domain, say domain1.
> before setting up that virtual domain, I use domain0.
> I put domain0 in rcpthosts and virtualdomains.
> but when I try to send an e-mail to domain1 from another machine.
>  it sent to domain0.
> 
> is there anyone can help me with this??
> 
> thx in advance.
> 
> yusuf



--
Jason J. Czerak ([EMAIL PROTECTED])
  Linux Systems Evangelist
  
Jasnik Services, LLC
  http://www.Jasnik.net




virtual domain error.

2000-08-30 Thread Muhammad Yusuf

hi..

I've set up a virtual domain, say domain1.
before setting up that virtual domain, I use domain0.
I put domain0 in rcpthosts and virtualdomains.
but when I try to send an e-mail to domain1 from another machine.
 it sent to domain0.

is there anyone can help me with this??

thx in advance.

yusuf




Re: virtual domain (vpopmail): no mailbox here by that name (#5.1.1)

2000-08-14 Thread Dale Miracle

Joel Gautschi wrote:
> 
> hi,
> 
> 1. every user in /var/lib/vpopmail/users works fine
> 2. every user in /var/lib/vpopmail/domains/mydomain.com doesn't work ;(
> 
> if I send a mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] i get the following
> error in the mail.log
> 
> --- from /var/log/mail.log ---
> Aug  9 10:15:20 joshua qmail: 965808920.712606 new msg 1507345
> Aug  9 10:15:20 joshua qmail: 965808920.713055 info msg 1507345: bytes 618
> from <[EMAIL PROTECTED]> qp 31023 uid 64011
> Aug  9 10:15:20 joshua qmail: 965808920.767276 starting delivery 520: msg
> 1507345 to local [EMAIL PROTECTED]
> Aug  9 10:15:20 joshua qmail: 965808920.767613 status: local 1/10 remote
> 0/20
> Aug  9 10:15:21 joshua qmail: 965808921.007641 delivery 520: failure:
> Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
> Aug  9 10:15:21 joshua qmail: 965808921.071573 status: local 0/10 remote
> 0/20
> Aug  9 10:15:21 joshua qmail: 965808921.130812 bounce msg 1507345 qp 31026
> Aug  9 10:15:21 joshua qmail: 965808921.145955 end msg 1507345
> ---
> 
> the virtual domain directory looks like that:
> 
> joshua:/var/lib/vpopmail/domains/mydomain.com# ls -la
> total 12
> drwx--6 vpopmail vchkpw   1024 Jul 12 11:54 .
> drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 ..
> -rw---1 vpopmail vchkpw 34 Jul 12 11:54 .dir-control
> -rw---1 vpopmail vchkpw 46 Jul  5 10:34 .qmail-default
> -rw---1 vpopmail vchkpw  0 Jul  5 10:34 .vpasswd.lock
> drwx--3 vpopmail vchkpw   1024 Jul  5 10:40 info
> drwx--3 vpopmail vchkpw   1024 Jul 10 09:51 info2
> drwx--3 vpopmail vchkpw   1024 Jul 12 11:54 info3
> drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 postmaster
> -rw---1 vpopmail vchkpw356 Jul 12 11:54 vpasswd
> -rw---1 vpopmail vchkpw   2492 Jul 12 11:54 vpasswd.cdb
> 
> I created the virtualdomain with vadddomain and the virtualdomain users with
> vadduser
> any idea what's wrong? do you need more information (log files or
> whatever...)?
> 
> btw: does the virtualdomain need an MX entry on the DNS server?
> cya
> Joel

To answer your second question yes you need an mx record for each
virtual domain.  In the dns record of each domain you can put the MX
name of the box running qmail/vpopmail.  What I have done on my box is
run several domains with qmail/vpopmail but in the MX entry for each
domain I put the name of the name of the box running qmail/vpopmail.
When the smtp server needs to deliver mail it looks up that domains MX
record then it will in order of preference starting at the lowest number
(normally 10 then 20, 30, etc what ever the numbering sequence is) and
tries the next highest and so on.  The sending smtp server will not care
it is delivering mail for abcd.com to wxyz.com, just as long as the MX
for abcd.com says to use wxyz.com 's mail server.  I hope that wasn't to
confusing if it was.  To put it in a nutshell, use the mail server box
running the vpopmail/qmail for the various domains as the mx for each
domain.  The mail servers will sort out what mail goes where once they
get it.

As for your other problem I had the same problem but only for local
delivered mail.  I sent a message from [EMAIL PROTECTED] to
[EMAIL PROTECTED] and would get returned because it couldn't find the
that person BUT if a person outside of thisdomain.com would send an
e-mail to [EMAIL PROTECTED] it would go through fine. 
I was using a simular setup to you where I had my domain teoi.net as the
main domain and then the other virtual domains.  I had problems with
pop3 mail retrieval and delivering mail from a local user to another
local user.  What I did was recompile vpopmail with the following
settings making my domain a virtual domain along with the rest of them. 
After I did that I was able to send mail locally and my pop3 problem
went away.  These are the settings I used, you probably need to edit the
directories for your system, I am using OpenBSD 2.6 .

./configure  --enable-roaming-users=y --enable-relay-clear-minutes=120
--enable-ucspi-dir=/usr/src/ucspi-tcp-0.84 --enable-logging=e
--enable-tcpserver-file=/var/qmail/vpopmail/etc/tcp.smtp
--enable-qmaildir=/var/qmail
--enable-tcprules-prog=/usr/local/bin/tcprules

After I recompiled and setup my domain as a virtual domain along with
the rest every worked finewell I did have a problem with the roaming
user but that ended up being a file permission / ownership problem.
I hope this helps you out.  I know I had quite a time with it till I
converted to completely virtual which works fine.  All mail is in one
directory tree sorted automatically by domain.

Take Care,
Dale



virtual domain (vpopmail): no mailbox here by that name (#5.1.1)

2000-08-14 Thread Joel Gautschi

hi,

1. every user in /var/lib/vpopmail/users works fine
2. every user in /var/lib/vpopmail/domains/mydomain.com doesn't work ;(

if I send a mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] i get the following
error in the mail.log

--- from /var/log/mail.log ---
Aug  9 10:15:20 joshua qmail: 965808920.712606 new msg 1507345
Aug  9 10:15:20 joshua qmail: 965808920.713055 info msg 1507345: bytes 618
from <[EMAIL PROTECTED]> qp 31023 uid 64011
Aug  9 10:15:20 joshua qmail: 965808920.767276 starting delivery 520: msg
1507345 to local [EMAIL PROTECTED]
Aug  9 10:15:20 joshua qmail: 965808920.767613 status: local 1/10 remote
0/20
Aug  9 10:15:21 joshua qmail: 965808921.007641 delivery 520: failure:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
Aug  9 10:15:21 joshua qmail: 965808921.071573 status: local 0/10 remote
0/20
Aug  9 10:15:21 joshua qmail: 965808921.130812 bounce msg 1507345 qp 31026
Aug  9 10:15:21 joshua qmail: 965808921.145955 end msg 1507345
---

the virtual domain directory looks like that:

joshua:/var/lib/vpopmail/domains/mydomain.com# ls -la
total 12
drwx--6 vpopmail vchkpw   1024 Jul 12 11:54 .
drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 ..
-rw---1 vpopmail vchkpw 34 Jul 12 11:54 .dir-control
-rw---1 vpopmail vchkpw 46 Jul  5 10:34 .qmail-default
-rw---1 vpopmail vchkpw  0 Jul  5 10:34 .vpasswd.lock
drwx--3 vpopmail vchkpw   1024 Jul  5 10:40 info
drwx--3 vpopmail vchkpw   1024 Jul 10 09:51 info2
drwx--3 vpopmail vchkpw   1024 Jul 12 11:54 info3
drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 postmaster
-rw---1 vpopmail vchkpw356 Jul 12 11:54 vpasswd
-rw---1 vpopmail vchkpw   2492 Jul 12 11:54 vpasswd.cdb


I created the virtualdomain with vadddomain and the virtualdomain users with
vadduser
any idea what's wrong? do you need more information (log files or
whatever...)?

btw: does the virtualdomain need an MX entry on the DNS server?
cya
Joel







virtual domain (vpopmail): no mailbox here by that name (#5.1.1)

2000-08-10 Thread Joel Gautschi

hi,

1. every user in /var/lib/vpopmail/users works fine
2. every user in /var/lib/vpopmail/domains/mydomain.com doesn't work ;(

if I send a mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] i get the following
error in the mail.log

--- from /var/log/mail.log ---
Aug  9 10:15:20 joshua qmail: 965808920.712606 new msg 1507345
Aug  9 10:15:20 joshua qmail: 965808920.713055 info msg 1507345: bytes 618
from <[EMAIL PROTECTED]> qp 31023 uid 64011
Aug  9 10:15:20 joshua qmail: 965808920.767276 starting delivery 520: msg
1507345 to local [EMAIL PROTECTED]
Aug  9 10:15:20 joshua qmail: 965808920.767613 status: local 1/10 remote
0/20
Aug  9 10:15:21 joshua qmail: 965808921.007641 delivery 520: failure:
Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/
Aug  9 10:15:21 joshua qmail: 965808921.071573 status: local 0/10 remote
0/20
Aug  9 10:15:21 joshua qmail: 965808921.130812 bounce msg 1507345 qp 31026
Aug  9 10:15:21 joshua qmail: 965808921.145955 end msg 1507345
---

the virtual domain directory looks like that:

joshua:/var/lib/vpopmail/domains/mydomain.com# ls -la
total 12
drwx--6 vpopmail vchkpw   1024 Jul 12 11:54 .
drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 ..
-rw---1 vpopmail vchkpw 34 Jul 12 11:54 .dir-control
-rw---1 vpopmail vchkpw 46 Jul  5 10:34 .qmail-default
-rw---1 vpopmail vchkpw  0 Jul  5 10:34 .vpasswd.lock
drwx--3 vpopmail vchkpw   1024 Jul  5 10:40 info
drwx--3 vpopmail vchkpw   1024 Jul 10 09:51 info2
drwx--3 vpopmail vchkpw   1024 Jul 12 11:54 info3
drwx--3 vpopmail vchkpw   1024 Jul  5 10:34 postmaster
-rw---1 vpopmail vchkpw356 Jul 12 11:54 vpasswd
-rw---1 vpopmail vchkpw   2492 Jul 12 11:54 vpasswd.cdb


I created the virtualdomain with vadddomain and the virtualdomain users with
vadduser
any idea what's wrong? do you need more information (log files or
whatever...)?

btw: does the virtualdomain need an MX entry on the DNS server?
cya
Joel





RE: virtual domain

2000-07-27 Thread Brett Randall

> /var/qmail/control (not /var/qmail). /etc/aliases has nothing
> to do with qmail. You haven't detailed your mailbox structure,

Of course, if you're coming from a sendmail background and enjoy the use of
a centralised aliases file and a few (IMHO) nice options that are available,
then try out fastforward, the sendmail aliases 'wrapper' for qmail. It makes
virtual domains pretty easy to handle as well. Take a look

Brett

Manager
InterPlanetary Solutions
http://ipsware.com/


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 27, 2000 7:13 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: RE: virtual domain
>
>
> Kamal,
>
> It's virtualdomains (not virtualdomain) you want, and this is in
> but typically, once you've setup virtualdomains, add a file
> .qmail-default to 's home directory, containing
> delivery instructions, such as
>  ./Maildir/
> assuming you've got a Maildir setup for the user (maildirmake)...
>
> If you haven't read it yet, checkout Dave Sill's Life with qmail,
> which is an excellent qmail primer - web.infoave.net/~dsill/lwq.html.
>
> cheers,
>
> Andrew.
>
> --
> From:     [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> Sent: 27 July 2000 15:46
> To:   [EMAIL PROTECTED]
> Subject:  FW: virtual domain
>
> Hi,
>
> I want to receive the mail for another domain and want to store
> in one account so that
> mails for this domain can be reterived via pop3 with the same
> account.For this I had make
> an entry in /var/qmail/virtualdomain and in /etc/aliases
>
> virtualdomain:
> xyz.com:
> and /etc/alisases:
> @xyz.com:
>
> also i had make .qmail-default-user1 with an entry of &user1
>
> now it try sending the mail to user of this domain i.e.
> [EMAIL PROTECTED] it try to delivers
> the mail to
> [EMAIL PROTECTED] and says no mailbox found for this user and
> forwards this mail to post
> master. how could i forward this mail to user1 so that mails can
> be stored there so that
> they can be picked at any time via pop3.
>
> Regards,
> Kamal Batra
>
>




RE: virtual domain

2000-07-27 Thread andrew

Kamal,

It's virtualdomains (not virtualdomain) you want, and this is in
/var/qmail/control (not /var/qmail). /etc/aliases has nothing
to do with qmail. You haven't detailed your mailbox structure,
but typically, once you've setup virtualdomains, add a file
.qmail-default to 's home directory, containing
delivery instructions, such as
 ./Maildir/
assuming you've got a Maildir setup for the user (maildirmake)...

If you haven't read it yet, checkout Dave Sill's Life with qmail,
which is an excellent qmail primer - web.infoave.net/~dsill/lwq.html.

cheers,

Andrew.

--
From:   [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
Sent:   27 July 2000 15:46
To: [EMAIL PROTECTED]
Subject:FW: virtual domain

Hi,

I want to receive the mail for another domain and want to store in one account so that
mails for this domain can be reterived via pop3 with the same account.For this I had 
make
an entry in /var/qmail/virtualdomain and in /etc/aliases

virtualdomain: 
xyz.com:
and /etc/alisases:
@xyz.com:

also i had make .qmail-default-user1 with an entry of &user1

now it try sending the mail to user of this domain i.e. [EMAIL PROTECTED] it try to 
delivers
the mail to 
[EMAIL PROTECTED] and says no mailbox found for this user and forwards this mail to 
post
master. how could i forward this mail to user1 so that mails can be stored there so 
that
they can be picked at any time via pop3.

Regards,
Kamal Batra





FW: virtual domain

2000-07-26 Thread kamal_batra

Hi,

I want to receive the mail for another domain and want to store in one account so that 
mails for this domain can be reterived via pop3 with the same account.For this I had 
make an entry in /var/qmail/virtualdomain and in /etc/aliases

virtualdomain: 
xyz.com:
and /etc/alisases:
@xyz.com:

also i had make .qmail-default-user1 with an entry of &user1

now it try sending the mail to user of this domain i.e. [EMAIL PROTECTED] it try to 
delivers the mail to 
[EMAIL PROTECTED] and says no mailbox found for this user and forwards this mail to 
post master. how could i forward this mail to user1 so that mails can be stored there 
so that they can be picked at any time via pop3.

Regards,
Kamal Batra




*
Go to:
www.NetWala.com "Puts the 'e' in your Rupee"   
 .


*
Go to:
www.NetWala.com "Puts the 'e' in your Rupee"   
 .



virtual domain

2000-07-26 Thread kamal_batra

Hi,

I want to receive the mail for another domain and want to store in one account so that 
mails for this domain can be reterived via pop3 with the same account.For this I had 
make an entry in /var/qmail/virtualdomain and in /etc/aliases

virtualdomain: 
xyz.com:
and /etc/alisases:
@xyz.com:

also i had make .qmail-default-user1 with an entry of &user1

now it try sending the mail to user of this domain i.e. [EMAIL PROTECTED] it try to 
delivers the mail to 
[EMAIL PROTECTED] and says no mailbox found for this user and forwards this mail to 
post master. how could i forward this mail to user1 so that mails can be stored there 
so that they can be picked at any time via pop3.

Regards,
Kamal Batra




*
Go to:
www.NetWala.com "Puts the 'e' in your Rupee"   
 .



Re: message route to different folder for virtual domain user

2000-07-19 Thread Chester Chee


I laughed so hard after I read what I type silly me

I actually mean to have message filter to a different folder for all virtual 
domain users, i.e. each virtual domain user will have their own junkmail 
folder where qmail will automatically move those junk mail to the folder. 
Thanks in advance.


>From: "Chester Chee" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: message route to different folder for virtual domain user
>Date: Wed, 19 Jul 2000 16:12:35 GMT
>MIME-Version: 1.0
>X-Originating-IP: [199.105.186.5]
>Received: from [131.193.178.181] by hotmail.com (3.2) with ESMTP id 
>MHotMailBB3F1ED2000FD82197BF83C1B2B5AC620; Wed Jul 19 09:14:12 2000
>Received: (qmail 14136 invoked by uid 1002); 19 Jul 2000 16:13:26 -
>Received: (qmail 25411 invoked from network); 19 Jul 2000 16:13:26 -
>Received: from law-f147.hotmail.com (HELO hotmail.com) (209.185.131.210)  
>by muncher.math.uic.edu with SMTP; 19 Jul 2000 16:13:26 -
>Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; 
>Wed, 19 Jul 2000 09:12:35 -0700
>Received: from 199.105.186.5 by lw1fd.hotmail.msn.com with HTTP;   Wed, 19 
>Jul 2000  GMT
>From qmail-return-50537-ptlymcc Wed Jul 19 09:16:13 2000
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>Delivered-To: mailing list [EMAIL PROTECTED]
>Message-ID: <[EMAIL PROTECTED]>
>X-OriginalArrivalTime: 19 Jul 2000 16:12:35.0367 (UTC) 
>FILETIME=[268D9B70:01BFF19C]
>
>Hi,
>
>I have qmail 1.0.3 setup running vpopmail (virtual domain). I want to setup
>a filter for the entire domain to move any junk mail (base upon the 
>criteria
>in the header extension) to all virtual domain user. This user will access
>their email via IMAP only. Is this doable? If so, can someone give me
>pointer where to look? I read LWQ doc and there isn't enough info. Sample
>configuration or filter code would be really helpful.
>
>Thanks in advance.
>
>
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: message route to different folder for virtual domain user

2000-07-19 Thread Chester Chee

Hi,

I have qmail 1.0.3 setup running vpopmail (virtual domain). I want to setup 
a filter for the entire domain to move any junk mail (base upon the criteria 
in the header extension) to all virtual domain user. This user will access 
their email via IMAP only. Is this doable? If so, can someone give me 
pointer where to look? I read LWQ doc and there isn't enough info. Sample 
configuration or filter code would be really helpful.

Thanks in advance.


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




Re: desperately looking for solution to this virtual domain problem

2000-06-30 Thread Jason Murphy


 Well, it is your lucky day, or unlucky if I am wrong. However, I just
finished doing what you want to do.

I will try to make this detailed but brief.

What you are trying to do is make a POP3 Toaster (Or IMAP Toaster) with
vitural users and vitural domains. Where each user of one domain is
independent of other unrelated users on other domains. So that means
[EMAIL PROTECTED] has nothing to do with [EMAIL PROTECTED] and both get mail without
bugging each other, and more importantly, not bugging you. (IE: The first
bob as nothing to do with the second bob and their mail will be seperate of
each other.)

What my list of software and instructions will give in the end is machine
takes mail for whatever domains and put them in maildir format on your
machine.
What is cool about this setup is that you can have normal mail users like
you would regularly think of, and also have virtual users, who will never
login to the machine execpt for pop and imap. So its a duel type system
Some of the great things about this system is that you can have quotas for
vitural user based on amount of messages and/or total size of all messages
for a user. You will also only have real accounts for the vitural domains.
For example, when you host hell.com, will have a user call "hellcom" (For
example). Then VmailManger will put the vitural users in "hellcom" account.
So you can host a tons virtual domains.

The whole system is alittle clumsy at first, but it works really well and it
grows on you after a couple of days. For example, its a couple of steps to
add a new user to a virtual domain, and more steps if it is new virtual
domain you have to add.

I am kinda running out of steam, so the docs are below. Post questions and
will get replies back to the list on my second wind.


To make this system you will need all/most of these below to make this
beast.
(Note: I did not use LDAP, so that might change things.)

 Unix Box that is up and working. (www.Linux.org or www.FreeBSD.org (Just to
name two))
 qmail-1.03 (www.qmail.org)
 tcpserve (http://cr.yp.to/ucspi-tcp.html)
 Courier IMAP (http://www.inter7.com/courierimap/)
 OpenSSL (www.openssl.org) (Encrypted IMAP)
 stunnel (http://mike.daewoo.com.pl/computer/stunnel/) (Encrypted IMAP)
 VmailManager (http://www.vmailmgr.org/)
 relay-ctrl (http://em.ca/~bruceg/relay-ctrl/) (If you want to let non-local
users send mail through your server)

 You need these need these patches:
 qmail-103.patch (Big DNS patch. AKA: The AOL Patch. Just about required)
 qmail-1.03-quotas-1.1.patch (Hard quotas error patch. If you want support
hardquota independent of VmailerManager)
 big-todo.103.patch (If you have a busy high volume server)
 big-concurrency.patch (If you have a busy high volume server)
 qmail-etrn-0.1f.diff (If you want to support stupid Exchange people)
 and the LDAP directory patch if your going to use LDAP.

Install tcpserver. Apply qmail patches to qmail.
Configure, compile and install qmail.
Configure, compile and install OpenSSL and stunnel, and then Courier IMAP
(In that order).
Get VmailManger; configure, compile and install it.
Get relay-ctrl, configure, compile and install.

Make sure to read docs to all the software. This give you a good idea of
whats going on.

>
>
>hi  everybody
>
> I know this is a tense subject on the mailing list, but please bear with
> me. ;o) I haven't even INSTALLED qmail yet, but would much rather use it
on
> my RedHat 6.1 box than the stock sendmail that's full of holes. However,
my
> dilemma is that I'm going to be running multiple virtual domains on one
> qmail server and dont want to use /etc/passwd rather i am planning to use
> LDAP DIRECTORY SERVER (WHERE I CAN SPECIFY MAILMESSAGESTORE AS WELL AS
> USERS HOME DIRECTORY ) and am curious to know what steps exactly I should
> follow to get the setup completed with qmail. , I have read through the
> FAQ's and found them a little confusing. I also searched through the
> mailing list archives and am even more confused. What I'm looking for here
> is a way to set up my server to accept mail for
>  domain1.com,
>  domain2.com and
> domain3.com ... etc, to
>  domainn.com.
> Each domain should have its own unique users.
> That is, [EMAIL PROTECTED] is NOT [EMAIL PROTECTED]
> Is this going to be a problem? This is the issue that I fail to see
> (easily) addressed from what I've read so far  for each of the domains so
> that each user can login using POP/IMAP to retrieve their mail( i am
> planning to use Maildir rather then Mailbox . I'd also like an way to
> handle Email aliasing so that
> [EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I
need
> it to go.
>  I'm not new to Linux, but I'm new to the idea of setting up multiple
> domains on a single host using qmail and directory server , so any
> hand-holding would be appreciate

desperately looking for solution to this virtual domain problem

2000-06-30 Thread reach_prashant

  

   hi  everybody 

I know this is a tense subject on the mailing list, but please bear with
me. ;o) I haven't even INSTALLED qmail yet, but would much rather use it on
my RedHat 6.1 box than the stock sendmail that's full of holes. However, my
dilemma is that I'm going to be running multiple virtual domains on one
qmail server and dont want to use /etc/passwd rather i am planning to use
LDAP DIRECTORY SERVER (WHERE I CAN SPECIFY MAILMESSAGESTORE AS WELL AS
USERS HOME DIRECTORY ) and am curious to know what steps exactly I should
follow to get the setup completed with qmail. , I have read through the
FAQ's and found them a little confusing. I also searched through the
mailing list archives and am even more confused. What I'm looking for here
is a way to set up my server to accept mail for
 domain1.com,
 domain2.com and 
domain3.com ... etc, to
 domainn.com. 
Each domain should have its own unique users. 
That is, [EMAIL PROTECTED] is NOT [EMAIL PROTECTED] 
Is this going to be a problem?  This is the issue that I fail to see
(easily) addressed from what I've read so far  for each of the domains so
that each user can login using POP/IMAP to retrieve their mail( i am
planning to use Maildir rather then Mailbox . I'd also like an way to
handle Email aliasing so that 
[EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I need
it to go.
 I'm not new to Linux, but I'm new to the idea of setting up multiple
domains on a single host using qmail and directory server , so any
hand-holding would be appreciated. Thanks much, 


thanks in advance , with warmest regards 
Prashant Desai





desperately looking for solution to this virtual domain problem

2000-06-30 Thread reach_prashant

  

   hi  everybody 

I know this is a tense subject on the mailing list, but please bear with
me. ;o) I haven't even INSTALLED qmail yet, but would much rather use it on
my RedHat 6.1 box than the stock sendmail that's full of holes. However, my
dilemma is that I'm going to be running multiple virtual domains on one
qmail server and dont want to use /etc/passwd rather i am planning to use
LDAP DIRECTORY SERVER (WHERE I CAN SPECIFY MAILMESSAGESTORE AS WELL AS
USERS HOME DIRECTORY ) and am curious to know what steps exactly I should
follow to get the setup completed with qmail. , I have read through the
FAQ's and found them a little confusing. I also searched through the
mailing list archives and am even more confused. What I'm looking for here
is a way to set up my server to accept mail for
 domain1.com,
 domain2.com and 
domain3.com ... etc, to
 domainn.com. 
Each domain should have its own unique users. 
That is, [EMAIL PROTECTED] is NOT [EMAIL PROTECTED] 
Is this going to be a problem?  This is the issue that I fail to see
(easily) addressed from what I've read so far  for each of the domains so
that each user can login using POP/IMAP to retrieve their mail( i am
planning to use Maildir rather then Mailbox . I'd also like an way to
handle Email aliasing so that 
[EMAIL PROTECTED] can be sent to [EMAIL PROTECTED] or wherever else I need
it to go.
 I'm not new to Linux, but I'm new to the idea of setting up multiple
domains on a single host using qmail and directory server , so any
hand-holding would be appreciated. Thanks much, 


thanks in advance , with warmest regards 
Prashant Desai





how to set up virtual domain with LDAP

2000-06-28 Thread reach_prashant


  i have compiled qmail 1.03 , with qmail-ldap latest patch , 

i am able to send and receive mails in to ~home/user/Maildir for my domain
say "mydomain.com"  

 now i want set it up for virtual domains  
say  "virtualdomain.com"

 i have done "rcpthost" , "virtualdomains" and ".qmail part " to accept
mails for virtual domain and FW it to other place  , 

my problem is 
 but how can i configure my qmail/Ldap directory server to accept mails for


 [EMAIL PROTECTED]
 [EMAIL PROTECTED] 

 and put them in to their respective  /Home/User/Maildir

 can this be possible  by defining maildirstore in LDAP (directory server )
and instruct qmail to take delievery directory from Directory server or
some thing like that 

  is there any workaround for this problem 


 
is there any solution that will work with qmail-ldap because i am not using
 /etc/passwd 


thanks in advance 

Prashant desai 




Re: virtual domain question

2000-06-26 Thread Magnus Bodin

On Mon, Jun 26, 2000 at 08:03:35PM -0700, NetZero wrote:
> Greetings,
>I've never had a need for virtual domains, but 
> am approaching that time and wonder if my
> interpretation of "Life w/ qmail" is correct...
> 
> say I have an entry in the virtual domain file:
> 
> domain2.net:xyz
> 
> would mail sent to [EMAIL PROTECTED] 
> get delivered locally to [EMAIL PROTECTED] ???
> (after of course i add domain2.net to my rcpthost
> file but not to the locals file and perform some DNS
> magic)


Yes. That's right. 

I've collected a few examples here:

http://x42.com/qmail/cookbook/domains/

/magnus

--
http://x42.com/



virtual domain question

2000-06-26 Thread NetZero

Greetings,
   I've never had a need for virtual domains, but 
am approaching that time and wonder if my
interpretation of "Life w/ qmail" is correct...

say I have an entry in the virtual domain file:

domain2.net:xyz

would mail sent to [EMAIL PROTECTED] 
get delivered locally to [EMAIL PROTECTED] ???
(after of course i add domain2.net to my rcpthost
file but not to the locals file and perform some DNS
magic)

Thanks for yeah/nay,

Mike.


_NetZero Free Internet Access and Email__
   http://www.netzero.net/download/index.html



Re: Where to read about single uid/gid virtual domain delivery?

2000-06-24 Thread chuck


Julian,
There's a howto at- 

http://www.tibus.net/pgregg/projects/qmail/single-uid-howto.html

You may also want to check out vpopmail at-

http://www.inter7.com/vpopmail

Hope this helps.

Regards,
Charles Werbick
The Wirehouse

Julian L. Cardarelli writes:

> 
> Where do I read about single uid/gid virtual domain delivery/pop?
> 
> J



  1   2   3   >