Re: RFC 2821 and 2822

2001-04-25 Thread Matthew Patterson

I'm not very good at reading RFCs, so I can't be sure myself. Can anyone 
confirm that qmail 1.3 with the BigDNS and queuevar patches will be 
compliant with whatever standards may come out of RFCs 2821 and 2822? 
I'm sure that there will be some schmuck member of management will hear 
about these and come to me pulling their hair out, wondering how we will 
ever survive moving to these new processes, and will end up suggesting 
moving to Exchange 2000 because 'Microsoft always follows standards'. 
I'm fairly certain that we have nothing to worry about, but I want to be 
sure.

MHP




Re: Password options

2001-03-01 Thread Matthew Patterson

On Thu, 01 Mar 2001, Richard Lyon wrote:
>
>
>I work for a company that had a mail server operating prior to my starting. 
>It is a Slackware system running qmail-1.03. It is configured with 
>/home/maildir for the users. The rest of the network is NT controlled. Most 
>users are running Eudora Pro for a client. There is limited use of Outlook 
>at the same time. The password request uses the shadow password for 
>authentication. My CTO recently started asking about switching to APOP 
>instead of POP for logins. He started a packet sniffer and pulled the user 
>name and password for the mail transfer. As a result of this he wants a 
>more secure method used. From what I have been finding the only program 
>that works with qmail is checkpw. The drawback I see is that the users 
>password is stored in cleartext in the home directory. Since the CTO does 
>not want either of us to know these due to company policy (currently when a 
>password is changed I activate passwd and have the user enter the new one). 
>Is there a way to use the shadow password, or a program that does not use a 
>cleartext file? I do have a password generator program that can be run to 
>give me an encoded password. I use this to generate a UNIX compatible code 
>to activate the CVS program in the NT environment for development.
>
>Thanks in advance,
>Richard Lyon
>Network Administrator
>
>AbsoluteFuture, Inc.
>NE 8th Street, Suite 1414
>Bellevue, WA  98004

Go to www.qmail.org and search through the document for apop. You should find 2 items, 
the second of which sounds like what you want.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: POP accounts??

2001-03-01 Thread Matthew Patterson

On Thu, 01 Mar 2001, [EMAIL PROTECTED] wrote:
>Hi all!
>I have been trying to setup pop accounts with no success :( so maybe can help
>me!
>
>I followed this: http://www.whirlycott.com/phil/pop3.html
>step by step a lot of times, when i send a mail from hotmail to the account
>that I created I got this:
>
>
>Hi. This is the qmail-send program at siso.com.
>I'm afraid I wasn't able to deliver your message to the following addresses.
>This is a permanent error; I've given up. Sorry it didn't work out.
>
><[EMAIL PROTECTED]>:
>Sorry. 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)
>
>--- Below this line is a copy of the message.
>
>
>
>
>also I put as my gid & uid 110 because I saw that i some file of my 
>RH6.2 box, how I can verify that this ids are correct?
>
>I don't know what to do or where I can found more info solve this trouble,
>
>Thank you in advance,
>Rocael.
>
>
>Get free email and a permanent address at http://www.netaddress.com/?N=1

`echo 'e-macro.com' >> /var/qmail/control/locals`
`echo 'e-macro.com' >> /var/qmail/control/locals`

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Some newbies issue

2001-03-01 Thread Matthew Patterson

On Thu, 01 Mar 2001, Jason Benedict Low wrote:
>Hi,
>
>Kindly excuse me if my problem is stupid or if it's not related. I'm
>first-timer setting up a Mail server and i choose qmail instead of
>Sendmail as qmail have the add-on i luv.
>
>Hope you pple out here can help me and THANKS in Advance.
>
>My system: Linux (Turbolinux ver 6.1) (no sendmail installed) (installed
>qmail-1.03)
>
>I don't have own DNS and Static IP. I subscribe to hn.org. i'm using
>Maildir format.
>
>qmail running:-
>
>Following TEST.deliver
>(test using qmail-inject)
>
>1) tested local to local   SUCCESSFULL.
>2) tested local to error   SUCCESSFULL.
>3) tested local to remote  SUCCESSFULL.
>4) tested local to POSTmaster  SUCCESSFULL.
>5) tested Double-bounceSUCCESSFULL.
>
>Following TEST.recieve
>(via SMTP)
>
>1) tested local to local   SUCCESSFULL.
>2) tested local to remote  SUCCESSFULL.
>3) tested remote to local  NOT SUCCESSFULL.
>
>Due to i'm first time setting up such server i do not know what when
>wrong. i try sending [EMAIL PROTECTED] and [EMAIL PROTECTED]
>from my pacific.net.sg (ISP) account both mails bounced back to my
>pacific.net.sg pop account.
>
>I do understand that i need to set MX in DNS under Netphuture.com Zone
>file, but i do not know i do it rightly or not. I want to have my
>SMTP/POP3 known as mail.netphuture.com and user email address as ie.
>[EMAIL PROTECTED]
>
>Here my hn.org Dynamic service setting:-
>===
>Rec FQDN Rec TypeRec Value  DynDNS MX Pref
>===   
>   
>netphuture.com  NS  ns1.hn.org 0 0
>
>netphuture.com  NS  aux1.hn.org0 0
>
>www.netphuture.com CNAME   netphuture.com  0 0
>
>netphuture.com   Anetphuture.hn.org1 0
>
>mail.netphuture.comCNAME  netphuture.com   0 0
>
>netphuture.com   MX mail.netphuture.com010
>
>
>Please help me. I've installed qmail twice to figure out and read
>through lots of FAQ and mailing archive this whole months Feb'01. No
>doubt i found lots of other knowlegde but i still can't get the Remote
>to local (TEST.recieve) to work. That's why i suspect my setting of MX
>could be the core issue of it.
>
>Sorry for the long message here.
>
>Regards.
>
>Jason Benedict Low
>
>***One's success is not because of oneself but is given by others

change the mail.netphuture.com record to an a record and point it to either an ip 
address or something like mail.netphuture.hn.org

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Time::HiRes for Qmail-Scanner on RH7 ?

2001-02-27 Thread Matthew Patterson

On Mon, 26 Feb 2001, dennis wrote:
>Hi all...
>
>Has anyone installed "Time::HiRes" for Qmail-Scanner
>(http://qmail-scanner.sourceforge.net/) on Redhat7.0 ? I'm finding that if I
>try and install the modual as an rpm it wants an older version of perl. If
>manually install "Time::HiRes" the ./configure can't find the modual
>
>Any suggestions ?
>
>Regards
>Dennis

`perl -MCPAN -e "install Time::HiRes"`

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Suppressing Bounce Messages

2001-02-20 Thread Matthew Patterson

On Tue, 20 Feb 2001, Manvendra Bhangui wrote:
>
>I have a problem on my site where lot of my users who have subscribed to external 
>free subscriptions are no longer there. Due to this around 8 bounce message are 
>getting generated daily and clogging up my queue. Is there any way to silently 
>discard these messages without generating a bounce back message. I am running 
>qmail-1.03
>
>Regards Manny
>


Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description: 


Add an alias file for each of the addresses that these messages is intended for and 
redirect it to the postmaster of the originating domain. I'm sure it will stop real 
fast.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



return path of bounce messages

2001-02-19 Thread Matthew Patterson

This question has probably been asked before, but here goes. I recieved a 
double-bounce message in my mailbox today. Someone had tried to send a message to a 
bad address
within my domain. When my qmail box tried to bounce it back to the sender, the remote 
server said "501 bogus mail from". Is there anyway to change the Return-Path of my
bounce messages to [EMAIL PROTECTED]? Included below is the bounce portion of 
the message.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***

Return-Path: <#@[]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 22857 invoked for bounce); 19 Feb 2001 18:49:13 -
Date: 19 Feb 2001 18:49:13 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice
Status: R 
X-Status: N


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

<[EMAIL PROTECTED]>:
Connected to 216.25.58.119 but sender was rejected.
Remote host said: 501 bogus mail from

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 22855 invoked for bounce); 19 Feb 2001 18:49:12 -
Date: 19 Feb 2001 18:49:12 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at mail.nsc-support.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.




Re: Error 4.4.1

2001-02-15 Thread Matthew Patterson

On Thu, 15 Feb 2001, Dr. Georg Bohnert wrote:
>dear sirs,
>
>i've installed qmail-1.03 on a suse-linux-host together with the daemontool
>and the ucspi-tcp package according life with qmail. mail delivery on local
>host works well, but delivery to remote recipients not. ( delivery from
>remote sender seems to work too.)
>the local host is part of a LAN which is connected via a mx-server and POP3
>with the internet.
>
>there are to error messages in the log files:
>error message1: could not establish smtp connection (#4.4.1)
>error message2: could not bind, address already in use?
>
>what can i do?
>
>many thanks to all constructive repliers
>
>georg
>
>--
>mediazwo agfon//+49/781/919 369 0
>Kornstraße 7   fax//+49/781/919 369 99
>77652 Offenburghttp://www.mediazwo.de

Looks like there is already an SMTP server running on your system. Do a `ps -e` and 
look for sendmail. If it is there, do `/etc/rc.d/sendmail stop', then use YaST to
uninstall sendmail. If it says there are unresolved dependencies, choose continue. DO 
NOT CHOOSE AUTO.


-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Anna Kournikova ~ VBS.SST@MM ~ Please Help...

2001-02-12 Thread Matthew Patterson

On Mon, 12 Feb 2001, Jesse Sunday wrote:
>I've already asked, but no one has responded, so I'll ask again...
>Please help...
>
>
>I just cleared the queue of a lot of mails spawned by the 'virus'  ~  If
>anyone can point me to how to filter certain types of  attachments I would
>really appreciate it...
>
>
>Our system was hit earlier today (thankfully few users run Outlook) and I am
>trying to curb any future outbreaks...
>
>Here's info if you haven't heard about it...
>
>http:[EMAIL PROTECTED]

look into qmail-scanner (http://qmail-scanner.sourceforge.net)

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Relay only server

2001-02-08 Thread Matthew Patterson

On Thu, 08 Feb 2001, Dan Egli wrote:
>How does one setup Qmail to accept mail for a particular domain, and then
>simply hold it and que it till it can be delivered to another server? i.e.
>
>server MX1 == Primary server.
>server MX2 == Alternate server
>
>MX1 is down, so MX2 recieves a mail message. The users on MX1 do not exist
>on MX2, but I want MX2 to accept the message, then relay it to MX1 when MX1
>is back up.
>
>How is this accomplished?
>
>Thanks!
>-- Dan

See the man page for qmail-qmqp(8).

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Problem receiving email - but mail can be sent

2001-02-08 Thread Matthew Patterson

On Thu, 08 Feb 2001, Roger Arnold wrote:
>Roger Arnold wrote:
>
>I wonder if someone can help a newbie that hasn't a clue.
>
>I have finally got Qmail, Vpopmail, Qmailadmin, and Sqwebmail sort of
>working.
>If I log-on as a user in Sqwebmail I can compose and send an email, but
>if I log-on as a local user on another server and reply or just send a
>new email to the user that I was previously logged on with Sqwebmail, I
>can neither send to that user or reply to an email sent from that user.
>Also if someone using a completely separate ISP sends an email to the
>Sqwebmail user, it is not received, and the server replies that the user
>doesn't exist, even though the user is in the domain.
>
>Sorry for the round about way of putting this request, but I am not sure
>what's going on myself.
>Is there something that I have not configured in Qmail ?
>Or is it something to do with relaying ?
>
>Qmail, pop3d and smtpd have all been started and show up as services
>
>Any help would be much appreciated, even if someone can point me to
>somewhere in all the docs.
>
>Thanks in advance
>Roger

Once again, not enough info. Send us the contents of ~qmaild/users/assign, the output 
of `ls -l ~vpopmail/domains` and the output of ~qmaild/bin/qmail-showctl.

Maybe with that we can help you.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Selective relaying from internal network

2001-02-07 Thread Matthew Patterson

On Wed, 07 Feb 2001, John P wrote:
>I have a Qmail server that runs on a network of Windows PC's, all on
>10.0.0.* and masqueraded behind a Linux router box that serves everything on
>a single public IP address. This linux router portforwards ports 25 and 110
>on the external IP to the internal Qmail box.
>
>I don't currently have DNS working (properly) on the internal network, and
>the windows PC's all find each other by NetBIOS broadcasts..
>
>So (the Qmail bit) If I want Qmail to accept incoming SMTP connections from
>any of the 'inside' Windows PC's, do I have to add 10.0.0. to /etc/tcp.smtp
>(as detailed in LWQ/Chris Johnson's document)? I am not in the office so I
>can't currently test it, and I don't want to have to talk a user through
>doing it ;-)
>
>I have external relaying working fine from my own 'at home' IP address.
>
>Cheers
>John

you should have 10.0.0. in /etc/tcp.smtp regardless of whether dns works or not. also, 
until you get dns working for the internal computers, you can either:
1. set up the netbios portion of samba on the qmail box.
2. set up a wins server (if you have a spare NT server)
3. add 'mail.whatever.domainqmail.internal.ip.address' to c:\windows\hosts (plain 
text) either manually, with a batch file or as part of a logon script for the client
machines.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: blocking email address

2001-02-01 Thread Matthew Patterson

On Thu, 01 Feb 2001, KIM wrote:
>Hi to all,
>
>How can i block a specific email address in qmail?

echo "[EMAIL PROTECTED]" >> /var/qmail/control/badmailfrom
echo "@another.domain.name" >> /var/qmail/control/badmailfrom

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



qmail w/ reiserfs on linux 2.4.1

2001-01-31 Thread Matthew Patterson

I know it is still very early to be asking this question, but here goes. I remember 
seeing a notice that qmail was incompatible with reiserfs unless you patched the 
reiserfs
sources. The just-released Linux kernel 2.4.1 includes support for reiserfs. Does 
anyone know if it is the patched version that works with qmail, or if it is the 
version that
will be incompatible?

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: QMail permission error

2001-01-30 Thread Matthew Patterson

On Tue, 30 Jan 2001, Nitro wrote:
>
>Aright, I’m getting a permission error when I try starting Qmail. I don’t
>know why though, followed INSTALL fine, and as a test I chmoded the whole
>qmail directory to 777 and still no luck. Any help would be greatly
>appreciated.
>
>Error message:
>
>[root@www bin]# csh -cf '/www/qmail/bin &'
>[1] 3320
>/www/qmail/bin: Permission denied.
>[1]Exit 1/www/qmail/bin
>


Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: quoted-printable
Content-Description: 


Assuming that /www/qmail is the base directory for your qmail installation, then the 
problem is that you are trying to execute a directory. Generally we want to execute
programs. Try `csh -cf '/www/qmail/bin/qmail-start &'`. If that doesn't work, maybe 
you could give us some more information, such as an ls -l of /www/qmail/bin.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Cc: in qmail

2001-01-25 Thread Matthew Patterson

On Thu, 25 Jan 2001, Jeff Krintila wrote:
>I've had a request to see if our qmail system can accommodate the following:
>
>The customer wants to have his individual accounts receive mails addressed
>to them, but in addition, he would like to have a copy of mail for specific
>accounts cc'd to a "central repository" mail account.
>
>Anyone done this? Can qmail handle this? If so, how-to would be greatly
>appreciated!
>
>Thanks in advance,
>
>J

in the .qmail files for those accounts, add a line with the central address on
it

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Fw: Cron run-parts --report /etc/cron.daily

2001-01-25 Thread Matthew Patterson

On Thu, 25 Jan 2001, root wrote:
>I keep receiving this message but I don't know what's wrong with it
>Has anyone experienced anythink like that?
>Many thanks
>- Original Message -
>From: "Cron Daemon" <[EMAIL PROTECTED]>Subject: Cron 
>run-parts --report /etc/cron.daily
>
>
>> /etc/cron.daily/cfengine:
>> cf:ns1:/etc/cfengine/cfengine.conf:26: parse error
>> cfengine:ns1::26: Warning: actionsequence is empty
>> cfengine:ns1::26: Warning: perhaps cfengine.conf has not yet been set up?
>> cfengine:ns1::Execution terminated after parsing due to errors in program
>> /etc/cron.daily/cnews:
>> shell-init: could not get current directory: getcwd: cannot access parent
>directories
>> job-working-directory: could not get current directory: getcwd: cannot
>access parent directories
>> shell-init: could not get current directory: getcwd: cannot access parent
>directories
>> job-working-directory: could not get current directory: getcwd: cannot
>access parent directories
>> shell-init: could not get current directory: getcwd: cannot access parent
>directories
>> job-working-directory: could not get current directory: getcwd: cannot
>access parent directories
>> job-working-directory: could not get current directory: getcwd: cannot
>access parent directories
>> job-working-directory: could not get current directory: getcwd: cannot
>access parent directories
>> shell-init: could not get current directory: getcwd: cannot access parent
>directories
>> cd_links: could not get current directory: getcwd: cannot access parent
>directories
>> job-working-directory: could not get current directory: getcwd: cannot
>access parent directories
>> shell-init: could not get current directory: getcwd: cannot access parent
>directories
>> cd_links: could not get current directory: getcwd: cannot access parent
>directories
>>

Call alaire tech support.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Is it safe to recompile and install qmail after patching.

2001-01-25 Thread Matthew Patterson

On Thu, 25 Jan 2001, Eng. Ramy M. Hassan wrote:
>
>On a production environment is it safe to patch qmail source and make
>setup check once again.
>Any precautions should be taken ?
>
>Thanks.
>


Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description: 


I've only had to do that a couple times, and the only precautions I took were
that I made a backup copy of /var/qmail/bin. Just so that you know, I would
also recommend doing 'make', stopping the mail service, then doing 'make setup
check'

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: bcc sucks

2001-01-25 Thread Matthew Patterson

On Thu, 25 Jan 2001, Alex Pennace wrote:
>On Thu, Jan 25, 2001 at 05:47:48AM -0600, Matthew Patterson wrote:
>> I'm trying to make a Perl program that is called by the .qmail file for a
>> single account but recieves messages for several extension addresses. To
>> clarify, a single account, bob, will be recieving for bob-john, bob-jill, etc.
>> This program is supposed to database certain parts of the message, namely the
>> message body, the date the message was recieved, and the recipients. The most
>> important part of this is the recipient. These messages are support emails
>> going out to customers from an exchange (ugh!) server that will be Bcc'd to the
>> bob-whatever address. [...] I would prefer to
>> not have to write a program that I have to edit a single line of every time we
>> add a bob-whatever address, and the messages can only be sent to us via Bcc.
>> The way I understand qmail-command is that by the time the message gets sent
>> through whatever program the .qmail file calls, the envelope is gone, so
>> discerning the bob-whatever from there is not an option.
>
>Sure it is. The recipient address for that local delivery is stored in
>the environment variable RECIPIENT. Additionally if instructions for
>the delivery are in a .qmail-...-default file the part of the address
>covered by the -default wildcard is in the environment variable
>DEFAULT. See man qmail-command.

Sounds like just what I needed. The man page doesn't specify it the enviornment
variables are set locally to the program or are globally set, I assume local to
the program, but I want to make absolutely sure

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



bcc sucks

2001-01-25 Thread Matthew Patterson

I'm trying to make a Perl program that is called by the .qmail file for a
single account but recieves messages for several extension addresses. To
clarify, a single account, bob, will be recieving for bob-john, bob-jill, etc.
This program is supposed to database certain parts of the message, namely the
message body, the date the message was recieved, and the recipients. The most
important part of this is the recipient. These messages are support emails
going out to customers from an exchange (ugh!) server that will be Bcc'd to the
bob-whatever address. Like I said, the most important piece of information that
we need to get from the email is the bob-whatever address the message was Bcc'd
to, but the rest of the data is still extremely desireable. I would prefer to
not have to write a program that I have to edit a single line of every time we
add a bob-whatever address, and the messages can only be sent to us via Bcc.
The way I understand qmail-command is that by the time the message gets sent
through whatever program the .qmail file calls, the envelope is gone, so
discerning the bob-whatever from there is not an option. And, as we all know,
Bcc doesn't show in headers, otherwise it would fall into the category of
'pointless features'. The best that I got is that I put an alias into ~alias
for each bob-whatever user that calls the Perl program with the whatever from
bob-whatever as an arguement, that I later access through @ARGV.

Any thoughts (that lead to a logical solution) are greatly appreciated here.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: RAID & Qmail.

2001-01-19 Thread Matthew Patterson

On Fri, 19 Jan 2001, Steve Fulton wrote:
>I've searched the archives extensively, and I've learned quite a lot, but
>I'd like advice on this question:
>
>Assuming RAID 1+0 is not an option (due to the expense), what level of
>RAID is best for storing /Maildir's on a file server (that will be
>accessible to the SMTP & POP servers via NFS).  Redudancy is the big
>issue, otherwise I'd go for RAID 1.  The suits are pushing for RAID 5
>because they don't know better - and won't listen.
>
>   Steve.

Well, not knowing anything about what system you are running, I'll still take a
stab at a recommendation. The system that we use here is an x86 system running
SuSE Linux 6.4. The only IDE (because I don't need expensive SCSI shit) raid
controller I found that would definitely work for what I wanted (redundancy,
which is also what you said you wanted) is an Arco Duplidisk. Works in any
system that has a PCI slot, even ones that don't natively support PCI (eg.
DOS). Sure, the setup of the card is done by booting off a DOS floppy, but
after that the card is never seen again by you unless a drive fails. In other
words, this is probably the easiest solution for you.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Help the qmail vmailmgr novice, receive free good karma --

2001-01-18 Thread Matthew Patterson

This question is probably intended mostly for the people on the vmailmgr list,
but anyone can help us out: is vmailmgr (specifically checkvpw) able to to
/etc/passwd auth., and, if so, can it be shut off so that only virtual auth is
done?

Sean: If /etc/passwd auth is capable, and can be shut off, do it as I'm sure(ly
hoping) the vmailmgr people will tell you how to do it. If it cannot do
/etc/passwd auth, then I'm stumped. If it can do /etc/passwd auth, but it
cannot be shut off, find a better virtual domain manager (I recommend vpopmail
from inter7.com)


-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***


On Thu, 18 Jan 2001, Sean Coyle wrote:
>
>Matthew,
>
>I tried it out this morning.  I think I have been running a line similar
>to this, but I changed it to your suggestion, and hoping for the best.  I am
>still not getting any log in, but the mail is being saved correctly.
>
>Attached is an excerpt from the maillog showing how the log format
>differed, but that was simply caused from the recordio implementation.  I
>had turned it on to debug after my post to the list last night. (didn't
>really help much).
>
>I guess my main question is, with the one user that can log in, he is
>actually a real user within the system, (e.g. An etc/passwd user).  That one
>user is also created as a a virtual user, and incoming mail is saved in his
>vmail ./Maildir/new and not in his maildir within his home directory.  Now
>with this user having a home maildir, could this possibly cause any issues?
>
>E.g. user structure like this
>
>[EMAIL PROTECTED] (virtual user)
>g0thic (real user)
>[EMAIL PROTECTED] (virtual user owner)
>worldvibe (real user)
>[EMAIL PROTECTED] (virtual user)
>
>When user g0thic receives mail, it gets directed to the correct virtual
>maildir, as with any other virtual user, but user g0thic is the only one
>able to check mail.  Not only that, but when he checks mail, it checks from
>his home directory maildir, and not the virtual maildir.
>
>Any ideas to this one or the past one?
>
>Cheers,
>
>Sean
>
>Matthew Patterson wrote:
>
>> 
>> Not really sure what some of the stuff is that you're trying to do with your
>> tcpserver config, but try this out:
>> 
>> #!/bin/bash
>> /usr/local/bin/tcpserver -v -x /etc/tcpcontrol/pop-3.cdb -R 0 pop3 \
>> /var/qmail/bin/qmail-popup worldvibe.org /path_to/checkvpw \
>> /var/qmail/bin/qmail-pop3d Maildir 2>&1
>> 
>> First grep /etc/services or /etc/protocols for pop, and if your pop3 line is
>> actually pop-3, change it at the end of line 2. then, replace path_to at the
>> end of line 3 with your path to checkvpw. Finally, you have to be using a
>> Maildir format mailbox in the home directory that checkvpw will point to.
>> 
>> Give all this a whirl, and let me know if it still doesn't work.
>
>> On Wed, 17 Jan 2001, Sean Coyle wrote:
>>> Matthew and anyone else reading;
>>> 
>>> Below are the processes currently running on my box right now that are
>>> directly related to qmail, another thing I am trying to figure out, is if
>>> 'qread' and 'qstat' are actually necessary.  Also below, you will see the
>>> line stating "tcpserver -dHRvX -c 20 -x /etc/tcpcontrol/pop-3.cdb 0 pop-3
>>> qmail-popup www.worldvibe.org checkvpw qmail"  this points to checkvpw and
>>> is using that for qmail-pop authentication.
>>> 
>>>Also the checkpassword file in /var/qmail/control/checkpassword
>>> contatins the line "checkvpw"
>>> 
>>>And the file enclosed is 'run' from /service/pop3d/run this file is used
>>> to start up the pop-3 service.
>>> 
>>> root   136  0.0  1.4  1220  448 ?  S14:07   0:00 svscan /service
>>> root   142  0.0  1.4  1184  432 ?  S14:07   0:00 supervise vmailmgrd
>>> root   143  0.0  1.4  1184  432 ?  S14:07   0:00 supervise log
>>> root   144  0.0  1.4  1184  432 ?  S14:07   0:00 supervise pop3d
>>> root   145  0.0  1.4  1184  432 ?  S14:07   0:00 supervise log
>>> root   146  0.0  1.5  1180  468 ?  S14:07   0:00 unixserver -v --
>>> /var/service/vmailmgrd/socket vmailmgrd -D -V
>>> root   147  0.0  2.0  1344  600 ?  S14:07   0:00 tcpserver -dHRvX -c 20
>>> -x /etc/tcpcontrol/pop-3.cdb 0 pop-3 qmail-popup www.worldvibe.org checkvpw
>>> qmail
>>> root   148  0.0  1.4  1196  432 ?  S14:07   0:00 multilog t
>>> /var/log/vmailmgrd
>>> qmaillog

Re: who rotates the logs?

2001-01-18 Thread Matthew Patterson

On Thu, 18 Jan 2001, Clemens Hermann wrote:
>I just use it because I want to stay as close as possible with LWQ.

I really hope that I don't have to remind everyone of this, but it looks like I
do.

THE REASON THAT WE USE OPEN SYSTEMS IS BECAUSE IT MEANS WE ARE NOT RESTRICTED
BY SOMEONE ELSE'S DECISIONS. DJB could have chosen to distribute qmail as a
closed source system, porting it to all the *nix's out there, and all of us
would have had to deal with any decisions he made. Personally I like being able
to handle bigger-than-standard DNS replies and being able to pipe all my mail
through a virus filter that is nice enough to open zipped files and tnef
attachments. And I realize that this could not have been done without add-ons
and patches to source code, in other words, I couldn't do this with Exchange.
This is one of the greatest things about open systems. I don't have to have the
Snow White worm infect every one of my workstations because of the decisions of
Gates, McNealy, or Berenstein. So, when you say that you use a configuration
that hinders you in order to stay standard, I tell you to either decide which
configuration works best for your purposes and use it, or just use Exchange.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: Help the qmail novice, receive free good karma --

2001-01-18 Thread Matthew Patterson

On Wed, 17 Jan 2001, Sean Coyle wrote:
>Matthew and anyone else reading;
>
>Below are the processes currently running on my box right now that are
>directly related to qmail, another thing I am trying to figure out, is if
>'qread' and 'qstat' are actually necessary.  Also below, you will see the
>line stating "tcpserver -dHRvX -c 20 -x /etc/tcpcontrol/pop-3.cdb 0 pop-3
>qmail-popup www.worldvibe.org checkvpw qmail"  this points to checkvpw and
>is using that for qmail-pop authentication.
>
>Also the checkpassword file in /var/qmail/control/checkpassword
>contatins the line "checkvpw"
>
>And the file enclosed is 'run' from /service/pop3d/run this file is used
>to start up the pop-3 service.
>
>root   136  0.0  1.4  1220  448 ?  S14:07   0:00 svscan /service
>root   142  0.0  1.4  1184  432 ?  S14:07   0:00 supervise vmailmgrd
>root   143  0.0  1.4  1184  432 ?  S14:07   0:00 supervise log
>root   144  0.0  1.4  1184  432 ?  S14:07   0:00 supervise pop3d
>root   145  0.0  1.4  1184  432 ?  S14:07   0:00 supervise log
>root   146  0.0  1.5  1180  468 ?  S14:07   0:00 unixserver -v --
>/var/service/vmailmgrd/socket vmailmgrd -D -V
>root   147  0.0  2.0  1344  600 ?  S14:07   0:00 tcpserver -dHRvX -c 20
>-x /etc/tcpcontrol/pop-3.cdb 0 pop-3 qmail-popup www.worldvibe.org checkvpw
>qmail
>root   148  0.0  1.4  1196  432 ?  S14:07   0:00 multilog t
>/var/log/vmailmgrd
>qmaillog   150  0.0  1.7  1204  532 ?   S14:07   0:00 splogger pop-3
>root   473  0.0  1.4  1220  448 ?  S14:07   0:00 svscan
>root   478  0.0  1.4  1184  432 ?  S14:07   0:00 supervise qmail
>root   479  0.0  1.4  1184  432 ?  S14:07   0:00 supervise log
>root   480  0.0  1.4  1184  432 ?  S14:07   0:00 supervise qread
>root   483  0.0  1.4  1184  432 ?  S14:07   0:00 supervise qstat
>qmails 485  0.0  1.4  1176  436 ?  S14:07   0:00 unixserver -U -q
>/tmp/.qmail-qread /usr/bin/qmail-qread
>qmails 487  0.0  1.4  1176  436 ?  S14:07   0:00 unixserver -U -q
>/tmp/.qmail-qstat /usr/bin/qmail-qstat
>qmails 488  0.0  1.7  1248  516 ?  S14:07   0:00 qmail-send
>qmaillog 489  0.0  1.7  1204  532 ?  S14:07   0:00 splogger qmail
>root   506  0.0  1.8  1252  568 ?  S14:07   0:00 gpm -t Busmouse
>root   519  0.0  1.5  1212  468 ?  S14:07   0:00 qmail-lspawn ./Maildir/
>qmailr 520  0.0  1.5  1208  456 ?  S14:07   0:00 qmail-rspawn
>qmailq 521  0.0  1.5  1188  456 ?  S14:07   0:00 qmail-clean
>
>
>Matthew Patterson wrote:
>
>> remember, whichever password checker you use has to be passed the folder for
>> qmail-pop3d to look in. so, if you are using djb's checkpassword program, it
>> will not be able to auth the virtual users. I have very little experience with
>> vmailmgr, but if there is a pop password checker in that package, make sure
>> that you use that. otherwise, code one out similar to vpopmail that will pass
>> the correct directory and uid/gid numbers. qmail-pop3d will try to look in
>> whatever folder it is told as the user it is told by the password checker, so
>> you may want to verify your permissions.
>> 
>> -- 
>> ***
>> Matthew H Patterson
>> Unix Systems Administrator
>> National Support Center, LLC
>> Naperville, Illinois, USA
>> ***
>> 
>> 
>> On Wed, 17 Jan 2001, Sean Coyle wrote:
>>> 
>>> Hey there guys;
>>> 
>>> I have posed to this list before, and I think it got lost amidst much
>>> more interesting problems.  Below is the problem I am facing:
>>> 
>>> Using:
>>> 
>>> qmail-1.03+patches-18
>>> ucspi-tcp-0.88-1
>>> ucspi-unix-0.34-1
>>> daemontools-0.70-2
>>> autorespond-1.0.0
>>> vmailmgr-0.96.9-1
>>> supervise-scripts-3.3-1
>>> omail-admin-0.96pre10
>>> 
>>> Here is my problem,
>>> 
>>> I have one existing /etc/passwd (local) user that can check mail via
>>> POP3.
>>> 
>>> I have 3 virtual users created from vmailmgr that can receive mail from
>>> external sources, but can not check and receive that mail via POP3.
>>> 
>>> My thoughts are that pop-3 - qmail-popup is simply not looking in the
>>> correct directory and finding the appropriate passwd.cdb file and users
>>> folder.  However, SMTP is getting those messages into the correct area, as
>>> when I look in the respective virtual accounts 'new' and 'cur' folders, mail
>>> is there.
>>> 
>>> Below

Re: Help the qmail novice, receive free good karma --

2001-01-17 Thread Matthew Patterson

remember, whichever password checker you use has to be passed the folder for
qmail-pop3d to look in. so, if you are using djb's checkpassword program, it
will not be able to auth the virtual users. I have very little experience with
vmailmgr, but if there is a pop password checker in that package, make sure
that you use that. otherwise, code one out similar to vpopmail that will pass
the correct directory and uid/gid numbers. qmail-pop3d will try to look in
whatever folder it is told as the user it is told by the password checker, so
you may want to verify your permissions.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***


On Wed, 17 Jan 2001, Sean Coyle wrote:
> 
> Hey there guys;
> 
> I have posed to this list before, and I think it got lost amidst much
> more interesting problems.  Below is the problem I am facing:
> 
> Using:
> 
> qmail-1.03+patches-18
> ucspi-tcp-0.88-1
> ucspi-unix-0.34-1
> daemontools-0.70-2
> autorespond-1.0.0
> vmailmgr-0.96.9-1
> supervise-scripts-3.3-1
> omail-admin-0.96pre10
> 
> Here is my problem,
> 
> I have one existing /etc/passwd (local) user that can check mail via
> POP3.
> 
> I have 3 virtual users created from vmailmgr that can receive mail from
> external sources, but can not check and receive that mail via POP3.
> 
> My thoughts are that pop-3 - qmail-popup is simply not looking in the
> correct directory and finding the appropriate passwd.cdb file and users
> folder.  However, SMTP is getting those messages into the correct area, as
> when I look in the respective virtual accounts 'new' and 'cur' folders, mail
> is there.
> 
> Below is what the qmail-lint grabs, I don't care about those users, as they
> are not to receive mail anyway:
> 
> Warning: cannot receive mail (does not own home directory): brandon
> Warning: cannot receive mail (does not own home directory): phorum
> Warning: cannot receive mail (does not own home directory): wedding
> Warning: cannot receive mail (does not own home directory): dtlog
> Warning: cannot receive mail (does not own home directory): qmaillog
> 
> Attached is the output from /usr/bin/qmail-showctl, maillog, and the
> vmailmgr current log.
> 
> If anyone has any ideas, I would be very grateful to hear them!
> 
> Cheers,
> 
> Sean
> 
> 


Content-Type: multipart/appledouble; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description: 



Content-Type: multipart/appledouble; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description: 



Content-Type: multipart/appledouble; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description: 





Re: Help for the new guy.

2001-01-17 Thread Matthew Patterson

On Wed, 17 Jan 2001, Chandler wrote:
Hi ya'll.

Glad I found somewhere for help for qmail =)
I just got my first computer and got freebsd 4.4 setup on it.  When trying
to recieve messages through 110 I get: 
-ERR unable to scan $HOME/Maildir

I have checked the archives for this error, and all I could find was the
procedure

maildirmake $HOME/Maildir
echo ./Maildir/ > /usr/home/chandler/.qmail

which I have done, but I still see the error.  I'm not entirely sure what
additional information you need, but please let me know.  I'm pretty
pleased with myself that I've gotten this far, but I'm not sure what could
be the problem.  I can send mail with no errors.

I'm using inetd instead of tcpwrapper, because I don't understand what tcp
wrapper does.  I hope that doesn't make too much of a difference.

time to change classes.

Thank you for your help,

Chandler 


PS - I've already heard, from a million people, that I should try an OS
that's not unix for my first computer.  I don't need anymore suggestions
like that.  =)

As is so commonly said on this list: Maybe you could show us some configuration
file. If we're really lucky, you'll show us the pop3 line of /etc/inetd.conf,
an ls -l of your $HOME and maybe even the results of `cat $HOME/.qmail`

enough said.



-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



unable to bind: address already used

2001-01-16 Thread Matthew Patterson

question for the list:

I am using qmail-1.03 (patched for bigdns and queuevar), ucspi-tcp-0.88,
daemontools-0.70 and vpopmail-4.9.6-1 on a SuSE GNU/Linux 6.4 box. I have all
the e-mail related daemons (vchkpw, qmail-qmtp, qmail-smtp and qmail-send) in a
setup like the one described in Life With qmail. Every so often, the pop3 logs
(multilog) get flooded with entries like:

@40003a636a5e07e6c22c tcpserver: fatal: unable to bind: address already used

I haven't the foggiest why this is happening, and so far the solution is to
reboot the machine. My config files are below.

Thanks in advance.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***


/etc/rc.d/qmail:
#!/bin/bash
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
case "$1" in
  start)
 echo -n "Starting qmail: svscan"
 cd /var/qmail/supervise
 env - PATH="$PATH" svscan &
 echo $! > /var/run/svscan.pid
 echo "."
 ;;
  stop)
 echo -n "Stopping qmail: svscan"
 kill `cat /var/run/svscan.pid`
 echo -n " qmail"
 svc -dx /var/qmail/supervise/*
 echo -n " logging"
 svc -dx /var/qmail/supervise/*/log
 echo "."
 ;;
  stat)
 cd /var/qmail/supervise
 svstat * */log
 ;;
  doqueue|alrm)
 echo -n "Sending ALRM signal to qmail-send"
 svc -a /var/qmail/supervise/qmail-send
 echo "."
 ;;
  queue)
 qmail-qstat
 qmail-qread
 ;;
  reload|hup)
 echo -n "Sending HUP signal to qmail-send"
 svc -h /var/qmail/supervise/qmail-send
 echo "."
 ;;
  pause)
 echo -n "Pausing qmail-pop3"
 svc -p /var/qmail/supervise/qmail-pop3
 echo "."
 echo -n "Pausing qmail-send"
 svc -p /var/qmail/supervise/qmail-send
 echo "."
 echo -n "Pausing qmail-smtpd"
 svc -p /var/qmail/supervise/qmail-smtpd
 echo "."
 echo -n "Pausing qmail-qmtpd"
 svc -p /var/qmail/supervise/qmail-qmtpd
 echo "."
 ;;
  cont)
 echo -n "Continuing qmail-send"
 svc -c /var/qmail/supervise/qmail-send
 echo "."
 echo -n "Continuing qmail-smtpd"
 svc -c /var/qmail/supervise/qmail-smtpd
 echo "."
 echo -n "Continuing qmail-qmtpd"
 svc -c /var/qmail/supervise/qmail-qmtpd
 echo "."
 echo -n "Continuing qmail-pop3"
 svc -c /var/qmail/supervise/qmail-pop3
 echo "."
 ;;
  restart)
 echo "Restarting qmail:"
 echo -n "* Stopping qmail-pop3"
 svc -d /var/qmail/supervise/qmail-pop3
 echo "."
 echo -n "* Stopping qmail-qmtpd"
 svc -d /var/qmail/supervise/qmail-qmtpd
 echo "."
 echo -n "* Stopping qmail-smtpd"
 svc -d /var/qmail/supervise/qmail-smtpd
 echo "."
 echo -n "* Sedning qmail-send SIGTERM and restarting."
 svc -t /var/qmail/supervise/qmail-send
 echo "."
 echo -n "* Restarting qmail-smtpd"
 svc -u /var/qmail/supervise/qmail-smtpd
 echo "."
 echo -n "* Restarting qmail-qmtpd"
 svc -u /var/qmail/supervise/qmail-qmtpd
 echo "."
 echo -n "* Restarting qmail-pop3"
 svc -u /var/qmail/supervise/qmail-pop3
 echo "."
 ;;
  cdb)
 tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
 chmod 644 /etc/tcp.smtp*
 echo "Reloaded /etc/tcp.smtp."
 tcprules /etc/tcp.qmtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.qmtp
 chmod 644 /etc/tcp.qmtp*
 echo "Reloaded /etc/tcp.qmtp."
 ;;
  help)
cat <&1

/var/qmail/supervise/qmail-pop3/log/run:
#!/bin/bash
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
/var/log/qmail/qmail-pop3

/var/qmail/supervise/qmail-qmtpd/run:
#!/bin/bash
QMAILUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 1000 /usr/local/bin/tcpserver -v -p -x \
/etc/tcp.qmtp.cdb -u $QMAILUID -g $NOFILESGID 0 qmtp \
/var/qmail/bin/qmail-qmtpd 2>&1

/var/qmail/supervise/qmail-qmtpd/log/run:
#!/bin/bash
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
/var/log/qmail/qmail-qmtpd

/var/qmail/supervise/qmail-send/run:
#!/bin/bash
exec /var/qmail/rc

/var/qmail/supervise/qmail-send/log/run:
#!/bin/bash
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
/var/log/qmail/qmail-send

/var/qmail/supervise/qmail-smtpd/run:
#!/bin/bash
QMAILUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
# export QMAILQUEUE="/var/qmail/bin/qmail-queue"
export QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
exec /usr/local/bin/softlimit -m 1000 /usr/local/bin/tcpserver -v -p -x \
/etc/tcp.smtp.cdb -u $QMAILUID -g $NOFILESGID 0smtp \
/var/qmail/bin/qmail-smtpd 2>&1

/var/qmail/supervise/qmail-smtpd/log/run:
#!/bin/bash
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
/var/log/qmail/qmail-smtpd



stripping binaries

2001-01-15 Thread Matthew Patterson

Probably not the most appropriate place to ask this, but i have no usenet
access at this point. And, as I have stated before on this list, I am not a
coder.

at cr.yp.to/qmail/var-qmail.html, dan says:
1. Download qmail 1.03. Remove -s from conf-ld. Compile and install. Strip the
binaries in /var/qmail/bin.

How exactly does one go about stripping binaries?

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: speed of machines

2001-01-11 Thread Matthew Patterson

during the whole ILOVEYOU fiasco, our mail server was hit with approx 5000
messages during the first hour. granted the box was not particularly happy
about this, but it did keep chugging away. the box was a pentium 100Mhz with
32MB ram and a 4GB drive. however, one of our clients had a PIII 500 with
256MB ram and a 20GB hd, but was running exchange. their box was down after
that first hour. 

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***

On Wed, 10 Jan 2001, Ross Davis - Data Anywhere wrote:
I am about to take over the hosting of a website and want know if my 2 mail
servers are going to be able to handle the volume.

They are two P166's with 64M ram and plenty of disk space.  There are about
2000 emails per day going through the existing mail server.  My servers will
be on a dedicated 10MB connection.

How may mails a day should I be able to handle?

Thanks in advance
Ross Davis




Re: Relay control

2001-01-08 Thread Matthew Patterson

check out cr.yp.to/ucspi-tcp.html

On Mon, 08 Jan 2001, you
wrote: Please,

I'm using a e-mail server running qmail-1.03. How can I implement relay
control.
The problem is that I need to allow any mail for or from my domain and 
relay from some IP addresses only.



Thanks

Vidal Melo
-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: SMTP Auth ?

2001-01-08 Thread Matthew Patterson

take a look at vchkpw from www.inter7.com
they keep a rules list based on the tcpserver rules list that gets an ip added
to it when a user pops their mail off, then removes it after a configurable
amount of time.

MHP

On Mon, 08 Jan 2001, Alexander Meis (simmail] wrote:
Hi...

is there a possibility with qmail to do a pop-before-smtp for authenticating
a user
to qmail so that all users can send mail to my qmail ?

Regards,

Alexander Meis
-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: VDomains

2001-01-02 Thread Matthew Patterson

On Tue, 02 Jan 2001, you wrote:
>On Mon, 1 Jan 2001 19:45:52 -0600, Matthew Patterson
><[EMAIL PROTECTED]> said:
>Matthew> I would recommend the vchkpw package at www.inter7.com. It
>Matthew> lets you manage several virtual domains on one machine by
>Matthew> using an authentication mechanism that uses the username and
>Matthew> the domain as opposed to just the username.
>
>Ditto. I just set this up at one ISP and really like it. Virtual
>domains and virtual users, and you keep all the account info out of
>/etc/passwd. Use it's modified password-checking thing with the qmail
>POP server to get users access to their mail.
>
>Then grab "qmailadmin" web gui interface to manage it, if you like
>that sort of thing. Then add sqwebmail to give users web access to
>their mail. Real nice setup.


The nice thing about the combo that you are talking about is that it doesn't
even necessarily have to be used with virtual domains. I have two servers here,
both are running qmail on top of suse linux 6.4. however, on one machine we
went the route of qmail + vchkpw + qmailadmin + courier/sqwebmail + vqsignup.
the other is qmail + vchkpw + qmailadmin. In other words, imap on one and pop
on the other. However, neither of these boxes is hosting more than one domain.
the closest either of them come is aliasing domain.com to mail.domain.com. we
also use the fact that qmailadmin also interfaces nicely to ezmlm to set up
internal company mailing groups.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: VDomains

2001-01-01 Thread Matthew Patterson

I would recommend the vchkpw package at www.inter7.com. It lets you manage
several virtual domains on one machine by using an authentication mechanism
that uses the username and the domain as opposed to just the username.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***


On Mon, 01 Jan 2001, dharana wrote:
- Original Message - 
From: "dharana" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 02, 2001 2:10 AM
Subject: VDomains


Hi:
I just wondered how should i set up a server which hosts several virtual
domains. I mean: how can i have qmail handle [EMAIL PROTECTED] and
[EMAIL PROTECTED] diferently.

Thanks, and happy new year!

Dharana



Fwd: Re: how do I block this SPAM?

2001-01-01 Thread Matthew Patterson

The .qmail file idea is a good one, but has to be moved to everyone's .qmail
file on the system. what i would actually recommend is to apply bruce's
queue-var patch
(http://em.ca/~bruceg/qmail+patches/sources/qmail-1.03-queuevar.patch), apply
the patch and recompile qmail. get the latest version of the maildrop package
for the courier imap server (http://download.sourceforge.net/courier) and the
qmail-scanner package
(ftp://qmail-scanner.sourceforge.net/pub/qmail-scanner/qmail-scanner-0.94.tgz).
You will also need Perl 5.005_03+ and the Perl modules Time::HiRes and DB_File
I know this sounds like a lot of trouble but it is worth your time in my
opinion. I have implemented this setup on my server and currently it only
filters *.vbs attachments but I am looking for some other virus software to
plug into there (if anyone knows of any good Unix esp. Linux virus scanners to
filter Win virii, please let me know) and it saved my you-know-what every time
we hear about companies like lucent getting killed by I-Love-You and the like.

-- 
***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***


--  Forwarded Message  --
Subject: Re: how do I block this SPAM?
Date: Mon, 01 Jan 2001 15:30:04 -0500
From: Roger Merchberger <[EMAIL PROTECTED]>


On or about 08:50 PM 1/1/01 +0100, Piotr Kasztelowicz was caught in a dark
alley speaking these words:
>On 1 Jan 2001, Mark Delany wrote:
>
>> badmailfrom won't work on this. See the archives for discussions on
>> why not (it checks Return-Path).
>
>Not good idea on ORBS spamer's list can be found peoples, who
>don't write spam - for instace I.

The problem is, this isn't spam -- it's a virus. If you start blocking IP's
from wherever you get this, you will start blocking a *lot* of non-relaying
sites. This isn't relaying. This is a case of honest (albeit IMNSHO
clueless) people sending out a copy of a virus they don't know they have.

The virus sending out copies of itself to known good email addresses isn't
my major problem, tho. The virus also sends itself to godawful strings of
non-Internet related characters (like "slkjjsdl@#.jskd") which is
causing a very high load of double-bounces - with me being the postmaster,
I'm getting a very large (to the order of 2-5 every *second*) number of
these in my mailbox.

One bad thing about this virus is it wipes out (almost) every piece of
useful data that you could use to track down the person who has the virus.
The only useful stuff is what qmail logs - namely the HELO string, the
originating IP address & time. (And the HELO string is useless if the user
doesn't change the "Host" DNS setting from "oemcomputer" to the user's real
ID.)

Now, a .qmail file which filters on that idiot "[EMAIL PROTECTED]" and
either a) sends that mail to the bit-bucket (which is by now overflowing...
:-) or b) filters out the Received: header with the HELO line in it and
stuffs it into a separate file would be a great boon...

If I have a chance I'll bone up on .qmail files (one thing I don't like
about qmail is it doesn't crash. "Set it and forget it" which is what
usually happens... ;-) and write it myself, but I don't have the time just
yet.

I do have a perl script somewhere that does the HELO filter in (b) above,
but it's a separate proggie - not an inline filter. (Oh, on larger files,
it won't run under NT's perl, either. Hope you have a *nix box handy...)

HTH,
Roger "Merch" Merchberger
=
Roger "Merch" Merchberger -- [EMAIL PROTECTED]
SysAdmin - Iceberg Computers
=  Merch's Wild Wisdom of the Moment:  =
Sometimes you know, you just don't know sometimes, you know?
---




Re: thoughts for future qmail

2000-12-29 Thread Matthew Patterson

the reason i was tossing it out on the list is (and i freely admit this): I am
NOT a coder.
If i were a coder, i would have coded it, made a patch file, and attached it to
an email to the group saying what it did. However, an idea is still an idea,
which is why i mention it. as is, i am not (though i am working to rectify the
situation), and so someone else can try to mooch the idea and give the
code-writing a whirl. Best of luck, i know i couldn't do it at this point.

***
Matthew H Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***

On Fri, 29 Dec 2000, Russell Nelson wrote:
Matthew Patterson writes:  > i was taking a look at djb's qmail page and saw
that future plans for qmail  > included showing through dns records whether a
server was capable of qmtp or  > not. This may have already been beaten to
death on this discussion list but:  > Why not set up qmail-remote to try to
deliver the message over the standard  > qmtp port (209 i believe), and if it
can't make a connection, then fallback to  > smtp?

Well, yes, you need this anyway, because the magic MX priority can
only be considered a hint.  As far as I know, though, nobody's ever
made the patches to qmail-remote to convince it to attempt qmtp first.
Feel free to do it.

The concept of non-standard behavior when talking to another of one's
type is not unusual.  Fax machines do it all the time.  The fax
standard is somewhat poor, and so manufacturers have come up with
their own improvements.  These improvements are used whenever the fax
machine notices that it's talking to another one of its own model.

And there are enough qmail sites out there that it's probably worth
introducing this improvement.  I'm just speculating, though; I haven't 
measured.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com | A steak, bacon
Crynwr sells support for free software  | PGPok | and cheese sandwich is
521 Pleasant Valley Rd. | +1 315 268 1925 voice | offensive to every major
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | religion.
-- 




thoughts for future qmail

2000-12-29 Thread Matthew Patterson

i was taking a look at djb's qmail page and saw that future plans for qmail
included showing through dns records whether a server was capable of qmtp or
not. This may have already been beaten to death on this discussion list but:
Why not set up qmail-remote to try to deliver the message over the standard
qmtp port (209 i believe), and if it can't make a connection, then fallback to
smtp?

just a thought, flame at will.

*******
Matthew Patterson
Unix Systems Administrator
National Support Center, LLC
Naperville, Illinois, USA
***



Re: alias

2000-12-29 Thread Matthew Patterson

if info is an actual account on your box, add the addresses to ~info/.qmail
if not, put the addresses in ~alias/.qmail-info

Matthew Patterson
Unix Systems Administrator
National Support Center, LLC.
Naperville, Illinois, USA

On Fri, 29 Dec 2000, you wrote:
>Hallo List,
>
>I have the following postal address [EMAIL PROTECTED] Every mail arriving there
>should be transmitted to 5 further users. Can I the 5 additional users all
>in a alias (.qmail-info) FILE write?
>
>thx alex



Re: Problem setting up an Alias...

2000-09-06 Thread Matthew Patterson

What is this vaddalias of which you speak? It looks like something that
would be part of vchkpw, but its not part of my copy. If it is something
from vchkpw, try sending a blank e-mail to [EMAIL PROTECTED] and
then sending your question to [EMAIL PROTECTED]

MHP

- Original Message -
From: Jonathan Fanti <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 10:08 AM
Subject: Problem setting up an Alias...


> Hi,
>
> Sorry if this seems like a silly problem:
> I'm trying to setup a user and then an alias for that user..
>
> vadduser jon
> vaddalias jon jonathan.fanti - or should it be
> [EMAIL PROTECTED]?
> at this point I get the error:
> "user 'jon' already exists."
> Is there something very obvious that I have missed?
>
> Thanks,
>
> Jon.
>
>
> P.S. Thanks to all that helped on the DNS issue. i decided to run
> name-caching DNS on the mail box with fowarders to our ISP DNS. Hoping
> this will speed things up a bit.
>




Re: outgoing mail

2000-09-06 Thread Matthew Patterson



this is done entirely through DNS. Just point the 
MX record for sss.ddd.com to the sss.ddd.com box, and the mmm.ddd.com, ddd.com 
and ccc.ddd.com to the mmm.ddd.com box.
 
MHP

  - Original Message - 
  From: 
  Stano Pa¹ka 
  To: qmail 
  Sent: Monday, September 04, 2000 5:07 
  AM
  Subject: outgoing mail
  
  Imagine:
   
  I have subdomain sss.ddd.com
  Domain has mail server on 
  mmm.ddd.com
  My qmail is running on computer 
  ccc.sss.ddd.com
  I want send every mail that is not addressed 
  to subdomain sss.ddd.com
  to computer mmm.ddd.com
  I think this is done by smtproutes, but 
  what?
  In smtproutes I can define domains, but I need 
  ALL, except my domain
   
  Stano Paska
   


Re: Qmail 1.03

2000-09-02 Thread Matthew Patterson

If you want or need more information on this, take a look at Dave Sill's
Life With qmail. It will give more extensive information on aliases and
.qmail than I can.

MHP

- Original Message -
From: Bob Ross <[EMAIL PROTECTED]>
To: Matthew Patterson <[EMAIL PROTECTED]>
Sent: Saturday, September 02, 2000 12:05 PM
Subject: Re: Qmail 1.03


> OK, thanks, I'll take a look at it.
>
>
> - Original Message -
> From: "Matthew Patterson" <[EMAIL PROTECTED]>
> To: "Bob Ross" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Saturday, September 02, 2000 9:54 AM
> Subject: Re: Qmail 1.03
>
>
> > dot-qmail(5) is your friend
> >
> > MHP
> >
> > - Original Message -
> > From: Bob Ross <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, September 02, 2000 11:51 AM
> > Subject: Qmail 1.03
> >
> >
> > > I have never had to do this before. Our new billing software does not
> work
> > > if we have "." dots in the user name.
> > >
> > > I need to remove the dots in the software but have qmail deliver the
un
> > > doted mail for those few users to their doted Mail address.
> > >
> > > How do I do this.
> > >
> > > Thanks
> > > Bob Ross
> > >
> > >
> > >
> >
> >
>
>




Re: Qmail 1.03

2000-09-02 Thread Matthew Patterson

basically what you want to do is add a file called .qmail-stjohns to
/var/qmail/alias, the contents of which would be:
st.johns

That must be on the first line. What will happen is when a mail is sent to
[EMAIL PROTECTED], qmail will search for the user, see that it doesn't
exist and pass the message on to the alias user. If the alias user can't
find the appropriate file, the message is bounced. However, when you put
this file there, it will route the message to the st.johns user and go with
whatever instructions are in the ~st.johns/.qmail file, probably putting it
into the accounts $HOME/Maildir/

MHP
- Original Message -
From: Bob Ross <[EMAIL PROTECTED]>
To: Matthew Patterson <[EMAIL PROTECTED]>
Sent: Saturday, September 02, 2000 12:10 PM
Subject: Re: Qmail 1.03


> OK, correct me if I'm wrong. In the .qmail file that is in every user home
> directory, I add the line &[EMAIL PROTECTED]
>
> their real address is [EMAIL PROTECTED]
>
> or do I put this in the first line of that file. Or did I totally miss
this.
>
> Thanks
>
>
> - Original Message -
> From: "Matthew Patterson" <[EMAIL PROTECTED]>
> To: "Bob Ross" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Saturday, September 02, 2000 9:54 AM
> Subject: Re: Qmail 1.03
>
>
> > dot-qmail(5) is your friend
> >
> > MHP
> >
> > - Original Message -
> > From: Bob Ross <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, September 02, 2000 11:51 AM
> > Subject: Qmail 1.03
> >
> >
> > > I have never had to do this before. Our new billing software does not
> work
> > > if we have "." dots in the user name.
> > >
> > > I need to remove the dots in the software but have qmail deliver the
un
> > > doted mail for those few users to their doted Mail address.
> > >
> > > How do I do this.
> > >
> > > Thanks
> > > Bob Ross
> > >
> > >
> > >
> >
> >
>
>




Re: Qmail 1.03

2000-09-02 Thread Matthew Patterson

dot-qmail(5) is your friend

MHP

- Original Message -
From: Bob Ross <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 02, 2000 11:51 AM
Subject: Qmail 1.03


> I have never had to do this before. Our new billing software does not work
> if we have "." dots in the user name.
>
> I need to remove the dots in the software but have qmail deliver the un
> doted mail for those few users to their doted Mail address.
>
> How do I do this.
>
> Thanks
> Bob Ross
>
>
>




Re: stripping attachments

2000-09-01 Thread Matthew Patterson

That sounds pretty good. The reason that i mention MIME is because I've
noticed that with the way that outlook codes the message when there is an
attachment, then with qmail's quoting of the message, it gets translated
back to plain text when it makes it way back to the clients (this is without
ever leaving our qmail box, so it can't be the usual problem with echange
futzing it.

Thanks
MHP

- Original Message -
From: Ihnen, David <[EMAIL PROTECTED]>
To: 'Matthew Patterson' <[EMAIL PROTECTED]>
Sent: Friday, September 01, 2000 2:15 PM
Subject: RE: stripping attachments


> But qmail doesn't have anything to do with MIME.  It delivers to envelope
> recipients, which aren't even (necessarily) even in the message headers.
>
> Of course, if you want to run it through some sort of filter that DOES
> understand MIME, then, I suppose that is certainly an option.  Icky.
>
> An Alternative:
> Have outgoing e-mails transmitted to a different queue.  You could add an
IP
> alias to the machine and have tcpserver listen on a different IP address,
> this one being where your users SMTP server setting.  It would run a
> separate queue from the other one, and would have a high databyte limit.
It
> would only be accessible internally.
>
> On the other hand, your incoming mail queue (internet accessible) would
have
> a much lower databyte limit, which would stop any e-mails going TO one of
> your mailboxes from having an overly large attachment size.
>
> minorly more disk space, and requires no further hardware.  Just an idea.
>
> David
>
> > -Original Message-
> > From: Matthew Patterson [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, September 01, 2000 11:48 AM
> > To: Ihnen, David
> > Subject: Re: stripping attachments
> >
> >
> > I have a databytes limit set, but that limit has to be around
> > 9MB because of
> > files that we have to send out to customers. This will soon
> > be a non issue
> > as we are selling that contract off to another company, but
> > until then I
> > can't set databytes down at all. However, if there is some
> > other way to
> > strip the attachment after qmail has broken the mime
> > encoding, making the
> > file plain text, that would be what I am looking for.
> >
> > Thanks though.
> > MHP
> >
> > - Original Message -
> > From: Ihnen, David <[EMAIL PROTECTED]>
> > To: 'Matthew Patterson' <[EMAIL PROTECTED]>
> > Sent: Friday, September 01, 2000 1:37 PM
> > Subject: RE: stripping attachments
> >
> >
> > > You could just refuse messages that are too large by
> > setting a value in
> > the
> > > databytes file.
> > >
> > > David
> > >
> > >
> > > > -Original Message-
> > > > From: Matthew Patterson [mailto:[EMAIL PROTECTED]]
> > > > Sent: Friday, September 01, 2000 11:21 AM
> > > > To: qmail list
> > > > Subject: stripping attachments
> > > >
> > > >
> > > > I believe that the answer is no, but is there any way,
> > either through
> > > > control files, add-on programs or patches/recompiling
> > with different
> > > > options, to strip the attachment off a message that is
> > > > bouncing back to my
> > > > server so that an 8MB attachment doesn't lock up the
> > clients (outlook,
> > > > netscape, etc.) for the better part of the day?
> > > >
> > > > Thanks for any answers that you can give.
> > > >
> > > > MHP
> > > >
> > >
> >
>




Re: stripping attachments

2000-09-01 Thread Matthew Patterson

I have a databytes limit set, but that limit has to be around 9MB because of
files that we have to send out to customers. This will soon be a non issue
as we are selling that contract off to another company, but until then I
can't set databytes down at all. However, if there is some other way to
strip the attachment after qmail has broken the mime encoding, making the
file plain text, that would be what I am looking for.

Thanks though.
MHP

- Original Message -
From: Ihnen, David <[EMAIL PROTECTED]>
To: 'Matthew Patterson' <[EMAIL PROTECTED]>
Sent: Friday, September 01, 2000 1:37 PM
Subject: RE: stripping attachments


> You could just refuse messages that are too large by setting a value in
the
> databytes file.
>
> David
>
>
> > -----Original Message-
> > From: Matthew Patterson [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, September 01, 2000 11:21 AM
> > To: qmail list
> > Subject: stripping attachments
> >
> >
> > I believe that the answer is no, but is there any way, either through
> > control files, add-on programs or patches/recompiling with different
> > options, to strip the attachment off a message that is
> > bouncing back to my
> > server so that an 8MB attachment doesn't lock up the clients (outlook,
> > netscape, etc.) for the better part of the day?
> >
> > Thanks for any answers that you can give.
> >
> > MHP
> >
>





Fw: Bounce suppression on .qmail lists

2000-09-01 Thread Matthew Patterson

The other option that you have is to edit login.defs, defining the
userdel_cmd and placing something to do the rest of this script in the
appropriate file, /usr/sbin/userdel_local by default.

MHP

- Original Message -
From: Matthew Patterson <[EMAIL PROTECTED]>
To: Angel, Christopher J <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, September 01, 2000 1:28 PM
Subject: Re: Bounce suppression on .qmail lists


> The way that I solved that problem was to create a deletemailuser script
in
> my /usr/sbin directory that runs userdel, then runs through the .qmail
> aliases, one at a time, grep -v 'ing for the username, replacing the
> contents with the output of the grep. See below for the complete script.
>
> MHP
>
> #!/bin/bash
> #
> # /usr/sbin/mail/deletemailuser
> # This program will delete qmail users from the system
> # Written on 4-21-2000 by Matthew Patterson
> # Modified to remove users from groups on 7-24-2000
> #
>
> /usr/sbin/userdel $1
> rm -r /home/$1
>
> cat /var/qmail/alias/.qmail-alias1 | grep -v $1 >
/tmp/deletemailuser.alias1
> mv -f /tmp/deletemailuser.alias1 /var/qmail/alias/.qmail-alias1
>
> cat /var/qmail/alias/.qmail-alias2 | grep -v $1 >
/tmp/deletemailuser.alias2
> mv -f /tmp/deletemailuser.alias2 /var/qmail/alias/.qmail-alias2
>
>
>
> - Original Message -
> From: Angel, Christopher J <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, September 01, 2000 11:56 AM
> Subject: Bounce suppression on .qmail lists
>
>
> > We have a qmail server with quite a few .qmail-enternamehere aliases,
some
> > of which are used by our customers to email various internal groups.
> >
> > for example, we have a .qmail-systems file:
> >
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> > Sometimes, when someone emails an alias, one of the people in the list
> > causes a bounce.  In the example, "[EMAIL PROTECTED]".
> >
> > This bounce ends up going to the customer who emailed the alias.
Needless
> > to say, it doesn't look good.  We'd rather that bounces in that specific
> > case don't happen.
> >
> > We looked around for a solution, but can't find one, and am now asking
if
> > anyone here might have an idea.
> >
> > Thanks,
> > __
> > Christopher Angel, B.E., B.Sc Senior Systems Engineer
> > Qwest Communications, Inc. IP Operations/Systems
> > Direct: 703-363-3148 Fax: 703-363-3177
> > Pager: 888-666-3163 Pager Email: [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> >
>
>




re: few q's for newbie

2000-09-01 Thread Matthew Patterson

To whomever had originally asked why they no longer get new mail
notification now that they use Maildirs, also take a look at /etc/profile

MHP




Re: Bounce suppression on .qmail lists

2000-09-01 Thread Matthew Patterson

The way that I solved that problem was to create a deletemailuser script in
my /usr/sbin directory that runs userdel, then runs through the .qmail
aliases, one at a time, grep -v 'ing for the username, replacing the
contents with the output of the grep. See below for the complete script.

MHP

#!/bin/bash
#
# /usr/sbin/mail/deletemailuser
# This program will delete qmail users from the system
# Written on 4-21-2000 by Matthew Patterson
# Modified to remove users from groups on 7-24-2000
#

/usr/sbin/userdel $1
rm -r /home/$1

cat /var/qmail/alias/.qmail-alias1 | grep -v $1 > /tmp/deletemailuser.alias1
mv -f /tmp/deletemailuser.alias1 /var/qmail/alias/.qmail-alias1

cat /var/qmail/alias/.qmail-alias2 | grep -v $1 > /tmp/deletemailuser.alias2
mv -f /tmp/deletemailuser.alias2 /var/qmail/alias/.qmail-alias2



- Original Message -
From: Angel, Christopher J <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 01, 2000 11:56 AM
Subject: Bounce suppression on .qmail lists


> We have a qmail server with quite a few .qmail-enternamehere aliases, some
> of which are used by our customers to email various internal groups.
>
> for example, we have a .qmail-systems file:
>
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> Sometimes, when someone emails an alias, one of the people in the list
> causes a bounce.  In the example, "[EMAIL PROTECTED]".
>
> This bounce ends up going to the customer who emailed the alias.  Needless
> to say, it doesn't look good.  We'd rather that bounces in that specific
> case don't happen.
>
> We looked around for a solution, but can't find one, and am now asking if
> anyone here might have an idea.
>
> Thanks,
> __
> Christopher Angel, B.E., B.Sc Senior Systems Engineer
> Qwest Communications, Inc. IP Operations/Systems
> Direct: 703-363-3148 Fax: 703-363-3177
> Pager: 888-666-3163 Pager Email: [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
>




stripping attachments

2000-09-01 Thread Matthew Patterson

I believe that the answer is no, but is there any way, either through
control files, add-on programs or patches/recompiling with different
options, to strip the attachment off a message that is bouncing back to my
server so that an 8MB attachment doesn't lock up the clients (outlook,
netscape, etc.) for the better part of the day?

Thanks for any answers that you can give.

MHP




vchkpw

2000-08-31 Thread Matthew Patterson

In case anyone on the list is using or is trying to use chkpw/qmailadmin,
there is an error in the FAQ.
In the section that discusses setting up one of the domains to be a primary
it says that in order to configure vchkpw to have one of your virtual
domains work like users listed in /etc/passwd (not using %domainname in the
username for a pop login) it says the compile option
is --enable-roaming-users=domainname The option actually
is --enable-default-domain=domainname
I don't know if this has already been addressed in this list or in a list
for vchkpw, but here is the fix if anyone else has been getting kicked in
the ass by this for the past week like i have been.

MHP




Re: Help..

2000-08-31 Thread Matthew Patterson

I'm not sure if this has had a response yet, and sorry about the time delay.
Take a look at control/virtualdomains and rcpthosts. These files need to
have some type of alias information set up so that mail.thumb.net and
thumb.net get transferred to the control of the same user.

Ex.:

For virtualdomains:
mail.thumb.net:vpopmail
thumb.net:vpopmail

For rcpthosts:
mail.thumb.net
thumb.net

MHP

- Original Message -
From: support2 <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 22, 2000 5:28 PM
Subject: Help..


> We have recently had inter-7 set us up with an update to q-mail and a
> webbased program for qmail.. Prior to this upgrade qmail had run
flawlessly
> for over a year.. Now we have a strange challenge.. We can send and
recieve
> email to all but on server. When we try to email this company the email
> either bounce back with the "that mailbox does not exist"
> ([EMAIL PROTECTED])(bounces back) or the email goes out but is never
> recieved ([EMAIL PROTECTED])(never gets to him)..
>
> However if we address the letters like this
> [EMAIL PROTECTED]
> or
> [EMAIL PROTECTED]
>
> They go through and get recieved.. I am at my wits end.. Inter-7 doesn't
> know whats going on.. My normal q-mail tech can't find anything wrong and
> thumb.net's tech says all is fine on his end..
>
> Any light that can be shed will save me a few gray hairs...
>
>
>
> If you have any  further questions please call or email.
>
> 810-679-3395
> [EMAIL PROTECTED]
>
> Office hours:
> M-F 10a-7p
> Sat 11a-3P
>
> Thirl F. Wootten
> Technical Support Supervisor
> Sanilac Computer Learning Center System Administrator
> Help Desk Administrator
>
> Great Lakes Internet
> 112 North Howard
> Croswell, MI. 48422
>
>




Re: Off-Topic: Maildirs as folders

2000-08-24 Thread Matthew Patterson

Pine has a patch that allows it to use Maildir mailboxes. Maybe you could
just write something like that for emacs.

MHP

- Original Message -
From: Len Budney <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 19, 2000 11:58 AM
Subject: Off-Topic: Maildirs as folders


> I know there is a recurring thread, "Which readers use maildirs as
> folders?" The problem is, the answer is always the same: mutt. No
> other mailer uses maildirs as local folders, although a few can use
> maildirs as incoming mail spools. (If I'm wrong about this, please let
> me know!)
>
> Yes, mutt is just fine. However, we emacs users are discriminated
> against; switching to mutt is just not acceptable because it means
> losing all the rest of emacs's features from our mail reader. Also,
> fans of MH are out in the cold; there is no command-line interface for
> handling messages in maildir folders.
>
> I believe that the solution is a CLI maildir-enabled mailreader, similar
> in spirit to MH (but without any defects). The resulting tools should be
> easily imbeddable into things like Emacs mailreaders (GNUs, mh-e, and
> brand-new readers).
>
> If anyone is interested in exploring this idea, please send an empty email
> to [EMAIL PROTECTED] and follow the directions
> in the reply.
>
> If anyone knows of such a project already underway, please let me know at
> [EMAIL PROTECTED]
>
> For more information, see .
>
> Len.
>
> --
> Don't believe anything RFC 1912 says until you've verified it elsewhere.
> -- Dan Bernstein
>




Re: few Qs from newbie

2000-08-24 Thread Matthew Patterson

I don't know if anyone has replied to this yet, but for your first question,
take a look at your /etc/login.defs file. For the second, look at the man
page for qmail-inject.

MHP

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 18, 2000 1:37 PM
Subject: few Qs from newbie


> Hi
> I'm new to this list (and Linux generally) and I'm from Poland
> so please excuse me my English and not too complicated questions.
> I'm using RedHat 6.2 and recently got rid of sendmail and installed
> qmail. After instalation everything was working fine. But later
> I changed my default mailbox for local messages. I changed it to
> Maildir (and I changed my /var/qmail/rc file ofcourse). And after
> that I don't get any information about new mail for me. Messages go
> to Maildir but why there is no response about it.
> The secound problem is that I removed file: /bin/mail (because
> I read Remove.binmail during instalation qmail) and now I don't
> know how to send short messages to other users locally.
> And that's all for now.
> Thank you 4 answering to my questions,
> qba
>
>
>




Re: linux filesystem

2000-08-24 Thread Matthew Patterson

I think that you're referring to either the Reiser Journaling FS, ext3 or
the LVM. Reiser and ext3 are supposed to be much more efficient than ext2,
reiser being completely new and ext3 being the next version of ext. The LVM
is basically Partition Magic for Linux. It was incorporated in the 2.3 line
of development but also requires the LVM-utils package. The LVM deals mostly
with partitions and the differences would not be seen by the normal
programs. You create the volume groups, then the LVM logical drives, then
the filesystems. The LVM basically has all the support that it needs. Reiser
and ext3 don't show in the 2.4 kernel so I'm assuming SuSE wrote the
kernel-level support themselves. The utilities for Reiser are standard and
included with SuSE. I haven't seen anyone using ext3, although I heard that
SuSE has the support, so I don't know much about that. If you want to play
with it some more, pick up SuSE 6.4.

Hope that answers your question.

MHP

- Original Message -
From: Van Liedekerke Franky <[EMAIL PROTECTED]>
To: 'qmail list' <[EMAIL PROTECTED]>
Sent: Thursday, August 24, 2000 9:27 AM
Subject: linux filesystem


> A while back there was talk about a good filesystem for linux (next to
> ext2fs). Anybody remebers how this is called, and does anybody use it with
> satisfaction? I have looked through the archives, but I'm just not able to
> fill in the right search terms to find the answer...
>
> Franky
>




Re: alert: cannot start: qmail-send is already running

2000-08-22 Thread Matthew Patterson

What is the sequence the system goes through during bootup in terms of
runlevels? You may not want to start it for the single-user modes. If it
goes directly to one of the runlevels you may want to add a link to kill
qmail before it is started by the normal link.

MHP

- Original Message -
From: Clemens Hermann <[EMAIL PROTECTED]>
To: Petr Novotny <[EMAIL PROTECTED]>
Cc: Qmail Mailinglist <[EMAIL PROTECTED]>
Sent: Wednesday, August 16, 2000 8:26 AM
Subject: Re: alert: cannot start: qmail-send is already running


> Hi Petr
>
> thanks for assisting me solving the problem.
>
> > What command exactly do you use to spawn qmail? (I mean,
> > you're obviously using svscan and supervise;
>
> yes, I made everything 100% as described in Dave Sills Life with qmail.
> There it is described that way ;-)
>
> > what does the
> > DIR/run file look like?
>
> /var/qmail/supervise/qmail-send/run:
>
> #!/bin/sh
> exec /var/qmail/rc
>
> /var/qmail/supervise/qmail-send/log/run:
>
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
> /var/log/qmail
>
> /var/qmail/supervise/qmail-smtpd/run:
>
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> exec /usr/local/bin/softlimit -m 400 \
> /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
> -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
> 2>&1
>
>
> /var/qmail/supervise/qmail-smtpd/log/run file:
>
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
> /var/log/qmail/smtpd
>
> exactly as described in LWQ
>
> the /var/qmail/rc file looks like this:
>
> #!/bin/sh
>
> # Using stdout for logging
>
> # Using control/defaultdelivery from qmail-local to deliver messages by
> default
>
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start "`cat /var/qmail/control/defaultdelivery`"
>
> the /sbin/init.d/qmail start script is this one:
>
> http://Web.InfoAve.net/~dsill/qmail-script-dt61.txt
>
>
> > If it starts other file (like /var/qmail/rc), what
> > does _that_ file look like?
>
> I hope I included everything you wanted in this reply. If not I did
> anything as describen in LWQ.
>
> > Please make sure that you're not putting
> > anything into background ('&' at the end of the line)
>
> doesn't look like.
> I took the files from LWQ by copy'n paste to make sure there is no
> typing mistake
>
> > - supervise
> > thinks your program has died when it detaches and tries to
> > respawn it.
>
> thanks
>
> Clemens
>




Re: i can't get started?

2000-08-21 Thread Matthew Patterson

I had this same problem a couple weeks ago and ended up redoing the box,
running through qmail exactly. A few things to make sure you did:

1. The text editor you were using to create the scripts may be creating
dos-compatible text files. I hate to recommend this to a self-proclaimed
newbie, but try using vi/vim to create the files. Also, make sure that the
files are EXACTLY the same as they show in LWQ.

2. There are certain permissions that need to be set on some of the files
and directories for it to work properly. Most of these relate to the
supervise functions. Try recreating these files/directories and detailed in
LWQ.

3. It may just save you time to simply telnet into the box and copy and
paste from LWQ to the telnet session, in order to keep human error. Try
cutting and pasting all commands into the telnet window to run them. For
scripts, run `vi scriptname`, press 'i', paste the scripts contents, press
'Esc : w q Enter'. This will paste in the script exactly as worded in LWQ
but still keep the proper Unix End-of-Line characters.
- Original Message -
From: Len Scotney <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 15, 2000 12:18 AM
Subject: i can't get started?


> i hope i am doing this right?
> please excuse a newcomer to the linux/qmail scene
> after 20 years with PCs/DOS/Win, i am now trying to help with something
> completely new
>
> system is a PC with RedHat ver 6.2
> trying to install qmail, with LWQ in left hand and mouse in right hand
> files are qmail-1.03,ucspi-tcp-0.88,daemontools-0.70
>
> generally found the LWQ very hand-holding, but having got to the end (page
23)
> cannot get qmail to run
>
> on reboot, the start-up screens show:
>
> starting qmail execvp - no such file or directory ???
>
> what worries me is that the history page for daemontools show that some
time
> back execvp was replaced with pathexec, .is this the problem?
>
> also i am concerned that even though the 'qmail' startup script just
starts, the
> check of the PATH does not show /var/qmail/bin  ??
>
> if i try and start qmail manually, with /var/qmail/rc, i get some messages
that
> say thattalk abour CNAME not working  ??
>
> sooo many questions!
>
> (i would have never got this far without LWQ, i found the HOWTO was too
brief
> for a newcomer)
>
> if anyone can unravel the above it would be greatly appreciated
>
> len (the old guy)
>
>




Re: Logs - rotate, archive... ?

2000-08-21 Thread Matthew Patterson

On the box that we have here, every six hours a cron script goes into the
send log directory and grabs all the non-current logs. It then concatenates
them into on and sends them through a couple of components of qmailanalog.
We have a couple specific accounts that need to be kept track of so the
translated log messages relating to them get a "To:" line added to the top
with an address and are sent through inject to the people who need them. The
rest are sent to me so I can track problems. Then the concatanated logs are
gzipped and dumped into a directory that, every so often, gets put onto a
colorado tape and stashed away for records.

MHP

- Original Message -
From: Brett Randall <[EMAIL PROTECTED]>
To: qmail <[EMAIL PROTECTED]>
Sent: Saturday, August 12, 2000 8:31 PM
Subject: Logs - rotate, archive... ?


> Hi there
>
> I am curious what most people do with their qmail logs (generated by
> multilog, running under the supervise and tcpserver daemons). Do most
people
> rotate them and have old ones automatically erased, or do you archive them
> for later usage, or even weirder do many people just leave their logs for
> all eternity to grow up to the current size of the net? I use
qmail-mrtg-1.0
> (love it! the boss can't get enough of it...) to report on the logs, just
as
> a piece of off-hand information.
>
> Thanks!
>
> /BR
>
> Manager
> InterPlanetary Solutions
> http://ipsware.com/
>
>
>




Re: etmlm-web v2.0

2000-08-21 Thread Matthew Patterson



If you can, try migrating the virtual domain to 
work with vchkpw. You can then use qmailadmin (inter7.com for both) to 
administer the accounts and the mailing lists. If you decide to do this, please 
read the FAQ file in the source directory for vchkpw.
 
MHP

  - Original Message - 
  From: 
  Alexander 
  Bruns 
  To: [EMAIL PROTECTED] 
  Sent: Sunday, August 13, 2000 9:43 
  PM
  Subject: etmlm-web v2.0
  
  Hi,
   
  on my new installed qmail-linux-box i installed 
  the ezmlm-40-idx and ezmlm-0,53 and ezmlm-web v2.0 (http://rucus.ru.ac.za/~guy/ezmlm/)
   
  i can create mailinglists and delete and manage 
  etc! but that only works right for my local domain.
   
  in /var/qmail/control/local the entires 
  are:
  mail.domain.de
  domain.de
   
   
  in virtualdomains there is:
   
  myvirtualdomain.de:v-myvirtualdomain
   
  so a mail to [EMAIL PROTECTED] is managed by 
  /var/qmail/alias/.qmail-user1
  and a mail to [EMAIL PROTECTED] is managed 
  by /var/qmail/alias/.qmail-v-myvirtualdomain-user1
   
  thats the way it was configured on our 1 year old 
  qmail-box which i did not configure but from which i have to take the large 
  mailinglists for our virtualdomains!!!
   
   
  now, when i create a list with ezmlm-web for 
  example test[EMAIL PROTECTED] it crates the 
  links right:
  /var/qmail/alias/.qmail-list1 -> 
  /var/qmail/lists/test1/editor
   
  but when i crate a list named [EMAIL PROTECTED] it 
  creates the links like:
  /var/qmail/alias/.qmail-listtest1 -> 
  /var/qmail/lists/listtest1/editor
  instad of 
  /var/qmail/alias/.qmail-v-myvirtualdomain-listtest1 -> 
  /var/qmail/lists/listtest1/editor
   
  now whats wrong???
   
   
  thanks an perhaps you can answer me in 
  germany:
   
  greetings form alex from 
germany