Quick question

2001-08-13 Thread mike

I'm fairly new to qmail. I was a sendmail fan forever till I got bored and 
decided to switch to qmail.  So far I love it. I started readin the 
lifewithmail homepage and decided to try it out.  I've got everything 
installed and running but 1 thing puzzles me, I know it's probably a goofy 
question and please no harsh comments  ;)  but why so many process running 
as root?  Here's my process list.  I understand all of it except the first 5 
process all running as root.  I know this is probably some easy thing but 
I'm the paranoid type and it makes me curious.  Thanks for any info

root   954  1.0  0.6  1244  380 ?S16:59   0:00 svscan 
/service
root   955  0.0  0.5  1204  348 ?S16:59   0:00 supervise 
qmail-send
root   956  0.0  0.5  1204  348 ?S16:59   0:00 supervise log
root   957  0.0  0.5  1204  348 ?S16:59   0:00 supervise 
qmail-smtpd
root   958  0.5  0.5  1204  348 ?S16:59   0:00 supervise log
qmaill 959  0.5  0.5  1216  348 ?S16:59   0:00 
/usr/local/bin/multilog t /var/log/qmail
qmails 960  1.5  0.6  1264  424 ?S16:59   0:00 qmail-send
qmaill 962  0.5  0.5  1216  348 ?S16:59   0:00 
/usr/local/bin/multilog t /var/log/qmail/smtpd
root   963  0.5  0.5  1216  360 ?S16:59   0:00 qmail-lspawn 
./Maildir/
qmailr 964  0.0  0.5  1216  360 ?S16:59   0:00 qmail-rspawn
qmailq 965  0.0  0.6  1212  376 ?S16:59   0:00 qmail-clean
qmaild 966  1.0  1.1  1768  712 ?S16:59   0:00 
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.
root   970  0.0  1.3  2568  840 pts/0R16:59   0:00 ps aux 



Re: qmail quota

2001-07-31 Thread mike hagerty



 Jonathan X Peers [EMAIL PROTECTED] wrote:
 
  1. can I set mail quota per user or is it accress the bord (the same for
  all mailbox)
 
 For local users, use your OS's filesystem quota mechanism.  See your
 regular OS support channels for help with that.  For virtual domains,
 your virtual domain manager (if using one) may have this feature.
 
Qmail with LDAP also has integrated support for this but you have to put
all your users
into an LDAP database. WWW site for this is at http://www.nrg4u.com/

Qmail works very well for me with this setup accept for the fact that
there is no way 
to automatically notify users that they are over quota. It just rejects
email for the user
that is over the quota.



-- 
Mike H.



Re: Slow pop3d

2001-07-29 Thread Mike Maxwell

try running your pop3 daemon with tcpserver...ex:

tcpserver -R -u0 -g0 0 pop3 /usr/sbin/ipop3d

this took care of the problem for use.


Dennis Pedersen wrote:

  Hi!
 I have installed Qmail 1.03 by following the 'Life With Qmail'.
 My problem is that sometimes the pop3d is very very slow (i can take up to a
 min before it 'wakes up' and askes for a user auth) this happens when i try
 telnetting localhost 110 and by using a mail client from my workstation :(
 Does anyone have an idea what i have missed? (the stranges thing is that
 sometimes it works fine(?!))

 OS : FreeBSD 4.2

 Regards
 Dennis

--
Mike Maxwell
System Manager--Green Mountain Access
[EMAIL PROTECTED]
802.496.8542





Anti Virus Software Update

2001-07-28 Thread Mike Hodson

Hey again.

Over the past few hours ive been configuring AmAViS-perl 11 for my qmail
setup.  After using a wrapper for suid (my suidperl complained, stinking
thing) I was able to make it work without a hitch. Infact, this mail is
being scanned on its way out.

If anyone else is contemplating a virus scanner, Id reccommend this, and
if you need any help with it, let me know. Ive gone through atleast 20
different individual problems on this install =)

Mike

-- 
Mike Hodson [EMAIL PROTECTED]




ezmlm

2001-07-27 Thread Mike Maxwell

i am having problems getting ezmlm to deliver messages. it installs
fine, sets up the list okay, and then return the error 'no mailbox
found'. the alises seems to be fine, we have  alot of other aliases and
they all deliver to where they are supposed to. i am trying to set it up
on our primary domain, so that should not be the problem. any
thoughts???

--
Mike Maxwell
System Manager--Green Mountain Access
[EMAIL PROTECTED]
802.496.8542





RE: Robin's observation

2001-07-27 Thread Mike

I strongly suggest filtering out people who don't use qmail too.
Could someone forward my suggestion to Robin please?  Just once
will do it.

-Mike



Virii and scanners

2001-07-27 Thread Mike Hodson

In light of recent events (ahem) I would like the opinion of list
members on what is the better / more tested / more flexible email
scanner.  I plan to use NAI uvscan, as I've used their McAffee products
before, and they seem to do the job decently.  I've already got a cron
script setup to daily download the latest dats and shove them in the
uvscan dir.

Now im considering AMaViS and qmail-scan. Which of these two requires
the least modification to my current setup (stock qmail, no patches,
with vpopmail/ezmlm-idx/qmailadmin) and which one seems to work best
scanning viruses from many different locations?

Thanks in advance.
Mike

-- 
Mike Hodson [EMAIL PROTECTED]




IEEEEEEEEEEE STOP THE INSANITY (was Re: CDRD085)

2001-07-25 Thread Mike Hodson

On Wed, 25 Jul 2001 17:01:12 -0300
Wilson[EMAIL PROTECTED] wrote:

 Hi! How are you=3F
SHITTY THANK YOU VERY MUCH

 I send you this file in order to have your advice
I ADVISE YOU TO GET A DECENT OS OR DIE TRYING
  
 See you later=2E Thanks
DONT MENTION IT

-- 
Mike Hodson [EMAIL PROTECTED]




Wilson...email...listserv admin please initiate filtering

2001-07-25 Thread Mike Hodson

Dan, or whomever maintains the mailinglist-serv.

Please initiate filtering of any mail from [EMAIL PROTECTED] .
He is clogging the entire list, and I bet the listserv is racking up
some major bytes transferred today.

Regards, 
Mike

-- 
Mike Hodson [EMAIL PROTECTED]




Re: IEEEEEEEEEEE STOP THE INSANITY (was Re: CDRD085)

2001-07-25 Thread Mike Hodson

On Wed, 25 Jul 2001 15:58:00 -0700
David Chait [EMAIL PROTECTED] wrote:

 Can't we get a list admin to block this guy? This is getting way out of
 control.
 
I couldn't agree more..
Someone.
Anyone
Set a filter
Please.

Mike

-- 
Mike Hodson [EMAIL PROTECTED]




RE: Compiling on Solaris 8

2001-07-24 Thread Mike Jimenez

I do have gcc Installed? And I am able to compile other programs with no
errors.
Thanks
Mike

-Original Message-
From: Keary Suska [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 7:22 PM
To: Qmail List
Subject: Re: Compiling on Solaris 8


Install gcc, and use it instead.

Keary Suska
Esoteritech, Inc.
Leveraging Open Source for a better Internet

 From: Mike Jimenez [EMAIL PROTECTED]
 Date: Mon, 23 Jul 2001 17:14:10 -0700
 To: Qmail [EMAIL PROTECTED]
 Subject: Compiling on Solaris 8

 When I try to compile I get this error what do I need to do to fix?
 Thanks

 bash-2.03# make setup check
 ( cat warn-auto.sh; \
 echo CC=\'`head -1 conf-cc`\'; \
 echo LD=\'`head -1 conf-ld`\' \
 )  auto-ccld.sh
 cat auto-ccld.sh make-load.sh  make-load
 chmod 755 make-load
 cat auto-ccld.sh find-systype.sh  find-systype
 chmod 755 find-systype
 ./find-systype  systype
 ( cat warn-auto.sh; ./make-load `cat systype` )  load
 chmod 755 load
 cat auto-ccld.sh make-compile.sh  make-compile
 chmod 755 make-compile
 ( cat warn-auto.sh; ./make-compile `cat systype` )  \
 compile
 chmod 755 compile
 ( ( ./compile tryvfork.c  ./load tryvfork ) /dev/null \
 21 \
  cat fork.h2 || cat fork.h1 )  fork.h
 rm -f tryvfork.o tryvfork
 ./compile qmail-local.c
 /usr/ucb/cc:  language optional software package not installed
 make: *** [qmail-local.o] Error 1
 bash-2.03#







Re: fastforward setup

2001-07-24 Thread Mike Wright

Hi all,

Thanks to a recent thread between David Gartner and Johan
Almqvist (re: Having problems with postmaster...) I was able to

spot my error. All of the users/groups had been created but the

home directory for user alias was /home/alias which is wrong!
Changed the home dir to /var/qmail/alias and everything works
like a charm.

Mike Wright wrote:

 Hi all,

 I have two qmail setups. Their qmail/control directories are
 identical except for their individual hostnames. Their
 qmail/alias directories are identical. The only difference
 that I can find is that one is on RedHat6.1 and the other is
 on RedHat7.1.The goal is to have a forwarder with no local
 deliveries i.e. everything is a virtualdomain and everything
 is routed according to etc/aliases.cdb.

 The RH61 qmail works and forwards according to the rules in
 aliases.cdb but the RH7.1 qmail doesn't.

 The log shows that mail is being routed correctly up to a
 point. i.e through qmail-inject, qmail-queue and qmail-send
 but appears to fail within qmail-local.

 starting delivery 5: msg 112266 to local
 [EMAIL PROTECTED]
 status local 1/10 remote 0/20
 delivery 5: failure:
 Sorry,_no_mailbox_here_by_that_name._(#5.1.1)
 status local 0/10 remote 0/20
 bounce msg 112266 qp 5607

 Another note: the RedHat6.1 setup was done many, many months
 ago. The RedHat7.1 setup is brand new. I've been trying to
 figure this out for 5 days. I can only guess that I've
 skipped a step somewhere but have been staring at the docs
 for so long that I couldn't see it if it were on my nose:(

 Any help or suggestions would be greatly appreciated.

 Thanks,
 Mike Wright




Is Qmail MAPI Compliant?

2001-07-24 Thread Ramsey, Mike








Is qmail mapi compliant?








RE: Is Qmail MAPI Compliant?

2001-07-24 Thread Ramsey, Mike

Sorry I was in a rush.. :) I'm testing using McAfee Netshield NT sending an
alert message to qmail then qmail forwarding to exchange.. the Mapi
compliancy was just a question I had.. no real big concern there.. I just
wanna get qmail forwarding alerts to exchange. 

-Original Message-
From: Peter van Dijk [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 24, 2001 5:05 PM
To: '[EMAIL PROTECTED]'
Subject: Re: Is Qmail MAPI Compliant?

On Tue, Jul 24, 2001 at 02:48:29PM -0700, Ramsey, Mike wrote:
 Is qmail mapi compliant?

Probably not, since MAPI is a M$-standard as far as I know.

However, you have provided no details of what you want or what you are
trying to accomplish. Perhaps MAPI is not even what you need?

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



fastforward setup

2001-07-23 Thread Mike Wright

Hi all,

I have two qmail setups. Their qmail/control directories are
identical except for their individual hostnames. Their
qmail/alias directories are identical. The only difference
that I can find is that one is on RedHat6.1 and the other is
on RedHat7.1.The goal is to have a forwarder with no local
deliveries i.e. everything is a virtualdomain and everything
is routed according to etc/aliases.cdb.

The RH61 qmail works and forwards according to the rules in
aliases.cdb but the RH7.1 qmail doesn't.

The log shows that mail is being routed correctly up to a
point. i.e through qmail-inject, qmail-queue and qmail-send
but appears to fail within qmail-local.

starting delivery 5: msg 112266 to local
[EMAIL PROTECTED]
status local 1/10 remote 0/20
delivery 5: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)
status local 0/10 remote 0/20
bounce msg 112266 qp 5607

Another note: the RedHat6.1 setup was done many, many months
ago. The RedHat7.1 setup is brand new. I've been trying to
figure this out for 5 days. I can only guess that I've
skipped a step somewhere but have been staring at the docs
for so long that I couldn't see it if it were on my nose:(

Any help or suggestions would be greatly appreciated.

Thanks,
Mike Wright




Re: Stopping server relays

2001-07-23 Thread Mike Hodson

On Mon, 23 Jul 2001 12:40:22 -0600
David J Jackson [EMAIL PROTECTED] wrote:

 Greetings ---
 How can I stop my server from being used to relay mail?  
 I got an email from a admin somewhere claiming that emails were being
 sent from my server with virus attached? It's only me and one other person
 has access to this box?
 
 Related question could this be the source of the [EMAIL PROTECTED]
 (I set up an .qmail-52 aliases to try to catch these emails)
 
 
 This question is part of the Forged Emails post I sent eailer from
 [EMAIL PROTECTED]
 
 
 Thanks,
 David Jackson

What i use, that works good as I'm hosting mail domains for a few
friends who all have dynamic IP's, rather than allow the world to send,
I use the vpopmail roaming users option. It implements a pop-before-smtp
method of authing SMTP.  As of yet, i havent gotten it to
IMAP-before-smtp, however the only person who probably even knows IMAP
exists, is myself, and I'm on the same lan as it is. very easy to add
192.168.100.* :)

I reccommend you check that out.  Plus there are other patches to qmail
itself, not requiring vpopmail from inter7.
The url for vpopmail is www.inter7.com. 

Mike

-- 
Mike Hodson [EMAIL PROTECTED]




Compiling on Solaris 8

2001-07-23 Thread Mike Jimenez

When I try to compile I get this error what do I need to do to fix?
Thanks

bash-2.03# make setup check
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
)  auto-ccld.sh
cat auto-ccld.sh make-load.sh  make-load
chmod 755 make-load
cat auto-ccld.sh find-systype.sh  find-systype
chmod 755 find-systype
./find-systype  systype
( cat warn-auto.sh; ./make-load `cat systype` )  load
chmod 755 load
cat auto-ccld.sh make-compile.sh  make-compile
chmod 755 make-compile
( cat warn-auto.sh; ./make-compile `cat systype` )  \
compile
chmod 755 compile
( ( ./compile tryvfork.c  ./load tryvfork ) /dev/null \
21 \
 cat fork.h2 || cat fork.h1 )  fork.h
rm -f tryvfork.o tryvfork
./compile qmail-local.c
/usr/ucb/cc:  language optional software package not installed
make: *** [qmail-local.o] Error 1
bash-2.03# 
  



Re: qmail reliance on passwd file

2001-07-20 Thread Mike Jackson

Al Sparks wrote:
 
 Is there a way to get qmail to deliver email to an account that's
 not in /etc/passwd (or its shadow equivalent)?
 
 In other words, can I set up a separate database (e.g. MySQL)
 that qmail can access for account information?
 
 I note that qmail has /var/qmail/users/assign, but it references
 both UID's and GID's, which are maintained by /etc/passwd.
 
 I am setting up 2 clustered systems that will use shared storage
 (non NFS) to maintain each user's Maildir, and would rather not
 have to worry about keeping 2 separate system's passwd files in
 sync.

qmail-ldap does this, and it contains native clustering code.
www.nrg4u.com for details.

Mike



What does this mean?

2001-07-19 Thread Mike Jimenez

Is this something I should be concerned about or is this normal Qmail
activity?
Thanks
Mike

qmailr 808  0.0  0.0  1172  468 ?S15:14   0:00 qmail-remote
china.com  [EMAIL PROTECTED]
qmailr 809  0.0  0.0  1172  472 ?S15:14   0:00 qmail-remote
mailstrom.virtumundo.com  [EMAIL PROTECTED]
qmailr 810  0.0  0.0  1172  472 ?S15:14   0:00 qmail-remote
campaign.pointers.co.uk  usera-168-s.gosling=binternet.c
qmailr 811  0.0  0.0  1172  472 ?S15:14   0:00 qmail-remote
WWWNode4.b7.co.uk  [EMAIL PROTECTED]
qmailr 815  0.0  0.0  1172  472 ?S15:14   0:00 qmail-remote
WWWNode2.b7.co.uk  [EMAIL PROTECTED]
qmailr 819  0.0  0.0  1172  472 ?S15:14   0:00 qmail-remote
WWWNode4.b7.co.uk  [EMAIL PROTECTED]
qmailr 824  0.0  0.0  1172  468 ?S15:14   0:00 qmail-remote
e-weekly.co.uk  [EMAIL PROTECTED]
qmailr 839  0.0  0.0  1172  472 ?S15:14   0:00 qmail-remote
nms1.empowerhealth.com  [EMAIL PROTECTED]
qmailr 840  0.0  0.0  1172  472 ?S15:14   0:00 qmail-remote
nms1.empowerhealth.com  [EMAIL PROTECTED]
qmailr 848  0.0  0.0  1172  472 ?S15:14   0:00 qmail-remote
WWWNode1.b7.co.uk  [EMAIL PROTECTED]
qmailr 849  0.0  0.0  1172  468 ?S15:14   0:00 qmail-remote
MYLISTMAILING.COM  owner-al_alloydistlist@MYLISTMAILING.




Resolved: Alias Error

2001-07-16 Thread Mike Scher

We worked through it off-list.

The problem was that his /etc/passwd was mode 600.

He changed it to 644, and the issue went away.


The qmail code was quite informative in solving the evidence of the
problem, which was clearly tied to a result code from qmail-getpw.  After
looking for things like inconsistencies in his shadow system setup, file
mount issues, embedded control characters in hand-edited PW files, the
qmail IDs' component shells, and so forth, it still had to be related to
an inability to obtain the alias user (which was indeed set to alias)
information from the PW file.  That left perms, the simplest thing to
check

  -M

On Mon, 16 Jul 2001, Charles Cazabon wrote:

 Bob Ross [EMAIL PROTECTED] wrote:
 
  The ownership is alias.qmail

 Perhaps the directory isn't visible to qmail.  Check the permissions and
 ownership on /, /var, and /var/qmail as well.

 Charles
 --
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 ---


  Michael Brian Scher  [EMAIL PROTECTED]  [EMAIL PROTECTED]
 Sr. Research Consultant
  Attorney, Anthropologist, Part-Time Guru
   Mailaise: n, ('mail-aze).  See Outlook.




Re: Alias Error

2001-07-15 Thread Mike Scher

Qmail makes the determination in qmail-getpw after determining the
local part:

pw = getpwnam(username);


What does:

/var/qmail/bin/qmail-getpw alias

...return?

It should be something like:

alias1000102/var/qmail/alias

If it's not, you have some kind of problem there.

Is the alias user in shadow as well?

  -M

On Sun, 15 Jul 2001, Bob Ross wrote:

 Yes it's there.

 nobody:x:99:99:nobody:/:
 alias:x:1000:102::/var/qmail/alias:
 qmaild:x:1001:102::/var/qmail:
 qmaill:x:1002:102::/var/qmail:
 qmailp:x:1003:102::/var/qmail:
 qmailq:x:1004:103::/var/qmail:
 qmailr:x:1005:103::/var/qmail:

 Then under /var/qmail/alias

 It has the .qmail-default
 etc..

 Thanks
 Bob Ross


  - Original Message -
  From: Charles Cazabon [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Sunday, July 15, 2001 6:04 AM
  Subject: Re: Alias Error
 
 
   Bob Ross [EMAIL PROTECTED] wrote:
   
delivery 10: deferral: Unable_to_find_alias_user!/
  
   qmail requires a system user account named alias.  It's part of a
   standard install.  If you didn't install according to Life with qmail,
   perhaps you should start over by following that.
  
   Charles
   --
   ---
   Charles Cazabon[EMAIL PROTECTED]
   GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
   ---
  
 


  Michael Brian Scher  [EMAIL PROTECTED]  [EMAIL PROTECTED]
 Sr. Research Consultant
  Attorney, Anthropologist, Part-Time Guru
   Mailaise: n, ('mail-aze).  See Outlook.




Re: Request for advice (qmail-remote) Part II

2001-07-12 Thread Mike Jackson

Chris Garrigues wrote:
 
  From:  Greg Elliott [EMAIL PROTECTED]
  Date:  Thu, 12 Jul 2001 10:58:33 +0930
 
  The problem I am trying to resolve is where user3 mails user4 at the
  address [EMAIL PROTECTED]
  I do not want the mail to be sent back to the central mail server and then
  returned to the address
  [EMAIL PROTECTED].
  Instead I would like the branch mail server to realise that user4 is a
  local user and just deliver the mail to user4's
  local mail store.
 
 I suspect the easiest thing to do would be to get the qmail-ldap patches and
 install ldap.
 
 Keep the master LDAP database on the central server and run replica databases on
 each on the branch servers.

I have a master LDAP server on it's own machine, because I use it for
alot more than just email accounts. I have a replica LDAP server on all
mail servers. LDAP replication is done real-time via SSL, only the
master accepts modifications. Mail authentication is pointed to the
local LDAP server on the mail server, so imap/pop passwords never fly in
the clear. If you have failover LDAP and the local server dies for some
reason, it will pick up a remote server and you will be in the clear
unless you are on a vpn. I have asked Sam Varshavchik to implement SSL
in Courier's authldap module. 
 
 Each server would then be able to use LDAP to determine where the mail really
 belongs.

 The mail routing works very well to remote offices in US, Japan, and
Germany. You also need Henning's dash-trick patch. This is required so
that you can store aliases and pointers to ezmlm lists in LDAP,
otherwise you have to use the same outgoing mail server for all offices
and that is not too cool. I can provide details on how to do this if
needed.
 
 I haven't used all the functionality that this would require, but I'm fairly
 certain that qmail-ldap has everything you'd need.

And alot more. Join the qmail-ldap mailing list from www.nrg4u.com.

Regards,
Mike



Re: Netgear RP114 Router doesn't work well with Qmail POP daemon?

2001-07-09 Thread Mike Jackson

James Stevens wrote:
 
 I had a similar problem however my resolve to it was to take an *OLD* 286 I
 had laying around install a fairly bare installation of Linux on it and
 installed the DNS service. Then I put that online behind my firewall and
 added it's IP for port 53 to my NAT/Firewall and assigned it as the primary
 DNS server for my qmail machine. That resolved everything... However I don't
 know how many of ya out there have old 286 machines just laying around but
 you can use any machine you want you can even install bind on the qmail
 machine itself the only reason I didn't was I did not want the load of the
 DNS service on that machine.

djbdns.



ip logging

2001-07-06 Thread Mike Culbertson

This has been a modestly common subject, but after scouring the lists 
repeatedly, I have seen no complete answer.  Actually getting the IPs logged 
is no problem...I am using the LWQ style multilog logging, getting info from 
tcpserver.  The question I have yet to see answered is: What now?
I have seen no discernable way to easily correlate the data found in the 
qmail-send logs and the tcpserver\qmail-smtpd logs.  Is there a tool availble 
that I have missed?  I wouldn't be opposed to writing one, but better to find 
out first.  Thanks.

Mike Culbertson



Re: smtp relay testing w/ abuse.net

2001-07-06 Thread Mike Culbertson

i install qmail follow the lifewithqmail direction
my server is running properly
how can i make my qmail server can accept all relay test until relay test 17
what should i do with the configuration ?
is my server secure ?

As far as I know, you cannot make qmail get all the way to test 17.  However, 
it really does not matter, because also as far as I know, a properly 
configured qmail system will pass all the tests in reality.  As Lars pointed 
out, qmail /appears/ to accept the mail, but in fact it would never be 
delivered.  This I know for a fact, and it is the same with several tests 
after that, which I have done manually.  

Lastly...Is your server secure?  I don't know.  If you did a proper install 
of qmail, that component should be fine.  I recommend you try the tests 
manually and see what you find.  Good luck.

Mike Culbertson



RE: Question MX ..cjk

2001-07-06 Thread Mike Culbertson

 I want my emails to go to my both emails Servers.. for backup reasons
 MX1 and MX2.

You cannot accomplish this with your MX records.
If you add two or more machines as MX records, with the same priority, they 
will be treated like round-robin DNS entries and mail will flow to both 
servers...back and forth between the two, not each mail going to both.  That 
is generally best used when you have mail relays or a similar setup where 
mail does not reside on the machines listed in the MX records.
If one has a higher priority (lower number), it will be preferenced by 
outside mail systems, and will receive the majority of the mail for your 
domain.  No matter what you do, however, there is no DNS entry that will 
cause an outside machine to send a message to more than one server instead of 
just one.

Best bet for you most likely is to set up some kind of auto-forward system 
where each machine will send a copy to the other whenever it receives a mail. 
This may be a little tricky to do, but I would imagine it is possible.  Or 
even better, maybe just use cron to automatically tar up the maildirs, or 
some other backup strategy.

Mike Culbertson



RE: ip logging

2001-07-06 Thread Mike Culbertson

Unfortunately, qmail-smtpd logs nothing itself, and tcpserver only logs
connections and exit status of qmail-smtpd.  There is therefore no surefire
way to correlate entries in the qmail-smtpd log and the qmail-send logs.
However, it is rarely critical -- qmail-analog can determine from the
qmail-send log alone which messages arrived over the network.

Yeah, I agree.  I was really mostly hoping to find that there was something 
qmailanalog-esque that could read the qmail-smtpd(tcpserver) log and 
rank/show IP connection info.

Various people have posted patches to qmail-smtpd to make it log more
information.  You could also do it by writing a wrapper around qmail-queue
(used only by qmail-smtpd, not qmail-inject or forward, etc) which logs 
various info.

I have seen these as well, they are fine if you are viewing the logs 
manually, but I'm shooting for totals and averages.  Like I said, I'm not 
opposed to writing a log parser to handle that log, but I'm kind of surprised 
that there isn't one already.  Is erybody using header info currently to 
track down spammer machine IPs? I'd would prefer to be able to see which IP 
connected how many times and when myself...
Thanks for the info Charles.

Mike Culbertson



Re: Why isn't qmail delivering anything?

2001-07-04 Thread Mike Jackson

Moritz Schmitt wrote:
 
 Hello again,
 
 at first: sorry to ask two big questions a day but I a little lost. With
 qmail. Only with qmail. Anymways here we go:
 
 I am supposed to set up a mail server for a little LAN which delivers local
 and remote messages via SMTP. For receiving messages I am going to use
 serialmail but that's not my problem. At least not yet.
 I'm using FreeBSD 4.2 RELEASE and qmail 1.03 from the ports. qmail installed
 properly and I can talk to it via TCP/IP on port 25. My local DNS server is
 running Bind 8 and working fine without any problems. If I send a message
 from a client in the network to a local user on the server qmail accepts the
 message and everything looks fine until you start to wonder why qmail isn't
 delivering the message. qmail has delivery problems, the /var/log/maillog
 file says:
 
 (...) starting delivery 33: msg (...) to remote [EMAIL PROTECTED]
 (...) delivery 33: deferral CNAME_lookup_failed_temporarily._ (#4.4.3)\

You don't have your MX records for your domain in DNS.

Mike



Re: Why isn't qmail delivering anything?

2001-07-04 Thread Mike Jackson

Moritz Schmitt wrote:
 
 Hello again,
 
 at first: sorry to ask two big questions a day but I a little lost. With
 qmail. Only with qmail. Anymways here we go:
 
 I am supposed to set up a mail server for a little LAN which delivers local
 and remote messages via SMTP. For receiving messages I am going to use
 serialmail but that's not my problem. At least not yet.
 I'm using FreeBSD 4.2 RELEASE and qmail 1.03 from the ports. qmail installed
 properly and I can talk to it via TCP/IP on port 25. My local DNS server is
 running Bind 8 and working fine without any problems. If I send a message
 from a client in the network to a local user on the server qmail accepts the
 message and everything looks fine until you start to wonder why qmail isn't
 delivering the message. qmail has delivery problems, the /var/log/maillog
 file says:
 
 (...) starting delivery 33: msg (...) to remote [EMAIL PROTECTED]
 (...) delivery 33: deferral CNAME_lookup_failed_temporarily._ (#4.4.3)\
 
 First of all: The delivery should be a local and not a remote delivery
 because my local domain is waagen-schmitt.de. And the second thing is that I
 don't understand why qmail has a DNS lookup failure because my DNS server is
 running fine. See, I'm pretty lost and confused right now so I'm posting my
 config files and I would appreciated if you could tell me where my problem

Hi,
 It sounds like you might have made changes to the control files and not
restarted the appropriate processes. Some control files only take effect
after you have restartd qmail-send or qmail-smtpd. If you are using
/service then  svc -t /service/* should do it. Otherwise, the
configuration looks fine. If this does not work, then post your
smtproutes file. 

Mike



Re: Why isn't qmail delivering anything?

2001-07-04 Thread Mike Jackson

Moritz Schmitt wrote:

 I already restarted the server, which means that I restarted qmail. The
 hosts you found with dnsmx are not my servers but my providers DNS servers.
 The DNS I am running is just for my LAN and actually I only set it up for
 qmail. We are still using a dial up account. What I want to do is to collect
 all mail on the machine with qmail (ws1) and then using cron to send all
 mail to our ISP's mailserver every 30 minutes or so. Same on the way back:
 Using serialmail to receive every 30 minutes new email.
 

The DNS servers in your /etc/resolv.conf file are probably those of your
ISP, right? We have already seen that their MX records for your domain
are not the same as what you have on your internal DNS server. Qmail is
probably trying to find the MX records from your ISP, but the machine
isn't dialed onto the net so it fails. That is why you are seeing DNS
lookup failures. You will have to do some DNS trickery to get this
working right. Qmail is meant for well connected machines.

Mike



RE: cannot start: hath the daemon spawn no fire?

2001-06-29 Thread Mike Peppard

www.ezmlm.org/pub/patches/qmail-bigrem.patch

The code and reason is there.  You should check
with the ezmlm group.

 -Original Message-
 From: MIS - Ben Murphy [mailto:[EMAIL PROTECTED]]
 Sent: Friday, June 29, 2001 7:30 AM
 To: Mailing List - Qmail (E-mail)
 Subject: RE: cannot start: hath the daemon spawn no fire?




filtering by sender

2001-06-29 Thread Mike Culbertson

I have a question that has as of yet remained unanswered.
Is it possible to filter or forward mail based on envelope sender and/or 
sender IP.

things I know:
1. I know you can block sender IPs with tcpserver, but that rejects the 
connection, I need to set up an auto-response.
2. I know I can use my own rbl database w/ rblsmtpd, once again, that returns 
error codes, I need to collect some of this bad mail
3. I have seen several anti-spam patches.  see the stuff about error codes -^
4. this would be modestly easy with procmail or similar, but all mail would 
have to be delivered to procmail for processing, then back to qmail for 
remote sending.  I don't want the extra load, these are not large machines.
5. qmail offers about 9 million features for filtering by recipient, all I 
need is one or two to filter by sender to make this work.
6. these are relay machines (PRIVATE, spam bad, duh) recipients are not 
local, this is handled in the smtproutes control file.
7. I can't figure out how to use aliases to direct mail based on anything 
about the sender, though it may be painfully simple.


things I need:
1. the ability to not just smtp reject this bad mail, (based primarily on 
envelope sender, but perhaps also sender IP), but to essentially process it 
and dump it to a dummy account with an autoresponder.
2. I DON'T NEED AN AUTORESPONDER, thanks anyway

WHY:
We had been the victim of spammer abuse of our mailserver until I got here, 
because the last admin left it wide open.  OK, I fixed the relaying. Now, we 
are constantly bombarded with spam destined to numerous legitimate internal 
accounts.  RBL you say? No, My company services ~75000 active end-users.  
There are literally thousands of domains that queries/support mails come 
from.  Most of us know that often the server that the mail comes from is 
often not the originator of the mail itself.  As a company, we simply cannot 
arbitrarily block a quantity of mail servers that may end up being the source 
of legitimate mails from our customers (our services are EXTREMELY time 
dependant, and a single mail can be worth quite a bit of money to a user). 
So, I am left needing a method to block mail, but still offer an immediate, 
very clear method to tell a sender that their mail did not go through. I do 
not expect all of our users to decipher an smtp error message, I have to 
assume the lowest common denominator.  

Mega thanks in advance to all who read through this damn sob story ;)
and thanks again to those who went through my last few, I love this list.

Mike Culbertson
[EMAIL PROTECTED]



Re: Problem with qmail-remote during Delivery

2001-06-28 Thread Mike Jackson

 D Rajesh wrote:
 
 Hi there,
 
 Firstly, sorry for a long mail.
 I have sent 30,000 mails to different domains like yahoo, hotmail,
 rediff etc...
 Before mentioning the problem the configuration that I have used in
 qmail is as follows:-
 qmail config
 --
 1.) Two qmails running at /var/qmail and /var/qmail1 with silent
 concurrency limit to 200 for both

What was wrong with the answer I gave you on Tuesday? One more time, set
up a box called slowmail and smtproute your slow moving deliveries to
it. 

Mike



Re: Problem with qmail-remote during Delivery

2001-06-28 Thread Mike Jackson



Peter van Dijk wrote:
 
 On Thu, Jun 28, 2001 at 09:25:16AM -, [EMAIL PROTECTED] wrote:
 [snip]
  Try running a real MTA like Iplanet messaging server, Sendmail, Notes or Exchange 
server. Even Exchange 4.0 is more advanced than qmail. Qmail was an attractive option 
when we had less than 300 users, because it was free, but now that our company has 
over 1500, it is not robust enough.
 
  Hotmail is a modified attempt at fixing the qmail bugs. Hotmail is only using 
qmail today because a change in software will cause an interruption in service. They 
are stuck with it for the time being.
 
 Why do we have 10 trolls on this list all of a sudden? Go away!

Peter,
 It's most likely the same person who started the 'Peter from the Dike'
thread. At least he's using the same sneakemail service. If everybody
just ignores anything sent from sneakemail.com then we will probably be
a whole lot better off.

Mike



RE: Qmail SMTP timing out.

2001-06-27 Thread Mike Peppard

I had a similar problem.  Without going into the details, mine was caused by
the proxy dropping the connection.  Have you tried snoop to watch the
packets  spray to test for errors with netstat?

Just a thought...
-Mike

 -Original Message-
 From: Grant [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 27, 2001 1:13 AM
 To: [EMAIL PROTECTED]
 Subject: Qmail SMTP timing out.




RE: Peter from the Dike and Security

2001-06-27 Thread Mike Peppard

http://www.samag.com/articles/1997/9706/9706d/9706d.htm

I'm glad this is a slow week.
(Yahoo search keywords - caesar, encryption, unix)

-Mike
 -Original Message-
 From: peter green [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 27, 2001 9:47 AM
 To: Qmail List
 Subject: Re: Peter from the Dike and Security
 
 
 * Robin S. Socha [EMAIL PROTECTED] [010627 09:42]:
  * peter green [EMAIL PROTECTED] [010627 08:32]:
   (pcg@pcg2) ~ rot13
   bash: rot13: command not found
  
  (robin@mail1):(~)$ man caesar | head -n4
 
 (pcg@pcg2) ~ caesar
 bash: caesar: command not found
 
 Next? :-)
 
 /pg
 -- 
 Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
 ---
 Ooohh.. FreeBSD is faster over loopback, when compared to
 Linux over the wire. Film at 11.
 (Linus Torvalds)
 
 



custom bounce text

2001-06-27 Thread Mike Jackson

Hi,
 The qmail-ldap patch contains support for a control/custombouncetext. 

$ cat custombouncetext 
This is a test, your message bounced.
SSH Communications Security

This will produce bounces like so:

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

This is a test, your message bounced.
SSH Communications Security


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

The patched file is qmail-send.c. I suppose you could pull the code from
there, even if you don't use the rest of the ldap stuff.

Regards,
Mike



[OT] rackmount chassis?

2001-06-27 Thread Mike Cathey

I realize this is slightly off topic (relates to qmail indirectly), but 
I though some of the people on this list might be able help me a bit.

I'm attempting to setup a failover nfs server with 2 machines.  They 
will have a shared scsi bus between them with 2 raid controllers for 
redundancy.  I'm just not sure where to look for a good rackmount 
chassis to put the raid controllers and disks in.  I've seen a lot of 4U 
8-bay drive chassis (with redundant power supplies) at fairly reasonable 
prices, but I'd like to hear from people who are using and happy with a 
specific vendor.

I apologize for spamming the list with something somewhat off topic, but 
this is for a pop toaster--so it's not completely off topic.

Thanks,

Mike




Re: qmail-injecting a message with 50K Bcc:

2001-06-26 Thread Mike Jackson

Daniel Kelley wrote:
 
  Wrong. Ezmlm is what you need. It's a high speed mailing list manager,
  and with the qmail-verh patch you can have individual addressing. You
  can also take input from a text file of one address per line when
  subscribing the list members.
 
 does this hold true for one-time mailings?  i'm sending a very dry email
 detailing the ownership change of a corportaion, so i can't forsee many
 responses (bounces are, of course, another story).

It is not a difficult piece of software to set up, and doesn't take very
much space. If you decide to install it, it will be there when you need
it the next time for whatever reason. I can't imagine that a corporation
wouldn't have something to manage even their internal mailing lists
with, to keep archives, etc.
 
 the reason that i originally tried to do this with qmail-inject instead of
 elmlm was that i never saw a need to have list-like behavior (replies,
 postings,etc).  that being tha case, is ezmlm still the best option?

Hmm. You can set up an ezmlm list that is moderated, with no posting
except moderators. The best option will be in your opinion, ultimately.

Mike



Re: qmailanalog usage

2001-06-26 Thread Mike Jackson

 Mark Douglas wrote:
 
 I'm trying to figure out how I should get the stats I want out of
 qmailanalog, along with some other things I'd like to do. My main
 issue is, if I wanted to do a daily log rotation, would it be feasible
 to do the following (using multilog): Set my logfile size to 100MB; at
 end of day, have a cron job run that copies the current file to
 another, dated file; echo  /var/log/qmail/current to empty out the
 log file and start fresh. I realize it's not pretty, but the real
 issue is, would it cause problems?
 
 Thanks,
 
 Mark Douglas - Architecture
 Sympatico-Lycos Inc.
 All your base are belong to us! Make your time!

There is a patch written by William Baxter for multilog that causes it
to rotate logs ASAP upon receiving
SIGHUP.  You can find it at

http://www.superscript.com/patches/multilog.c.hup

Mike



Re: Higher number of deliveries

2001-06-26 Thread Mike Jackson

 D Rajesh wrote:

 We have a database of 100,000 mails and we will be sending
 personalized mails to each user automatically. We use redhat 6.2 (
 extfs, kernel 2.2.14 ) and qmail for mailing.

This should take no longer than 4.5 to 5 hours to deliver to all
reachable mail servers, with a low-end box running remoteconcurrency of
120. I have a low-end NetBSD box that delivers 1800 messages every 5
minutes with remoteconcurrency set to 120.

 The problem is that, when I tried sending  4700 mails ( to different
 domains . say like yahoo, hotmail, rediff, etc and not a single
 user in my domain ), it took one whole day to send all the mails..
 qmail-inject placed mails in the queue at a speed of 70 - 90 mails in
 a second. But, if the logs are checked, it took one whole day to
 finish sending all the mails

You didn't happen to get a line like this in /var/log/qmail/current or
maybe a rotated log file, did you?

@40003b1d11932a837604 delivery 41: deferral:
qmail-spawn_unable_to_create_pipe._(#4.3.0)/

If so, then you need to adjust the ulimits of your system and up the max
processes and max open files per process. Man ulimit.
 
 What should I do to send say a million mails in a day ?

Set up a main qmail box running ezmlm, that has a list with 4 addresses
subscribed: sublists. Set the sublists to each route to a seperate qmail
box via smtproutes. Set up 4 more qmail boxes, each with ezmlm running
the appropriate sublist. Subscribe one quarter of the subscribers to
each box in the sublist. This should take between 8-9 hours to send out
1 million mails. BTW, these boxes don't need to be high end monsters
like the one you described above. 

 You could probably decrease your sending time to 6 hours or something
if you use the large-concurrency patch. You probably also need to use
the large to-do patch so the queues can handle more than 10,000 messages
at a time.

Regards,
Mike



Re: Higher number of deliveries

2001-06-26 Thread Mike Jackson

Markus Stumpf wrote:
 
 On Tue, Jun 26, 2001 at 03:07:48PM +0530, D Rajesh wrote:
  The problem is that, when I tried sending  4700 mails ( to different
  domains . say like yahoo, hotmail, rediff, etc and not a single user
  in my domain ), it took one whole day to send all the mails.. qmail-inject
  placed mails in the queue at a speed of 70 - 90 mails in a second. But, if
  the logs are checked, it took one whole day to finish sending all the mails
 
 It sometimes takes me 2 or 3 days to get only one message delivered to yahoo.
 This is not a problem that you can fix with qmail configuration on your
 side.
 The problem is with yahoo and their mailservers and I can see it for more
 than one year.

Hi,
 You can dedicate a box called slowmail.abc.com and smtproute all of
these problematic domains to it; just add them as they appear. This way
your queues don't stay jammed full of trash, thus slowing down
everything else. 

 Now, we are up to 6 low-end pentium boxes for a million mail per 8-9
hours list. 

lists.abc.com (front-end box)
lists1.abc.com (sublist carrying 25% of subscribers)
lists2.abc.com ( )
lists3.abc.com ( )
lists4.abc.com ( )
slowmail.abc.com (smtproutes from lists1-4 point here)

Mike



Re: YALQ (Yet another LDAP Question)

2001-06-25 Thread Mike Jackson

Andrew J Herbert wrote:

 I've now played with qmail_ldap, but fail to see that I can implement it
 in the same structure as everything else, as it seems primarily geared
 toward 'virtual users'.
 

 You want qmail-ldap. If these are mail servers, why do users need to
have a system account? They aren't administrators. I run several
qmail-ldap servers, with only system accounts for the IT staff. Even if
they need a system account, you can store their mail in
/var/qmail/maildirs owned and grouped to the qmail-ldap daemons, and
make them use pine over IMAP or pop. 

 UW-Imap is a resource HOG. You have to patch it twice to get it to work
in your setup, and you have to recompile it when you make configuration
changes. Low tech. Courier Imap has native support for ldap
authentication and maildirs, has low memory requirements, and can be
reconfigured without recompiling.

Regards,
Mike



Re: YALQ (Yet another LDAP Question)

2001-06-25 Thread Mike Jackson

Andrew J Herbert wrote:
 
 1. We use Eudora as a mail client, it's not my choice unfortunately, and
 it thrashes Courier, whilst UW doesn't break a sweat, due to the odd
 way Eudora implements mail filters (using UID's).

Yes, I have encountered this with 2-3 of my users who just refuse to
leave Eudora. It's not a problem with this number, but if everybody used
it then it would be.
 
 2. We have to have people having logons in the system, this isn't just
 email we're talking about, hence why I said I want to use real users, and
 not virtual users. Also we run a web based front end to procmail for mail
 filtering that has to be 'grannied' in.

Fine if people log on then, but they don't need to have their maildir
stored in their home directory. Set your global pine configuration to
use IMAP instead of accessing an mbox. This takes away fast text
grepping, but provides alot of ease for administration. Qmail-LDAP will
work in this environment.

Regards,
Mike



Re: qmail-injecting a message with 50K Bcc:

2001-06-25 Thread Mike Jackson

dan.kelley wrote:
 
 hi-
 
 i'm trying to send a message to a list of approx. 50K email addresses.  i
 figured that the best way to do this was to use qmail-inject with the 50K
 addresses listed in one giant Bcc: line.

Wrong. Ezmlm is what you need. It's a high speed mailing list manager,
and with the qmail-verh patch you can have individual addressing. You
can also take input from a text file of one address per line when
subscribing the list members.

Mike



Odd error

2001-06-24 Thread Mike Hodson

I just changed over my maildirs and virtual domains from one server to
another, and all seems to be working well. Until now that is.
While watching a log tail -f of my qmail-send logs as logged via
daemontools piped thru tai64nlocal.

2001-06-24 11:39:57.372243500 warning: trouble opening local/15/755082; will try again 
later
2001-06-24 11:40:40.231316500 warning: trouble opening local/16/755083; will try again 
later
2001-06-24 11:41:16.231304500 warning: trouble opening local/17/755084; will try again 
later
2001-06-24 11:39:57.372243500 warning: trouble opening local/15/755082; will try again 
later
2001-06-24 11:42:01.231287500 warning: trouble opening local/15/755082; will try again 
later
2001-06-24 11:42:44.231286500 warning: trouble opening local/16/755083; will try again 
later
2001-06-24 11:43:20.231255500 warning: trouble opening local/17/755084; will try again 
later
2001-06-24 11:44:05.231240500 warning: trouble opening local/15/755082; will try again 
later
2001-06-24 11:44:48.231239500 warning: trouble opening local/16/755083; will try again 
later

What does this mean exactly, and is this a large problem or a minor
error?

Also, this seems like a serious problem I got while trying to actually
send this message via my own server:

220 thor.mystica.cx ESMTP
EHLO ODIN
250-thor.mystica.cx
250-PIPELINING
250 8BITMIME
RSET
250 flushed
MAIL FROM:[EMAIL PROTECTED]
250 ok
RCPT TO:[EMAIL PROTECTED]
250 ok
DATA
354 go ahead
.
451 qq trouble creating files in queue (#4.3.0)
QUIT
221 thor.mystica.cx

-- 
Mike Hodson [EMAIL PROTECTED]




Re: qmail + LDAP + Solaris + Big number of mailboxes

2001-06-22 Thread Mike Jackson

Jesús Arnáiz wrote:
 
 Hi!
 
 We have about to five million mailboxes and we are wondering if there is any
 project that includes qmail under Solaris with LDAP authentication.
 
 We know it works, but we want to know about its performance.
 
 If someone have worked with a similar implementation please tell us how it work.
 

Qmail-ldap home page is at www.nrg4u.com.

Qmail-ldap mailing list is [EMAIL PROTECTED]

I use qmail-ldap on solaris 8 sparc and it works great, but I only
support about 200 imap users.

Regards,
Mike



Re: Java and Qmail - building a large mailmerge server - plain text version

2001-06-22 Thread Mike Jackson

manav wrote:

 The objective is to build a high-volumer server capable of doing mail-merged
 email blasts to several lists with 10,000 to 1,000,000 users, provide
 detailed reports about the status of emails (sent, bounced, bad email
 addresses, opened, forwarded), list management (across multiple lists for
 each user) and of course, stability.
 
 Over the period of last 12 months, we explored several options - and finally
 settled on qmail (what else?). I am using a Pentium III with Linux Redhat
 6.2 installed on it, with 512 MB of RAM, 20 GB HDD and JDK 1.2.2 connected
 to a 128 Kbps line.
 

Before you go any further, get a real pipe. Why do people insist that
their Volkswagen Beetle is capable of keeping up with a Ferrari on the
autobahn? The volume of messages that you are trying to send is nothing
short of ridiculous with a 128Kbps line.

--
Mike



Re: Java and Qmail - building a large mailmerge server - plain text version

2001-06-22 Thread Mike Jackson

manav wrote:
 
 Hi Mike, Russ,

Hi !

 
 We are running the alpha phase right now (with whatever current
 implementations we have), and I have serious doubts about the stability and
 scalability of the system. The maximum load that I've put on my production
 boxes is 250,000 emails so far and I've had similar issues that I mentioned
 on my development boxes (the ones that are resemble a Beetle, to quote Mike
 :-) ).

Just as an example of the speed of qmail and ezmlm:

Machine: 1U rackmount cheapo 600Mhz Celeron, 128MB RAM, 18GB hard disk
OS: NetBSD 1.5
MTA: Qmail 1.03 with only the verh patch
List Manager: Ezmlm 0.53 with idx 0.40
remoteconcurrency: 120

Here are some stats from the first large mailing with this server. As
you can see, within 15 minutes most of the deliveries were completed.
The only kernel tuning I did was to raise the max processes to 256 and
max open files per process to 512. The numbers look a little off since
there are a few old messages still going through, mostly mail servers
that were previously unreachable.

12.45.21message sent to 4773 addresses

12.50.001738 deliveries
1924 attempts
1761 successes
187 failures

12.55.001775 deliveries
1937 attempts
1779 successes
166 failures

13.00.00423 deliveries
455 attempts
433 successes
32 failures

13.05.0013 deliveries
14 attempts

13.10.002 deliveries
2 attempts
---
Total   3951 deliveries
4332 attempts

 With the large concurrency patch, this throughput could be increased
significantly. I will put it into use if I get a requirement to send to
at least 10,000 addresses.

 Using qmail-ldap and qmqp with a frontend master server and several
slave servers, you can distribute the load among several servers very
easily. For example, if you have 4 slave servers then use a unique
mailhost attribute for each quarter of your subscriber base. The
scalability of qmail-ldap is almost limitless, I think. The master
server will transfer the qmqp messages to the slave servers via qmqp
faster than you can even dream of. For more info, www.nrg4u.com
qmail-ldap homepage.

Regards,
Mike



spam/other custom bouncing

2001-06-19 Thread Mike Culbertson

I am attempting to figure out the best way to set up an auto-response 
(bounce, in a manner of speaking) triggered by sender domain, in order to 
facilitate not just rejecting specific domains, but auto-answering mail from 
them.

The situation is as follows:  My company receives mail from vary large number 
of different domains, most legitimate, but some notorious spammers, and some 
a combo of both.  The problem is that I am uncomfortable just adding a domain 
to badmailfrom, as I have to be really careful blocking out entire domains 
lest I block out some legitimate users.  badmailfrom only provides an smtp 
rejection, and I cannot guarantee that an end-user could figure out what 
happened.  Therefore, I would like to maintain a list of domains a la 
badmailfrom, but rather than doing an smtp reject, an autoreponse would 
result (your mail has been reject because blah, please contact blah etc. 
etc. ).  This way, legitimate users on banned domains would have an 
opportunity to notify us and get unbanned.  It seems simple on the surface, 
but most every filter I have found so far relies on RBLs (love em, but far 
too arbitrary for this task), or receiver address/domain (it's all coming to 
the same domain, I need to filter by sender domain).  I am sure there must be 
a fairly simple way to complete this, but I'm not having a lot of luck so 
far.  Any help/thoughts would be greatly appreciated.  Thanks in advance.

Mike Culbertson
sysadmin

P.S.  The qmail boxes in question are acting as relays only, I am trying to 
avoid using procmail to filter all deliveries, as 99.9% is sent onwards to 
another host, not locally.  Don't want to double-process the mail if I don't 
have to, rather have qmail handle all the filtering alone if possible.



more spam bouncing

2001-06-19 Thread Mike Culbertson

After some thought, perhaps I shoud clarify what I am trying to do.  I have 
looked and looked, and seems most every feature for filtering relies on 
.qmail files, or something like procmail.  I would like to determine if there 
is a way to avoid both of these.  Since the machines in question with this 
problem are relays (private relays in case you are wondering), there are no 
home directories for me to add .qmail files to.  Also, since they don't hold 
mail locally, with procmail, the path would be:
sender  qmail  procmail  qmail  relay target host
which would signifigantly increase the load required to send each piece of 
mail on to it's destination.  I don't want to send every piece of mail 
through procmail (or similar) if I don't have to.

What would be great would be to have qmail-smtpd catch the HELO or MAIL FROM 
address the sender gives (a la badmailfrom) and do something, like perhaps 
dump the mail to a local account for further processing, or initiate a 
bounce, anything other than just an smtp reject.  This way, good mail would 
travel clean on through the relay without being subject to any additional 
filtering, and only  mail matching a bad domain would get handled further.  
This may be entirely out of the realm of capability within the parameters I 
have described, I'm not sure.   It just seems there must be some way to 
fanagle qmail itself into reacting to the sender domain.  If this answer is 
painfully obvious, feel free to slap me, but I'd rather know regardless :)

Mike Culbertson



Re: restart without rebooting

2001-06-18 Thread Mike Jackson

[EMAIL PROTECTED] wrote:

  Someone told me to try 'killall -SIGHUP qmail', but someone else said this
  might kill everything running - that the machine would not read to the
  'qmail' at the end of the line.
 
 That is not true, killall only kills the specified command with the
 specified signal.

Oh yeah? Try using the killall command on Digital Unix OSF1 v4.0 and see
what happens. It kills all processes for whatever user you are logged in
as (try to image root).

Mike



Qmail MIB?

2001-06-18 Thread Mike Jackson

Hi,
 Has anyone written a MIB for qmail, so that snmp can be used to gather
stats+

Thanks,
Mike



Re: backup mail server help

2001-06-14 Thread Mike Cathey

Sorry, I forgot to include the list in the to...
Any comments would be greatly appreciated, esp. in regard to nfs locking...


Jeff,

You make a very valid point, however this can be overcome in many ways.
   I am currently researching this for my employer.  Here's a general
overview of how I'm planning on designing our network/servers.

--- - external net
|   |
   director1director2
|   |
--- - internal net
  | | |
 qmail1qmail2qmail3
  | | |
   \___ |  __/
   \|/
|
--- - gigabit 'nfs' net with backup 100Mb net
 ||
   NFS1 NFS2


I'm looking at using LVS (Linux Virtual Server) to handle the load
balancing/clustering.  We'll be using the cluster for www/pop3/dns/etc
as well.  LVS will allow us to add machines dynamically.

We'll be using qmail/ldap/ldap-control and 2 (or more) LDAP servers for
qmail configuration.  I've also considered having the cluster servers
boot off of CD and use a single disk for /tmp and the queue.

I haven't fully researched the NFS servers yet, but here is my idea.
The developer that made ReiserFS also wrote/is writing DRBD, which is
capable of doing network mirroring.  I am planning to use 2 e450s that I
have with Samba (for Win servers), NFS (mirrored with DRBD), and
heartbeat software to control the failover between the 2 servers.

There are 2 obvious alternatives to the NFS solution that I mentioned
though.  NetAPP makes an appliance (Filer) that can handle 6TB (RAID5)
storage which provides for (according to some friends of mine that use
them in a 75+ e6000/45+ win2k env) 5 9s of reliability.  I don't have
prices, but I've heard that one Filer can run $80k.  The other option
is a software solution (clustering/replication/failover) from Veritas,
which comes highly recommended.

DISCLAIMER:  I don't work for any of the above mentioned companies.

Would anyone be interested in helping me develop a FAQ for this?

Cheers,

Mike

Jeff Palmer wrote:

  And if your NFS server goes down,  both servers are useless.  In which
  case,  what was the point of having a backup server again?
 
  Jeff Palmer
  [EMAIL PROTECTED]
 
  At 09:57 AM 6/13/01 +0300, you wrote:
 
  Alternatively you can run two SMTP servers and one POP server. Do 
NAT for
  the two and export the partition with Maildirs(at the pop server) to the
  SMTP servers through NFS. The two servers seem to be one to the outside
  world. NFS can be insecure though.
 
  Joe.
  - Original Message -
  From: Henning Brauer [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Saturday, June 09, 2001 4:15 AM
  Subject: Re: backup mail server help
 
 
   On Fri, Jun 08, 2001 at 04:33:49PM -0700, Hank Wethington wrote:
What I'd like to accomplish is if Server A is unavailable, then mail
  goes to
server B. Once A is back up, server B sends the mail back to
  server A.
  Does
  
   On server B, add all domains in question to rcpthosts, but NOT to
  local
  or
  virtualdomains. That's it ;-))
  
   --
   * Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
   * Roedingsmarkt 14, 20459 Hamburg, Germany   *
   Unix is very simple, but it takes a genius to understand the
  simplicity.
   (Dennis Ritchie)
  




RE: Long connect times

2001-06-14 Thread Mike Peppard

Try a stub resolver on the mailbox.  In addition
to your regular name server/cache you should get
decent response times.  The stub resolver
needn't take much ram or cpu.

If you didn't have a stub resolver already, you
will notice a nice performance boost.  Otherwise
try playing with the cache.  There are some
nice tools to figure out what your resolver is
doing on the djbdns site.  Oh.. get djbdns too.

Works here just fine.

-Mike

 -Original Message-
 From: Russell Nelson [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 14, 2001 10:00 AM
 To: Jon Booth
 Cc: [EMAIL PROTECTED]
 Subject: Re: Long connect times
 
 
 Jon Booth writes:
   Hi all,
   I am using QMail with xinetd. It takes ages for a PC 
 internally (allowed
   to relay) to connect to the server. Outside servers can 
 connect instantly. 
   Where should I look to diagnose this problem
 
 Reverse DNS for your internal hosts.  It's not optional.
 
 -- 
 -russ nelson [EMAIL PROTECTED]  http://russnelson.com
 Crynwr sells support for free software  | PGPok | 
 521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude windows.h
 Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 
 



sqwebmail

2001-06-13 Thread Mike Jimenez

Im looking for some help with Sqwebmail.
When I run make I get the following error.

preauthvchkpw.c: In function `auth_vchkpw_pre':
preauthvchkpw.c:70: warning: passing arg 2 of `make_user_dir' makes integer
from pointer without a cast
preauthvchkpw.c:70: too many arguments to function `make_user_dir'
make[1]: *** [preauthvchkpw.o] Error 1
make[1]: Leaving directory `/installers/sqwebmail-2.1.1/authlib'
make: *** [all-recursive] Error 1

Thanks
Mike





Qmail ADMIN!!! Please Help

2001-06-13 Thread Mike Jimenez

Using the new vpopmail vpopmail-4.9.10.tar and the Qmail Admin
qmailadmin-0.45.tar . I cannot get Qmail admin to compile?
Here is the error message I recieve.
What in the heck is going on ? I can compile qmailadmin-0.26.tar with no
errors but I dont want to use that.
Thanks
Mike

qmailadmin-0.45]#
./configure --enable-vpopuser=vpopmail --enable-cgibindir=/apache/cgi-bin --
enable-htmldir=/usr/local/share --enable-vpopmaildir=/home/vpopmail/
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-unknown-linux
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for POSIXized ISC... no
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for crypt in -lcrypt... yes
checking for crypt in -lshadow... no
checking for floor in -lm... yes
checking for gethostbyaddr in -lnsl... yes
checking for getsockname in -lsocket... no
cat: /home/vpopmail//etc/inc_deps: No such file or directory
cat: /home/vpopmail//etc/lib_deps: No such file or directory
checking for ezmlm-idx... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for working const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for getcwd... yes
checking for mkdir... yes
checking for strdup... yes
checking for strstr... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
qmailadmin-0.45]# make
make  all-recursive
make[1]: Entering directory `/installers/qmailadmin-0.45'
make[2]: Entering directory `/installers/qmailadmin-0.45'
gcc -I.   -g -O2 -c qmailadmin.c
qmailadmin.c:30: vpopmail.h: No such file or directory
qmailadmin.c:31: vauth.h: No such file or directory
make[2]: *** [qmailadmin.o] Error 1
make[2]: Leaving directory `/installers/qmailadmin-0.45'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/installers/qmailadmin-0.45'
make: *** [all-recursive-am] Error 2

==
Mike Jimenez
System Administrator
Visual Perspectives Internet, Inc. (VPI.Net)
Tel: (949) 595-8622 -- Fax: (949) 595-8629
http://www.vpi.net
==





RE: Qmail ADMIN!!! Please Help

2001-06-13 Thread Mike Jimenez

That was not the problem. But I found out how to fix on on the Qmail Admin
list.
Thanks for the help though.
Mike

 cp -fp vauth.h vpopmail.h vpopmail_config.h
/your/source/qmailadmin/directory

LIBS=-L/home/vpopmail/lib -lvpopmail DEFS=/home/vpopmail/include
./configure --enable-vpopuser=vpopmail --enable-cgibindir=/apache/cgi-bin --
enable-htmldir=/usr/local/share --enable-vpopmaildir=/home/vpopmail/

-Original Message-
From: Joshua Nichols [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 13, 2001 1:22 PM
To: Mike Jimenez
Subject: RE: Qmail ADMIN!!! Please Help


Try removing the trailing slash from your --enable-vpopmail switch.

Look at the error message in the middle.  How often do you see // in a
legitimate *NIX path?

--joshua.


 qmailadmin-0.45]# ./configure --enable-vpopuser=vpopmail
 --enable-cgibindir=/apache/cgi-bin --
 enable-htmldir=/usr/local/share --enable-vpopmaildir=/home/vpopmail/
 creating cache ./config.cache
.
.
.
 cat: /home/vpopmail//etc/inc_deps: No such file or directory
 cat: /home/vpopmail//etc/lib_deps: No such file or directory
.
.
.
 make[1]: Entering directory `/installers/qmailadmin-0.45'
 make[2]: Entering directory `/installers/qmailadmin-0.45'
 gcc -I.   -g -O2 -c qmailadmin.c
 qmailadmin.c:30: vpopmail.h: No such file or directory
 qmailadmin.c:31: vauth.h: No such file or directory
 make[2]: *** [qmailadmin.o] Error 1
 make[2]: Leaving directory `/installers/qmailadmin-0.45'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/installers/qmailadmin-0.45'
 make: *** [all-recursive-am] Error 2

 ==
 Mike Jimenez
 System Administrator
 Visual Perspectives Internet, Inc. (VPI.Net)
 Tel: (949) 595-8622 -- Fax: (949) 595-8629
 http://www.vpi.net
 ==








RE: Qmail Admin

2001-06-12 Thread Mike Jimenez

Nope Vpopmail mail is installed and the location is the exact location?
But the thing that does not make sense if I compile the previous version it
installs fine no errors?
But I want to use the new version not the old one.

Thanks
Mike

-Original Message-
From: Kieran Barnes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 1:52 AM
To: 'Mike Jimenez'; Qmail
Subject: RE: Qmail Admin


It looks lilke you don't have vpopmail installed.
Or it is installed in a funny location. Try
--enable-vpopmaildir=/path/to/your/vpopmail in your ./configure line

Regards,

Kieran Barnes
Signum 1226 Ltd
Use our Web site at...  http://www.1226.net
Phone us on... 01772 622889
Fax us on...   01772 622558


 -Original Message-
 From: Mike Jimenez [mailto:[EMAIL PROTECTED]]
 Sent: 12 June 2001 00:42
 To: Qmail
 Subject: Qmail Admin


 How come the admin tool does not compile?
 Here is the following:
 Also here is the ./configscript

 ./configure --enable-vpopuser=vpopmail
 --enable-cgibindir=/apache/cgi-bin --
 enable-htmldir=/usr/local/share --enable-vpopmaildir=/home/vpopmail/


 #make
 make  all-recursive
 make[1]: Entering directory `/installers/qmailadmin-0.45'
 make[2]: Entering directory `/installers/qmailadmin-0.45'
 gcc -I.   -g -O2 -c qmailadmin.c
 qmailadmin.c:30: vpopmail.h: No such file or directory
 qmailadmin.c:31: vauth.h: No such file or directory
 make[2]: *** [qmailadmin.o] Error 1
 make[2]: Leaving directory `/installers/qmailadmin-0.45'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/installers/qmailadmin-0.45'
 make: *** [all-recursive-am] Error 2

 ==
 Mike Jimenez
 System Administrator
 Visual Perspectives Internet, Inc. (VPI.Net)
 Tel: (949) 595-8622 -- Fax: (949) 595-8629
 http://www.vpi.net
 ==






RE: Qmail Admin

2001-06-12 Thread Mike Jimenez

This is the version of vpopmail that I have installed.
vpopmail-4.9.6-1 also this is the version of Qmail Admin I'm trying to
install. qmailadmin-0.45
The previous version Installs with no errors at all?
Thanks
Mike


-Original Message-
From: inter7 [mailto:inter7]On Behalf Of Ken Jones
Sent: Tuesday, June 12, 2001 1:41 AM
To: Mike Jimenez
Subject: Re: Qmail Admin


Sounds like you need to upgrade your vpopmail.
What version do you have installed?

Ken Jones
inter7

Mike Jimenez wrote:

 How come the admin tool does not compile?
 Here is the following:
 Also here is the ./configscript


./configure --enable-vpopuser=vpopmail --enable-cgibindir=/apache/cgi-bin --
 enable-htmldir=/usr/local/share --enable-vpopmaildir=/home/vpopmail/

 #make
 make  all-recursive
 make[1]: Entering directory `/installers/qmailadmin-0.45'
 make[2]: Entering directory `/installers/qmailadmin-0.45'
 gcc -I.   -g -O2 -c qmailadmin.c
 qmailadmin.c:30: vpopmail.h: No such file or directory
 qmailadmin.c:31: vauth.h: No such file or directory
 make[2]: *** [qmailadmin.o] Error 1
 make[2]: Leaving directory `/installers/qmailadmin-0.45'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/installers/qmailadmin-0.45'
 make: *** [all-recursive-am] Error 2

 ==
 Mike Jimenez
 System Administrator
 Visual Perspectives Internet, Inc. (VPI.Net)
 Tel: (949) 595-8622 -- Fax: (949) 595-8629
 http://www.vpi.net
 ==




Qmail Admin

2001-06-11 Thread Mike Jimenez

How come the admin tool does not compile?
Here is the following:
Also here is the ./configscript

./configure --enable-vpopuser=vpopmail --enable-cgibindir=/apache/cgi-bin --
enable-htmldir=/usr/local/share --enable-vpopmaildir=/home/vpopmail/


#make
make  all-recursive
make[1]: Entering directory `/installers/qmailadmin-0.45'
make[2]: Entering directory `/installers/qmailadmin-0.45'
gcc -I.   -g -O2 -c qmailadmin.c
qmailadmin.c:30: vpopmail.h: No such file or directory
qmailadmin.c:31: vauth.h: No such file or directory
make[2]: *** [qmailadmin.o] Error 1
make[2]: Leaving directory `/installers/qmailadmin-0.45'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/installers/qmailadmin-0.45'
make: *** [all-recursive-am] Error 2

==
Mike Jimenez
System Administrator
Visual Perspectives Internet, Inc. (VPI.Net)
Tel: (949) 595-8622 -- Fax: (949) 595-8629
http://www.vpi.net
==





Im not sure if this is normal?

2001-06-08 Thread Mike Jimenez

Hello
Is my mail que stuck or is this normal.Is there also a way to manage the
que?
/var/qmail/bin/qmail-qstat
messages in queue: 243
messages in queue but not yet preprocessed: 0

Thanks
Mike

==
Mike Jimenez
System Administrator
Visual Perspectives Internet, Inc. (VPI.Net)
Tel: (949) 595-8622 -- Fax: (949) 595-8629
http://www.vpi.net
==





Re: I think I'm being relayed...

2001-06-07 Thread Mike Cathey

Does anyone know what happened to the qmail-ldap-control patches on
bayour.com?
The directory linked to in the faq is empty.  And
bayour.com/qmail/patches_ldap appears to be empty as well.  Were the
patches mirrored anywhere?  If not, I'd be glad to provide one (as well
as a mirror for qmail.org).

Thanks,

Mike

Chris Garrigues wrote:
 
 I've got a slightly old set of qmail-ldap patches.  I guess I'd better upgrade!
 
 Thanks.
 
 Chris



RE: better methods to install qmail on linux ( Redhat 6.2 or 7.0)

2001-06-07 Thread Mike Peppard

Hey guys!

Actually, it only takes a few msaccess databases
to get to the gigabyte range, or in my case a couple
of sales people travelling and not picking up mail.
I'm moving to a 5X36gig system for mail from an e450,
once I get the server in.  Disk is cheap, why put
artifical limits on the server?  Go for it killer.
You will not regret more disk... the opposite is not!
true.

-Mike

 -Original Message-
 From: Dave Sill [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 07, 2001 10:40 AM
 To: [EMAIL PROTECTED]
 Subject: Re: better methods to install qmail on linux ( Redhat 6.2 or
 7.0)


 Kalle Kivimaa [EMAIL PROTECTED] wrote:

 In a mail server this fails when you get a mail which is larger than the
 available size on /var.  Thus, have AT LEAST 4GB for /var, then
 you SHOULD be
 safe.  Same goes with /home if you deliver mail locally.

 You really have users sending multigigabyte messages? Yow.

 -Dave





Re: qmail-remote (cry wolf?)

2001-06-07 Thread Mike Jackson

Jörgen Persson wrote:
 
 Sorry, but I'm not all comfortable with this...
 
 There's been 4 similar reports of qmail-remote not behaving properly to
 this list during the last month.

 We still haven't been able to help any of them...
 
 This doesn't look like a coincidence to me since two of the reports
 concerned the same recipient server (outblaze.com). Unfortunately it
 seems related to network programming, which I know very little about.
 
 Any other thoughts about this?
 
 Jörgen

Hi,
 Just a little investigation.

$ nslookup

 set type=mx
 outblaze.com

outblaze.compreference = 20, mail exchanger = mg.hk5.outblaze.com
outblaze.compreference = 10, mail exchanger = spf1.hq.outblaze.com


 I was curious if they both ran the same MTA, so I checked it out.


$ telnet spf1.hq.outblaze.com 25
Trying 202.77.223.28...
Connected to spf1.hq.outblaze.com.
Escape character is '^]'.
220 spf1.hq.outblaze.com ESMTP Postfix

$ telnet mg.hk5.outblaze.com 25
Trying 202.123.209.152...
Connected to mg.hk5.outblaze.com.
Escape character is '^]'.
220 mg.hk5.outblaze.com ESMTP Sendmail 8.11.2/8.11.2; Thu, 7 Jun 2001
19:26:17 GMT


 What are the probabilities of the Sendmail server being the one causing
the problems? What if the mail admin of mg.hk5.outblaze.com has used
some sort of patch that is causing qmail-remote's to hang? Has anyone
communicated with outblaze.com's postmaster?

--
Mike



QmailLDAP/Control Patch

2001-06-06 Thread Mike Cathey

The faq for qmail-ldap (see below) provides a link to download the
qmail-ldap-control patch, but the directory on the server is empty.  I
checked google's cached copy and it had files dating 2001050n.  Are
there any official mirrors?

The FAQ:

http://www.lifewithqmail.org/ldap/#The qmail-ldap-control patch

The link is:

http://qmail.bayour.com/patches_ldap/


Thanks,

Mike



Re: Multiple Location

2001-06-06 Thread Mike Cathey

Adrian,
DISCLAIMER
I've only been playing with qmail for a few months and it's only
installed on one server, but here's what I would suggest.
/DISCLAIMER

Setup qmail/ldap at all of your pops.  Enable clustering (in qmail) and
have the local (remote POPs) mail servers replicate the core/primary
ldap server (see FAQ for OpenLDAP (slurpd i think).  You can then define
mailhost (I think that's the attribute name--somebody correct me if I'm
wrong) for each user in LDAP to the the mail server at their primary
POP.  This seems like the cleanest way to approach the problem.

You could then setup caching dns server as the remote POPs and use bind
9 views  (not very familiar with this) for each POP so that
mail.yourdomain.tld == local mail server.  This really isn't necessary,
but it would make life a little easier for your support people.

Anyone want to correct/critique this generalization?

Thanks,

Mike


Adrian Ho wrote:
 
 On Wed, 6 Jun 2001, Lye On Siong Johnny wrote:
 
  I have the follow scenario. Assuming my office is separate into 10
  different locations, with about 50 staff in each location. Is that
  anyway whereby I can configure a mail server or something equivalent
  at each location such that the machine will know which are the local
  user, and send it to the local machine, and if not, they will send it
  out. This is to reduce the amount of out-going traffic
 
 You can either have a central server that knows where everyone is, and the
 10 local servers simply relay non-local mail to it, or replicate that
 knowledge amongst the 10 local servers.  Either way:
 
 http://cr.yp.to/qmail/pictures/PIC.local2alias
 
 --
 Adrian Ho   [EMAIL PROTECTED]



NFS failover?

2001-06-04 Thread Mike Cathey

I have 2 e450s (with very large hardware RAID5 arrays) that I want to
setup in a replicated/failover environment.  These boxes will primarily
be a backend for smtp/pop3.  Is there a clean way to do this without
investing $40k in Veritas's clustering/replication software?  Can NFS
failover cleanly using some kind of heartbeat software?

Thanks,

Mike



Re: High Availability, High Volume and NFS

2001-05-24 Thread Mike Scher

On 23 May 2001, Mark Delany wrote:

 I don't want to start an OS war, but if you want to use NFS on an
 Intel box, I strongly suggest one of the BSDs. I was in a situation
 where I had to use Linux NFS servers - that was until they failed
 miserabled. They were replaced with FreeBSD and the problems went
 away.

Also, check how your OS supports turning UDP checksumming off, and make
sure it's off.  It's of no great help on a local switched segment and
affects NFS performance.  Are you using traditional NFS or TCP-based NFS?
If performance is the real desired goal, UDP-based NFS is going to be a
lot faster, if not as secure.  But, hey, once you're in NFS-land, you're
going to want to keep it all on a tight, local segment if security's even
vaguely your issue.

Finally, you may want to put the server on a gig connection into the
switch, and the client servers on the same switch on 100Mbit FDX.

  -M

 Regards.


 On Wed, May 23, 2001 at 01:40:13PM -0500, Duane Schaub allegedly wrote:
 
  I want to set up multiple qmail machines to access an NFS backend.  We have
  about 10,000 users (running maildir) and an average of 5 emails/user/dat and
  av. 10K in size. On average, there are 6 simultaneous pop sessions with
  approx. 200 new sessions/min.
 
  We have tried a Redhat6.1 backend on the NFS with Redhat 6.1 NFS clients.
  The result was that the qmail machines were BARELY able to keep up.  If
  there were any pauses on the NFS server, the POP sessions would build to
  50-60 very quickly with qmail crashing at about 300 sessions.  Once qmail
  exceeded about 70 sessions, it was beyond the point of return and would not
  recover.
 
  The NFS server was nothing special (P350/IDE 256Mb RAM).  We also tried a
  Dell 2300 (Dual 400/RAID5) NT server running Intergraph NFS But the
  performance was abysmal!  Performing an ls in a user/new directory took 21
  seconds for a response.
 
  I think NFS would work, but I don't really want a Netapp F5 ($50,000).  What
  NFS experiences are out there?
 
  If you wish - respond privately [EMAIL PROTECTED]
 
  Duane.
 

  Michael Brian Scher  [EMAIL PROTECTED]  [EMAIL PROTECTED]
 Sr. Research Consultant
  Attorney, Anthropologist, Part-Time Guru
   Mailaise: n, ('mail-aze).  See Outlook.




Make multilog rotate according to time?

2001-05-15 Thread Mike Jackson

Hi,
 I would like to use qmailanalog to make a daily report that will get
mailed to the local administrative staff. I would like to have the
reports include exactly 24 hours of activity. I thought that the easiest
way to do this is to have multilog start a new log file at 0.00 every
day, but couldn't figure out how to do it. I have looked at the multilog
source and man page, and it seems to only rotate logs based on size. How
are you guys doing this? 

 Please cc me also with your reply.

Regards,
Mike



Re: MASS mailing

2001-05-13 Thread Mike Jackson

Charles Cazabon wrote:

 There's other tricks as well, but with the above list you should easily be
 able to handle 1M deliveries a day on decent hardware.  I'm afraid I'm not
 familiar with the Netra you mention.
 

Netra's are little 1U pizza box style 'servers'. They are meant for
telecom operators, etc. I use one for a qmail/courier imap server for a
few hundred users, and it's ok. I definitely would not consider it a
'high end' solution. Yes, Solaris is slow, but it's also stable. Sort of
like an old John Deere tractor ;-). I wouldn't use one of these for a
million message per day list, although a cluster of them might be ok.

Mike



Re: SMTPAuth and mysql patch??

2001-05-10 Thread Mike A. Sauvain

 The question still exists, becase these list i amazing small,
 maybe we should hang in the qmail-linglist...

 if you /or my, have any info, i'm happy if we share

 until now, i cant use, i tryed to patch smtpd, but
 it acts without prompting for any informations, so
 im not sure, if the smtpd or the checkpassword fails.

ok - I got it working - the qmail-mysql patch for
checkpassword and qmail -

I just added the patch for checkpassword-0.90 nd
then added /bin/checkpassword /bin/true to the end
of /var/qmail/bin/qmail-smtpd in the smtp server
startup script and BANG - works :)

Where are you gettin stuck ??

Tonino

-
thats the problem, im not really sure..

perl -e 'printf tst\@mydomain.ch\0test\0' | /bin/checkpassword env
30
result my data in mysql, so checkpassword-90 is working with mysql

my start file looks
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
/usr/local/bin/tcpserver -R -H -v -p -x /etc/tcpcontrol/smtp.cdb \
 -u $QMAILDUID -g $NOFILESGID 0 smtp
/server/apps/qmail/bin/qmail-smtpd /bin/checkpassword /bin/true \
/server/apps/qmail/bin/splogger smtpd \
/server/apps/qmail/rc 

it tryed also to put my FQDN beetween qmail-smtp and checkpassword
no affects, if i telnet my self on port 25, it connects me to
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 myFQDN ESMTP

so, im not sure if qmail-smtpd patch failed to compile in...
my used version are:
checkpassword-0.90
checkpassword-0.90-mysql-0.6.6.patch
qmail-smtpd-auth-0.30

Much thanks ahead for any ideas .






Re: Huge Maildirs?

2001-05-08 Thread Mike Jackson

List Monkey wrote:
 
 Does anyone have experience with HUGE Maildir's?  I have an account that
 is subscribed to a lot of high traffic mailing lists (like this one), and
 I want to keep all the messages on my server.
 
 I have seen grumblings, but no concrete info, on what may happen when your
 Maildir contains 10,000 or 100,000 or 1,000,000 messages?
 
 I am running 2.2.* Linux
 
 Thanks.

Hi,
 I have one account that has 248,881 messages in it's maildir/new
directory, and receives many messages every day. Don't ask me what the
account is for because IMHO it's useless, but I will say that nobody
reads it with an email client. The OS is Solaris 8, platform is Sun
Netra T105 (sparc), filesystem is UFS. I'm using Qmail-LDAP, which
shouldn't really perform any differently in this respect than the stock
Qmail, and there are no problems constantly delivering messages to this
account. 

 The thing you need to keep an eye on is your available inodes. I have a
36GB SCSI external disk mounted to /var/qmail/maildirs and this is how
it looks now. By the looks of things below, I'll run out of disk space
long before I run out of inodes.

$ df -i
FilesystemInodes   IUsed   IFree IUse% Mounted on
/dev/dsk/c0t15d0s5   4266304  728388 3537916   17% /var/qmail/maildirs

$ df -k
Filesystem   1k-blocks  Used Available Use% Mounted on
/dev/dsk/c0t15d0s535292880  14155186  20784766  41%
/var/qmail/maildirs

Regards,
Mike



Migrating qmail between hosts

2001-05-06 Thread Mike Hodson

Hello
I am undertaking a project to migrate my domain (mystica.cx) between 2 servers.
What are the recommended steps (aside from compilation / configuration of
qmail/vpopmail/courier imap,  on the second server)to preserve emails and not
lose any in the process? I use imap almost exclusively, but other users use
pop3 for email. The domain is a vpopmail virtual domain on the first server,
so can I just tar/bz2 up the hosting dir, or should I load rsync for the next
few days to keep any mail that shows up on the first server going to the second
while DNS propagates?

Any hints will be helpful
Thanks

-- 
Mike Hodson [EMAIL PROTECTED]




daemontools won't compile

2001-04-25 Thread Mike Jackson

Hi,
 Box is Mandrake 8.0 final, kernel 2.4.3-20mdk. I get the following
error when trying to compile daemontools. It also happened to me on a
Redhat 7.1 box. I think it's something gcc version 2.96 2731
related. Somebody please help me patch this file so it will compile.

This is the error I am receiving:

./compile tai64nlocal.c
tai64nlocal.c: In function `main':
tai64nlocal.c:58: warning: assignment makes pointer from integer without
a cast
tai64nlocal.c:59: dereferencing pointer to incomplete type
tai64nlocal.c:61: dereferencing pointer to incomplete type
tai64nlocal.c:63: dereferencing pointer to incomplete type
tai64nlocal.c:65: dereferencing pointer to incomplete type
tai64nlocal.c:67: dereferencing pointer to incomplete type
tai64nlocal.c:69: dereferencing pointer to incomplete type
make: *** [tai64nlocal.o] Error 1

Here are lines 59-69 from tai64nlocal.c
---
out(num,fmt_ulong(num,(unsigned long) (1900 + t-tm_year)));
out(-,1);
out(num,fmt_uint0(num,(unsigned int) (1 + t-tm_mon),2));
out(-,1);
out(num,fmt_uint0(num,(unsigned int) t-tm_mday,2));
out( ,1);
out(num,fmt_uint0(num,(unsigned int) t-tm_hour,2));
out(:,1);
out(num,fmt_uint0(num,(unsigned int) t-tm_min,2));
out(:,1);
out(num,fmt_uint0(num,(unsigned int) t-tm_sec,2));


Thanks,
Mike



Re: RFC 2821 and 2822

2001-04-25 Thread Mike Jackson

Matthew Patterson wrote:
 
 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?

It could literally take years for RFCs to become standards, if they ever
do. You don't have to worry too soon, I think.

 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'.

Microsoft is the standard deviation from the norm. err the standards
deviator from seattle. well, you get the point.

mike



put a whole domain 'on hold'

2001-04-22 Thread Mike K



Hi all,

I did a search from the archive to find no info on 
this...

I run a webhosting company. When a client 
doesn't pay, we simply move their public_html directory and put an ad for our 
services in its place. However, many times, I have noticed that for the 
month of 'on hold' status, these people continue to utilize their 
e-mail.

We've got vpopmail running right now.

My initial thoughts were to simply change the pop3 
account passwords, but I honestly can't sit here changing 200 passwords. 
Plus, changing them back would be a b. would be not fun.

Is there a way that I could set a whole domain to a 
'hold' status, so all of the mail waits for them, until the hold is 
removed?

If so, will this method also prevent people who 
have their mail simply forwarded to another address from getting their mail (it 
should)?

Thanks for your time.

-Mike


Re: aliases issue !!!

2001-04-22 Thread Mike Jackson

David Young wrote:
 
 Could he do something like use a .qmail file to pipe the message into a
 script that would examine headers and then only deliver if the message was
 from the local domain? I guess that the headers could be forged easily
 enough to get around this, but at least if could be a plausible attempt.


Sure, it might reduce the number of unwanted messages, but there is no
guarantee it will stop everything. It's not much more difficult to set
up ezmlm and do it the right way. Aliases are low tech and should not be
used for more than 2-3 recipients, imho. ;-)

Mike



Re: aliases issue !!!

2001-04-21 Thread Mike Jackson

 [EMAIL PROTECTED] wrote:
 
 Hello all ,
 
 I still didn't get an answer for my question about aliases defined in
 /etc/aliases regarding their vulnrabilty to outside world .
 
 I am not intersted in letting people use certain aliases in
 /etc/aliases from the outside and maby even restrict the access to
 these aliases to certain users only .

 How can I do cause now  everyone can use these aliases like
 [EMAIL PROTECTED] which is a spam hole .
 
 Thanks ,
 Nissim .

You can't restrict who can use aliases. Anyone who can send mail to your
system can send mail to all aliases that exist on the system. If you
convert the aliases to Ezmlm lists, you can restrict posting to
subscribers and even moderate lists.

Mike



Re: How to re-direct mail based on target domain

2001-04-21 Thread Mike Jackson

David Means wrote:
 
 AOL will not accept mail from my server because I have a dynamic
 IP address.  How do I configure qmail to send messages destined for
 AOL to my ISP?
 
 Thanks,
 
 David

man qmail-remote. Set up an smtproute something like:

aol.com:your-isps-smtp-server


Mike



relay-ctrl ?

2001-04-08 Thread Mike A. Sauvain

hello all, i'm trying installing relay-ctrl.

- how the qmail start files for smtp should be modified ?
- what are the the minimal cfg of relay-ctrl ?

somone has a better instruction page than the script owner?


...thanks ..mike





Re: relay-ctrl ?

2001-04-08 Thread Mike A. Sauvain

my qmail smtp start script looks
where (and how) i should putt them in line?

thanks4 passion..*

#!/bin/sh

case "$1" in
'start')
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /server/apps/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -R -H -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD"
\
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp
/server/apps/qmail/bin/qmail-smtpd 21 | \
/server/apps/qmail/bin/splogger smtpd 
/server/apps/qmail/rc
 ;;
'stop')
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
- Original Message -
From: "Frank Tegtmeyer" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 08, 2001 6:26 PM
Subject: Re: relay-ctrl ?


"Mike  A. Sauvain" [EMAIL PROTECTED] writes:

 somone has a better instruction page than the script owner?

What's wrong with:

---
- Add the following line to a file in /etc/cron.d.  This assumes a
  recent version of vixie cron.  Other versions of cron may use
  different syntax, and you may need to edit root's crontab.
* * * * * /usr/sbin/relay-ctrl-age

How to use with qmail-pop3d:

- Insert the program "relay-ctrl-allow" between your checkpassword
  program and qmail-pop3d in your invocation of tcpserver for the POP
  service.
-

There is nothing more to say about it. Please read the man pages of the
included programs to understand how it all works togther.

Regards, Frank




Hide firewall ?

2001-04-08 Thread Mike A. Sauvain

hyall, i need to hide the internal ip of my mailserver,
it see them only in messages, where i send and recive on my host:

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 2817 invoked from network); 9 Apr 2001 02:40:18 -
Received: from 62.x.x.x (HELO client) ()
  by 192.168.1.20 with SMTP; 9 Apr 2001 02:40:18 -
 ^ ^^ ^^^
how i can change them ?

thanks for advice ..*




Re: Hide firewall ?

2001-04-08 Thread Mike A. Sauvain

:allow,TCPLOCALHOST="62.2.200.59"
  ^ ^^^ ^^ ^^ ^^^ 

was the string i searched...*








SMTP Auth with MySQL ?

2001-04-07 Thread Mike A. Sauvain

hello all, i use qmail with mysql support.
yesterday my smal mailserver was used to spawn, now i
need to implement one smtp auth, like pop before smtp (BUT 
WITH MYSQL),  or any other advices for smtp auth and/or
encryption that works with mysql ? 

thanks4 your passion
mike




How to delete Queues?

2001-04-07 Thread Mike A. Sauvain

hello all, i was used as spawn server, how i can delete the 
queues are waiting for sending ?...


thanks4 your proposal
mike..




Re: Syncing IMAP mailboxes

2001-03-28 Thread Mike Jackson

Gavin Cameron wrote:
 
 Hi,
 
 Anybody out there know of a tool that will allow me to sync an IMAP mailbox
 that contains about 25 additional IMAP folders apart from the INBOX???
 
 I've tried isync but that will only do one folder at a time. I'd like a tool
 that I can point to my INBOX and from there let it sync everything.
 
 Thanks in advance,
 Gavin

- Fetchmail, pay close attention to the switches to leave the mail on
the server.
- Netscape Messenger
- Outlook Express
- Eudora

Mike



users/assign Problems! Please Help.

2001-03-27 Thread Mike Jackson

Hi,
 I am trying to sort the 2000 or so .qmail-* files that I have in
/var/qmail/alias. I have created three subdirectories with the same
alias:qmail ownership:

/var/qmail/alias/system
- will contain system aliases such as postmaster, root, toor, manager,
etc

/var/qmail/alias/ezmlm
- will contain ezmlm aliases

/var/qmail/alias/normal
- will contain everything else

 I want to use the users/assign file to assign the new locations to
these .qmail-* files. The benefits of organizing my aliases into
different directories are quite large to me, since I want to write some
web apps for users to list and possibly manipulate aliases. Only certain
users could change system aliases, and certain other users could change
normal aliases. You get the point...

 My first test of just the system aliases got me into really big trouble
on my test system. It took me about an hour to repair the damage caused.
Read below to see what I did, and if you can tell me where I am going
wrong.

- copied the system aliases into their new location and made sure the
permissions were correct.
- wrote a users/assign file and ran qmail-newu.

uid=7790(alias)
gid=2107(qmail)

/var/qmail/users/assign
---
=bin:alias:7790:2107:/var/qmail/alias/system:::
=daemon:alias:7790:2107:/var/qmail/alias/system:::
=decode:alias:7790:2107:/var/qmail/alias/system:::
=dumper:alias:7790:2107:/var/qmail/alias/system:::
=games:alias:7790:2107:/var/qmail/alias/system:::
=ingres:alias:7790:2107:/var/qmail/alias/system:::
=mailer-daemon:alias:7790:2107:/var/qmail/alias/system:::
=manager:alias:7790:2107:/var/qmail/alias/system:::
=news:alias:7790:2107:/var/qmail/alias/system:::
=nobody:alias:7790:2107:/var/qmail/alias/system:::
=operator:alias:7790:2107:/var/qmail/alias/system:::
=postmaster:alias:7790:2107:/var/qmail/alias/system:::
=root:alias:7790:2107:/var/qmail/alias/system:::
=system:alias:7790:2107:/var/qmail/alias/system:::
=toor:alias:7790:2107:/var/qmail/alias/system:::
=uucp:alias:7790:2107:/var/qmail/alias/system:::
=uucp-default:alias:7790:2110:/var/qmail/alias/system:::
.

 The result of this action what that file ownerships of my entire qmail
install got changed to have an owner of alias, group of root. All of
qmail/queue and qmail/bin were completely hosed. Qmail wouldn't even
accept messages because it couldn't write to the queue. This took me
about an hour of comparing between another functioning system to get all
the file permissions and owners/groups correct again. 

 How is qmail/bin/qmail-newu command changing the
group/owner/permissions of my entire qmail installation? This is pretty
unforgiving if a person new to this technique makes some mistake in the
assign file, like I obviously have. I just couldn't believe that it
could even do this. 

 If somebody knows where I messed up, please reply to me and the list.

Thanks,
Mike



test, it appears that my postings are not arriving

2001-03-27 Thread Mike Jackson

test, disregard



Re: migrating from MS Exchange to q-mail

2001-03-27 Thread Mike Jackson

"Tuchyna, Roman" wrote:
 
 Hello,
 does anybody have any experience with migrating from MS-Exchange to q-mail
 on Linux ?
 
 Thank you in advance!
 Best regards,
 
 Roman Tuchyna
 
   _
   Roman Tuchyna   ST Slovakia, s.r.o.
   phone: +421769258111, +421769258109 Polianky 5
   fax: +421769258212  844 04 Bratislava
   E-mail:[EMAIL PROTECTED] Slovakia
   http://www.snt.sk
   _
 



Subject: 
   Finally a tool to convert Outlook to mbox
   Date: 
   Fri, 16 Mar 2001 17:20:43 +0200
  From: 
   Mike Jackson [EMAIL PROTECTED]
To: 
   [EMAIL PROTECTED], [EMAIL PROTECTED]




Finally there is a tool to convert outlook mailstores to unix format
(mbox). One downside is that it only runs in windows (they get ya comin'
and goin'). It could be modified to alternatively output to maildir, or
the mbox2maildir script could just be ran afterwards as part of the mail
server upgrade process. 

From the KDE Kmail pages at:  http://kmail.kde.org/download.html

out2unix --- http://www.active-com.de/out2unix/

Have Fun!
Mike



Re: migrating from MS Exchange to q-mail

2001-03-27 Thread Mike Jackson

"Tuchyna, Roman" wrote:
 
 O.K., but how can that tool help it the mailboxes are on the MS-Exchange
 server and users are using just JAVA GUI of MS-Exchange ?
 
 Thank you again!
 Roman
 

That is left as an exercise for the motivated administrator.

Mike



Finally a tool to convert Outlook to mbox

2001-03-16 Thread Mike Jackson

Finally there is a tool to convert outlook mailstores to unix format
(mbox). One downside is that it only runs in windows (they get ya comin'
and goin'). It could be modified to alternatively output to maildir, or
the mbox2maildir script could just be ran afterwards as part of the mail
server upgrade process. 

From the KDE Kmail pages at:  http://kmail.kde.org/download.html

out2unix --- http://www.active-com.de/out2unix/

Have Fun!
Mike



Edit error messages

2001-03-15 Thread Mike A. Sauvain

any body know, where i should hack the source to manipulate bounce
 other messages text?

...thx.. mike




Edit error messages

2001-03-14 Thread Mike A. Sauvain

hello all, it haves some possibilitis to change the error messages?

would be great because my users ditn really understand gibberish
informations ;=)

...thanks4all




Re: Scanning qmail LOGs ~ cronjob...

2001-03-13 Thread Mike Jackson

Jesse Sunday wrote:
 
 Sort of off topic, I know...
 
 Someone please enlighten me as to how I would have a cron job scan my
 /var/log/maillog for a sting (or more)
 
 /usr/local/sbin/postfix check; egrep '(reject|warning|error|fatal|panic):'
 /var/log/maillog
 
 ^^ Is a cron job I have now...   would it be similar???
 
 grep /var/log/maillog (words) | mail -s "Yack" [EMAIL PROTECTED]  ???  how
 would I do it???
 
 Thanks!!!
 
 Jesse
 
 PS I am not asking how to install cron jobs, just what string would I use...


Write a shell or perl script that does what you want, and run the script
from cron. It would seem to make alot more sense...

Mike



Force Queues?

2001-03-13 Thread Mike A. Sauvain

hy all, i have some mails in my que

#qmail/bin/qmail-qstat 
messages in queue: 8
messages in queue but not yet preprocessed: 0

how i can fore qmail, to resend them ?..


thanks for any ideas... mike




Re: Force Queues?

2001-03-13 Thread Mike A. Sauvain

Thanks, Sean solved my quest with best ;)

 killall -ALRM qmail-send 

cu all..





cant recive mail

2001-03-05 Thread Mike A. Sauvain

if i send from my host to my self domains it works, but if i try to send
from
another domain than my, to my virtual domains i recive follow message:

[EMAIL PROTECTED] ; Action: Failed; Status: 5.1.1 (bad destination
mailbox address)
Remote MTA clean-dress.ch: SMTP diagnostic: 550 Unable to relay for
[EMAIL PROTECTED]

what's ugly, on my main domain (edv-support.ch) i recive all from
anybody

my control files:
-rw-r--r--   1 root root4 Feb 26 02:24
concurrencyincoming
-rw-r--r--   1 root root   11 Feb 26 02:24 defaultdelivery
-rw-r--r--   1 root root  102 Mar  5 04:03 locals
-rw-r--r--   1 root root   20 Mar  5 04:04 me
-rw-r--r--   1 root root  102 Mar  5 04:03 rcpthosts
-rw-r--r--   1 root root  193 Feb 26 02:24 sqlserver

in locals /same on rcpthost:
mail.edv-support.ch
edv-support.ch
mail.onesworld.ch
onesworld.ch

in me:
mail.edv-support.ch

-- This domain works !:
mail:~ # dig mail.edv-support.ch

;  DiG 8.2  mail.edv-support.ch
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;  mail.edv-support.ch, type = A, class = IN

;; ANSWER SECTION:
mail.edv-support.ch.1D IN A 62.2.200.59

;; AUTHORITY SECTION:
edv-support.ch. 1D IN NS62.2.200.59.edv-support.ch.

;; Total query time: 2 msec
;; FROM: mail to SERVER: default -- 192.168.1.61
;; WHEN: Mon Mar  5 15:31:19 2001
;; MSG SIZE  sent: 37  rcvd: 79


admin:~ # dig mx edv-support.ch

;  DiG 8.3  mx edv-support.ch
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;  edv-support.ch, type = MX, class = IN

;; AUTHORITY SECTION:
edv-support.ch. 1D IN SOA   ns1.edv-support.ch.
msauvain.edv-support.ch. (
10844   ; serial
3H  ; refresh
15M ; retry
1W  ; expiry
1D ); minimum


;; Total query time: 2 msec
;; FROM: admin to SERVER: default -- 192.168.1.61
;; WHEN: Mon Mar  5 15:36:08 2001
;; MSG SIZE  sent: 32  rcvd: 81

 This domain dosent works:
# dig mx onesworld.ch

;  DiG 8.3  mx onesworld.ch
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;  onesworld.ch, type = MX, class = IN

;; AUTHORITY SECTION:
onesworld.ch.   1D IN SOA   ns1.EDV.Support.ch.
one.onesworld.ch. (
2001021435  ; serial
3H  ; refresh
15M ; retry
1W  ; expiry
1D ); minimum


;; Total query time: 2 msec
;; FROM: admin to SERVER: default -- 192.168.1.61
;; WHEN: Mon Mar  5 15:38:30 2001
;; MSG SIZE  sent: 30  rcvd: 86

 # dig mail.onesworld.ch

;  DiG 8.3  mail.onesworld.ch
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUERY SECTION:
;;  mail.onesworld.ch, type = A, class = IN

;; ANSWER SECTION:
mail.onesworld.ch.  1D IN A 62.2.200.59

;; AUTHORITY SECTION:
onesworld.ch.   1D IN NS62.2.93.153.onesworld.ch.

;; Total query time: 3 msec
;; FROM: admin to SERVER: default -- 192.168.1.61
;; WHEN: Mon Mar  5 15:39:22 2001
;; MSG SIZE  sent: 35  rcvd: 77
---

thanks again, for all solutions.. mike






cant recive mails

2001-03-04 Thread Mike A. Sauvain

if i send from my host to my self it works, but if i try to send from
another domain to my virtual
domains i recive follow message:

[EMAIL PROTECTED] ; Action: Failed; Status: 5.1.1 (bad destination
mailbox address)
Remote MTA clean-dress.ch: SMTP diagnostic: 550 Unable to relay for
[EMAIL PROTECTED]

my control files:
-rw-r--r--   1 root root4 Feb 26 02:24
concurrencyincoming
-rw-r--r--   1 root root   11 Feb 26 02:24 defaultdelivery
-rw-r--r--   1 root root  102 Mar  5 04:03 locals
-rw-r--r--   1 root root   20 Mar  5 04:04 me
-rw-r--r--   1 root root  193 Feb 26 02:24 sqlserver

in locals:
mail.mynewdomain.ch
mynewdomain.ch
mail.virtualdomain.ch
virtualdomain.ch

in me:
mail.mynewdomain.ch

rcpt host i limit with tcpserver

- has any one some idea?
- could it be, because i use sql support ?

thanks, for all solutions.. mike





Re: Need Arguments for qmail

2001-02-21 Thread Mike Jackson

Jason Radford wrote:
 
  Recently switching from sendmail to qmail I have observed the difference in
  architecture between the two.  The modularization of qmail appeals to me
  in both simplicity and elegance, and it's superiority was evident in my
  smtp benchmarking between the two MTAs.  The only thing I miss from an admin
  standpoint is the readability of sendmail's logs vs. qmail/multilog.
 
  While I fully understand the justification of qmail's logging structure
  because of it's modularization, I am still left somewhat longing for a
  more readable logfile.  Possibly over time I will develop a
  better skill for reading these logs, but for now that's my only concern
  since switching.  There may be tools to aid in this, however out of
  the box this doesnt seem to be the cause.
 

Hi,
 One thing that makes the logfile a bit easier to read is to change the
time to human readable format like this:

tail -f /var/log/qmail/current | tai64nlocal

or this

cat /var/log/qmail/current | tai64nlocal | less

If you've installed the daemontools? package, then you should have
tai64nlocal in /usr/local/bin. It would be nice to have a script that
you could look at log files with, that would put the delivery in
subsequent lines and strip out some of the garbage. That shouldn't be
too hard to write for a good perl coder...

Regards,
Mike



  1   2   3   >