Re: about setting up the disklist.conf

2000-12-12 Thread Albert Hopkins

On Tue, Dec 12, 2000 at 11:37:00PM -0500, John R. Jackson wrote:
> >   In my disklist.conf, I have set up the following:
> >
> >localhost /etc comp-root-tar
> >localhost /home comp-root-tar
> >202.85.165.88 /home comp-root-tar=20
> 
> I recommend you put a real host name in there instead of "localhost".
> If you ever need to move to a new server, that name will be wrong.

The reason I use localhost instead of the host name is that my host name 
points to the ethernet interface and localhost points to the loopback 
interface.  Therefore if I use the host name backup packets to the local 
host are going out on the ethernet, which is ineficient.  But if I am 
wrong about this let me know.

 -- 
 Albert Hopkins
 Sr. Systems Specialist
  Dynacare Laboratories 
  [EMAIL PROTECTED]




Re: Remove a message

2000-12-12 Thread ari

ok, but with qmHandle I need to stop qmail (send and smtp)...


- Original Message -
From: <[EMAIL PROTECTED]>
To: "Ari Arantes Filho" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 13, 2000 12:02 AM
Subject: Re: Remove a message


> Ari,
>
> > How can I stop this error? Is the way I'm trying to delete message ok?
>
> I think you're re-inventing the wheel. Checkout qmHandle, on
www.qmail.org.
>
> cheers,
>
> Andrew.
>
>
>




Re: Remove a message

2000-12-12 Thread andrew

Ari,

> How can I stop this error? Is the way I'm trying to delete message ok?

I think you're re-inventing the wheel. Checkout qmHandle, on www.qmail.org.

cheers,

Andrew.





Re: Email all with Qmail

2000-12-12 Thread andrew

Hi,

I don't still have the original post "Email all with Qmail" here, but methinks the
"qmail-popbull" might be a good alternative take on this issue (Advantages: Conserves
i-nodes, "Instant" delivery. Disadvantages: More work during POP3 session, tiny extra
amount of admin) - from www.qmail.org as usual...

cheers,

Andrew.




add account name after X-foo:

2000-12-12 Thread Murakami, Keiko

I'm  beginner for qmail and I have one question.
qmail can add sender's mail address after user define header X-foo: ?
EX:
X-any: [EMAIL PROTECTED]




Re: alias account problem, pls help!

2000-12-12 Thread mok swee loong

> > and i have no problem with all the alias accounts all this while. BUT
one
> > particular alias account does give me this weird problem!
> > when someone send mail to this alias account - some of the users in this
> > list will receive MULTIPLE copies of the same mail, and some dun receive
any
> > copy at all!!
>
> > and in the log i found something suspicious:
>
> > starting delivery 74: msg 32174 to local
> > [EMAIL PROTECTED]
> > status: local 1/10 remote 0/20
> > delivery 74: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
> > status: local 0/10 remote 0/20
>
> > - obviously an alias account doesnt have any real maildir, any idea what
> > could cause this error?
>
> What's in /home/vpopmail/domains/mydomainname.com/.qmail-aliasname? Are
> there no duplicates, and do all Maildirs exist and have correct
> permissions?

no : ) i already make sure there are no duplicate entry, and yup, all have
valid Maildirs and have correct permission.

> > - and this particular alias acount contains 65 entries, is the biggest
alias
> > in my setup, could this be a problem?
>
> Only to manage them. If you have that many subscribers you might want to
> look into using ezmlm-idx with vpopmail.

Thanks for the opinion, will try the ezmlm-idx.

Thanks vince!

> Vince.
>




Re: QMAIL SMTP OPEN RELAY

2000-12-12 Thread defender of the protocol

just out of curiosity, why would you want to do that?

- jeremy

At 06:20 PM 12/12/2000 -0600, joshua stein wrote:
>Jimmy Newell wrote:
> > How do I completely open up my qmail smtp server to be a smtp relay?
>
>don't.
>
> > I've searched the archives is deleting the
> > /var/qmail/control/rcpthosts file all I need to do?
>
>no.




Re: QMAIL SMTP OPEN RELAY

2000-12-12 Thread Frank Precissi

Unless you are running the server on an internal LAN, I *high*
discourage you from opening up a smtp relay.. Not only will you be
frowned upon by the internet community for being a spam-haven, but you
and your ISP could be put on the RBL (which is very bad)..  But to
answer your question, deleting the rcpthosts should do the trick.

Frank


Jimmy Newell wrote:

> How do I completely open up my qmail smtp server to be a smtp relay?
> I've searched the archives is deleting the
> /var/qmail/control/rcpthosts file all I need to do? What are the
> symptoms of not compiling the DNS patch,  I don't remember if I
> patched it.

--
-=-=-=-=-=-8<-=-=-=-=-=-
'I sense much NT in you. NT leads to blue screen, blue screen leads to
downtime, downtime leads to much suffering.' --- unknown linux jedi

http://www.vadept.com/pgp-public.txt






Re: Attachment-based relaying

2000-12-12 Thread Felix von Leitner

Thus spake Brett Randall ([EMAIL PROTECTED]):
> > Use an smtproute and write a small filter that looks at the size and
> > injects the mail at the proper server.
> Need I say that is kind of obvious... In fact that's basically
> condensing my original e-mail into a sentence (well done!) But HOW is
> what I asked.

There is no built-in mechanism to filter all incoming email, but there
are several virus scanner packets you might want to look at.

Or you could patch your smtpd so that it calls filter-inject.pl instead
of qmail-inject.  You have to write filter-inject yourself, though.

Be creative.

Many people have thought about doing input and/or output filtering with
qmail, but noone has done a generic package AFAIK.

Felix



Re: QMAIL SMTP OPEN RELAY

2000-12-12 Thread Brett Randall

On Wed, 13 Dec 2000, [EMAIL PROTECTED] wrote:

> How do I completely open up my qmail smtp server to be a smtp relay?
> 
> I've searched the archives is deleting the
> /var/qmail/control/rcpthosts file all I need to do?

And make sure that you aren't passing tcpserver a -x argument (checks
to make sure the originating IP address is allowed to relay)
-- 
  B r e t t  R a n d a l l
   http://xbox.ipsware.com/
brett  _ @ _  ipsware.com



Re: QMAIL SMTP OPEN RELAY

2000-12-12 Thread joshua stein

Jimmy Newell wrote:
> How do I completely open up my qmail smtp server to be a smtp relay?

don't.

> I've searched the archives is deleting the
> /var/qmail/control/rcpthosts file all I need to do?

no.



QMAIL SMTP OPEN RELAY

2000-12-12 Thread Jimmy Newell



How do I completely open up my qmail smtp server to 
be a smtp relay?
 
I've searched the archives is deleting the 
/var/qmail/control/rcpthosts file all I need to do?
 
What are the symptoms of not compiling the DNS 
patch,  I don't remember if I patched it.


Re: How to configure Qmail to Received Mail in place of another domain temporaly ?

2000-12-12 Thread joshua stein

[EMAIL PROTECTED] wrote:
> How I can config my qmail server to "temporaly" ( 1-2 hours )
> accept all the mail for another domain, And after that 
> "relaying" theses email to the good server (now up and runnig!).

put the domain in rcpthosts, but not locals.  make sure it's also a
secondary mx for the domain.  the server will accept the email but
continually try to send the email to the original server until it's back
up.

  -j



How to configure Qmail to Received Mail in place of another domain temporaly ?

2000-12-12 Thread yves

Hello,

 How I can config my qmail server to "temporaly" ( 1-2 hours )
 accept all the mail for another domain, And after that 
 "relaying" theses email to the good server (now up and runnig!).

Thanks

Yves



Re: Attachment-based relaying

2000-12-12 Thread Brett Randall

On Tue, 12 Dec 2000, [EMAIL PROTECTED] wrote:

> Use an smtproute and write a small filter that looks at the size and
> injects the mail at the proper server.

Need I say that is kind of obvious... In fact that's basically
condensing my original e-mail into a sentence (well done!) But HOW is
what I asked. 'Use an smtproute' - I presume you mean the
smtproutes file? OK I can dynamically create that (I think) with my
filter, but where do I place my filter in the system? And I don't
think it is overly safe changing smtproutes on a per-email basis. If
concurrencyremote was only 1, then OK. But since multiple processes
could be reading the file at the one time, that isn't overly safe.

The other key word I see you use is 'inject'. OK AFAIK qmail-inject
doesn't have an option to send the mail using a specific server. The
only way I could see to do this is send all e-mails that the filter
passes to a Maildir via NFS, and the server on which the e-mail is now
located has a cron job run every few minutes to process the Maildir
and queue it all locally, with this machine having a different
smtproute.

But surely there has to be an easier (and more reliable) method than
this that I can use...

Thanks for your help
-- 
  B r e t t  R a n d a l l
   http://xbox.ipsware.com/
brett  _ @ _  ipsware.com



Re: Re: qmail, linux and large scale environment

2000-12-12 Thread Henning Brauer

Am Montag, 11. Dezember 2000 23:19 schrieb [EMAIL PROTECTED]:
> I need to use ldap for the authentication.  Is
> there an LDAP attribute that I could use such that qmail would check it for
> the location of the user's home mailstore?  (say if I split the user b se
> on to 2 back end stores).  

Just use the qmail-ldap patch from www.nrg4u.com. It's great, has clustering 
support (also working great at least on OpenBSD), has some other features 
important for big servers - check it out.
Btw, running _really_ loaded server on linux is not such a good idea. You 
might wan't to check *BSD.


-- 

Henning Brauer |  BS Web Services
Hostmaster BSWS|  Roedingsmarkt 14
[EMAIL PROTECTED] |  20459 Hamburg
www.bsws.de|  Germany



Re: Attachment-based relaying

2000-12-12 Thread Felix von Leitner

Thus spake Brett Randall ([EMAIL PROTECTED]):
> Hi all, I did a bit of a search in the archives but with no answer to
> this interesting question.

> My boss wants to relay all outgoing mail which has large attachments
> through our other, less used, connection to the Internet. I don't mind
> placing another mail server on that link, but what I need to know is
> how to intercept mail that our users send through our mail server,
> check the size of the mail, and if it exceeds a certain size (say,
> 5mb), then it relays the mail to another qmail relay, otherwise the
> current relay treats it as normal outgoing e-mail.

> Does anyone have ideas as to how I would implement this? TIA

Use an smtproute and write a small filter that looks at the size and
injects the mail at the proper server.

Felix



Re: Qmail and RFC1894 - Delivery Status Notifications

2000-12-12 Thread Peter van Dijk

On Tue, Dec 12, 2000 at 09:56:55AM -0500, James Morgenstein wrote:
[snip how to get qmail to use DSN]

Don't use DSN. VERP provide a much more reliable way of detecting
bounces. qmail supports VERP natively, and any remote hosts need not
even support it.

If you *really* want DSN, any available patches should be listed on
www.qmail.org.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me



Re: Email all with Qmail

2000-12-12 Thread Markus Stumpf

On Tue, Dec 12, 2000 at 09:21:55PM +0100, Markus Stumpf wrote:
> # awk -F: '{print $1}' > ~alias/.qmail-allusers
> # chmod 644 ~alias/.qmail-allusers

*ARGL* This should read
# awk -F: '{print $1}' /etc/passwd > ~alias/.qmail-allusers
# chmod 644 ~alias/.qmail-allusers

*sigh*
Sorry,  \Maex



Re: Amavis + MySQL on Qmail :)

2000-12-12 Thread Rainer Link

"Antonio S. Martins Jr." wrote:
>There are someone using Amavis with Qmail? I had a Qmail+MySQL server
> and want to put Amavis on it... I had tryed, and aparently all are working
> but the load of the server start to increase until the watchdog process
> reboot it!
> 
>Without Amavis all work ok! I'll begin to debug what are doing wrong.
> Thanks for any info!

Which version of AMaViS do you use? AMaViS 0.2.1 or AMaViS-Perl-10? How
high is your server load?!

Btw, we do run mailing lists for AMaViS (see www.amavis.org). As our
time is limited, we do not read all the mailing lists/newsgroups for the
supported MTAs on a regular basis. But of course we read our own mailing
lists :-)

best regards,
Rainer Link

-- 
Rainer Link  | Student of Computer Networking
[EMAIL PROTECTED] | University of Applied Sciences, Furtwangen, Germany   
rainer.w3.to | http://www.computer-networking.de/



Re: FreeBSD, Qmail, and NFS

2000-12-12 Thread Delanet Administration

Markus Stumpf wrote:

> [ Cc: reduced to this list ]
>
> On Mon, Dec 11, 2000 at 06:35:08PM -0500, Delanet Administration wrote:
> > where the mail server is unable to read the contents of user directories
> > (the NFS server can see them fine). At these times the only fix has been
> > to move the contents of the directory into a temporary location and
> > delete the directory, add it back and move the files back. This happens
> > once every 2 or 3 months.
>
> Hmmm ... never seen this.
> If you try to do something like a "ls" in that directory, do you get
> any errors? Timeout?
>

It locks up the session and requires me to kill that shell completely, leaving ls
still in memory hung. Likewise, qmail leaves multiple copies of vdelivermail (I'm
using vpopmail for virtual domains) stuck in memory unable to exit and I end up
having to reboot to clear them out. For busy customer accounts I've seen it tie up
400+ instances of it very quickly. This happens to any process that tries to
access the directory during that time.

I've since added soft mount and intr options to the nfs mounts which so far
appears to have fixed the processs from getting hung in memory. But that does not
explain to me how or why nor does it sound like the best solution, only a way to
avoid it which does not sit well with me.

> In FreeBSD a lot of NFS bugs have been fixed since the 3.2 Release and
> - from my feeling, no facts ;-) - it has become more stable and reliable.
>
> \Maex
>
> --
> SpaceNet AG   |   http://www.Space.Net/   | Stress is when you wake
> Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you
> Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
> D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.

--

Stephen Comoletti - Network Engineer / Systems Administrator
Delanet Inc. http://www.delanet.com
Frontline Communications Corp. http://www.fcc.net
phone: (302) 326-5800 fax: (302) 326-5802 x312
262 Quigley Blvd, New Castle, DE 19720, USA




 S/MIME Cryptographic Signature


Re: FreeBSD, Qmail, and NFS

2000-12-12 Thread Markus Stumpf

[ Cc: reduced to this list ]

On Mon, Dec 11, 2000 at 06:35:08PM -0500, Delanet Administration wrote:
> where the mail server is unable to read the contents of user directories
> (the NFS server can see them fine). At these times the only fix has been
> to move the contents of the directory into a temporary location and
> delete the directory, add it back and move the files back. This happens
> once every 2 or 3 months.

Hmmm ... never seen this.
If you try to do something like a "ls" in that directory, do you get
any errors? Timeout?

> This leads to the next question, is file locking necessary under Qmail
> when using the Maildir style directory structure for the mail store?

No, Maildirs are designed to work without locking.
See 
$ man 5 maildir
and there the [RELIABILITY ISSUES] section:

   [ ... ] In contrast, in maildir, no locks are ever necessary.
   [ ... ] maildir works without trouble over NFS

qmail-pop3d doesn't use locking either and there is no prevention for
simultaneous access to the same Mailbox.

In FreeBSD a lot of NFS bugs have been fixed since the 3.2 Release and
- from my feeling, no facts ;-) - it has become more stable and reliable.

\Maex

-- 
SpaceNet AG   |   http://www.Space.Net/   | Stress is when you wake
Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Re: qmail sending to local users before a piped alias?

2000-12-12 Thread Markus Stumpf

On Fri, Dec 08, 2000 at 01:52:29PM -0500, Collin B. McClendon wrote:
> I'm piping mail to listserv@ to a lsoft program. However the local user gets
> the mail not th program in the .qmail-listerv alias.
> How can I fix this? I'm doing something temporary with aliasing lists@ but
> this isn't what I really want..

Do you see any deliveries in the logs for the program?
If they are there, does the program reject the eMails?
In that case - I don't know about the software, but - maybe a 
   "| preline "
would help?

\Maex

-- 
SpaceNet AG   |   http://www.Space.Net/   | Stress is when you wake
Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Re: Email all with Qmail

2000-12-12 Thread Markus Stumpf

On Fri, Dec 08, 2000 at 06:38:13PM +1100, Dennis wrote:
> All as in "all email accounts on my qmail system"
> As for where and how, thats my question.

If you only have "real" users on your system, then it's rather easy:

# awk -F: '{print $1}' > ~alias/.qmail-allusers
# chmod 644 ~alias/.qmail-allusers

send mail to   allusers@

If you have virtualdomains and user/assign then it becomes more
complicated. That's why I asked where the information about "all"
is kept.

If you only mean POP users  by "all" you may want to have a look at
http://www.qmail.org/>
and search for qmail-popbull in the [Yet More Qmail Addons] section.

\Maex

-- 
SpaceNet AG   |   http://www.Space.Net/   | Stress is when you wake
Research & Development| mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0| realize you haven't
D-80807 Muenchen  |  Fax: +49 (89) 32356-299  | fallen asleep yet.



Re: Amavis + MySQL on Qmail :)

2000-12-12 Thread Piotr Kasztelowicz

On Tue, 12 Dec 2000, Antonio S. Martins Jr. wrote:

> Hi,
>
>There are someone using Amavis with Qmail? I had a Qmail+MySQL server
> and want to put Amavis on it... I had tryed, and aparently all are working
> but the load of the server start to increase until the watchdog process

I have made installation on Qmail but without MySQL and works excellent

Piotr
---
Piotr Kasztelowicz <[EMAIL PROTECTED]>
[http://www.am.torun.pl/~pekasz]




Amavis + MySQL on Qmail :)

2000-12-12 Thread Antonio S. Martins Jr.

Hi,

   There are someone using Amavis with Qmail? I had a Qmail+MySQL server
and want to put Amavis on it... I had tryed, and aparently all are working
but the load of the server start to increase until the watchdog process
reboot it!

   Without Amavis all work ok! I'll begin to debug what are doing wrong.
Thanks for any info!

Antonio.


+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - System Analist |  "Only The Shadow Knows   |
| WorldNet Internet Maringa - PR - Brasil |   what evil lurks in the  |
| E-Mail: [EMAIL PROTECTED]  |   Heart of Men!"  |
| [EMAIL PROTECTED]   | !!! Linux User: 52392 !!! |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   This e-mail message is 100% Microsoft free!

 /"\
 \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
  X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
 / \







Re: Outlook Express Prank

2000-12-12 Thread James Stevens

Laugh, I have tried In vein I might add as anyone knows. 

But still they persist.. (sigh)

BTW- Best way to not get a VBS worm is to add a couple of filters and 
rework your reg. But I don't recommend that for the light of heart.. 
hehehe

--JT

>> Original Message <<

On 12/12/00, 11:22:18 AM, Aaron "L." Meehan <[EMAIL PROTECTED]> wrote 
regarding Re: Outlook Express Prank:


> Quoting James Stevens ([EMAIL PROTECTED]):
> > Without going into a 20 page technical look at every bug here's some
> > simple tips even biggeners should know.
> >
> > 1. Don't use the 'Preview' plane.
> > 2. Don't let or set Outlook to open messages automatically.
> > 3. Don't open any executable or any other microsoft attachement unless
> > it's from someone you know and trust. VBS bugs are kewl but are a 'PAIN
> ^^

> Well there is precisely the biggest bitch about Lookout: most VBS
> worms you get _are_ from someone you know and trust, like your mom,
> since the worms scour Lookout's blasted address book, eh?  Note that I
> could write a shell script to do the same thing to mutt, but the
> problem is that the unwashed masses are the ones running Upchuck
> products.  We strongly recommend our customers not use it,
> unfortunately many do.

> Aaron



Re: Outlook Express Prank

2000-12-12 Thread Aaron L. Meehan

Quoting James Stevens ([EMAIL PROTECTED]):
> Without going into a 20 page technical look at every bug here's some 
> simple tips even biggeners should know.
> 
> 1. Don't use the 'Preview' plane.
> 2. Don't let or set Outlook to open messages automatically.
> 3. Don't open any executable or any other microsoft attachement unless 
> it's from someone you know and trust. VBS bugs are kewl but are a 'PAIN 
^^

Well there is precisely the biggest bitch about Lookout: most VBS
worms you get _are_ from someone you know and trust, like your mom,
since the worms scour Lookout's blasted address book, eh?  Note that I
could write a shell script to do the same thing to mutt, but the
problem is that the unwashed masses are the ones running Upchuck
products.  We strongly recommend our customers not use it,
unfortunately many do.

Aaron



Remove a message

2000-12-12 Thread Ari Arantes Filho

Hi,

The qmail is working very well.

I'm trying to remove a message doing the following:

Script to start send:

supervise /var/qmail/supervise/send | \
setuidgid qmaill tai64n | setuidgid qmaill tai64nlocal | \
setuidgid qmaill multilog s100 n5 /var/qmail/log/send &

Script to stop:

svc -dx /var/qmail/supervise/send

Steps:

1) stop the send
2) ps ax | grep remote ==> to see the messages that are currently being sent
2.5) kill with -15 the qmail-remote process of the message(s) I want to
cancel
3) tail -f /var/qmail/log/send/current ==> until I see "exiting..."
4) qmail-qread to see the number of messages I want to kill
5) cd /var/qmail/queue
find . -name NUMBER -exec rm -f {} \;
6) start the send again

Sometimes I see the following error:
multilog: fatal: unable to switch to current directory: access denied

At this time, the queue is running but no log, then I kill the send again
and try again to start it, sometimes it works, but sometimes the error is
still there...

How can I stop this error? Is the way I'm trying to delete message ok?

Thanks,

Ari





RE: Problems with MASQ IP's

2000-12-12 Thread Tim Hunter



All my users are 
behind a firewall with IP's 192.168.100.0/32.
I never had a 
problem sending to hotmail.
I recently have 
changed my tcpserver setting to hide the IP address and 
computer name:
# Local Users (hide 
hostname and IP 
address)192.168.100.:allow,TCPREMOTEHOST="",TCPREMOTEIP="",RELAYCLIENT=""
 
Sending to hotmail 
from home behind a masq never had a problem (without the hidden settings) and I 
never remember an issue before I made my changes here.
Sounds like you 
might have other problems (typically hotmail servers have been quite sh*tty in 
the past)
 
-- 
Tim

  -Original Message-From: Corey Jarvis 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 12, 2000 
  2:05 PMTo: [EMAIL PROTECTED]Subject: Problems with 
  MASQ IP's 
  Hi to anyone who can help,
  The situation that I have is that I have my Linux 
  box setup with Qmail and I am masquerading all internal IP's to 
  192.168.0.0/24.
  Every email I send out has a header that says it 
  is coming from unknown (windows share name) 192.168.0.3 and when this gets 
  
  sent to hotmail lets say then it gets deferred 
  saying that it can't make an SMTP connection.  This has resulted in me 
  not being able to 
  email to anyone at certain hosts due to the 
  non-routeable IP.  Thanks ahead for anyone who has an 
answer.
  Signed,
  Corey Jarvis
   


Problems with MASQ IP's

2000-12-12 Thread Corey Jarvis



Hi to anyone who can help,
The situation that I have is that I have my Linux 
box setup with Qmail and I am masquerading all internal IP's to 
192.168.0.0/24.
Every email I send out has a header that says it is 
coming from unknown (windows share name) 192.168.0.3 and when this gets 

sent to hotmail lets say then it gets deferred 
saying that it can't make an SMTP connection.  This has resulted in me not 
being able to 
email to anyone at certain hosts due to the 
non-routeable IP.  Thanks ahead for anyone who has an answer.
Signed,
Corey Jarvis
 


RE: a problem about hostname/virtual domain

2000-12-12 Thread Tim Hunter

First Excuse my Outlook 2000, corp standard.

The only files you need to be concerned with for virtual hosts using
vpopmail:
/var/qmail/control/rcthosts
metta.lk
/var/qmail/control/virtualdomains
metta.lk:metta.lk
/var/qmail/users/assign
+metta.lk-:metta.lk:512:5002:/home/vpopmail/domains/metta.lk:-::
/home/vpopmail/domains/metta.lk/vpasswd
relevant password entries

All of these changes would have been made if you added the domain with
~vpopmail/bin/vadddomain metta.lk

I would suggest deleting the domain ~vpopmail/bin/vdeldomain metta.lk
and readding it, something is severely screwed up.





Re: a problem about hostname/virtual domain

2000-12-12 Thread qmail

On Tue, Dec 12, 2000 at 11:24:55AM -0600, Charles Cazabon wrote:

> > I have installed qmail, sqwebmail, vpopmail, vqsignup.
> > My machine name is "mail.metta.lk"
> [...] 
> > I have generated the domain name  "metta.lk" in the dir below using the
> > given program.
> > /home/vpopmail/domains/metta.lk/
> Hmm, vpopmail.  It handles virtualdomains a little differently from stock
> qmail, IIRC.  I'm not a vpopmail user, so I can't help you there.
 
> > But the server does not deliver mail to the virtual domain "metta.lk"
> > The MX has been set correctly in the dns and mail is going to
> > mail.metta.lk but returned. see message below.
> > 
> > I have a feeling that the conflict is because the domain name "metta.lk" 
> > and the virtual domain name "metta.lk" is the same,
> > and I have not told qmail correctly that it should
> > deliver incoming mail addressed to "metta.lk"  to a virtual domain,
> > it instead tries to deliver that mail to itself.
> > 
> > The contents of /var/qmail/control is as follows:
> 
> Post the contents of the files
> /var/qmail/control/{locals,virtualdomains,rcpthosts} .
> 
> You probably have "metta.lk" in locals, while it should be only in
> rcpthosts and virtualdomains.  locals should probably only contain
> 'localhost' and 'mail.metta.lk'.

I have tried several ways
I also just tried the setup suggested by you
but mail is still not going to domain.
below are the files /var/qmail/control/

-rw-r--r--1 root root9 Nov 28 11:34 defaultdomain
metta.lk
-rw-r--r--1 root root   34 Dec 12 14:05 locals
localhost
mail.metta.lk
-rw-r--r--1 root root   49 Dec 12 14:07 rcpthosts
localhost
mail.metta.lk
metta.lk
-rw-r--r--1 root root   18 Dec  8 18:33 virtualdomains
metta.lk:metta.lk

Thanks for the help.
with best regards
Mettavihari
Sri Lanka.



RE: Qmail source files - developer version

2000-12-12 Thread Greg Owen

  Felix von Leitner [mailto:[EMAIL PROTECTED]] said:
> Thus spake Alex Kramarov ([EMAIL PROTECTED]):
> > I want to write an addon to qmail, so it could forward mail
> > to another server before it hits the queve, splitted to several
> > copies, one for each recipient domain. I think many could 
> > benefit from this feature, in terms of bandwidth conservation.
> 
> This feature can (and should) be implemented externally, i.e. without
> editing the qmail sources at all.
> 
> Just take the qmail-smtpd sources and write a new smtpd.

Whoa, whoa, let's not get too excited here.  Before you go
rewriting, you should read FAQ 8.2:

] 8.2. How do I keep a copy of all incoming and outgoing mail messages?
] 
] Answer: Set QUEUE_EXTRA to "Tlog\0" and QUEUE_EXTRALEN to 5 in extra.h.
] Recompile qmail. Put ./msg-log into ~alias/.qmail-log.

Using this to forward copies however you want is left as a
straightforward exercise for the reader.  'man dot-qmail' will be helpful.  

-- 
gowen -- Greg Owen -- [EMAIL PROTECTED]
  SoftLock.com is now DigitalGoods!



Re: a problem about hostname/virtual domain

2000-12-12 Thread Charles Cazabon

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> I have installed qmail, sqwebmail, vpopmail, vqsignup.
> My machine name is "mail.metta.lk"
[...] 
> I have generated the domain name  "metta.lk" in the dir below using the
> given program.
> 
> /home/vpopmail/domains/metta.lk/

Hmm, vpopmail.  It handles virtualdomains a little differently from stock
qmail, IIRC.  I'm not a vpopmail user, so I can't help you there.

> But the server does not deliver mail to the virtual domain "metta.lk"
> The MX has been set correctly in the dns and mail is going to
> mail.metta.lk but returned. see message below.
> 
> I have a feeling that the conflict is because the domain name "metta.lk" 
> and the virtual domain name "metta.lk" is the same,
> and I have not told qmail correctly that it should
> deliver incoming mail addressed to "metta.lk"  to a virtual domain,
> it instead tries to deliver that mail to itself.
> 
> The contents of /var/qmail/control is as follows:

Post the contents of the files
/var/qmail/control/{locals,virtualdomains,rcpthosts} .

You probably have "metta.lk" in locals, while it should be only in
rcpthosts and virtualdomains.  locals should probably only contain
'localhost' and 'mail.metta.lk'.

Charles
-- 
---
Charles Cazabon<[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



a problem about hostname/virtual domain

2000-12-12 Thread qmail

Hi all,

I have installed qmail, sqwebmail, vpopmail, vqsignup.
My machine name is "mail.metta.lk"

The installation has been done on a Redhat 7.0 
and sqwebmail is in the dir /home/vpopmail/
I have generated the domain name  "metta.lk" in the dir below using the
given program.

/home/vpopmail/domains/metta.lk/

I can login to the webserver, 
create accounts on the server, 
and send mail from the server.

But the server does not deliver mail to the virtual domain "metta.lk"
The MX has been set correctly in the dns and mail is going to
mail.metta.lk but returned. see message below.

I have a feeling that the conflict is because the domain name "metta.lk" 
and the virtual domain name "metta.lk" is the same,
and I have not told qmail correctly that it should
deliver incoming mail addressed to "metta.lk"  to a virtual domain,
it instead tries to deliver that mail to itself.

The contents of /var/qmail/control is as follows:
-
-rw-r--r--1 root root   11 Nov 28 11:45 defaultdelivery
./Maildir/
-rw-r--r--1 root root9 Nov 28 11:34 defaultdomain
mail.metta.lk
-rw-r--r--1 root root   34 Dec 12 14:05 locals
localhost
mail.metta.lk
metta.lk
-rw---1 root root0 Dec  8 18:33 locals.lock
-rw-r--r--1 root root   14 Nov 28 11:34 me
-rw-r--r--1 root root9 Nov 28 11:34 plusdomain
-rw-r--r--1 root root   49 Dec 12 14:07 rcpthosts
localhost
mail.metta.lk
dhamma.metta.lk
-rw---1 root root0 Dec  8 18:33 rcpthosts.lock
-rw-r--r--1 root root   18 Dec  8 18:33 virtualdomains
metta.lk:metta.lk
-rw---1 root root0 Dec  8 18:33 virtualdomains.lock

I suspect the virtualdomains incorrect.
below is the returned message.

Your advice is much appriciated
Mettavihari
Sri Lanka.


-
Delivered-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Date: 12 Dec 2000 08:14:59 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

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

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

--- Below this line is the original bounce.

Return-Path: <>
Received: (qmail 886 invoked for bounce); 12 Dec 2000 08:14:59 -
Date: 12 Dec 2000 08:14:59 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice


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

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

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

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 879 invoked by uid 508); 12 Dec 2000 08:14:58 -
Message-ID: <[EMAIL PROTECTED]>
From: "metta" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: test after putting metta.lk in locals
Date: Tue, 12 Dec 2000 08:14:58 GMT
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit


Test after putting metta.lk in
/var/qmail/control/locals

---
Get a free webmail account from http://metta.lk
If one holds oneself dear, one should protect oneself well. During every
one of the three watches the wise man should keep vigil. Random Dhammapada
Verse 157

--



Attachment-based relaying

2000-12-12 Thread Brett Randall

Hi all, I did a bit of a search in the archives but with no answer to
this interesting question.

My boss wants to relay all outgoing mail which has large attachments
through our other, less used, connection to the Internet. I don't mind
placing another mail server on that link, but what I need to know is
how to intercept mail that our users send through our mail server,
check the size of the mail, and if it exceeds a certain size (say,
5mb), then it relays the mail to another qmail relay, otherwise the
current relay treats it as normal outgoing e-mail.

Does anyone have ideas as to how I would implement this? TIA
-- 
  B r e t t  R a n d a l l
   http://xbox.ipsware.com/
brett_ @ _ipsware.com



Qmail and RFC1894 - Delivery Status Notifications

2000-12-12 Thread James Morgenstein

All-

I have a need to process mail server bounces in an automated fashion and
planned to make use of RFC1894 - An Extensible Message Format for Delivery
Status Notifications.

This appears to be used by most of the public mail servers that I have
tested against, but when a mail bounces out of one of my local qmail
machines (e.g., cannot connect after the maximum queue time), the message
that I am receiving back from qmail does not appear to follow the RFC
specification for reporting this error.

Do I have something mis-configured?  Is there a patch to bounce using
RFC1894 standards?

Thanks for the help.

James




Re: Qmail source files - developer version

2000-12-12 Thread Felix von Leitner

Thus spake Alex Kramarov ([EMAIL PROTECTED]):
> Maybe I am asking on the wrong forum, but boes anybody know, if there
> is a "developer" version of qmail sources with at lease some remarks
> and functionality description in the code so it would be more readable
> ? Or if there is a site that has some description on the way qmail is
> written. I want to write an addon to qmail, so it could forward mail
> to another server before it hits the queve, splitted to several
> copies, one for each recipient domain. I think many could benefit from
> this feature, in terms of bandwidth conservation.

This feature can (and should) be implemented externally, i.e. without
editing the qmail sources at all.

Just take the qmail-smtpd sources and write a new smtpd.

Felix



qmail Digest 12 Dec 2000 11:00:01 -0000 Issue 1211

2000-12-12 Thread qmail-digest-help


qmail Digest 12 Dec 2000 11:00:01 - Issue 1211

Topics (messages 53840 through 53907):

Re: daemon mode VS tcpserver
53840 by: Piotr Kasztelowicz
53852 by: Ricardo Cerqueira

Re: all mail forwarding and catching all bounces
53841 by: Peter Green

Re: what is *.da.uu.net?
53842 by: Peter Green

Re: Does qmail really delay a bounce for this long?
53843 by: Peter van Dijk

Re: big-concurrency.patch
53844 by: Federico Edelman Anaya
53865 by: Martin Volesky
53867 by: Charles Cazabon
53895 by: Martin Volesky

Re: How to get Mail delivery in form cgi´s work
53845 by: Kris Kelley
53846 by: Chris Johnson
53847 by: Tim Hunter

qmail, linux and large scale environment
53848 by: Van Liedekerke Franky
53877 by: Greg Cope
53881 by: rdrake.telusplanet.net

Outlook Express bug
53849 by: dG
53851 by: Alex Pennace
53853 by: dG
53855 by: Alex Pennace
53857 by: dG

user alias file
53850 by: gmo.gmx.de
53854 by: Charles Cazabon

Re: [OT] Outlook Express bug
53856 by: Chris Johnson

Outlook Express Prank
53858 by: martin langhoff
53859 by: Alex Pennace
53860 by: Mike Jackson
53861 by: Nathan J. Mehl
53868 by: Felix von Leitner
53869 by: Hubbard, David
53870 by: martin langhoff
53871 by: Robin S. Socha
53872 by: martin langhoff
53873 by: martin langhoff
53874 by: Justin Bell
53875 by: Hubbard, David
53876 by: Bruno Wolff III
53878 by: Goran Blazic
53880 by: Chris Johnson
53883 by: Amitai Schlair
53884 by: James Stevens
53885 by: Alex Pennace
53886 by: Jason Brooke

Re: failure notice
53862 by: steves.connection.com

Moderated lists
53863 by: Goran Blazic

big mail spool
53864 by: Gustavo Vieira Goncalves Coelho Rios
53902 by: Gjermund Sorseth
53904 by: Mark Delany

queue-fix todo patch failuer
53866 by: steves.connection.com

can't unsubscribe
53879 by: Liberty

Qmail server set to forward to another host on the local ethernet.
53882 by: Rawlinsons Group \(Brisbane\)
53889 by: andrew.tic.ch
53890 by: Chris Johnson

FreeBSD, Qmail, and NFS
53887 by: Delanet Administration

Qmail source files - developer version
53888 by: Alex Kramarov

Limiting 
53891 by: Gan
53892 by: andrew.tic.ch
53893 by: Wong, Wing-Kin

Qmail and RFC1894 - Delivery Status Notifications
53894 by: James Morgenstein
53899 by: Sean Reifschneider

different mail relays?
53896 by: Thomas Haberland
53900 by: Mark Delany

alias account problem, pls help!
53897 by: mok swee loong
53907 by: Vincent Schonau

Email hosting solutions?
53898 by: Benjamin Lee

emergency: tell me, how can I edit ezmlm mailing-list files by text editor?
53901 by: bora.piano.ac
53903 by: Mark Delany

thanx so much, but ezmlm  "fatal: address does not contain @"
53905 by: bora.piano.ac
53906 by: Vincent Schonau

Administrivia:

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--



On Mon, 11 Dec 2000, Linux wrote:

> I have a heavly hit mail server with qmail.
> It's better to use qmail in DAEMON MODE or using TCPSERVER ?
> Can anyone give me and advice???

I use with tcpserver, because it seams be better. 

Piotr
---
Piotr Kasztelowicz <[EMAIL PROTECTED]>
[http://www.am.torun.pl/~pekasz]





On Mon, Dec 11, 2000 at 10:31:57AM +0100, Linux wrote:
> Hi all.
> 
> I have a heavly hit mail server with qmail.
> It's better to use qmail in DAEMON MODE or using TCPSERVER ?

Search the archives, this question has been asked before.
But, anyway, qmail-smtpd is NOT daemonizable. It needs a tcp wrapper,
whichever it may be.

RC

-- 
+---
| Ricardo Cerqueira  
| PGP Key fingerprint  -  B7 05 13 CE 48 0A BF 1E  87 21 83 DB 28 DE 03 42 
| Novis Telecom  -  Engenharia ISP / Rede Técnica 
| Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
| Tel: +351 2 1010  - Fax: +351 2 1010 4459

 PGP signature



* Alex Kramarov <[EMAIL PROTECTED]> [001210 16:53]:
> |grep -q MAILER-DAEMON  || exit 99 - this works, but cause a loop in the
> system because every message forwarded to a user specified after this line
> (me of course) eventually goes again through qmail-queue and gets replicated
> to the log alias again.

Change the whole setup to:

  |grep -q MAILER-DAEMON  || exit 99
  /var/qmail/alias/LOG/

To deliver *locally* to a Maildir/, rather than forwarding it off 

Re: alias account problem, pls help!

2000-12-12 Thread Vincent Schonau


mok swee loong writes:

[...]

> and i have no problem with all the alias accounts all this while. BUT one
> particular alias account does give me this weird problem!
> when someone send mail to this alias account - some of the users in this
> list will receive MULTIPLE copies of the same mail, and some dun receive any
> copy at all!!
 
> and in the log i found something suspicious:
 
> starting delivery 74: msg 32174 to local
> [EMAIL PROTECTED]
> status: local 1/10 remote 0/20
> delivery 74: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
> status: local 0/10 remote 0/20
 
> - obviously an alias account doesnt have any real maildir, any idea what
> could cause this error?

What's in /home/vpopmail/domains/mydomainname.com/.qmail-aliasname? Are
there no duplicates, and do all Maildirs exist and have correct
permissions?

> - and this particular alias acount contains 65 entries, is the biggest alias
> in my setup, could this be a problem?

Only to manage them. If you have that many subscribers you might want to
look into using ezmlm-idx with vpopmail. 


Vince.



Re: thanx so much, but ezmlm "fatal: address does not contain @"

2000-12-12 Thread Vincent Schonau


[EMAIL PROTECTED] writes:

> thanx so much, but ^^
 
> in command line I did it
> # ezmlm-sub /home/accounts/list/subscribers  biz 
>   <--biz is my address file name 
  
> result -->   "fatal: address does not contain @"

Ezmlm-sub thinks 'biz' is the address you want to add.
 
> of course my "biz" file contains [EMAIL PROTECTED]  [EMAIL PROTECTED] and so on.
 
> if you say exact command and arguments it 'll help me.

The exact command was in the response, you just didn't follow it.

Vince.



thanx so much, but ezmlm "fatal: address does not contain @"

2000-12-12 Thread bora



thanx so much, but ^^in command line I did it# 
ezmlm-sub /home/accounts/list/subscribers  
biz    
<--biz is my address file name  result -->   
"fatal: address does not contain @"of course my "biz" file contains [EMAIL PROTECTED]  [EMAIL PROTECTED] and so on.if you say exact 
command and arguments it 'll help me.(I read " man ezmlm-sub", I cant 
understand, novice for linux yet) - Original Message - 
From: "Mark Delany" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Tuesday, 
December 12, 2000 5:09 PMSubject: Re: emergency: tell me, how can I edit 
ezmlm mailing-list files by text editor?> On Tue, Dec 12, 2000 at 
04:59:19PM +0900, [EMAIL PROTECTED] 
wrote:> > who knows how can I edit ezmlm mailing-list by text 
editor?> > > > I'm using qmail with ezmlm-0.53.> > 
> > as a root or owner of mailinglist> > (of course , except 
auto-subscribing)> > > > how can I add so many mail address 
by text editor?> > Yes, trivially easily.> > 1. 
Create a file with your text editor where each line is a new> subscriber 
email address. Lets call that file "new".> > 2. Exit the editor 
once you're done and feed that file into the> ezmlm-sub command, 
precisely as defined in the manpage. I suggest the> use of the xargs 
command if the list is very large. That standard Unix> command is 
likewise described in a manpage. If you read those manpages> you'll end 
up with a command pipeline like:> > xargs > > > 3. You're done.> > > Of 
course these are email addresses that want to be on the list,> 
right?> > > Regards.

===Regards 
Sangbin Lim


Re: big mail spool

2000-12-12 Thread Mark Delany

>   >
>   > id   Relative path to /var/qmail/mail
>   > 0 0/0/0/0/0/0/0/0
>   > 1 0/0/0/0/0/0/0/1
>   > . 
>   > . 
>   > 150/0/0/0/0/0/0/f
>   > 160/0/0/0/0/0/1/0
>   > 170/0/0/0/0/0/1/1
>   >
>   > Got the ideia ?

> The basic idea is good, but I think your directory tree is
> much deeper than neccesary. If you use NFS, I think it will have
> a performance impact.

I'm with Gjermund. Anything more than three levels deep is probably
excessive. I tend to use the letters of the user as sub-dirs, so
"john" ends up in /var/mail/j/o/john, or perhaps /var/mail/j/o/h/john,
which gives 26^3 directories. Assuming an even distribution (which
it's not), a server supporting 64K users would end up with just 3
entries per sub-dir!

In any event, any reasonable distribution alg will work and anything
more that 3 directory levels is probably excessive for all but the
most pathological of situations.


Regards.



Re: emergency: tell me, how can I edit ezmlm mailing-list files by text editor?

2000-12-12 Thread Mark Delany

On Tue, Dec 12, 2000 at 04:59:19PM +0900, [EMAIL PROTECTED] wrote:
> who knows how can I edit ezmlm mailing-list by text editor?
> 
> I'm using qmail with ezmlm-0.53.
> 
> as a root or owner of mailinglist
> (of course , except auto-subscribing)
> 
> how can I add so many mail address by text editor?

Yes, trivially easily.

1. Create a file with your text editor where each line is a new
subscriber email address. Lets call that file "new".

2. Exit the editor once you're done and feed that file into the
ezmlm-sub command, precisely as defined in the manpage. I suggest the
use of the xargs command if the list is very large. That standard Unix
command is likewise described in a manpage. If you read those manpages
you'll end up with a command pipeline like:

xargs