Re: [vchkpw] mail server on the loose!

2004-09-02 Thread X-Istence
On Aug 29, 2004, at 1:23 PM, Jeremy Kitchen wrote:
If you get this message before I shut the mail server down, consider 
yourself
lucky :)  Our mail server will be down for about 3 hours as I drive it 
across
Illinois.  Our website will still be available, but our mail server 
won't.

So long as traffic isn't horrible, it should be back up in about 3-4 
hours.
Sorry for any inconvenience :)

-Jeremy
Inter7 Internet Technologies, Inc.

I am lucky! :P
Err, well i think so anyways. I hope the move went without a lot of 
trouble :)

X-Istence


Re: [vchkpw] aliase user creation user quota

2004-09-02 Thread Ken Jones
On Thursday 02 September 2004 12:01 am, ramchandra dhupkar wrote:
 Dear all,
  Let me know the proper method to crerate alais account. Currently i am
 creating a dot qmail file with full path to users Maildir. But i found that
 this delivers the mail properly but is not counted in user's mail quota. So
 the aliased user is using much more space than actully. Since i have having
 many users it is a wastge of a space. So let me know the procedure to
 create a alise account which will count all mails in quota including that
 comes on aliased id.

Create a forward instead of an alias. Use the same dot qmail file but instead
of the path to the Maildir put in
emailaddress

Ken Jones


RE: [vchkpw] Aliases vs. Forwards

2004-09-02 Thread Greg Swift
Is it possible to do this with remote and local delivery off the same
address?

-Greg 

-Original Message-
From: Jacob S. [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 0:05
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Aliases vs. Forwards

On Wed, 01 Sep 2004 22:54:51 -0600
Fred Colclough [EMAIL PROTECTED] wrote:

 Here's a 'newbie' question:
 
 I just deployed a new mail svr running qmail with vpopmail, mysql, 
 qmailadmin.  My 'old' server was running qmail, but with vmailmgr 
 instead.
 
 I 'used' to be able to create aliases that would forward to MULTIPLE 
 users, for example:
 
 [EMAIL PROTECTED]
 ... was forwarded to:
 
 [EMAIL PROTECTED],
 [EMAIL PROTECTED],
 etc.
 
 
 How can I re-create that same functionality w/ vpopmail?  The Forwards

 in vpopmail appear to allow only ONE acc't to forward to.

After creating a forward, go to the page that lists all forwards for
that domain. Find the forward that you want to have multiple recipients
and click the 'modify' icon. You should now see a page with an option to
'add forward' - this will add a recipient to the current forward.

HTH,
Jacob

--
GnuPG Key: 1024D/16377135

Random .signature #55:
Given enough time and money, eventually Microsoft will re-invent UNIX.



Re: [vchkpw] mail server on the loose!

2004-09-02 Thread Jeremy Kitchen
On Thursday 02 September 2004 04:30 am, X-Istence wrote:
  If you get this message before I shut the mail server down, consider
  yourself
  lucky :)  

 I am lucky! :P

yea, well, I sent the email out, shut down our internal webserver, took it out 
to my car (thing weighs 75 pounds I swear) and came back up to grab the 
mailserver.  The list was finished being delivered (other than the stragglers 
hanging around who are on downed MXes or whatever :) when I got back up to 
grab the mail server, so most people got lucky :)

 Err, well i think so anyways. I hope the move went without a lot of
 trouble :)

yea, we only lost one machine... but it was flakey anyways :(

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



[vchkpw] forward emails to remote users for local domain

2004-09-02 Thread Asim Ansari








Hello,



I am running qmail 1.03, vpopmail 5.4.5,
qmailadmin 1.2.0, squirrelmail 1.4.2, clamv 0.74, courier IMAP 3.0.5,
spamassisn 2.63 on my Red Hat Linux 7.3 box, I have hosted two email domains
virtually using vpopmail 5.4.5



I have four office in different countries.



I want to know how can I forward emails to
internet for users on my domain that do not exist locally, as in vpopmail I
have only the option for this is set catch all to remote email
address, delete email, bounce back, if I get the
option to forward mails for remote users of my local domain to some SMTP server
or to internet then my problem will be resolved.



I m sure this is possible as I am running
the same scenario in windows mail server, can someone tell me how can I do this
in vpopmail.







Asim Ansari
Sr. Network Administrator
i2c inc
Office 92.42.111.000.911 
Cell 92.333.442.6002 
IM (MSN) [EMAIL PROTECTED]
Fax92.42.571.0376 
mailto:
[EMAIL PROTECTED]

URL: www.i2cinc.com








image001.gif

Re: [vchkpw] Aliases vs. Forwards

2004-09-02 Thread Werner Amon
Greg Swift schrieb:
Is it possible to do this with remote and local delivery off the same
address?
-Greg 

 

Sure,
echo [EMAIL PROTECTED]  ~vpopmail/domains/domain.com/.qmail-aliasname
echo /home/vpopmail/domains/domain.com/user/Maildir/  
~vpopmail/domains/domain.com/.qmail-aliasname

this should work
Werner



[vchkpw] vpopmail::adddomain problem

2004-09-02 Thread Cheurfa Linda
Hello,
I'm using qmail 1.03 coupled with vpopmail 5.2.1 on a Red Hat 7.2 machine.
I experience some access rights problems with vpopmail when I execute 
vadddomain. It returns an error code (240) and the message Can not make 
domains directory.
I suppose the inner directories of qmail can't be accessed by my user 
and I don't want to use root to do this.

I saw something about this problem in the FAQ of vpopmail (item 35) but 
it doesn't worked for me...

I'm kind of lost here (plus I'm new to unix), so if anybody has a 
suggestion / solution, it'd be most helpful !

Flubb.


Re: [vchkpw] vpopmail::adddomain problem

2004-09-02 Thread Jeremy Kitchen
On Thursday 02 September 2004 11:37 am, Cheurfa Linda wrote:
 Hello,

 I'm using qmail 1.03 coupled with vpopmail 5.2.1 on a Red Hat 7.2 machine.
 I experience some access rights problems with vpopmail when I execute
 vadddomain. It returns an error code (240) and the message Can not make
 domains directory.

tru running it as root.

 I suppose the inner directories of qmail can't be accessed by my user
 and I don't want to use root to do this.

you have to, because vadddomain also HUPs qmail-send, which you'd have to be 
root to do.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



RE: [vchkpw] forward emails to remote users for local domain

2004-09-02 Thread Asim Ansari
Thanks for your email Davis,

But the problem is, I don't have any other domain, users that are not local
on my local qmail server have their own POP accounts for the domain on MX
server for this domain which is hosted at our data center in US. Look at the
scenario below

[EMAIL PROTECTED]   Local POP User on my local qmail server with
domain mydomain.com

[EMAIL PROTECTED]   Remote POP User on MX server for this domain
located at US data center

I want that when [EMAIL PROTECTED] sends email to [EMAIL PROTECTED] then
this mail should be forwarded to the internet so that it can be reached at
the MX server for the domain mydomain.com where [EMAIL PROTECTED] has a POP
box.

Thanks in advanced for your guidance. 
 

Asim Ansari 
Sr. Network Administrator 
i2c inc 
Office  92.42.111.000.911 
Cell 92.333.442.6002 
IM (MSN) [EMAIL PROTECTED]
Fax 92.42.571.0376 
mailto: [EMAIL PROTECTED]

URL: www.i2cinc.com


-Original Message-
From: Myron Davis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 02, 2004 9:25 PM
To: [EMAIL PROTECTED]
Cc: 'kareem BiLAL'
Subject: Re: [vchkpw] forward emails to remote users for local domain

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You could always trying add this to your .qmail-default file:
|forward $LOCAL@newdomain.com

this would forward all unknown messages that don't match your local user
database to another domain where hopefully the user would match.

- -Myron

 Hello,



 I am running qmail 1.03, vpopmail 5.4.5, qmailadmin 1.2.0, squirrelmail
 1.4.2, clamv 0.74, courier IMAP 3.0.5, spamassisn 2.63 on my Red Hat Linux
 7.3 box, I have hosted two email domains virtually using vpopmail 5.4.5



 I have four office in different countries.



 I want to know how can I forward emails to internet for users on my domain
 that do not exist locally, as in vpopmail I have only the option for this
 is
 set catch all to remote email address, delete email, bounce back, if
 I
 get the option to forward mails for remote users of my local domain to
 some
 SMTP server or to internet then my problem will be resolved.



 I m sure this is possible as I am running the same scenario in windows
 mail
 server, can someone tell me how can I do this in vpopmail.







 Asim Ansari
 Sr. Network Administrator
 i2c inc
 Office  92.42.111.000.911
 Cell 92.333.442.6002
 IM (MSN) [EMAIL PROTECTED]
 Fax 92.42.571.0376
 mailto: mailto:[EMAIL PROTECTED]  [EMAIL PROTECTED]

 URL:  http://www.i2cinc.com/ www.i2cinc.com






-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBN0l0ifbfg5b2FvURApTqAKDSWvlDGe7Sc5EAVFJJtUi13Jk9CgCgnwV5
nxsv/0461gJNFbgvn9jaw0w=
=QOrq
-END PGP SIGNATURE-

Random Thought:
---
You can't go home again, unless you set $HOME.



RE: [vchkpw] forward emails to remote users for local domain

2004-09-02 Thread Myron Davis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This is what I would do (if they were all qmail vpopmail machines):  (this
is a UGLY hack... but it'd probably work)

emailserver1.mydomain.com
MX (emailserver1)
 account: user1

emailserver2.mydomain.com
MX (emailserver2)
 account: user2

emailserver3.mydomain.com
MX (emailserver3)
 account: user3

if they are all vpopmail do as follows:
each domain has a primary domain of mydomain.com and aliased domain
(computer1.mydomain.com e.g. if it was computer1)

put in into computer1 .qmail-default
|if [ $HOST -eq mydomain.com ]; then $LOCAL@computer2.mydomain.com; fi
|if [ $HOST -eq mydomain.com ]; then $LOCAL@computer3.mydomain.com; fi

That way you would only forward original emails (and not in a loop) no
where would a message from a different machine computer ever end up back
at the beginning... you'd would end up with the message going to both
machines but maybe with a little more though one could eliminate this.

The above item I'm sure WILL NOT WORK as syntax is wrong and I didn't put
a lot of thought to it... you'd probably want to offload it to a shell
script and put some decent thought into how you want to handle bounces and
other things

just an idea, or you could do it like I do currently on my machine, two
servers (well 3 actually), but just run unison to sync the directories.

Please don't bash me too hard with my logic I just thought of it right now
and I probably forgot something critical which will cause this not to work
as I haven't sat down and thought of every possibility.  Think of this
message more as a brainstorm! :)

Apologies in advance,

- -Myron

 Thanks for your email Davis,

 But the problem is, I don't have any other domain, users that are not
 local
 on my local qmail server have their own POP accounts for the domain on MX
 server for this domain which is hosted at our data center in US. Look at
 the
 scenario below

 [EMAIL PROTECTED] Local POP User on my local qmail server with
 domain mydomain.com

 [EMAIL PROTECTED] Remote POP User on MX server for this domain
 located at US data center

 I want that when [EMAIL PROTECTED] sends email to [EMAIL PROTECTED] then
 this mail should be forwarded to the internet so that it can be reached at
 the MX server for the domain mydomain.com where [EMAIL PROTECTED] has a
 POP
 box.

 Thanks in advanced for your guidance.


 Asim Ansari
 Sr. Network Administrator
 i2c inc
 Office  92.42.111.000.911
 Cell 92.333.442.6002
 IM (MSN) [EMAIL PROTECTED]
 Fax 92.42.571.0376
 mailto: [EMAIL PROTECTED]

 URL: www.i2cinc.com


 -Original Message-
 From: Myron Davis [mailto:[EMAIL PROTECTED]
 Sent: Thursday, September 02, 2004 9:25 PM
 To: [EMAIL PROTECTED]
 Cc: 'kareem BiLAL'
 Subject: Re: [vchkpw] forward emails to remote users for local domain

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 You could always trying add this to your .qmail-default file:
 |forward $LOCAL@newdomain.com

 this would forward all unknown messages that don't match your local user
 database to another domain where hopefully the user would match.

 - -Myron

 Hello,



 I am running qmail 1.03, vpopmail 5.4.5, qmailadmin 1.2.0, squirrelmail
 1.4.2, clamv 0.74, courier IMAP 3.0.5, spamassisn 2.63 on my Red Hat
 Linux
 7.3 box, I have hosted two email domains virtually using vpopmail 5.4.5



 I have four office in different countries.



 I want to know how can I forward emails to internet for users on my
 domain
 that do not exist locally, as in vpopmail I have only the option for
 this
 is
 set catch all to remote email address, delete email, bounce back,
 if
 I
 get the option to forward mails for remote users of my local domain to
 some
 SMTP server or to internet then my problem will be resolved.



 I m sure this is possible as I am running the same scenario in windows
 mail
 server, can someone tell me how can I do this in vpopmail.







 Asim Ansari
 Sr. Network Administrator
 i2c inc
 Office  92.42.111.000.911
 Cell 92.333.442.6002
 IM (MSN) [EMAIL PROTECTED]
 Fax 92.42.571.0376
 mailto: mailto:[EMAIL PROTECTED]  [EMAIL PROTECTED]

 URL:  http://www.i2cinc.com/ www.i2cinc.com






 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.5 (GNU/Linux)

 iD8DBQFBN0l0ifbfg5b2FvURApTqAKDSWvlDGe7Sc5EAVFJJtUi13Jk9CgCgnwV5
 nxsv/0461gJNFbgvn9jaw0w=
 =QOrq
 -END PGP SIGNATURE-

 Random Thought:
 ---
 You can't go home again, unless you set $HOME.




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBN21nifbfg5b2FvURAkD+AKC5VXzYNeBlyUArJ2x5E3Ib1lu/AwCglIbf
W7gdExgPvTBrq7WVah8uSag=
=bnWu
-END PGP SIGNATURE-

Random Thought:
---
It's not the quantity, but the quality of friendships that counts. That's the 
difference between 'counting off' and 'counting on.' - Jimmy Tom


Re: [vchkpw] forward emails to remote users for local domain

2004-09-02 Thread Jacob S.

  Hello,
 
  I am running qmail 1.03, vpopmail 5.4.5, qmailadmin 1.2.0,
 squirrelmail 1.4.2, clamv 0.74, courier IMAP 3.0.5, spamassisn 2.63
 on my Red Hat Linux
  7.3 box, I have hosted two email domains virtually using vpopmail
 5.4.5
 
  I have four office in different countries.
 
  I want to know how can I forward emails to internet for users on my
  domain
  that do not exist locally, as in vpopmail I have only the option
 for this
  is
  set catch all to remote email address, delete email, bounce
 back, if
  I
  get the option to forward mails for remote users of my local domain
 to some
  SMTP server or to internet then my problem will be resolved.
 
 
 
  I m sure this is possible as I am running the same scenario in
 windows mail
  server, can someone tell me how can I do this in vpopmail.

I must have missed something. What's wrong with making a .qmail file in
the user's directory for each non-local [EMAIL PROTECTED] with the format of
something like [EMAIL PROTECTED]?

This .qmail file would go in /home/vpopmail/domains/mydomain.com/user1/.
If you want a nice GUI interface for it, use qmailadmin (I'm using
1.2.1, so I know it supports it, probably some older versions too). All
you have to do is login as root, click the link for Email Accounts,
click the icon to modify a user, check the box for forwarding mail and
enter the address to forward it to.

HTH,
Jacob

-- 
GnuPG Key: 1024D/16377135

Random .signature #13:
The nice thing about Windows is - It doesn't just crash, it displays a
dialog box and lets you press 'OK' first. 


pgpvI0EG4oPrK.pgp
Description: PGP signature


Re: [vchkpw] vpopmail::adddomain problem

2004-09-02 Thread Ken Jones
On Thursday 02 September 2004 12:04 pm, Cheurfa Linda wrote:
 Jeremy Kitchen wrote:
 On Thursday 02 September 2004 11:37 am, Cheurfa Linda wrote:
 Hello,
 
 I'm using qmail 1.03 coupled with vpopmail 5.2.1 on a Red Hat 7.2
  machine. I experience some access rights problems with vpopmail when I
  execute vadddomain. It returns an error code (240) and the message Can
  not make domains directory.
 
 tru running it as root.
 
 I suppose the inner directories of qmail can't be accessed by my user
 and I don't want to use root to do this.
 
 you have to, because vadddomain also HUPs qmail-send, which you'd have to
  be root to do.
 
 -Jeremy

 Well, I hear you, but why the FAQ of vpopmail says I can use vadddomain
 as non-root ? And since I want to execute the program from a web page,
 it'll be executed with apache privileges, which aren't root.

Sounds like the FAQ should be updated. You won't be able to get apache
to run vadddomain. The current ways to get apache to run it are to build
a cgi program, like vqadmin, that runs setuid root. Or to use the new
vpopmaild (vpopmail daemon) and have it add the domain for you.

Ken Jones