Re: [vchkpw] Why does Inter7 opt Qmail?

2005-07-05 Thread Jacob S
On Tue, 5 Jul 2005 13:51:49 -0500
"Steve Ames" <[EMAIL PROTECTED]> wrote:

> - Original Message ----- 
> From: "Jacob S" <[EMAIL PROTECTED]>
> > Debian (and Ubuntu - based on Debian) and FreeBSD all use Exim by
> > default. I'm not sure about any Linux distros other than Debian.
> 
> FreeBSD ships sendmail (8.13.4 in the latest releases) by default. Not
> Exim.

whoops... I confused a default FreeBSD install with one modified by the
cPanel (ugh!) installation. Sorry.

Jacob


Re: [vchkpw] Why does Inter7 opt Qmail?

2005-07-05 Thread Jacob S
On Tue, 5 Jul 2005 15:05:22 -0300
Bruno Negrão <[EMAIL PROTECTED]> wrote:

> >does your boss have a rationale for his doubts, or are they based
> >upon a  'gut' feeling? usually doubts arise based upon shortcomings.
> >what  shortcoming does your boss see in qmail (note, small 'q' - it
> >is not  "Qmail").
> 
> OK. He wants to know if there is a tendency on the market for some
> other  mailserver. He asks me what mailservers the biggest linux/Unix
> distributors  are using on their products. For example, what's the
> mailserver shipped  with RedHat, Solaris, Mandrake, Debian, etc?  I
> really don't know. I  believe all of them are shipped only with
> Sendmail, but I'm not sure on  this actually.

Debian (and Ubuntu - based on Debian) and FreeBSD all use Exim by
default. I'm not sure about any Linux distros other than Debian.

I've seen a couple ISPs and such before that use sendmail - but that was
simply a mandate from the higher ups that didn't know anything about
mail servers. Evidently Sendmail was the only software name they
recognized, so they decided it needed to be the only one used in their
company - none of the techs liked it.

Personally, I think sticking with qmail is a pretty good choice.

HTH,
Jacob


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] Aliases vs. Forwards

2004-09-01 Thread Jacob S.
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.


pgpyzmbFF12Fi.pgp
Description: PGP signature


Re: [vchkpw] Qmail SMTP AUTH + vchkpw on 64 bit...

2004-08-25 Thread Jacob S.
On Thu, 19 Aug 2004 10:36:47 -0700
Tom Collins <[EMAIL PROTECTED]> wrote:

> Could someone with this problem use strace (or ptrace?) to get a trace
> 
> of what happens when vchkpw is called?
> 
> It should be as easy as adding: "/usr/bin/strace -ff -o 
> /tmp/vchkpw.dump" right before "/home/vpopmail/bin/vchkpw" in the 
> qmail-smtpd/run file.
> 
> Attempt a SMTP AUTH connection, and then send me a copy of the 
> /tmp/vchkpw.dump file and I'll try to isolate the source of the 
> problem.

Is an strace from a working 64 bit installation of any help?

I'm unable to duplicate this bug on a new vpopmail 5.4.5 installation
using the qmailrocks.org toaster on a Sun Ultra 10 with a 64bit Sparc
processor.

Jacob

-- 
GnuPG Key: 1024D/16377135

Random .signature #9:
Going from DOS to Linux is like trading a glider for an F117. 


pgpH8JE2X06ii.pgp
Description: PGP signature


Re: [vchkpw] Migration

2004-08-23 Thread Jacob S.
(quoting fixed)

On Mon, 23 Aug 2004 14:35:27 -0500
"Dave Kettmann" <[EMAIL PROTECTED]> wrote:

> -Original Message-
> From: Simon [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 23, 2004 2:08 PM
> To: [EMAIL PROTECTED]
> Subject: [vchkpw] Migration
> 
> 
> Hello everyone,
>  
> I am presently running. vpopmail 5.2.1 with qmailadmin 1.0.6. I have
> just built a new box running vpopmail 5.4.0 and qmailadmin 1.2.0. The
> new box is running without a problem. I would like to move my current
> domains to the new box. I was planning on tarballing the domains
> folder and then untarballing it on the new machine. I assume that its
> not this simple any help would be appreciated. 

I believe this can work, but make sure that the path to ~vpopmail is the
same on both servers. Also don't forget to copy your changes in
/var/qmail/users/assign.

> > It depends on how you are storing your passwords. I did a move from
> > one machine to another (not sure what versions) and if qmailadmin
> > and vpopmail are working fine on the new box, I had no problem just
> > tarring up the mail structure (/home/vpopmail/*) and putting it on
> > the new machine. Just dont forget to copy the passwords over :) I
> > may be wrong in this, but it did seem to work for me. If I'm wrong
> > .. someone please correct me.

Don't you mean tarring the mail structure _/home/vpopmail/domains_?
Simply tarring /home/vpopmail/* will will defeat his upgrade, as the
vpopmail bin directory is part of what you just tarred.

HTH,
Jacob

-- 
GnuPG Key: 1024D/16377135

Random .signature #57:
Windows NT encountered the following error: The operation completed
successfully.


pgpsJhb6X9uFi.pgp
Description: PGP signature


Re: [vchkpw] bounce maybe used to relay spam

2004-01-30 Thread Jacob S.
On Fri, 30 Jan 2004 09:10:17 -0800 (PST)
[EMAIL PROTECTED] wrote:

> > On 27 Jan 2004 11:57:01 -0800
> > Tom Jackson <[EMAIL PROTECTED]> wrote:
> >
> >> I'm seeing a number of emails like [EMAIL PROTECTED] coming in to
> >my> server. They are from different users. Since the local user
> >doesn't> exist, qmail is attempting to bounce the message back to the
> >sender.> Most of these are failing, the messages are obviously spam.

> > You can delete them pretty easily if you create a "catchall" account
> > and then tell it to delete all e-mail delivered to that account.
> > Something like "junk" or "spamtrap" is usually a good name for the
> > catchall account, if you're making it strictly to dump all mail
> > coming to users that don't exist. Make sure you don't have any valid
> > e-mail going to that catchall before you start deleting them though.

> Could the "postmaster" account be used for this or would creating a
> special account be preferred?

I strongly recommend against using the postmaster account that way. If
your domain is ever believed to be spamming or causing any other kind of
problem to people on the internet, the postmaster account is one of the
first places they'll try to use to get you to correct it. Very little
(if any) postmaster mail should be discarded - even if it's spam.

Jacob

- 
GnuPG Key: 1024D/16377135

Computers are like air conditioners -- they stop working properly if you
open Windows


pgp0.pgp
Description: PGP signature


Re: [vchkpw] bounce maybe used to relay spam

2004-01-27 Thread Jacob S.
On 27 Jan 2004 11:57:01 -0800
Tom Jackson <[EMAIL PROTECTED]> wrote:

> I'm seeing a number of emails like [EMAIL PROTECTED] coming in to my
> server. They are from different users. Since the local user doesn't
> exist, qmail is attempting to bounce the message back to the sender.
> Most of these are failing, the messages are obviously spam.
> 
> I'm running vpopmail on the domains in question. Is there any way to
> configure vpopmail or qmail to reject email if the local address
> doesn't exist, or to silently trash the email?

You can delete them pretty easily if you create a "catchall" account and
then tell it to delete all e-mail delivered to that account. Something
like "junk" or "spamtrap" is usually a good name for the catchall
account, if you're making it strictly to dump all mail coming to users
that don't exist. Make sure you don't have any valid e-mail going to
that catchall before you start deleting them though.

HTH,
Jacob

- 
GnuPG Key: 1024D/16377135

Where do you want to go today? Don't ask Microsoft for directions.


pgp0.pgp
Description: PGP signature


Re: [vchkpw] Vpopmail and message logging?

2003-12-15 Thread Jacob S.
On Tue, 9 Dec 2003 17:06:41 -0600
"Jacob S." <[EMAIL PROTECTED]> wrote:



For those using a search engine to look for this same information later
on (as I was trying for quite a while):

I was finally able to solve this problem using procmail. I'm sure the
same could be done with maildrop.

While this method required a bit more work than just being able to have
vpopmail and queue_extra work together, it also provided a lot more
features and capability to the logging options and made everyone happy
all the way around. ("log" on this domain could not be a regular
mailbox, but instead had to be delivered to another user's mailbox w/o
touching the queue again or running into permissions problems. Now they
can also define which messages they want a copy of and which should just
be dumped in /dev/null.)

Jacob

- 
GnuPG Key: 1024D/16377135

I prefer an OS made by programmers that need marketing that an OS made
by marketing that need programmers...
http://www.linux.org


pgp0.pgp
Description: PGP signature


Re: [vchkpw] setuid vpopmail

2003-12-12 Thread Jacob S.
On Fri, 12 Dec 2003 10:32:18 -0600
Jeremy Kitchen <[EMAIL PROTECTED]> wrote:

> On Fri, 2003-12-12 at 10:08, Jeremy Kitchen wrote:
> > On Fri, 2003-12-12 at 09:17, Jacob S. wrote:


> 
> forgot to add, if the user qmail-local is trying to deliver to doesn't
> own the directory, it won't deliver to it, period.  It won't even pass
> it off for program delivery, so putting setuid bit on there is
> pointless.
> 
> see 'man qmail-local' for more information.

Thanks. That at least answers the question of why chmod u+s vdelivermail
won't fix it.

Jacob

- 
GnuPG Key: 1024D/16377135

Windows:

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.

Linux:

The ultimate windows patch. http://www.linux.org/


pgp0.pgp
Description: PGP signature


Re: [vchkpw] setuid vpopmail

2003-12-12 Thread Jacob S.
On Fri, 12 Dec 2003 10:08:26 -0600
Jeremy Kitchen <[EMAIL PROTECTED]> wrote:

> On Fri, 2003-12-12 at 09:17, Jacob S. wrote:
> > Ok, I'm having trouble getting qmail's QUEUE_EXTRA feature and
> > vpopmail to play well together.
> > 
> > Can someone remind me how /home/vpopmail/bin/vdelivermail could be
> > abused if it were chmod u+s vpopmail:vchkpw?
> 
> why on earth would you want to setuid it?  qmail-lspawn setuid's then
> spawns qmail-local to handle the delivery.  there's no need to setuid
> it.

Because I'm not getting it to work that easily.
 
> If you want to make queue-extra deliver to a vpopmail mailbox, tell it
> to deliver to domain.com-youruser and the qmail-users/vpopmail will
> handle the rest.

I wish it would. I've tried setting queue_extra to
"Tlog\0" and "Tdomain.com-log\0" and adjusting queue_extralen
appropriately. The latter simply causes qmail to deliver to
[EMAIL PROTECTED] in the logfiles. The
former would probably work for copying to a normal user's mailbox, but
that doesn't allow the filtering method described at
http://www.ornl.gov/lists/mailing-lists/qmail/2000/12/msg00814.html

I've tried various other methods, including running vdelivermail from a
.qmail file in /var/qmail/alias. The closest I've come is using a
.qmail-log file in /home/vpopmail/domains/domain.com/ to copy to another
user and getting 2 copies, instead of just one. Worst case, everyone
sending e-mail to this domain starts getting messages about their e-mail
looping.

For more of what I've tried, see my message from Tuesday titled
"Vpopmail and message logging?".

Any other suggestions?

TIA,
Jacob

- 
GnuPG Key: 1024D/16377135

Microsoft gives you Windows... Linux gives you the whole house. 


pgp0.pgp
Description: PGP signature


[vchkpw] setuid vpopmail

2003-12-12 Thread Jacob S.
Ok, I'm having trouble getting qmail's QUEUE_EXTRA feature and vpopmail
to play well together.

Can someone remind me how /home/vpopmail/bin/vdelivermail could be
abused if it were chmod u+s vpopmail:vchkpw?

TIA,
Jacob

- 
GnuPG Key: 1024D/16377135

Never trust an operating system you don't have sources for.
http://www.linux.org


pgp0.pgp
Description: PGP signature


[vchkpw] Vpopmail and message logging?

2003-12-09 Thread Jacob S.
I'm doing some work for a client and ran into some problems I can't find
mentioned in the manual.

According to the following two urls, you can edit extra.h in the qmail
source, recompile and then have a copy of all e-mails going to the
address [EMAIL PROTECTED] Then of course you have to setup a filter
to use in .qmail-log so you only get a copy of the messages you want and
not all e-mails. And once an e-mail meets the description the filter's
looking for, you can't send the copy to an e-mail address or it will be
back in the queue and get copied again, causing a loop.

I also found that since vpopmail works by setting all domains up as
virtual, the modification to extra.h drops the copy in the queue
addressed to [EMAIL PROTECTED], which can also result in a
loop.

So, I changed qmail to treat hostname.domain.tld as a local domain, even
though domain.tld is still a virtual domain handled by vpopmail. Then
for the messages that meet the filter, I had qmail deliver the message
to "| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/arroway.com/mike", but now it fails with
permission problems. (Unable to open the Maildir because it's owned by
vpopmail, but vdelivermail is being executed by qmail.) I suspect if I
had qmail deliver straight to the appropriate Maildir it would still
fail, as it would still lack permission privileges.

I'm thinking using the setuid bit on vdelivermail is a _bad_ thing, as
would be changing the permissions on "mike's" Maildir. Am I right and
can anyone else think of a way this could be accomplished? Having the
user log into the server and use a text editor to read the copies of the
messages isn't really an option.

(And yes, they understand all the legal ramifications of copying mail...
all of their employees are aware that mail to them from certain people
or from them to certain people is copied to the office manager.)

http://cr.yp.to/qmail/faq/admin.html#copies
http://www.ornl.gov/lists/mailing-lists/qmail/2000/12/msg00814.html

TIA,
Jacob

- 
GnuPG Key: 1024D/16377135

I prefer an OS made by programmers that need marketing than an OS made
by marketing that need programmers... http://www.linux.org


pgp0.pgp
Description: PGP signature


Re: [vchkpw] [OT?] QmailAdmin and Ezmlm-idx

2003-10-25 Thread Jacob S.
On Fri, 24 Oct 2003 23:23:49 -0700
Tom Collins <[EMAIL PROTECTED]> wrote:

> On Friday, October 24, 2003, at 11:29  AM, Jacob S. wrote:
> > After successfully troubleshooting a couple of problems, I've now
> > got ezmlm-idx installed and delivering mail just fine, but it
> > doesn't seem to be recognizing the options for a moderated list and
> > posting by members only. If I do an ls-l on
> > ~vpopmail/domains/domain_name/list_name/ before and after I change
> > options using qmailadmin, I can see the timestamp updated, but 
> > ezmlm-idx
> > still doesn't restrict posting or hold the message for moderator
> > approval.
> 
> What version of qmailadmin?  1.0.12 (I think) is the first with an 
> improved interface for setting mailing lists options, and definitely 
> works for setting up moderated mailing lists.  1.0.6 required that you
> 
> set a few options correctly for moderated lists to work right.
> 
> By the way, your message should have been posted to 
> [EMAIL PROTECTED]

That's probably my problem then:
qmailadmin - 1.0.6
vpopmail - 5.2.1
ezmlm - 0.53 idx - 0.40

And that's my second problem - I was looking for the qmailadmin mailing
list at qmailadmin.sourceforge.net. Thanks!

Jacob

- 
GnuPG Key: 1024D/16377135

Where do you want to go today? Don't ask Microsoft for directions.


pgp0.pgp
Description: PGP signature


[vchkpw] [OT?] QmailAdmin and Ezmlm-idx

2003-10-24 Thread Jacob S.
Sorry if this is the wrong list... I couldn't find an appropriate list
for qmailadmin and the ezmlm list will only tell you that you shouldn't
be using a web interface. :-)

After successfully troubleshooting a couple of problems, I've now got
ezmlm-idx installed and delivering mail just fine, but it doesn't seem
to be recognizing the options for a moderated list and posting by
members only. If I do an ls-l on
~vpopmail/domains/domain_name/list_name/ before and after I change
options using qmailadmin, I can see the timestamp updated, but ezmlm-idx
still doesn't restrict posting or hold the message for moderator
approval.

When I applied the idx patches to ezmlm it didn't give me any errors or
anything indicating there was a problem. Is there something I'm missing?

TIA,
Jacob

- 
GnuPG Key: 1024D/16377135

I prefer an OS made by programmers that need marketing that an OS made
by marketing that need programmers... http://www.linux.org


pgp0.pgp
Description: PGP signature


Re: [vchkpw] How to Stop Spam

2003-09-30 Thread Jacob S.
On Tue, 30 Sep 2003 17:44:21 -0400
X-Istence <[EMAIL PROTECTED]> wrote:

> Jesus Ruiz wrote:
> 
> > I'm using spamcontrol 2.0.9, but i receive a lot of spam mail from
> > the ip address block that i allow to relay through my MTA.
> >
> > The problem is that the client receive they ip address dinamically 
> > when they connect with dialup or ADSL. Is there away to block and IP
> > 
> > address dinamically, when they sent more than a xx numbers of email.
> >
> > Any suggestion are welcome.
> >
> > Thanks in advance
> >
> > Jesus Bernardo Ruiz Flores
> >
> 
> I personally use qMail-STMPD with auth patch, that way they have to
> auth before they can send mail thru my SMTP server.

What did you have to change to get qmail-smtpd to auth through vchkpw? 

TIA,
Jacob

- 
GnuPG Key: 1024D/16377135

In a world without fences, who needs Gates?
http://www.linux.org/


pgp0.pgp
Description: PGP signature