qmail Digest 7 Dec 1999 11:00:01 -0000 Issue 842
Topics (messages 33949 through 34030):
Re: Attachments]
33949 by: Bill Hults
33951 by: Dimitri SZAJMAN
Limit on max messages sent
33950 by: M. Richardson
Qmail trouble
33952 by: Klaus Naumann
33957 by: Klaus Naumann
33959 by: Klaus Naumann
33960 by: Vince Vielhaber
33961 by: Charles Cazabon
33963 by: Klaus Naumann
34017 by: Ben Beuchler
Re: Qmail not logging to the maillog in redhat
33953 by: Steve Kapinos
34016 by: Troy Frericks
In all fairness.. Was: I need to get off this list
33954 by: Chris Santerre
33962 by: Greg Trangmoe
33967 by: Mikko H�nninen
33982 by: Michael m. Honse
Inbound delivery performance options
33955 by: Matthew Schnierle
33958 by: Peter Gradwell
qmail-start vs .qmail vs users/assign
33956 by: Matthew Schnierle
secondary mail relay
33964 by: Eric Davis
33973 by: Dustin Miller
33980 by: cmikk.uswest.net
Re: URGENT !!
33965 by: cmikk.uswest.net
Re: Not paying attention to .qmail files?
33966 by: Philip Gabbert
33968 by: adam.cybertrails.com
another qmail?
33969 by: Tim Hunter
Virtual Domain Problem
33970 by: J Torres
33971 by: Peter Cavender
33976 by: Daniel Mattos
34018 by: Peter Cavender
34019 by: Peter Cavender
bouncing a domain permanently
33972 by: Ronny Haryanto
33974 by: Ronny Haryanto
33975 by: Ruben van der Leij
33977 by: Ronny Haryanto
33979 by: cmikk.uswest.net
Problems receiving mail from remote machines
33978 by: Paul Charsley
Re: secondary mail relay: rcpthosts AND SMTPROUTES
33981 by: David L. Nicol
33983 by: Timothy L. Mayo
33987 by: David L. Nicol
33990 by: Dustin Miller
Sendmail Virtusertable equivalent?
33984 by: Michael T. Halligan
33985 by: Daniel Mattos
33986 by: Michael T. Halligan
33988 by: Daniel Mattos
33989 by: Michael T. Halligan
33991 by: Daniel Mattos
33992 by: Michael T. Halligan
33993 by: Daniel Mattos
33994 by: Michael T. Halligan
33995 by: Daniel Mattos
33996 by: Michael T. Halligan
33997 by: Mikko H�nninen
33998 by: Ronny Haryanto
33999 by: Daniel Mattos
34000 by: Ronny Haryanto
34001 by: Richard Roderick
34002 by: Michael T. Halligan
34003 by: Michael T. Halligan
34004 by: Richard Roderick
34010 by: tony cricelli
34011 by: Ronny Haryanto
34012 by: Jay Soffian
34013 by: Jay Soffian
34014 by: Richard Roderick
34015 by: Jay Soffian
34020 by: Richard Roderick
34021 by: Ben Beuchler
34022 by: Ben Beuchler
34023 by: Ben Beuchler
34024 by: Jay Soffian
34025 by: Adam D . McKenna
34026 by: Richard Roderick
Cleaning the queue
34005 by: Bob C. Ruddy
34007 by: mabrown.securepipe.com
34008 by: Sam
34029 by: James Raftery
Secondary mail Q
34006 by: Bob C. Ruddy
34009 by: martin.wonderfrog.net
IP Address
34027 by: Ismal Hisham Mohd Darus
Mail forwarding on qmail
34028 by: jackie.macro.com.hk
Encrypting all outgoing messages
34030 by: Mikael Schmidt
Administrivia:
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To bug my human owner, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
Hi
The file doesn't exist.
[EMAIL PROTECTED] wrote:
> On Sun, Dec 05, 1999 at 05:56:20PM -0500, Bill Hults wrote:
> > Hi
> > Is there a default maximum size for attachments? Users on one of my
> > qmail sites can't receive attachments larger than 1 MB.
> > No quotas on the file system
>
> Is there anything in /var/qmail/control/databytes?
>
> Greetz, Peter.
> --
> Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder
> |
> | 'C makes it easy to shoot yourself in the foot;
> | C++ makes it harder, but when you do it blows your whole leg off.'
> | Bjarne Stroustrup, Inventor of C++
--
Bill Hults Network Engineer
Infinite Technologies of Vermont
71 Millet Street Richmond, VT 05477
Office(802)343-5393 Home(802)223-0576
On Mon, 6 Dec 1999, Bill Hults wrote:
Create it !
> Hi
> The file doesn't exist.
>
>
> [EMAIL PROTECTED] wrote:
>
> > On Sun, Dec 05, 1999 at 05:56:20PM -0500, Bill Hults wrote:
> > > Hi
> > > Is there a default maximum size for attachments? Users on one of my
> > > qmail sites can't receive attachments larger than 1 MB.
> > > No quotas on the file system
> >
> > Is there anything in /var/qmail/control/databytes?
> >
> > Greetz, Peter.
> > --
> > Peter van Dijk - student/sysadmin/ircoper/womanizer/pretending coder
> > |
> > | 'C makes it easy to shoot yourself in the foot;
> > | C++ makes it harder, but when you do it blows your whole leg off.'
> > | Bjarne Stroustrup, Inventor of C++
>
> --
> Bill Hults Network Engineer
> Infinite Technologies of Vermont
> 71 Millet Street Richmond, VT 05477
> Office(802)343-5393 Home(802)223-0576
>
>
______________________________
Dimitri SZAJMAN - [EMAIL PROTECTED]
|
Hi all,
Is there a way I
can set the max messages a user can send within a certain period of
time?
Thanks.
Michael.
|
Hi,
I'm having some trouble with installing qmail.
Here's a log.
Dec 6 13:38:07 scotty qmail: 944483887.328943 starting delivery 10: msg 39554
to local [EMAIL PROTECTED]
Dec 6 13:38:07 scotty qmail: 944483887.329223 status: local 1/10 remote 0/20
Dec 6 13:38:07 scotty qmail: 944483887.354730 delivery 10: deferral:
Temporary_error_on_maildir_delivery._(#4.3.0)/
Dec 6 13:38:07 scotty qmail: 944483887.355015 status: local 0/10 remote 0/20
I did like the INSTALL.maildir told me :
"The system administrator can set up Maildir as the default for everybody
by creating a maildir in the new-user template directory and replacing
./Mailbox with ./Maildir/ in /var/qmail/rc."
This happens when I try to use
echo to: klaus | /var/qmail/bin/qmail-inject
TIA Klaus
BTW: the Maildir in the home of klaus exists.
--
Full Name : Klaus Naumann | (http://www.mgnet.de/) (Germany)
Nickname : Spock | Org.: Mad Guys Network
Phone / FAX : ++49/3661/675457 | E-Mail: ([EMAIL PROTECTED])
PGP Key : www.mgnet.de/keys/key_spock.txt
drwxrwxrwx 2 klaus users 1024 Dec 6 13:24 Maildir/
On Mon, 6 Dec 1999, <[EMAIL PROTECTED]> wrote:
> You probably created the maildir as root. Fix the ownership on it so that it
> is owned by the user.
Nope, sorry that's not the case, as you will see here.
drwxrwxrwx 2 klaus users 1024 Dec 6 13:24 Maildir/
I tried it with the normal permissions and then tried with 777 to
ensure that the dir is not write protected.
Any further ideas ?
TIA Klaus
--
Full Name : Klaus Naumann | (http://www.mgnet.de/) (Germany)
Nickname : Spock | Org.: Mad Guys Network
Phone / FAX : ++49/3661/675457 | E-Mail: ([EMAIL PROTECTED])
PGP Key : www.mgnet.de/keys/key_spock.txt
On 6 Dec 1999, <[EMAIL PROTECTED]> wrote:
> Date: 6 Dec 1999 15:12:19 -0000
> To: Klaus Naumann <[EMAIL PROTECTED]>
> From: "Petr Novotny" <[EMAIL PROTECTED]>
> Subject: Re: Qmail trouble
>
> You've overkilled it :-) qmail checks whether Maildir is not world-
> writable by chance and refuses to deliver.
OK, I also tried with that:
drwx------ 2 klaus users 1024 Dec 6 13:24 Maildir/
didn't work :(
>
> However, are you sure that your permissions for parent directories
> are right?
/
drwxr-xr-x 3 root root 1024 Dec 6 16:21 home/
/home
drwx------ 24 klaus users 1024 Dec 6 16:21 klaus/
TIA Klaus
--
Full Name : Klaus Naumann | (http://www.mgnet.de/) (Germany)
Nickname : Spock | Org.: Mad Guys Network
Phone / FAX : ++49/3661/675457 | E-Mail: ([EMAIL PROTECTED])
PGP Key : www.mgnet.de/keys/key_spock.txt
On Mon, 6 Dec 1999, Klaus Naumann wrote:
>
> drwxrwxrwx 2 klaus users 1024 Dec 6 13:24 Maildir/
>
> On Mon, 6 Dec 1999, <[EMAIL PROTECTED]> wrote:
>
> > You probably created the maildir as root. Fix the ownership on it so that it
> > is owned by the user.
>
> Nope, sorry that's not the case, as you will see here.
>
> drwxrwxrwx 2 klaus users 1024 Dec 6 13:24 Maildir/
>
> I tried it with the normal permissions and then tried with 777 to
> ensure that the dir is not write protected.
>
> Any further ideas ?
Wrong permissions. Try chmod -R 700 Maildir (the -R is recursive, in
case your system is different).
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: [EMAIL PROTECTED] flame-mail: /dev/null
# include <std/disclaimers.h> Have you seen http://www.pop4.net?
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
Klaus Naumann <[EMAIL PROTECTED]> wrote:
>
> > You probably created the maildir as root. Fix the ownership on it so that it
> > is owned by the user.
> Nope, sorry that's not the case, as you will see here.
>
> drwxrwxrwx 2 klaus users 1024 Dec 6 13:24 Maildir/
qmail won't deliver to a maildir which is world-writable. Can't recall if
it complains about group-writable; you might want to try it as 755, 750, or
700.
Charles
--
----------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------
On 6 Dec 1999, <[EMAIL PROTECTED]> wrote:
> I have missed that - what exactly is the error message?
Dec 6 16:37:33 scotty qmail: 944494653.648778 starting delivery 11: msg 39564
to local [EMAIL PROTECTED]
Dec 6 16:37:33 scotty qmail: 944494653.649064 status: local 1/10 remote 0/20
Dec 6 16:37:33 scotty qmail: 944494653.674125 delivery 11: deferral:
Temporary_error_on_maildir_delivery._(#4.3.0)/
Dec 6 16:37:33 scotty qmail: 944494653.674412 status: local 0/10 remote 0/20
> What about "/" permissions?
Erm, what ? / has permissions ?
TIA Klaus
--
Full Name : Klaus Naumann | (http://www.mgnet.de/) (Germany)
Nickname : Spock | Org.: Mad Guys Network
Phone / FAX : ++49/3661/675457 | E-Mail: ([EMAIL PROTECTED])
PGP Key : www.mgnet.de/keys/key_spock.txt
On Mon, 6 Dec 1999, Klaus Naumann wrote:
> BTW: the Maildir in the home of klaus exists.
qmail is very picky about the format of the /Maildir/, and, of course, the
permissions. Make sure that it looks like this:
/Maildir
|
--- cur
|
--- new
|
--- tmp
And that they are all writable by the owner (klaus).
Ben
--
"There is no spoon"
-- The Matrix
I had the same problem with rh6.x when I first installed qmail. Looked at
syslog.conf and everything was valid but it still didn't work. I only made
it work by assuming something didn't work as it was supposed to..
Original sysconf.conf had mail.none in in the /var/log/messages line, with a
mail.* line for /var/log/maillog below it.
I removed the mail.none line from the /var/log/messages line, and put a
mail.* into /var/log/maillog BEFORE the /var/log/messages line and it
worked.
Such as the following..
[..]
mail.* /var/log/maillog
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;authpriv.none /var/log/messages
[..]
Something just isn't right with syslog in this version.. I use cyclog now
anyways =)
-Steve
-----Original Message-----
From: Troy Frericks [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 03, 1999 7:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Qmail not logging to the maillog..
I've had this same issue since I moved qmail from a redhat 5.2 to a 6.1. I
have been considering other alternatives than syslog. Just have not had
time to deal with it.
#
At 05:53 PM 12/3/99 , you wrote:
>I also have the same issue. My syslog.conf has the entry "mail.*" and my
rc
>file is as follows:
>
>--
>#!/bin/sh
>
># Using splogger to send the log through syslog.
># Using qmail-local to deliver messages to ~/Mailbox by default.
>
>exec env - PATH="/var/qmail/bin:$PATH" TZ=PST8PDT \
>qmail-start ./Mailbox splogger qmail
>--
>
>I really do need to find out some information from my maillog due to some
list
>issues we are having, any help is appreciated.
>
>Thanks,
>
>Eric Garff
>MyComputer.com
>SysAdmin
>
>Philip Gabbert wrote:
>
>> This is odd. All of the sudden, qmail isn't logging to the maillog. I
know
>> it's writeable, courier-imap still uses it.
>>
>> Where should I be looking to find out the reason? All I can think of is
my
>> rc file, but it looks like fine:
>>
>> -----
>> #!/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
>> ------
>>
>> trigger is also just fine. No change to it.
>>
>> Any suggestions??
>>
>> Thnx
>>
>> Philip
I could not get the below to work for me on RedHat 6.1, even after deleting
the ";mail.none" string, moving the mail.* entry onto two lines, and
playing with other configurations (kill -3 between each). I followed your
presumption that there was something wrong with syslog under this version
of redhat and searched the redhat site for a bug fix. I found
RedHat 6.1 update for syslog
http://www.redhat.com/corp/support/errata/RHSA1999055-01.html
I downloaded the RPM, issued the rpm -Uvh sys* command, rebooted (just for
the heck of it), and syslog is still not working. I wonder if it has
anything to do with this paragraph from the web page:
Note: Upgrading to these sysklogd packages may
impair the logging abilities of some software
that does not use the standard C library
syslog(3) interface to the system logs. Such
software may have to be changed to use datagram
connections instead of stream connections to
the log socket.
I think the best course of action for me is cyclog, when time permits.
Thanks for the help.
#
At 08:10 AM 12/6/99 , Steve Kapinos wrote:
>I had the same problem with rh6.x when I first installed qmail. Looked at
>syslog.conf and everything was valid but it still didn't work. I only made
>it work by assuming something didn't work as it was supposed to..
>
>Original sysconf.conf had mail.none in in the /var/log/messages line, with a
>mail.* line for /var/log/maillog below it.
>
>I removed the mail.none line from the /var/log/messages line, and put a
>mail.* into /var/log/maillog BEFORE the /var/log/messages line and it
>worked.
>
>Such as the following..
>
>[..]
>
>mail.* /var/log/maillog
>
># Log anything (except mail) of level info or higher.
># Don't log private authentication messages!
>*.info;authpriv.none /var/log/messages
>
>[..]
>
>Something just isn't right with syslog in this version.. I use cyclog now
>anyways =)
>
>-Steve
>
>-----Original Message-----
>From: Troy Frericks [mailto:[EMAIL PROTECTED]]
>Sent: Friday, December 03, 1999 7:06 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Qmail not logging to the maillog..
>
>
>I've had this same issue since I moved qmail from a redhat 5.2 to a 6.1. I
>have been considering other alternatives than syslog. Just have not had
>time to deal with it.
>#
>
>At 05:53 PM 12/3/99 , you wrote:
>>I also have the same issue. My syslog.conf has the entry "mail.*" and my
>rc
>>file is as follows:
>>
>>--
>>#!/bin/sh
>>
>># Using splogger to send the log through syslog.
>># Using qmail-local to deliver messages to ~/Mailbox by default.
>>
>>exec env - PATH="/var/qmail/bin:$PATH" TZ=PST8PDT \
>>qmail-start ./Mailbox splogger qmail
>>--
>>
>>I really do need to find out some information from my maillog due to some
>list
>>issues we are having, any help is appreciated.
>>
>>Thanks,
>>
>>Eric Garff
>>MyComputer.com
>>SysAdmin
>>
>>Philip Gabbert wrote:
>>
>>> This is odd. All of the sudden, qmail isn't logging to the maillog. I
>know
>>> it's writeable, courier-imap still uses it.
>>>
>>> Where should I be looking to find out the reason? All I can think of is
>my
>>> rc file, but it looks like fine:
>>>
>>> -----
>>> #!/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
>>> ------
>>>
>>> trigger is also just fine. No change to it.
>>>
>>> Any suggestions??
>>>
>>> Thnx
>>>
>>> Philip
>
I have tried everything to get off this list and I would hope I would know
what I am doing. I have seen numerous people post about wanting off of it, so
it can't be just stupidity. I always keep the 1st reply from a list, so I can
unsubscribe, but again this one is ALWAYS unsuccessful. With the amount of
people wanting off, it would be nice to have the admin of this list simply
boot us out as a last resort. The intelligence average of this list is quite
high, and most of the people are admins themselves. So we should all know that
sometimes programs don't work 100%, and we are not dealing with AOLers here ;)
Just my 2 cents.
Andy Bradford wrote:
> Thus said abc on Fri, 03 Dec 1999 14:01:26 +0700:
>
> > At 09:16 02/12/99 -0800, Michael m. Honse wrote:
> > >
> > I think there should be message trailer like at the PGP - Users Mailling
> > list, maintained by Fred , to prevent this incident anymore
> It wouldn't matter if there was a trailer---they wouldn't read them
> anyway and we would still see their requests---in addition, it would
> just give users another thing to shout at the unknowing... "Look at the
> trailer idiot!", etc... :)
> Andy
> --
> +====== Andy ====== TiK: garbaglio ======+
> | Linux is about freedom of choice |
> +== http://www.xmission.com/~bradipo/ ===+
begin:vcard
n:Santerre;Chris
tel;pager:(401)452-6449
tel;work:(401)453-4455 ext.109
x-mozilla-html:TRUE
url:www.paginc.com
org:Property Advisory Group
version:2.1
email;internet:[EMAIL PROTECTED]
title:IT Manager
note:Study the history of Bill Gates, then you will want to buy Linux!
adr;quoted-printable:;;4 Cathedral Square =0D=0ASuite 1G=0D=0A;Providence;RI;02903;USA
fn:Chris
end:vcard
Indeed, it's true. I just tried to unsubscribe from this list and it sent
back a message saying I wasn't on the list. (I sent the unsubscribe message
from the correct email address) I'm still getting mail from the list so
something is amok here.
You have to chuckle at the irony tho.
-----Original Message-----
From: Chris Santerre <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, December 06, 1999 7:30 AM
Subject: In all fairness.. Was: I need to get off this list
>I have tried everything to get off this list and I would hope I would know
>what I am doing. I have seen numerous people post about wanting off of it,
so
>it can't be just stupidity. I always keep the 1st reply from a list, so I
can
>unsubscribe, but again this one is ALWAYS unsuccessful. With the amount of
>people wanting off, it would be nice to have the admin of this list simply
>boot us out as a last resort. The intelligence average of this list is
quite
>high, and most of the people are admins themselves. So we should all know
that
>sometimes programs don't work 100%, and we are not dealing with AOLers here
;)
>
>Just my 2 cents.
>
>Andy Bradford wrote:
>
>> Thus said abc on Fri, 03 Dec 1999 14:01:26 +0700:
>>
>> > At 09:16 02/12/99 -0800, Michael m. Honse wrote:
>> > >
>> > I think there should be message trailer like at the PGP - Users
Mailling
>> > list, maintained by Fred , to prevent this incident anymore
>> It wouldn't matter if there was a trailer---they wouldn't read them
>> anyway and we would still see their requests---in addition, it would
>> just give users another thing to shout at the unknowing... "Look at the
>> trailer idiot!", etc... :)
>> Andy
>> --
>> +====== Andy ====== TiK: garbaglio ======+
>> | Linux is about freedom of choice |
>> +== http://www.xmission.com/~bradipo/ ===+
>
Greg Trangmoe <[EMAIL PROTECTED]> wrote on Mon, 06 Dec 1999:
> Indeed, it's true. I just tried to unsubscribe from this list and it sent
> back a message saying I wasn't on the list. (I sent the unsubscribe message
> from the correct email address) I'm still getting mail from the list so
> something is amok here.
The email address with which you've subscribed is recorded in every
email you get from the list, in the message return path (envelope sender
address). All you need to do is look at that, then send a message to
[EMAIL PROTECTED], and then reply to the
receipt you get, and you're done.
I think ezmlm looks at the envolope sender address in requests, not the
From-line, so your "sent from correct email address" could've failed
because of that. If in doubt or trouble, it's better to specify the
email address in the unsubscribe request.
Mikko,
wondering if this is off-topic or not for this list
--
// Mikko H�nninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Many people quit looking for work when they find a job.
I have Done as suggested 3 times now.. each try has come back as successful
But despite all that I still get this list....
I am not stupid and it is telling me that I am removed from the list. But I
still get this list... What now.
-----Original Message-----
From: Chris Santerre [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 06, 1999 6:20 AM
Cc: [EMAIL PROTECTED]
Subject: In all fairness.. Was: I need to get off this list
I have tried everything to get off this list and I would hope I would know
what I am doing. I have seen numerous people post about wanting off of it,
so
it can't be just stupidity. I always keep the 1st reply from a list, so I
can
unsubscribe, but again this one is ALWAYS unsuccessful. With the amount of
people wanting off, it would be nice to have the admin of this list simply
boot us out as a last resort. The intelligence average of this list is quite
high, and most of the people are admins themselves. So we should all know
that
sometimes programs don't work 100%, and we are not dealing with AOLers here
;)
Just my 2 cents.
Andy Bradford wrote:
> Thus said abc on Fri, 03 Dec 1999 14:01:26 +0700:
>
> > At 09:16 02/12/99 -0800, Michael m. Honse wrote:
> > >
> > I think there should be message trailer like at the PGP - Users Mailling
> > list, maintained by Fred , to prevent this incident anymore
> It wouldn't matter if there was a trailer---they wouldn't read them
> anyway and we would still see their requests---in addition, it would
> just give users another thing to shout at the unknowing... "Look at the
> trailer idiot!", etc... :)
> Andy
> --
> +====== Andy ====== TiK: garbaglio ======+
> | Linux is about freedom of choice |
> +== http://www.xmission.com/~bradipo/ ===+
Greetings,
I'm constructing a new qmail architecture for approximately 100k users
(maildirs on high speed NFS w/ pop3d and courier imap w/custom auth mods),
and have two options for inbound delivery locations:
1. Pull the info from an oracle db approximately every 15 minutes to
construct users/assign.
2. Modify qmail to pull the mailbox dir/user info _at delivery time_ from
the DB.
It strikes me that option 1 is probably better from a performance and
simplicity standpoint (plus in the event of catastrophic database or
connectivity failure) in that deliveries won't be interrupted. Has anybody
tried anything like #2, and have some decent insight as to why I might or
might not want to do this?
--
--Matt Schnierle
--mgs at stargate dot net
--Stargate Industries, LLC
--#include <std/disclaimer.h>
--"It's not that simple."
At 09:29 AM 06/12/99 -0500, you wrote:
>2. Modify qmail to pull the mailbox dir/user info _at delivery time_ from
>the DB.
>
>It strikes me that option 1 is probably better from a performance and
>simplicity standpoint (plus in the event of catastrophic database or
>connectivity failure) in that deliveries won't be interrupted. Has anybody
>tried anything like #2, and have some decent insight as to why I might or
>might not want to do this?
I'm running a mail forwarding system for many domains, where by I receive
mail for the domains at one user (forwarding) and then forward it on.
~forwarding/.qmail-default contains a pipe to a perl script that looks up
appropriate values using the HOST, LOCAL and DEFAULT environment variables
and then forwards the mail.
The perl program connects to a mysql database each time it runs at the
moment, to do the lookups.
Apparently I can do about 400 deliveries a minute or something (based on an
"average" pc server) before I run out of CPU power, though, I guess i'll
probably run out of disk space and RAM before that...
My coding skills arn't particularly optimised, I guess a better hack, with
persistent connections, and more RAM, CPU and disk space, could increase an
order of magnitude.
And because it's done on the fly, no one ever complains the data is out of
date!
<side note>
interestingly, I have the database stored on a server in the UK, but the
primary MX is in the US, and this works quite well, because the performance
demands of the database connections are fairly minor compared to the actual
processing of mail. What's better, is that if, for some reason the US
server can't talk to the UK server, then the perl script just exists with
the appropriate exit code and qmail defers the mail back into the queue,
for later delivery.
</s>
The man pages qmail-command and qmail-local will help, along with the
safecat program for delivery to maildirs.
peter
--
peter at gradwell dot com; online @ http://www.gradwell.com/
We are looking to implement quotas on a new qmail farm, and I just want to
make sure that my approach will work:
The courier-imap folks have the delivery agent invoked from qmail start to
the effect of:
'| /usr/local/bin/deliverquota ./Maildir 1000000S'
in qmail-start for a default quota of 1 million bytes. If I have all
maildir's defined by users-assign, I can still manage "exceptions" to this
with a .qmail file in the user's homedir, can't I (users have no shell
access, so altering the .qmail file in the homedir should not be a problem).
Is this the case, or am I smoking something?
--
--Matt Schnierle
--mgs at stargate dot net
--Stargate Industries, LLC
--#include <std/disclaimer.h>
--"It's not that simple."
What is the best way to send email's already in a remote queue to a user
account
on the system in question for later injection back into the mail server
for sending
later when a down mail server is back up and running?
I was already thinking of setting the client in question up to use our
virtual mail
server as their primary mail server (only invovles an MX record
change). Is this
the best method (to keep from having to make changes to my primary mail
server which
is listed as their secondary mail server) Any help is greatly
appreciated as I'm
still very new to this. Thank you.
-Eric Davis
[EMAIL PROTECTED]
I, too, was wondering about a similar situation, in which I wish to be a
secondary mail exchanger for foo.com. I would be listed in DNS
appropriately, and with sendmail, I remember just setting the smarthost and
delivery host for that domain to the primary mail exchanger.
Is there a dirt-simple way of configuring qmail to queue mail for foo.com,
attempting delivery to a mail.foo.com when it receives mail bound for
foo.com, and holding that mail (without giving deferral notices) until
mail.foo.com comes back online in the event that it is down?
That make sense? :)
_____
Dustin Miller, President
WebFusionDevelopmentIncorporated
-----Original Message-----
From: davis [mailto:davis]On Behalf Of Eric Davis
Sent: Monday, December 06, 1999 11:24 AM
To: [EMAIL PROTECTED]
Subject: secondary mail relay
What is the best way to send email's already in a remote queue to a user
account
on the system in question for later injection back into the mail server
for sending
later when a down mail server is back up and running?
I was already thinking of setting the client in question up to use our
virtual mail
server as their primary mail server (only invovles an MX record
change). Is this
the best method (to keep from having to make changes to my primary mail
server which
is listed as their secondary mail server) Any help is greatly
appreciated as I'm
still very new to this. Thank you.
-Eric Davis
[EMAIL PROTECTED]
On Mon, 6 Dec 1999 14:13:38 -0600 , "Dustin Miller" writes:
> Is there a dirt-simple way of configuring qmail to queue mail for foo.com,
> attempting delivery to a mail.foo.com when it receives mail bound for
> foo.com, and holding that mail (without giving deferral notices) until
> mail.foo.com comes back online in the event that it is down?
All you should need to do is put "foo.com" in the
rcpthosts file. That way, qmail-smtpd will accept
the message, and then deliver it to mail.foo.com,
the primary MX.
Qmail does not generate deferral notices.
The time qmail will hold the message is in
control/queuelifetime, specified in seconds.
--
Chris Mikkelson | The genius of you Americans is that you never make
[EMAIL PROTECTED] | clear-cut stupid moves, only complicated stupid
| moves which make us wonder at the possibility that
| there may be something to them we are missing.
| -- Gamel Nasser
It's quite easy to install qmail in a non-/var/qmail directory.
You just replace /var/qmail with whatever you want
in conf-qmail, and rebuild qmail.
--
Chris Mikkelson | Microsoft: Where do you want to go today?
[EMAIL PROTECTED] | Linux: Where do you want to go tomorrow?
| FreeBSD: Are you guys coming or what?
Here's my suggestion, try renameing your .qmail file to .qmail-default and see
if that works.
There appears to be depending on how qmail is configured it looks for .qmail or
.qmail-default.
Can anybody exaplain to me what dubs what file qmail looks for? I'm still
trying to figure this out.
.qmail works for a few of my accounts, but others require them to be named
.qmail-default.
Can somebody explain to me what dubs the files? Something I'd like to know
myself.
Thnx
Philip
Jim Gilliver wrote:
> I've finally got qmail-ldap to deliver to one place (I've given up trying to
> avoid a storage location completely, and now everyone's mail will go to the
> same Maildir before being removed by .qmail).
>
> But now qmail is not paying attention to the .qmail file in that
> directory... it still delivers the mail to the Maildir subdirectory
> (probably because this is qmail-ldap's default) but the .qmail in the home
> dir has two | lines... one that is meant to run /usr/bin/deliver, and
> another for testing that just has:
>
> |/bin/echo $USER and stuff > debug
>
> but no debug file is ever created. The permissions on the home dir and
> .qmail file are fine (tried 0600 and 0604, neither seems to have any
> effect). Are there any other situations where qmail/qmail-ldap will ignore
> the .qmail file?
On Mon, Dec 06, 1999 at 06:08:25PM +1300, Jim Gilliver wrote:
> But now qmail is not paying attention to the .qmail file in that
> directory... it still delivers the mail to the Maildir subdirectory
> (probably because this is qmail-ldap's default) but the .qmail in the home
> dir has two | lines... one that is meant to run /usr/bin/deliver, and
> another for testing that just has:
>
> |/bin/echo $USER and stuff > debug
>
> but no debug file is ever created. The permissions on the home dir and
> .qmail file are fine (tried 0600 and 0604, neither seems to have any
> effect). Are there any other situations where qmail/qmail-ldap will ignore
> the .qmail file?
Yes. :)
You have to specify how you want those files evaulated, if you
want them evaluated at all. You can do this on a user by user
basis by setting the qmailDotMode field in a users LDAP entry.
It is also controled by /var/qmail/control/ldapdefaultdotmode.
Here is a user sample from my system:
cn=Adam Jacob, dc=arizonainternet, dc=net
cn=Adam Jacob
sn=Jacob
objectclass=top
objectclass=person
objectclass=inetOrgPerson
objectclass=qmailUser
[EMAIL PROTECTED]
mailhost=pendragon.cybertrails.com
mailmessagestore=/home/adam/
qmaildotmode=ldapwithprog
deliveryprogrampath=/var/qmail/bin/preline /usr/bin/procmail
qmailuser=adam
qmailuid=500
qmailgid=500
uid=adam
mailalternateaddress=adam@localhost
(Some lines removed for brevity) Note the line that
says "qmaildotmaode=ldapwithprog". That statement says to
execute the deliverprogrampath field if it's defined, otherwise
deliver to whatever the LDAP default is. :)
If you set that to "both", it will execute the .qmail file.
If you only want it to read .qmail files, you can set it to
dotonly.
The same values can be put here that can be put in ldapdefaultmode.
See the QLDAPINSTALL file, line 148 for more information.
Adam
--
------------------------------------------------------------------
Adam Jacob - Cyber Trails Phone - (602)906-1752
Sr. Systems Administrator Pager - (602)447-9531
[EMAIL PROTECTED] Fax - (602)907-1799
* Evil Lord of the Sysadmin Sith Darth Rmdashrf *
------------------------------------------------------------------
Not reading my mail first I went to www.qmail.org and noticed it was down,
so I did a search for qmail on infoseek. One of the first hits was
http://qmail.pdq.net/ which is *not* qmail but Qmail, short for Quick Mail,
lets you check your email from any computer connected to the Internet. It�s
a easy-to-use program that will make getting your email quick and
convenient.
Just thought the proper people should know
Tim Hunter
[EMAIL PROTECTED]
CIMx Company
p 513 248-7700
f 513-248-7711
http://www.cimx.com
|
Hello there, I have been attemping to get virtual
hosting up and running but have failed so far with the following
message:
Sorry. Although I'm listed as a
best-preference MX or A for that host, it isn't in my
control/locals file, so I don't treat it as local. (#5.4.6)
The domain
was added to virtualdomains using the domain.com:user example in the FAQ.
The domain was also added to the rcphosts and the server was hupped a few
hundred times... Anyone have any insights into this particular
problem?
|
>Hello there, I have been attemping to get virtual hosting up and
>running but have failed so far with the following message:
>
> Sorry. Although I'm listed as a best-preference MX or A for that host,
> it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
>
>The domain was added to virtualdomains using the domain.com:user
>example in the FAQ. The domain was also added to the rcphosts and
>the server was hupped a few hundred times... Anyone have any
>insights into this particular problem?
Did you put the domain name in control/locals?
The name of the files is "rcpthosts", not "rcphosts".
Try that and HUP it again.
Good luck,
Daniel
On Tue, 7 Dec 1999, J Torres wrote:
:Hello there, I have been attemping to get virtual hosting up and running
:but have failed so far with the following message:
:
: Sorry. Although I'm listed as a best-preference MX or A for that host,
: it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
:
:The domain was added to virtualdomains using the domain.com:user example
:in the FAQ. The domain was also added to the rcphosts and the server
:was hupped a few hundred times... Anyone have any insights into this
:particular problem?
:
----------------------------------
Daniel Mattos Tribeca Internet Initiatives Inc.
[EMAIL PROTECTED] http://www.tiii.com
-----------------
>
>
> > >Hello there, I have been attemping to get virtual hosting up and
> > >running but have failed so far with the following message:
> > >
> > > Sorry. Although I'm listed as a best-preference MX or A for that
>host,
> > > it isn't in my control/locals file, so I don't treat it as local.
>(#5.4.6)
> > >
> > >The domain was added to virtualdomains using the domain.com:user
> > >example in the FAQ. The domain was also added to the rcphosts and
> > >the server was hupped a few hundred times... Anyone have any
> > >insights into this particular problem?
> >
> > Did you put the domain name in control/locals?
> >
>
>I tried that as well and got the same error message. Several docs on qmail
>say NOT to put virtual domains in the locals file however. That qmail-lint
>program also checks to see if a virtualdomain in is locals and generates an
>error message.
[HI FOLKS - WHEN REPLYING TO A MAILING LIST POST, MAKE SURE YOU HAVE
THE RIGHT ADDRESS IN THE TO: FIELD, OTHERWISE IT GETS SENT TONLY TO
THE PERSON WHO POSTED THE ORIGINAL MESSAGE -Pete]
>
>You don't want this to be in your locals file. It's a virtual
>domain. Hum.. Is
>this a third level domain, or is it a first level? third.domain.com
>vs. domain.com
>
>I've had these issues as well myself. Most of the time to solve it required to
>make sure that the domain is spelled correctly, and there is a valid
>'user' it's
>being handled by: domain.com:user
>If this is a third level domain, you will need to add a dot infront
>of the domain
>in your virtualdomains file: .domain.com:user
>It's a wild card alias that will accept all third level domain names.
>
>Other than that, there isn't much I can think of at the moment.
>
>Hope this helped..
>
>Philip
>
>Peter Cavender wrote:
>
> > >Hello there, I have been attemping to get virtual hosting up and
> > >running but have failed so far with the following message:
> > >
> > > Sorry. Although I'm listed as a best-preference MX or A for that host,
> > > it isn't in my control/locals file, so I don't treat it as
>local. (#5.4.6)
> > >
> > >The domain was added to virtualdomains using the domain.com:user
> > >example in the FAQ. The domain was also added to the rcphosts and
> > >the server was hupped a few hundred times... Anyone have any
> > >insights into this particular problem?
> >
> > Did you put the domain name in control/locals?
[HI FOLKS - WHEN REPLYING TO A MAILING LIST POST, MAKE SURE YOU HAVE
THE RIGHT ADDRESS IN THE TO: FIELD, OTHERWISE IT GETS SENT TONLY TO
THE PERSON WHO POSTED THE ORIGINAL MESSAGE. I STAND CORRECTED ON THE
"locals" ISSUE. -Pete]
Hi,
How can I bounce a domain permanently? Ie. I would like to, for
example, refuse to send any mails to [*.]example.com.
Can I use a special token in smtproutes? Something like maybe:
example.com:<error:will not relay there>
.example.com:<error:will not relay there either>
Thanks,
--
Ronny Haryanto
On 06-Dec-1999, Ruben van der Leij wrote:
> On Mon, Dec 06, 1999 at 02:05:57PM -0600, Ronny Haryanto wrote:
>
> > How can I bounce a domain permanently?
>
> man qmail-control says:
>
> badmailfrom
>
> man qmail-smtpd gives the details:
>
> badmailfrom
> Unacceptable envelope sender addresses. qmail-smtpd will reject every recipi-
> ent address for a message if the envelope sender address is listed in badmail-
> from. A line in badmailfrom may be of the form @host, meaning every address
> at host.
But it doesn't handle lists or aliases, for example:
mail from: [EMAIL PROTECTED]
rcpt to: [EMAIL PROTECTED]
passes through badmailfrom. However one of the member of
[EMAIL PROTECTED] is [EMAIL PROTECTED] that I wanted to bounce
permanently.
--
Ronny Haryanto
On Mon, Dec 06, 1999 at 02:16:30PM -0600, Ronny Haryanto wrote:
> > badmailfrom
>
> But it doesn't handle lists or aliases, for example:
Correct. You can put all aliasses for a machine in badmailfrom, or put it's
IP in your tcprules with a :deny -rule.
badmailfrom only looks at the From: line and is easy to circumvent,
filtering on IP is dependant on specific machines, but harder to bypass
quickly.
--
Ruben
--
** FATAL ERROR! HIT ANY USER TO CONTINUE! **
On 06-Dec-1999, Ruben van der Leij wrote:
> On Mon, Dec 06, 1999 at 02:16:30PM -0600, Ronny Haryanto wrote:
> > > badmailfrom
> > But it doesn't handle lists or aliases, for example:
> Correct. You can put all aliasses for a machine in badmailfrom, or put it's
> IP in your tcprules with a :deny -rule.
> badmailfrom only looks at the From: line and is easy to circumvent,
> filtering on IP is dependant on specific machines, but harder to bypass
> quickly.
Thank you for your responses,
However, I think you misunderstood me. I want to refuse delivery to
certain domains based on the *recipients*. Something similar to
smtproutes except that the next hop is not a remote smtp server but a
local bounce agent, eg. something like:
example.com:<error>
For those of you that use Postfix might know what I'm talking about.
It can be done via Postfix's transport(5) table.
--
Ronny Haryanto
On Mon, 6 Dec 1999 14:50:27 -0600 , Ronny Haryanto writes:
> However, I think you misunderstood me. I want to refuse delivery to
> certain domains based on the *recipients*. Something similar to
> smtproutes except that the next hop is not a remote smtp server but a
> local bounce agent, eg. something like:
>
> example.com:<error>
>
> For those of you that use Postfix might know what I'm talking about.
> It can be done via Postfix's transport(5) table.
In virtualdomains, put:
example.com:alias-bounceit
Then, in ~alias/.qmail-bounceit-default
| bouncesaying "<appropriate one-liner here>"
--
Chris Mikkelson | Quidquid latine dictum sit, altum viditur
[EMAIL PROTECTED] |
I have installed qmail and can successfully send mail both locally and to
remote addresses. However, I am unable to receive messages from a remote
address. I do not use Fetchmail since my linux server is permanently
connected. When I do the first test in TEST.receive (forge some mail locally
via SMTP) I get the following:
#telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
I have enabled smtp in /etc/inetd.conf and the command "netstat -a |grep
LISTEN" shows smtp as listening for requests.
When I send a message from a remote machine it is not received and nothing
appears in the log file. Is there something I'm missing or is there some
extra configuration I have to do in order to get smtp to work with qmail.
Any help will be gratefully received.
Paul
[EMAIL PROTECTED] wrote:
>
> On Mon, 6 Dec 1999 14:13:38 -0600 , "Dustin Miller" writes:
> > configure qmail to queue mail for foo.com,
> > attempting delivery to a mail.foo.com when it receives mail bound for
> > foo.com, and holding that mail (without giving deferral notices) until
> > mail.foo.com comes back online in the event that it is down?
>
> All you should need to do is put "foo.com" in the
> rcpthosts file. That way, qmail-smtpd will accept
> the message, and then deliver it to mail.foo.com,
> the primary MX.
>
> Qmail does not generate deferral notices.
>
> The time qmail will hold the message is in
> control/queuelifetime, specified in seconds.
And add a line in control/smtproutes too; otherwise you'll
bounce messages as qmail mistakenly interprets that it is supposed
to be the end recipient. This starts happening only after you
actually modify the MX records.
______________________________________________________________
David Nicol 816.235.1187 [EMAIL PROTECTED]
On Mon, 6 Dec 1999, David L. Nicol wrote:
>
>
>
> [EMAIL PROTECTED] wrote:
> >
> > On Mon, 6 Dec 1999 14:13:38 -0600 , "Dustin Miller" writes:
> > > configure qmail to queue mail for foo.com,
> > > attempting delivery to a mail.foo.com when it receives mail bound for
> > > foo.com, and holding that mail (without giving deferral notices) until
> > > mail.foo.com comes back online in the event that it is down?
> >
> > All you should need to do is put "foo.com" in the
> > rcpthosts file. That way, qmail-smtpd will accept
> > the message, and then deliver it to mail.foo.com,
> > the primary MX.
> >
> > Qmail does not generate deferral notices.
> >
> > The time qmail will hold the message is in
> > control/queuelifetime, specified in seconds.
>
>
> And add a line in control/smtproutes too; otherwise you'll
> bounce messages as qmail mistakenly interprets that it is supposed
> to be the end recipient. This starts happening only after you
> actually modify the MX records.
>
No. An smtproutes entry is NOT needed. The only time you would have a
problem would be if you placed your server at the same MX or higher
priority as the machine you were serving as the secondary for. (Remeber
that a HIGHER MX number is a LOWER priority.)
---------------------------------
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/
The National Business Network Inc. http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA 15146
(412) 810-8888 Phone
(412) 810-8886 Fax
"Timothy L. Mayo" wrote:
>
> On Mon, 6 Dec 1999, David L. Nicol wrote:
> > And add a line in control/smtproutes too; otherwise you'll
> > bounce messages as qmail mistakenly interprets that it is supposed
> > to be the end recipient. This starts happening only after you
> > actually modify the MX records.
> >
>
> No. An smtproutes entry is NOT needed. The only time you would have a
> problem would be if you placed your server at the same MX or higher
> priority as the machine you were serving as the secondary for. (Remeber
> that a HIGHER MX number is a LOWER priority.)
>
> ---------------------------------
> Timothy L. Mayo mailto:[EMAIL PROTECTED]
> Senior Systems Administrator
> localconnect(sm)
> http://www.localconnect.net/
Yes, that is what I thought, too, until I did it. The primary MX has
priority five, the secondary has priority 20, and I set the qmail box
to have priority 200 and what happened to the occasional piece of
e-mail that got to it? It was bounced, with a message that said
"Although I am listed as the primary mx for this host, I haven't a
clue what to do with this piece of e-mail." (from memory.)
After concernedly rereading the FAQ I added lines to smtproutes
and things are now working properly: the occasional piece of overflow
that
wanders into the box in question is now held briefly and then forwarded.
The fact that I had no "locals" file may have had something to do with
it; although the documentation seems to say that a locals file is not
needed if you only accept local mail for "me."
The moral of the story? Set up test cases before altering your
production
systems, no matter how well-documented and "authoritatively" asserted
the
feature may be.
______________________________________________________________
David Nicol 816.235.1187 [EMAIL PROTECTED]
Corel Linux is Debian with qmail preinstalled
Can we get a consensus here?
:)
_____
Dustin Miller, President
WebFusionDevelopmentIncorporated
-----Original Message-----
From: david [mailto:david]On Behalf Of David L. Nicol
Sent: Monday, December 06, 1999 4:10 PM
To: Timothy L. Mayo
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: secondary mail relay: rcpthosts AND SMTPROUTES
"Timothy L. Mayo" wrote:
>
> On Mon, 6 Dec 1999, David L. Nicol wrote:
> > And add a line in control/smtproutes too; otherwise you'll
> > bounce messages as qmail mistakenly interprets that it is supposed
> > to be the end recipient. This starts happening only after you
> > actually modify the MX records.
> >
>
> No. An smtproutes entry is NOT needed. The only time you would have a
> problem would be if you placed your server at the same MX or higher
> priority as the machine you were serving as the secondary for. (Remeber
> that a HIGHER MX number is a LOWER priority.)
>
> ---------------------------------
> Timothy L. Mayo mailto:[EMAIL PROTECTED]
> Senior Systems Administrator
> localconnect(sm)
> http://www.localconnect.net/
Yes, that is what I thought, too, until I did it. The primary MX has
priority five, the secondary has priority 20, and I set the qmail box
to have priority 200 and what happened to the occasional piece of
e-mail that got to it? It was bounced, with a message that said
"Although I am listed as the primary mx for this host, I haven't a
clue what to do with this piece of e-mail." (from memory.)
After concernedly rereading the FAQ I added lines to smtproutes
and things are now working properly: the occasional piece of overflow
that
wanders into the box in question is now held briefly and then forwarded.
The fact that I had no "locals" file may have had something to do with
it; although the documentation seems to say that a locals file is not
needed if you only accept local mail for "me."
The moral of the story? Set up test cases before altering your
production
systems, no matter how well-documented and "authoritatively" asserted
the
feature may be.
______________________________________________________________
David Nicol 816.235.1187 [EMAIL PROTECTED]
Corel Linux is Debian with qmail preinstalled
How do I use the old virtusertable format? I'm migrating a sendmail
server to a qmail server, and I can't feasibly create a .qmail-domain in each
home directory..
You don't have to create all home directory for virtual users.
The documentation suggests the you center in /var/qmail/alias using uid
alias. Use /var/qmail/control/virtualdomains if you host different
domains.
There are other options also. You can use /var/qmail/user/assign
tables or external packages. See http://www.qmail.org
Good luck,
Daniel
On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:How do I use the old virtusertable format? I'm migrating a sendmail
:server to a qmail server, and I can't feasibly create a .qmail-domain in
:each home directory..
:
----------------------------------
Daniel Mattos Tribeca Internet Initiatives Inc.
[EMAIL PROTECTED] http://www.tiii.com
-----------------
the problem is i have about 500 stupid domains to get to work like this..
what's the procedure?
if i have to make
[EMAIL PROTECTED] forward to [EMAIL PROTECTED]
in sendmail I have the proper rule in the .cf then
i add
[EMAIL PROTECTED] [EMAIL PROTECTED]
to virtusertables
how do I do this in qmail?
On Mon, 6 Dec 1999, Daniel Mattos wrote:
>
> You don't have to create all home directory for virtual users.
> The documentation suggests the you center in /var/qmail/alias using uid
> alias. Use /var/qmail/control/virtualdomains if you host different
> domains.
>
> There are other options also. You can use /var/qmail/user/assign
> tables or external packages. See http://www.qmail.org
>
> Good luck,
>
> Daniel
>
> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
>
> :How do I use the old virtusertable format? I'm migrating a sendmail
> :server to a qmail server, and I can't feasibly create a .qmail-domain in
> :each home directory..
> :
>
> ----------------------------------
> Daniel Mattos Tribeca Internet Initiatives Inc.
> [EMAIL PROTECTED] http://www.tiii.com
> -----------------
>
In this case, you better use an external package. I can't think
of any one now. Someone?
Otherwise on /var/qmail/control/virtualdomains put one line like:
virtualdomain.com:user
for each virtual domain where user may be a system user, forward address,
or even a alias.
If all 500 domains follow some kind of rule you con also think of a little
script on .qmail-default.
Good luck again,
Daniel
On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:the problem is i have about 500 stupid domains to get to work like this..
:
:what's the procedure?
:
:if i have to make
:
:[EMAIL PROTECTED] forward to [EMAIL PROTECTED]
:
:in sendmail I have the proper rule in the .cf then
:i add
:
:[EMAIL PROTECTED] [EMAIL PROTECTED]
:
:to virtusertables
:
:
:how do I do this in qmail?
:
:On Mon, 6 Dec 1999, Daniel Mattos wrote:
:
:>
:> You don't have to create all home directory for virtual users.
:> The documentation suggests the you center in /var/qmail/alias using uid
:> alias. Use /var/qmail/control/virtualdomains if you host different
:> domains.
:>
:> There are other options also. You can use /var/qmail/user/assign
:> tables or external packages. See http://www.qmail.org
:>
:> Good luck,
:>
:> Daniel
:>
:> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:>
:> :How do I use the old virtusertable format? I'm migrating a sendmail
:> :server to a qmail server, and I can't feasibly create a .qmail-domain in
:> :each home directory..
:> :
:>
:> ----------------------------------
:> Daniel Mattos Tribeca Internet Initiatives Inc.
:> [EMAIL PROTECTED] http://www.tiii.com
:> -----------------
:>
:
----------------------------------
Daniel Mattos Tribeca Internet Initiatives Inc.
[EMAIL PROTECTED] http://www.tiii.com
-----------------
On Mon, 6 Dec 1999, Daniel Mattos wrote:
>
> In this case, you better use an external package. I can't think
> of any one now. Someone?
>
> Otherwise on /var/qmail/control/virtualdomains put one line like:
>
> virtualdomain.com:user
>
> for each virtual domain where user may be a system user, forward address,
> or even a alias.
>
> If all 500 domains follow some kind of rule you con also think of a little
> script on .qmail-default.
>
> Good luck again,
but that doesn't help me if i want to forward
[EMAIL PROTECTED] to [EMAIL PROTECTED]
is there a way to do wildcards with /etc/aliases?
could i do a
@blah.com:[EMAIL PROTECTED] ?
Yes! There are so many possibilities that gets confusing. :)
Take a look at:
http://Web.InfoAve.Net/~dsill/lwq.html#virtual-domains
and
http://Web.InfoAve.Net/~dsill/lwq.html#aliases
Daniel
On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:
:On Mon, 6 Dec 1999, Daniel Mattos wrote:
:
:>
:> In this case, you better use an external package. I can't think
:> of any one now. Someone?
:>
:> Otherwise on /var/qmail/control/virtualdomains put one line like:
:>
:> virtualdomain.com:user
:>
:> for each virtual domain where user may be a system user, forward address,
:> or even a alias.
:>
:> If all 500 domains follow some kind of rule you con also think of a little
:> script on .qmail-default.
:>
:> Good luck again,
:
:but that doesn't help me if i want to forward
:
:[EMAIL PROTECTED] to [EMAIL PROTECTED]
:
:
:is there a way to do wildcards with /etc/aliases?
:
:could i do a
:
:@blah.com:[EMAIL PROTECTED] ?
:
:
:
----------------------------------
Daniel Mattos Tribeca Internet Initiatives Inc.
[EMAIL PROTECTED] http://www.tiii.com
-----------------
blah. i'm going to use sendmail. i can make
a stable function sendmail server in 5 minutes.
On Mon, 6 Dec 1999, Daniel Mattos wrote:
>
> Yes! There are so many possibilities that gets confusing. :)
>
> Take a look at:
>
> http://Web.InfoAve.Net/~dsill/lwq.html#virtual-domains
> and
> http://Web.InfoAve.Net/~dsill/lwq.html#aliases
>
> Daniel
>
> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
>
> :
> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
> :
> :>
> :> In this case, you better use an external package. I can't think
> :> of any one now. Someone?
> :>
> :> Otherwise on /var/qmail/control/virtualdomains put one line like:
> :>
> :> virtualdomain.com:user
> :>
> :> for each virtual domain where user may be a system user, forward address,
> :> or even a alias.
> :>
> :> If all 500 domains follow some kind of rule you con also think of a little
> :> script on .qmail-default.
> :>
> :> Good luck again,
> :
> :but that doesn't help me if i want to forward
> :
> :[EMAIL PROTECTED] to [EMAIL PROTECTED]
> :
> :
> :is there a way to do wildcards with /etc/aliases?
> :
> :could i do a
> :
> :@blah.com:[EMAIL PROTECTED] ?
> :
> :
> :
>
> ----------------------------------
> Daniel Mattos Tribeca Internet Initiatives Inc.
> [EMAIL PROTECTED] http://www.tiii.com
> -----------------
>
That's your decision, but I can assure you that qmail configuration is
much easier and logical.
The funny part is that I gave up sendmail specially because I couldn't
figure out a safe configuration.
Good luck,
Daniel
On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:blah. i'm going to use sendmail. i can make
: a stable function sendmail server in 5 minutes.
:
:On Mon, 6 Dec 1999, Daniel Mattos wrote:
:
:>
:> Yes! There are so many possibilities that gets confusing. :)
:>
:> Take a look at:
:>
:> http://Web.InfoAve.Net/~dsill/lwq.html#virtual-domains
:> and
:> http://Web.InfoAve.Net/~dsill/lwq.html#aliases
:>
:> Daniel
:>
:> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:>
:> :
:> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
:> :
:> :>
:> :> In this case, you better use an external package. I can't think
:> :> of any one now. Someone?
:> :>
:> :> Otherwise on /var/qmail/control/virtualdomains put one line like:
:> :>
:> :> virtualdomain.com:user
:> :>
:> :> for each virtual domain where user may be a system user, forward address,
:> :> or even a alias.
:> :>
:> :> If all 500 domains follow some kind of rule you con also think of a little
:> :> script on .qmail-default.
:> :>
:> :> Good luck again,
:> :
:> :but that doesn't help me if i want to forward
:> :
:> :[EMAIL PROTECTED] to [EMAIL PROTECTED]
:> :
:> :
:> :is there a way to do wildcards with /etc/aliases?
:> :
:> :could i do a
:> :
:> :@blah.com:[EMAIL PROTECTED] ?
:> :
:> :
:> :
:>
:> ----------------------------------
:> Daniel Mattos Tribeca Internet Initiatives Inc.
:> [EMAIL PROTECTED] http://www.tiii.com
:> -----------------
:>
:
----------------------------------
Daniel Mattos Tribeca Internet Initiatives Inc.
[EMAIL PROTECTED] http://www.tiii.com
-----------------
qmail is very unlogical if you have been using sendmail for five years..
heck I know people who have been using qmail for 3 years and none of you
can explain to me how to do the equivalent of /etc/mail/virtusertable ..
very ridiculous. I am positive i'm not the only person to ever
switch to qmail from sendmail who used sendmail's virtusertables..
On Mon, 6 Dec 1999, Daniel Mattos wrote:
>
> That's your decision, but I can assure you that qmail configuration is
> much easier and logical.
>
> The funny part is that I gave up sendmail specially because I couldn't
> figure out a safe configuration.
>
> Good luck,
>
> Daniel
>
> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
>
> :blah. i'm going to use sendmail. i can make
> : a stable function sendmail server in 5 minutes.
> :
> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
> :
> :>
> :> Yes! There are so many possibilities that gets confusing. :)
> :>
> :> Take a look at:
> :>
> :> http://Web.InfoAve.Net/~dsill/lwq.html#virtual-domains
> :> and
> :> http://Web.InfoAve.Net/~dsill/lwq.html#aliases
> :>
> :> Daniel
> :>
> :> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
> :>
> :> :
> :> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
> :> :
> :> :>
> :> :> In this case, you better use an external package. I can't think
> :> :> of any one now. Someone?
> :> :>
> :> :> Otherwise on /var/qmail/control/virtualdomains put one line like:
> :> :>
> :> :> virtualdomain.com:user
> :> :>
> :> :> for each virtual domain where user may be a system user, forward address,
> :> :> or even a alias.
> :> :>
> :> :> If all 500 domains follow some kind of rule you con also think of a little
> :> :> script on .qmail-default.
> :> :>
> :> :> Good luck again,
> :> :
> :> :but that doesn't help me if i want to forward
> :> :
> :> :[EMAIL PROTECTED] to [EMAIL PROTECTED]
> :> :
> :> :
> :> :is there a way to do wildcards with /etc/aliases?
> :> :
> :> :could i do a
> :> :
> :> :@blah.com:[EMAIL PROTECTED] ?
> :> :
> :> :
> :> :
> :>
> :> ----------------------------------
> :> Daniel Mattos Tribeca Internet Initiatives Inc.
> :> [EMAIL PROTECTED] http://www.tiii.com
> :> -----------------
> :>
> :
>
> ----------------------------------
> Daniel Mattos Tribeca Internet Initiatives Inc.
> [EMAIL PROTECTED] http://www.tiii.com
> -----------------
>
Well, it is worth the change just to get rid of those stupid patches every
few weeks because of security issues. But then again, if you are
confortable with sendmail...
On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:qmail is very unlogical if you have been using sendmail for five years..
:heck I know people who have been using qmail for 3 years and none of you
:can explain to me how to do the equivalent of /etc/mail/virtusertable ..
:
:very ridiculous. I am positive i'm not the only person to ever
:switch to qmail from sendmail who used sendmail's virtusertables..
:
:
:On Mon, 6 Dec 1999, Daniel Mattos wrote:
:
:>
:> That's your decision, but I can assure you that qmail configuration is
:> much easier and logical.
:>
:> The funny part is that I gave up sendmail specially because I couldn't
:> figure out a safe configuration.
:>
:> Good luck,
:>
:> Daniel
:>
:> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:>
:> :blah. i'm going to use sendmail. i can make
:> : a stable function sendmail server in 5 minutes.
:> :
:> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
:> :
:> :>
:> :> Yes! There are so many possibilities that gets confusing. :)
:> :>
:> :> Take a look at:
:> :>
:> :> http://Web.InfoAve.Net/~dsill/lwq.html#virtual-domains
:> :> and
:> :> http://Web.InfoAve.Net/~dsill/lwq.html#aliases
:> :>
:> :> Daniel
:> :>
:> :> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:> :>
:> :> :
:> :> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
:> :> :
:> :> :>
:> :> :> In this case, you better use an external package. I can't think
:> :> :> of any one now. Someone?
:> :> :>
:> :> :> Otherwise on /var/qmail/control/virtualdomains put one line like:
:> :> :>
:> :> :> virtualdomain.com:user
:> :> :>
:> :> :> for each virtual domain where user may be a system user, forward address,
:> :> :> or even a alias.
:> :> :>
:> :> :> If all 500 domains follow some kind of rule you con also think of a little
:> :> :> script on .qmail-default.
:> :> :>
:> :> :> Good luck again,
:> :> :
:> :> :but that doesn't help me if i want to forward
:> :> :
:> :> :[EMAIL PROTECTED] to [EMAIL PROTECTED]
:> :> :
:> :> :
:> :> :is there a way to do wildcards with /etc/aliases?
:> :> :
:> :> :could i do a
:> :> :
:> :> :@blah.com:[EMAIL PROTECTED] ?
:> :> :
:> :> :
:> :> :
:> :>
:> :> ----------------------------------
:> :> Daniel Mattos Tribeca Internet Initiatives Inc.
:> :> [EMAIL PROTECTED] http://www.tiii.com
:> :> -----------------
:> :>
:> :
:>
:> ----------------------------------
:> Daniel Mattos Tribeca Internet Initiatives Inc.
:> [EMAIL PROTECTED] http://www.tiii.com
:> -----------------
:>
:
----------------------------------
Daniel Mattos Tribeca Internet Initiatives Inc.
[EMAIL PROTECTED] http://www.tiii.com
-----------------
> Well, it is worth the change just to get rid of those stupid patches every
> few weeks because of security issues. But then again, if you are
> confortable with sendmail...
oh jesus.
you people. You brag about qmail being secure and simple to configure..
yet it's so simple nobody can answer a simple question? I know i'm not the
only one running a mailserver with customers who want to forward
[EMAIL PROTECTED]
not
[EMAIL PROTECTED]
>
> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
>
> :qmail is very unlogical if you have been using sendmail for five years..
> :heck I know people who have been using qmail for 3 years and none of you
> :can explain to me how to do the equivalent of /etc/mail/virtusertable ..
> :
> :very ridiculous. I am positive i'm not the only person to ever
> :switch to qmail from sendmail who used sendmail's virtusertables..
> :
> :
> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
> :
> :>
> :> That's your decision, but I can assure you that qmail configuration is
> :> much easier and logical.
> :>
> :> The funny part is that I gave up sendmail specially because I couldn't
> :> figure out a safe configuration.
> :>
> :> Good luck,
> :>
> :> Daniel
> :>
> :> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
> :>
> :> :blah. i'm going to use sendmail. i can make
> :> : a stable function sendmail server in 5 minutes.
> :> :
> :> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
> :> :
> :> :>
> :> :> Yes! There are so many possibilities that gets confusing. :)
> :> :>
> :> :> Take a look at:
> :> :>
> :> :> http://Web.InfoAve.Net/~dsill/lwq.html#virtual-domains
> :> :> and
> :> :> http://Web.InfoAve.Net/~dsill/lwq.html#aliases
> :> :>
> :> :> Daniel
> :> :>
> :> :> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
> :> :>
> :> :> :
> :> :> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
> :> :> :
> :> :> :>
> :> :> :> In this case, you better use an external package. I can't think
> :> :> :> of any one now. Someone?
> :> :> :>
> :> :> :> Otherwise on /var/qmail/control/virtualdomains put one line like:
> :> :> :>
> :> :> :> virtualdomain.com:user
> :> :> :>
> :> :> :> for each virtual domain where user may be a system user, forward address,
> :> :> :> or even a alias.
> :> :> :>
> :> :> :> If all 500 domains follow some kind of rule you con also think of a little
> :> :> :> script on .qmail-default.
> :> :> :>
> :> :> :> Good luck again,
> :> :> :
> :> :> :but that doesn't help me if i want to forward
> :> :> :
> :> :> :[EMAIL PROTECTED] to [EMAIL PROTECTED]
> :> :> :
> :> :> :
> :> :> :is there a way to do wildcards with /etc/aliases?
> :> :> :
> :> :> :could i do a
> :> :> :
> :> :> :@blah.com:[EMAIL PROTECTED] ?
> :> :> :
> :> :> :
> :> :> :
> :> :>
> :> :> ----------------------------------
> :> :> Daniel Mattos Tribeca Internet Initiatives Inc.
> :> :> [EMAIL PROTECTED] http://www.tiii.com
> :> :> -----------------
> :> :>
> :> :
> :>
> :> ----------------------------------
> :> Daniel Mattos Tribeca Internet Initiatives Inc.
> :> [EMAIL PROTECTED] http://www.tiii.com
> :> -----------------
> :>
> :
>
> ----------------------------------
> Daniel Mattos Tribeca Internet Initiatives Inc.
> [EMAIL PROTECTED] http://www.tiii.com
> -----------------
>
Michael T. Halligan <[EMAIL PROTECTED]> wrote on Mon, 06 Dec 1999:
> > Otherwise on /var/qmail/control/virtualdomains put one line like:
> > virtualdomain.com:user
>
> but that doesn't help me if i want to forward
>
> [EMAIL PROTECTED] to [EMAIL PROTECTED]
Sure it does (or I don't understand your problem then).
> could i do a
>
> @blah.com:[EMAIL PROTECTED] ?
If you have this in virtualdomains:
virtualdomain.com:virtuser
(note virtuser is not a real user on the system)
Then you create ~alias/.qmail-virtuser-default
And possibly ~alias/.qmail-virtuser-blah
@virtualdomain.com addressed mail will by default follow the
.qmail-virtuser-default delivery instructions. The email to
[EMAIL PROTECTED] will follow the instructions in
.qmail-virtuser-blah. And so on. You have a default delivery rule,
and can make as many exceptions as you like. You can also have the
default delivery instructions be as complex as you like, if needed
(pipe into a program or whatever). Is this not what you want?
Disclaimer: I don't use virtualdomains myself, so possibly these
instructions are wrong. If so, I'm sure someone will correct me. :-)
Hope this helps,
Mikko
--
// Mikko H�nninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
*** This message is made with 100% recycled bytes. ***
On 06-Dec-1999, Michael T. Halligan wrote:
> the problem is i have about 500 stupid domains to get to work like this..
> what's the procedure?
> if i have to make
> [EMAIL PROTECTED] forward to [EMAIL PROTECTED]
> in sendmail I have the proper rule in the .cf then
> i add
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> to virtusertables
> how do I do this in qmail?
In virtualdomains:
ihateyou.com:ihateyou
myotherdomain.com:otherdom
Create ~ihateyou/.qmail-blah containing:
[EMAIL PROTECTED]
To forward *@myotherdomain.com to [EMAIL PROTECTED],
create ~otherdom/.qmail-default containing:
[EMAIL PROTECTED]
Does that help?
PS. I don't know exactly what virtusertables do.
--
Ronny Haryanto
Dear Michael,
Please don't take it personally but 5 year is a long time, people get used
to things. Experiences are different. All I can say is that when I started
managing a sendmail server I found it so obscure that I when I switched
To qmail I actually made sure I deleted all files related to sendmail.
Then I lived happily ever after. :)
Best regards,
Daniel
On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:> Well, it is worth the change just to get rid of those stupid patches every
:> few weeks because of security issues. But then again, if you are
:> confortable with sendmail...
:
:oh jesus.
:
:you people. You brag about qmail being secure and simple to configure..
:
:yet it's so simple nobody can answer a simple question? I know i'm not the
:only one running a mailserver with customers who want to forward
:
:[EMAIL PROTECTED]
:
:not
:[EMAIL PROTECTED]
:>
:> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:>
:> :qmail is very unlogical if you have been using sendmail for five years..
:> :heck I know people who have been using qmail for 3 years and none of you
:> :can explain to me how to do the equivalent of /etc/mail/virtusertable ..
:> :
:> :very ridiculous. I am positive i'm not the only person to ever
:> :switch to qmail from sendmail who used sendmail's virtusertables..
:> :
:> :
:> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
:> :
:> :>
:> :> That's your decision, but I can assure you that qmail configuration is
:> :> much easier and logical.
:> :>
:> :> The funny part is that I gave up sendmail specially because I couldn't
:> :> figure out a safe configuration.
:> :>
:> :> Good luck,
:> :>
:> :> Daniel
:> :>
:> :> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:> :>
:> :> :blah. i'm going to use sendmail. i can make
:> :> : a stable function sendmail server in 5 minutes.
:> :> :
:> :> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
:> :> :
:> :> :>
:> :> :> Yes! There are so many possibilities that gets confusing. :)
:> :> :>
:> :> :> Take a look at:
:> :> :>
:> :> :> http://Web.InfoAve.Net/~dsill/lwq.html#virtual-domains
:> :> :> and
:> :> :> http://Web.InfoAve.Net/~dsill/lwq.html#aliases
:> :> :>
:> :> :> Daniel
:> :> :>
:> :> :> On Mon, 6 Dec 1999, Michael T. Halligan wrote:
:> :> :>
:> :> :> :
:> :> :> :On Mon, 6 Dec 1999, Daniel Mattos wrote:
:> :> :> :
:> :> :> :>
:> :> :> :> In this case, you better use an external package. I can't think
:> :> :> :> of any one now. Someone?
:> :> :> :>
:> :> :> :> Otherwise on /var/qmail/control/virtualdomains put one line like:
:> :> :> :>
:> :> :> :> virtualdomain.com:user
:> :> :> :>
:> :> :> :> for each virtual domain where user may be a system user, forward address,
:> :> :> :> or even a alias.
:> :> :> :>
:> :> :> :> If all 500 domains follow some kind of rule you con also think of a little
:> :> :> :> script on .qmail-default.
:> :> :> :>
:> :> :> :> Good luck again,
:> :> :> :
:> :> :> :but that doesn't help me if i want to forward
:> :> :> :
:> :> :> :[EMAIL PROTECTED] to [EMAIL PROTECTED]
:> :> :> :
:> :> :> :
:> :> :> :is there a way to do wildcards with /etc/aliases?
:> :> :> :
:> :> :> :could i do a
:> :> :> :
:> :> :> :@blah.com:[EMAIL PROTECTED] ?
:> :> :> :
:> :> :> :
:> :> :> :
:> :> :>
:> :> :> ----------------------------------
:> :> :> Daniel Mattos Tribeca Internet Initiatives Inc.
:> :> :> [EMAIL PROTECTED] http://www.tiii.com
:> :> :> -----------------
:> :> :>
:> :> :
:> :>
:> :> ----------------------------------
:> :> Daniel Mattos Tribeca Internet Initiatives Inc.
:> :> [EMAIL PROTECTED] http://www.tiii.com
:> :> -----------------
:> :>
:> :
:>
:> ----------------------------------
:> Daniel Mattos Tribeca Internet Initiatives Inc.
:> [EMAIL PROTECTED] http://www.tiii.com
:> -----------------
:>
:
----------------------------------
Daniel Mattos Tribeca Internet Initiatives Inc.
[EMAIL PROTECTED] http://www.tiii.com
-----------------
On 07-Dec-1999, Mikko H�nninen wrote:
> If you have this in virtualdomains:
> virtualdomain.com:virtuser
> (note virtuser is not a real user on the system)
>
> Then you create ~alias/.qmail-virtuser-default
> And possibly ~alias/.qmail-virtuser-blah
Shouldn't the virtualdomains entry be something like this?
virtualdomain.com:alias-virtuser
--
Ronny Haryanto
In answer to the original question:
It's not easy. I just finished developing the tools to deal with all of it.
Other people have tools readily available. I didn't like them. I already
had my 500+ domains in a MySQL database dealing with everything, so I added
support for the creating the .qmail files necessary to accomplish the task.
I have not converted to qmail yet, I am in the setup and testing phase (99%
done).
This particular task has been way too difficult and I feel there is a major
need for some talented qmail person to deal with the issue of virtusertable
in a fastforward like program. (If not fastforward itself)
I get the impression that the easiest solution is to move it all to the
aliases file and use fastforward. Not my idea of clean.
Anyway. I made tools to do what this guy asked for because, it ain't easy
or it ain't documented well. (I realize similar tools were already available
but didn't necessarily work with my data set ;)
Richard
PS. If you care:
System: Multiple FreeBSD boxes behind a server iron.
For SMTP I'm running qmail with these patches:
big-todo, concurrency, tarpit, dns, etrn (modified patch from some ones
email,
it just says "yes i support etrn"), and qmail-popbull (modified to
record which
bulletins had been downloaded by each user in their .popbull file)
For POP3 I'm running Mysql+Qmail checkpassword and qmail-pop3d. (slight
modification to deal with qmail not using Mysql)
For user file and pop authentication. Mysql database generating
users/assign. Mysql database used for pop authentication.
For virtual mail and mail forwards. Mysql databases managing .qmail files.
Need to: Setup EZMLM and vacation support.
(*Thank you* to *ALL* the great people who made doing this possible!!!)
(Dan,Russell,Dave, etc!) (sorry only 3 first names I remember :( )
in a virtual table you just have
an entry for a virtualdomain in /etc/sendmail.cw to say "yes I do want to deal with
this domain's e-mail"
then say to forward [EMAIL PROTECTED] 's e-mail.. or anything @ qmail.com to
"[EMAIL PROTECTED]"
i'd just make an entry
@qmail.com [EMAIL PROTECTED]
or
[EMAIL PROTECTED] [EMAIL PROTECTED]
HUP sendmail, and it works.
no need to create an extra config file, an extra /home directory
On Mon, 6 Dec 1999, Ronny Haryanto wrote:
> On 06-Dec-1999, Michael T. Halligan wrote:
> > the problem is i have about 500 stupid domains to get to work like this..
> > what's the procedure?
> > if i have to make
> > [EMAIL PROTECTED] forward to [EMAIL PROTECTED]
> > in sendmail I have the proper rule in the .cf then
> > i add
> > [EMAIL PROTECTED] [EMAIL PROTECTED]
> > to virtusertables
> > how do I do this in qmail?
>
> In virtualdomains:
> ihateyou.com:ihateyou
> myotherdomain.com:otherdom
>
> Create ~ihateyou/.qmail-blah containing:
> [EMAIL PROTECTED]
>
> To forward *@myotherdomain.com to [EMAIL PROTECTED],
> create ~otherdom/.qmail-default containing:
> [EMAIL PROTECTED]
>
> Does that help?
>
> PS. I don't know exactly what virtusertables do.
>
> --
> Ronny Haryanto
>
thanks.
sendmail's way makes sense but at least i know how to do it now.
On Mon, 6 Dec 1999, Ronny Haryanto wrote:
> 0
> X-Mailer: Mutt 1.0i on Linux 2.2.12 i686
> Status: RO
> X-Status:
> X-Keywords:
> X-UID: 23
>
> On 06-Dec-1999, Michael T. Halligan wrote:
> > the problem is i have about 500 stupid domains to get to work like this..
> > what's the procedure?
> > if i have to make
> > [EMAIL PROTECTED] forward to [EMAIL PROTECTED]
> > in sendmail I have the proper rule in the .cf then
> > i add
> > [EMAIL PROTECTED] [EMAIL PROTECTED]
> > to virtusertables
> > how do I do this in qmail?
>
> In virtualdomains:
> ihateyou.com:ihateyou
> myotherdomain.com:otherdom
>
> Create ~ihateyou/.qmail-blah containing:
> [EMAIL PROTECTED]
>
> To forward *@myotherdomain.com to [EMAIL PROTECTED],
> create ~otherdom/.qmail-default containing:
> [EMAIL PROTECTED]
Yep.
I appreciate the simplicity of it. Sigh. It might be the only thing I will
miss though :)
Richard
At 06:44 PM 12/6/99 -0500, Michael T. Halligan wrote:
>in a virtual table you just have
>
>an entry for a virtualdomain in /etc/sendmail.cw to say "yes I do want to
>deal with
>this domain's e-mail"
>
>then say to forward [EMAIL PROTECTED] 's e-mail.. or anything @ qmail.com to
>"[EMAIL PROTECTED]"
>
>i'd just make an entry
>
>@qmail.com [EMAIL PROTECTED]
>
>or
>[EMAIL PROTECTED] [EMAIL PROTECTED]
>
>HUP sendmail, and it works.
>no need to create an extra config file, an extra /home directory
>
>
>
>
>On Mon, 6 Dec 1999, Ronny Haryanto wrote:
>
> > On 06-Dec-1999, Michael T. Halligan wrote:
> > > the problem is i have about 500 stupid domains to get to work like this..
> > > what's the procedure?
> > > if i have to make
> > > [EMAIL PROTECTED] forward to [EMAIL PROTECTED]
> > > in sendmail I have the proper rule in the .cf then
> > > i add
> > > [EMAIL PROTECTED] [EMAIL PROTECTED]
> > > to virtusertables
> > > how do I do this in qmail?
> >
> > In virtualdomains:
> > ihateyou.com:ihateyou
> > myotherdomain.com:otherdom
> >
> > Create ~ihateyou/.qmail-blah containing:
> > [EMAIL PROTECTED]
> >
> > To forward *@myotherdomain.com to [EMAIL PROTECTED],
> > create ~otherdom/.qmail-default containing:
> > [EMAIL PROTECTED]
> >
> > Does that help?
> >
> > PS. I don't know exactly what virtusertables do.
> >
> > --
> > Ronny Haryanto
> >
Richard,
I (and possible others) would be interested in your experiences, any
gotchas that you ran into. I am looking at converting 15,000 users and
1200 virtual domains away from sendmail to qmail as soon as I
can learn all of the qmail options.
Thanks,
--tony
----- Original Message -----
From: "Richard Roderick" <[EMAIL PROTECTED]>
To: "Michael T. Halligan" <[EMAIL PROTECTED]>; "Daniel Mattos"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 06, 1999 3:35 PM
Subject: Re: Sendmail Virtusertable equivalent?
> In answer to the original question:
>
> It's not easy. I just finished developing the tools to deal with all of
it.
> Other people have tools readily available. I didn't like them. I already
> had my 500+ domains in a MySQL database dealing with everything, so I
added
> support for the creating the .qmail files necessary to accomplish the
task.
>
> I have not converted to qmail yet, I am in the setup and testing phase
(99%
> done).
> This particular task has been way too difficult and I feel there is a
major
> need for some talented qmail person to deal with the issue of
virtusertable
> in a fastforward like program. (If not fastforward itself)
>
> I get the impression that the easiest solution is to move it all to the
> aliases file and use fastforward. Not my idea of clean.
>
> Anyway. I made tools to do what this guy asked for because, it ain't easy
> or it ain't documented well. (I realize similar tools were already
available
> but didn't necessarily work with my data set ;)
>
> Richard
> PS. If you care:
>
> System: Multiple FreeBSD boxes behind a server iron.
>
> For SMTP I'm running qmail with these patches:
> big-todo, concurrency, tarpit, dns, etrn (modified patch from some ones
> email,
> it just says "yes i support etrn"), and qmail-popbull (modified to
> record which
> bulletins had been downloaded by each user in their .popbull file)
>
> For POP3 I'm running Mysql+Qmail checkpassword and qmail-pop3d. (slight
> modification to deal with qmail not using Mysql)
>
> For user file and pop authentication. Mysql database generating
> users/assign. Mysql database used for pop authentication.
>
> For virtual mail and mail forwards. Mysql databases managing .qmail files.
>
> Need to: Setup EZMLM and vacation support.
>
> (*Thank you* to *ALL* the great people who made doing this possible!!!)
> (Dan,Russell,Dave, etc!) (sorry only 3 first names I remember :( )
>
>
On 06-Dec-1999, Michael T. Halligan wrote:
> in a virtual table you just have
> an entry for a virtualdomain in /etc/sendmail.cw to say "yes I do want to deal with
> this domain's e-mail"
OK, add qmail.com to rcpthosts (or morercpthosts) for that.
> then say to forward [EMAIL PROTECTED] 's e-mail.. or anything @
> qmail.com to "[EMAIL PROTECTED]"
> i'd just make an entry
> @qmail.com [EMAIL PROTECTED]
> or
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> HUP sendmail, and it works.
> no need to create an extra config file, an extra /home directory
In virtualdomains:
qmail.com:alias-qmailcom
In ~alias/.qmail-qmailcom-default:
[EMAIL PROTECTED]
If you need exception, say michael[-*]@qmail.com should be delivered to
[EMAIL PROTECTED] then ~alias/.qmail-qmailcom-michael-default:
[EMAIL PROTECTED]
Hope that helps. Please CMIIW.
Best regards,
--
Ronny Haryanto
"Richard" == Richard Roderick <[EMAIL PROTECTED]> writes:
Richard> In answer to the original question: It's not easy. I just
Richard> finished developing the tools to deal with all of it.
I handled this conversion in < 1 hour for over 30 domains. 300 or 3000
domains would have taken no longer since I built myself tools. I found
it pretty damn trivial. Perl is your friend. But you could do this
with sed, awk and grep.
What I did:
Grep out all the domains on the LHS from the sendmail virtualuser
table and put them in /var/qmail/control/virtualdomains all with the
same RHS like so:
domain-a.com:alias-virtualdomains
domain-b.com:alias-virtualdomains
domain-c.com:alias-virtualdomains
...
awk makes that pretty simple:
awk '/^#/{next};/^ *$/{next};{split($1,a,/@/);print a[2]":alias-virtualdomains"}' \
< /etc/mail/virtusertable >> /var/qmail/control/virtualdomains
Install fastforward (see http://www.qmail.org).
Setup ~alias/.qmail-virtualdomains-default:
echo "|/var/qmail/bin/fastforward -d /var/qmail/etc/virtualaliases.cdb" >
~alias/.qmail-virtualdomains-default
Build /var/qmail/etc/virtualaliases.cdb. I'd use a perl script for
that depending upon complexity. I'd send you the one I used if I could
still find it... virtualaliases is similar to sendmail's
virtusertable, but more flexible.
For example, virtualaliases allows multiple addresses on the RHS. With
sendmail, you can only use a single address on the RHS which you then
need to expand in the aliases file to multiple addresses.
If you only have a single address on the RHS in virtusertable, the
conversion is simple, just add a ':' after every address in the LHS
and add a ';' after every address on the RHS. You can do that with
awk:
awk '/^#/{next};/^ *$/{next};{print $1":\t"$2";"}' \
< virtusertable >> /var/qmail/etc/virtualaliases
Clean up virtualaliases as needed, you'll want to fully qualify
addresses on the RHS. If any of the RHS addresses actually appear in
your /etc/aliases, then you'll want to expand those out. If you have a
bunch, I suggest you write a script to iterate through all the LHS
addresses and call sendmail -bv to expand out the RHS.
Don't forget to turn the virtualaliases file into a cdb:
setforward virtualaliases.cdb virtualaliases.tmp < virtualaliases
Good luck. You'll be happier with qmail in the long run. Trust
me. I've administered both for quite some time.
Also, people on this list are more receptive if you lose the attitude.
j.
--
Jay Soffian <[EMAIL PROTECTED]> UNIX Systems Engineer
404.572.1941 Cox Interactive Media
"Jay" == Jay Soffian <[EMAIL PROTECTED]> writes:
Jay> [...]
Jay> Don't forget to turn the virtualaliases file into a cdb:
Jay> [...]
I presume you've read the qmail instructions and are familiar with the
basics of setup. I did leave out a pretty important step though... you
need to add the virtual domains (the LHS in the virtusertable) to
either /var/qmail/control/rcpthosts on
/var/qmail/control/morercpthosts (I used morercpthosts, don't forget
to run qmail-newmrh).
j.
--
Jay Soffian <[EMAIL PROTECTED]> UNIX Systems Engineer
404.572.1941 Cox Interactive Media
AAAHHH. That's what I was looking for!
The part about using the fastforward to do it was what I could not find,
and I'm no expert.
Someone needs to add this to the Qmail web site.
All in all, I'm very happy with what I have now which is not dependent
on the old method, but I can see advantages to what Jay is doing when
it comes to simplicity.
Thanks Jay!
Richard
At 08:07 PM 12/6/99 -0500, Jay Soffian wrote:
> "Richard" == Richard Roderick <[EMAIL PROTECTED]> writes:
>
> Richard> In answer to the original question: It's not easy. I just
> Richard> finished developing the tools to deal with all of it.
>
>
>I handled this conversion in < 1 hour for over 30 domains. 300 or 3000
>domains would have taken no longer since I built myself tools. I found
>it pretty damn trivial. Perl is your friend. But you could do this
>with sed, awk and grep.
>
>What I did:
>
>Grep out all the domains on the LHS from the sendmail virtualuser
>table and put them in /var/qmail/control/virtualdomains all with the
>same RHS like so:
>
>domain-a.com:alias-virtualdomains
>domain-b.com:alias-virtualdomains
>domain-c.com:alias-virtualdomains
>...
>
>awk makes that pretty simple:
>
>awk '/^#/{next};/^ *$/{next};{split($1,a,/@/);print
>a[2]":alias-virtualdomains"}' \
>< /etc/mail/virtusertable >> /var/qmail/control/virtualdomains
>
>Install fastforward (see http://www.qmail.org).
>
>Setup ~alias/.qmail-virtualdomains-default:
>
>echo "|/var/qmail/bin/fastforward -d /var/qmail/etc/virtualaliases.cdb" >
>~alias/.qmail-virtualdomains-default
>
>Build /var/qmail/etc/virtualaliases.cdb. I'd use a perl script for
>that depending upon complexity. I'd send you the one I used if I could
>still find it... virtualaliases is similar to sendmail's
>virtusertable, but more flexible.
>
>For example, virtualaliases allows multiple addresses on the RHS. With
>sendmail, you can only use a single address on the RHS which you then
>need to expand in the aliases file to multiple addresses.
>
>If you only have a single address on the RHS in virtusertable, the
>conversion is simple, just add a ':' after every address in the LHS
>and add a ';' after every address on the RHS. You can do that with
>awk:
>
>awk '/^#/{next};/^ *$/{next};{print $1":\t"$2";"}' \
>< virtusertable >> /var/qmail/etc/virtualaliases
>
>Clean up virtualaliases as needed, you'll want to fully qualify
>addresses on the RHS. If any of the RHS addresses actually appear in
>your /etc/aliases, then you'll want to expand those out. If you have a
>bunch, I suggest you write a script to iterate through all the LHS
>addresses and call sendmail -bv to expand out the RHS.
>
>Don't forget to turn the virtualaliases file into a cdb:
>
>setforward virtualaliases.cdb virtualaliases.tmp < virtualaliases
>
>Good luck. You'll be happier with qmail in the long run. Trust
>me. I've administered both for quite some time.
>
>Also, people on this list are more receptive if you lose the attitude.
>
>j.
>--
>Jay Soffian <[EMAIL PROTECTED]> UNIX Systems Engineer
>404.572.1941 Cox Interactive Media
>
"Richard" == Richard Roderick <[EMAIL PROTECTED]> writes:
Richard> AAAHHH. That's what I was looking for! The part about
Richard> using the fastforward to do it was what I could not find,
Richard> and I'm no expert.
Richard> Someone needs to add this to the Qmail web site.
It is. See 'Author's Enhancement Software for qmail':
The fastforward package supports forwarding tables under qmail.
j.
--
Jay Soffian <[EMAIL PROTECTED]> UNIX Systems Engineer
404.572.1941 Cox Interactive Media
At 08:46 PM 12/6/1999 -0500, Jay Soffian wrote:
> "Richard" == Richard Roderick <[EMAIL PROTECTED]> writes:
>
> Richard> AAAHHH. That's what I was looking for! The part about
> Richard> using the fastforward to do it was what I could not find,
> Richard> and I'm no expert.
> Richard> Someone needs to add this to the Qmail web site.
>
>It is. See 'Author's Enhancement Software for qmail':
>The fastforward package supports forwarding tables under qmail.
I saw fastforward, I just didn't have a clean understanding of the capabilities
and how it could be used to solve this problem. :)
I thought you did a great job explaining the virtusertable conversion process,
that's what I think needs to be added. Perhaps to the HOWTO or David Sill's
"Life
with Qmail".
Thanks again!
Richard
On Mon, 6 Dec 1999, Michael T. Halligan wrote:
> How do I use the old virtusertable format? I'm migrating a sendmail
> server to a qmail server, and I can't feasibly create a .qmail-domain in
> each home directory..
I'm working on a sweet little python script to do that conversion.
Actually, I'm converting to vpopmail, so I guess it wouldn't be applicable
to you! All the users are going to share just ONE system account.
I guess you can disregard this message... ;-)
Ben
--
"There is no spoon"
-- The Matrix
On Mon, 6 Dec 1999, Michael T. Halligan wrote:
>
> [EMAIL PROTECTED] [EMAIL PROTECTED]
>
> to virtusertables
>
>
> how do I do this in qmail?
I guess the question is whether or not they all need to keep their own
home directories. Personally, I prefer the method I discussed earlier.
http://www.inter7.com/vpopmail/
Ben
--
"There is no spoon"
-- The Matrix
On Mon, 6 Dec 1999, Michael T. Halligan wrote:
> oh jesus.
>
> you people. You brag about qmail being secure and simple to configure..
>
> yet it's so simple nobody can answer a simple question? I know i'm not the
> only one running a mailserver with customers who want to forward
Y'know, I started composing this message with the intent of explaining
exactly how I intended to move our 1026 virtual domains from sendmail to
qmail.
But forget it.
Ben
--
"There is no spoon"
-- The Matrix
"Richard" == Richard Roderick <[EMAIL PROTECTED]> writes:
Richard> I saw fastforward, I just didn't have a clean
Richard> understanding of the capabilities and how it could be
Richard> used to solve this problem. :)
Richard> I thought you did a great job explaining the
Richard> virtusertable conversion process, that's what I think
Richard> needs to be added. Perhaps to the HOWTO or David Sill's
Richard> "Life with Qmail".
Qmail is a pretty flexible tool. It's hard to envision what everyone
might want to do with it, but I agree that converting from sendmail's
virtusertable is likely a common scenario.
I'd be surprised if a search of the qmail list archive didn't turn
this up being discussed before.
It was clear to me how to piece together qmail's various components to
arrive at the solution I needed. Hmm, maybe I'll expand a little on my
post and ask to have it added to the qmail FAQ. It would certainly
complement the "How do I use sendmail's /etc/aliases with qmail?"
question: "How do I use sendmail's /etc/virtusertable with qmail?"
Looks like DJB maintaines the FAQ? Dan - interested in contributions?
j.
--
Jay Soffian <[EMAIL PROTECTED]> UNIX Systems Engineer
404.572.1941 Cox Interactive Media
On Mon, Dec 06, 1999 at 06:39:35PM -0800, Richard Roderick wrote:
> At 08:46 PM 12/6/1999 -0500, Jay Soffian wrote:
> > "Richard" == Richard Roderick <[EMAIL PROTECTED]> writes:
> >
> > Richard> AAAHHH. That's what I was looking for! The part about
> > Richard> using the fastforward to do it was what I could not find,
> > Richard> and I'm no expert.
> > Richard> Someone needs to add this to the Qmail web site.
> >
> >It is. See 'Author's Enhancement Software for qmail':
> >The fastforward package supports forwarding tables under qmail.
>
>
> I saw fastforward, I just didn't have a clean understanding of the capabilities
> and how it could be used to solve this problem. :)
Then how's about downloading it and reading the README and man pages for it?
--Adam
At 10:39 PM 12/6/1999 -0500, Adam D . McKenna wrote:
> > I saw fastforward, I just didn't have a clean understanding of the
> capabilities
> > and how it could be used to solve this problem. :)
>
>Then how's about downloading it and reading the README and man pages for it?
Ouch :)
To be honest, I did. "I was looking for the word 'virtusertable'"
Perhaps I missed it? Either, I'm fine, it works. And I appreciate Jay's help!
Richard
I have a bunch of messages 500+ sitting in my queue for an address that
doesn't exist. Is there a way I can dequeue all messages queued up for
that email address?
Bob
Bob,
Check out qmHandle. With a quick shell script to extract the queue ID
numbers of the offending messages, and qmHandle -d, you can clean the
queue out.
It is recommended to stop qmail before using qmHandle.
-Martin
---------------
http://www.io.com/~mick/soft/qmhandle.html
On 6 Dec, Bob C. Ruddy wrote:
: I have a bunch of messages 500+ sitting in my queue for an address that
: doesn't exist. Is there a way I can dequeue all messages queued up for
: that email address?
:
: Bob
:
--
Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]
"Bob C. Ruddy" wrote:
> I have a bunch of messages 500+ sitting in my queue for an address that
> doesn't exist. Is there a way I can dequeue all messages queued up for
> that email address?
>
The answer depends on the actual reason why it's stuck. You can always try
to add an smtproutes entry to 127.0.0.1 for this domain, then hupping
qmail-send. With a properly-configured Qmail this will result in all mail
queued up for this domain to be immediately bounced, after which you can
remove the smtproutes entry.
On Mon, Dec 06, 1999 at 07:35:32PM -0500, Sam wrote:
> to add an smtproutes entry to 127.0.0.1 for this domain, then hupping
> qmail-send.
You'd need an ALRM signal to reschedule delivery, not a HUP.
james
--
James Raftery (JBR54) - Programmer Hostmaster IE Domain Registry
Preferred Contact by Email: [EMAIL PROTECTED] UCD Computing Services
Web: http://www.domainregistry.ie/ Computer Centre
Tel: (+353 1) 7062375 Fax: (+353 1) 7062862 Belfield, Dublin 4, IE
I'm looking to set up a secondary mail server for when my primary is
unreachable. I don't want qmail to deliver the email though just queue it
up till the primary mail server comes online. I looked through the faq but
did not see anything. Can someone point me in the right direction.
Bob
Bob,
This is a common use for mailservers. It's called backup MX, I believe.
There are two ways to do this. Naturally, you want to have your DNS
looking something like this:
# host domain.net
domain.net mail is handled (pri=5) by mx5.domain.net
domain.net mail is handled (pri=10) by mx10.domain.net
domain.net mail is handled (pri=20) by mx20.domain.net
domain.net mail is handled (pri=2) by mx2.domain.net
Let's say that you are delivering all mail to [EMAIL PROTECTED]
Let's say that mx2 hosts your POP boxes or what have you
Then mx10 could be set up with the following config. Be forewarned
that you don't really /need/ the explicit entry in smtproutes. If you
want more on this issue, check the mailing list entries for earlier in
the day (today, December 6th, 1999). There were several discussions
about smtproutes and MX'ing mail.
At any rate, here's what the control files should look like....
rcpthosts
==============
domain.net
.domain.net
smtproutes
==============
domain.net:mx2.domain.net
.domain.net:mx2.domain.net
-Martin
On 6 Dec, Bob C. Ruddy wrote:
: I'm looking to set up a secondary mail server for when my primary is
: unreachable. I don't want qmail to deliver the email though just queue it
: up till the primary mail server comes online. I looked through the faq but
: did not see anything. Can someone point me in the right direction.
:
: Bob
:
--
Martin A. Brown --- SecurePipe Communications --- [EMAIL PROTECTED]
|
Hello guys :)
just one more question
:-
hoe to take out my ip address from the
header ? eg
Received from mail.jhancock.com.my (192.168.21.253)
. How to make 192.168.21.253 disappear ?
|
Hello,
I have some problems when I tried to implement qmail to replace my existing
mail server. Any recommendation on the below questions?
1. I'd like to make a copy on all outgoing email to a single user account.
Is it possible to do that at qmail? How it works?
2. I'd like to make a copy all incoming email of a user account to another
user account. Is it possible to do that at qmail? How it works? I have
tried to make an entry at .qmail file to forward the mail, but no mail left
at the original account. How to COPY instead of FORWARD?
Thank you.
Best Regards,
Jackie
[EMAIL PROTECTED]
Hello, I have found a daemon for sendmail that allows encrypting of
outgoing messages, now I wonder if there is any daemon for qmail that can
do the same thing?
Mikael Schmidt <[EMAIL PROTECTED]>
http://apa.itsec.nu "When you dream, there are no rules....
Certified Linux Administrator People can fly, anything can happen..."
- Astral Projection