delivery

2000-06-29 Thread Kimberly Vher


guys,

lets say i have a quota limit then when there is an incoming mail that
exceed my quota of course the mail will be bounce. does qmail accept the
mail before bouncing it back or check first if its exceed the qmail wont
acept it (i mean no need to put in the queue)






Re: urgent help require to :newbie qmail-ldap file permissions + virtualdomain

2000-06-29 Thread prashant desai

hello charles
thanks a lot for your help ,

i have already tried it by making 700 and even 755 , but it didt worked
i am again sending details please try to locate the point of mis
configuration


1 using Maildir to retrive  mails for users
2 using qmail -qmail-ldap-latest-patch
3 ~Home/user/Maildir
 Maildir is 755 owned by user and in same group as all other qmail users
are
 ~Maildir/curis 777
tmp  is 777
new  is   777

with this file permissions its working fine , but if i change it to
something else its
not working

if i made new  ~Maildir/700  then  qmail-pop3d is not able to delete
messages from the users ~/Maildir/new   once they are gets downloaded to
users pop client

i have tried all the things that i know , now i dont know what to do

so please try to locate the point where i have misconfigured , if you want
any
other details then do write me , i will certainly send it


other problem is

is it possible to configure qmail- along with qmail-ldap-patch(2601)
its working fine except the above problem  that i have described

now i also want that same qmail server will except  mails for multiple
domain
i know rcpthost ,virtualdomains and .qmail-*  files

but how can i configre my qmail  to receive mails for

[EMAIL PROTECTED]
[EMAIL PROTECTED]

mails destined to [EMAIL PROTECTED] must go to "user"'s maildir
and ya
mails destined to [EMAIL PROTECTED]  must go to "user"'s maildir
which must be diff from  [EMAIL PROTECTED]

so the point is that
can i use LDAP directory to store same user ID for diff domains and then
accordingly tell qmail to send mails to diff mail box depending on the
domains
that is specified in directory server ,



with warmest regards
Prashant desai





- Original Message -
From: Charles Cazabon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, June 29, 2000 12:33 AM
Subject: Re: urgent help require to :newbie qmail-ldap file permissions
(fwd)


 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  can some one tell me what file permissions are required
  for
  1  ~Home/Maildir
  2Maildir
  3 cur
  4 new
  5 tmp

 If you want only the owner/user to be able to use it, make the Maildir and
 its subdirectories mode 0700.

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




Re: Multilog: fatal: the final answer (hopefully)

2000-06-29 Thread Steffan Hoeke

On Thu, Jun 29, 2000 at 01:55:14AM +0200, clemensF wrote:
  Steffan Hoeke:
 
  "Ok, the /var/log/qmail permissions weren't the problem
  /var/qmail/supervise and all in it needed to be owned by qmaill as well ;)"
 
 why that?
No other reason than : Before the permission change qmail start would freak out
with unable to change to current directory.
When i changed the permissions on /var/qmail/supervise and it's subs to qmaill.qmail 
it worked like a charm.
 

I know it's not a scientific approach, but i couldn't find anything in lwq about the 
proper permissions (Dave, if you're reading this ;-))

 clemens
 Steffan
-- 
http://therookie.dyndns.org




NEW release??

2000-06-29 Thread TAG

Hi,

Does anyone know anything about a new release of qmail???

Thanks
Tonino



How to Repair Queue

2000-06-29 Thread PipE
in 3 days ago i try to cp /var/qmail/queue/mess to other
directory and make link at /var/qmail/queue/ in name mess But i
cannot use So i find program to move queue from qmail.org But after
i up this daemon again i still got Error message like this 

Jun 29 15:03:59 yahoo qmail: 962265839.162779 delivery 171902:
success:
203.149.0.8_accepted_message./Remote_host_said:_250_PAA11752_Message_accepted_for_delivery/
Jun 29 15:03:59 yahoo qmail: 962265839.173883 status: local 0/45
remote 56/120
Jun 29 15:03:59 yahoo qmail: 962265839.174031 end msg 175931
Jun 29 15:04:03 yahoo qmail: 962265843.206145 warning: trouble
opening remote/22/176156; will try again later
Jun 29 15:04:03 yahoo qmail: 962265843.206351 warning: trouble
opening remote/7/175819; will try again later
Jun 29 15:04:03 yahoo qmail: 962265843.206480 warning: trouble
opening remote/14/176171; will try again later


Have Any idea to repair it ? 


=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=

PipE 

System Engineer
Samart Infonet Co.ltd
99/12 Software Park, 30th Floor Chaengwattana Rd., Klong Gluar, Pak-kred
Nonthaburi 11120

[EMAIL PROTECTED]
icq uin # 10831
office phone : (662) 502-6388 fax : (662)
502-6382
=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=




CNAME-Lookup-Failure

2000-06-29 Thread Robert Sander

Hi!

We have a qmail-system that is running fine, as expected. The only problem is
that my users are not able to send mails to techfak.uni-bielefeld.de because
of "CNAME lookup failed temporarily. (#4.4.3)" happening.
I got this mail from their admin that says, it is a qmail fault. The error
is in the used version of libresolv. I cannot believe this.
Please give me some statements to help me argue. ;-)

- Begin forwarded message -

Hallo,

[EMAIL PROTECTED]:
CNAME lookup failed temporarily. (#4.4.3)

wie ich vermutet habe ist das ein Problem mit "qmail" im Zusammenspiel mit
der Resolver-Library. "qmail" ist an der Stelle ``broken by design'' und
der eigentliche Fehler steckt in der eingesetzten Version der libresolv.

Wenden Sie sich bitte an Ihren Netz-/Systemverwalter, um das Problem dort
beheben zu lassen.

Gruss,
  Peter Koch

- End forwarded message -

Greetings
-- 
Robert Sander
Epigenomics GmbH www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



Re: NEW release??

2000-06-29 Thread Olivier M.

On Thu, Jun 29, 2000 at 10:03:43AM +0200, TAG wrote:
 Does anyone know anything about a new release of qmail???

nope. a new release of qmail would be a revolution :)
everybody would talk about it (news sites, freshmeat, maybe
even television, etc...:)

Oli
-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland




Re: CNAME-Lookup-Failure

2000-06-29 Thread Magnus Bodin

On Thu, Jun 29, 2000 at 10:11:18AM +0200, Robert Sander wrote:
 Hi!
 
 We have a qmail-system that is running fine, as expected. The only problem is
 that my users are not able to send mails to techfak.uni-bielefeld.de because
 of "CNAME lookup failed temporarily. (#4.4.3)" happening.
 I got this mail from their admin that says, it is a qmail fault. The error
 is in the used version of libresolv. I cannot believe this.
 Please give me some statements to help me argue. ;-)

Do you have any internal DNS:s?

From here, it looks perfectly fine:

~: dnsmxip techfak.uni-bielefeld.de
129.70.134.106 100
129.70.136.103 100
129.70.128.106 100
129.70.129.106 100
129.70.132.106 100
134.95.100.208 300


(dnsmxip comes in your qmail-distribution)

/magnus

--
http://x42.com/



Re: CNAME-Lookup-Failure

2000-06-29 Thread Robert Sander

On Thu, Jun 29, 2000 at 10:22:06AM +0200, Magnus Bodin wrote:
 Do you have any internal DNS:s?

I have them, but it also looks okay: host -t mx techfak.uni-bielefeld.de
techfak.uni-bielefeld.deMX  300 mail1.rrz.Uni-Koeln.DE
techfak.uni-bielefeld.deMX  100 gemma.techfak.uni-bielefeld.de

 (dnsmxip comes in your qmail-distribution)
Oh, yes, but it didn't got installed...

I think, these MX's were set up after my first complaint...

Greetings
-- 
Robert Sander
Epigenomics GmbH www.epigenomics.de   Kastanienallee 24
+493024345330  10435 Berlin



Maildir

2000-06-29 Thread Alan Chung
There is one thing bothering me for a while.  I first compiled qmail using 
Maildir but decided to back to Mailbox instead later.  But whenever I add a 
new user using "useradd" on my redhat, it automatically adds a Maildir in 
the user's folder.  Even after I recompiled qmail.  Does anybody have the 
same experience before?

Any help is appreciated.

Alan

$B%7%9%F%`%^%M!<%8%c!<(B
$B%"%i%s!!%A%c%s(B

$B%7%k%P!<%(%C%0%F%/%N%m%8!<3t<02q

Re: How to Repair Queue

2000-06-29 Thread Steffan Hoeke


On Thu, Jun 29, 2000 at 03:06:39PM +0700, PipE wrote:
 
 in 3 days ago i try to cp /var/qmail/queue/mess to other directory and make link  at 
/var/qmail/queue/ in name mess But i cannot use So i find program to move queue from 
qmail.org But after i  up this daemon again i still got Error message like this 
 
[snipped error message]

 
 Have Any idea to repair it ? 
Have you tried looking for qmail queuefix ? Or was that the program you used to
move the queue in the first place ?
Should have a link on www.qmail.org somewhere ;-)
 
 PipE 
HTH,
 Steffan 
-- 
http://therookie.dyndns.org



Re: Maildir

2000-06-29 Thread Brett Randall
Try removing Maildir/ from /etc/skel (or /etc/newuser)

Brett Randall

-Original Message-
From: Alan Chung [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Thursday, June 29, 2000 7:00 PM
Subject: Maildir


There is one thing bothering me for a while.  I first compiled qmail using
Maildir but decided to back to Mailbox instead later.  But whenever I add a
new user using "useradd" on my redhat, it automatically adds a Maildir in
the user's folder.  Even after I recompiled qmail.  Does anybody have the
same experience before?

Any help is appreciated.

Alan

$B%7%9%F%`%^%M!<%8%c!<(B
$B%"%i%s!!%A%c%s(B

$B%7%k%P!<%(%C%0%F%/%N%m%8!<3t<02q >$B9A6h@V:d(B 2-14-15
$B%W%i%6%_%+%I(B303$B9f(B
TEL : 03-3560-1831
FAX : 03-3560-1832
Email: [EMAIL PROTECTED]
Homepage: http://www.silveregg.co.jp



Re: Maildir

2000-06-29 Thread Kimberly Vher



check your /skel directory remove your .qmail file there. 
if your using linux try in /etc/skel




At 05:59 PM 6/29/00 +0900, you wrote:
There is one thing bothering me for a while.  I first compiled qmail using 
Maildir but decided to back to Mailbox instead later.  But whenever I add a 
new user using "useradd" on my redhat, it automatically adds a Maildir in 
the user's folder.  Even after I recompiled qmail.  Does anybody have the 
same experience before?

Any help is appreciated.

Alan

$B%7%9%F%`%^%M!%8%c!(B
$B%"%i%s!!%A%c%s(B

$B%7%k%P!%(%C%0%F%/%N%m%8!3t02qR(B
$B9A6h@V:d(B 2-14-15 $B%W%i%6%_%+%I(B303$B9f(B
TEL : 03-3560-1831
FAX : 03-3560-1832
Email: [EMAIL PROTECTED]
Homepage: http://www.silveregg.co.jp







qmail Digest 29 Jun 2000 10:00:01 -0000 Issue 1047

2000-06-29 Thread qmail-digest-help


qmail Digest 29 Jun 2000 10:00:01 - Issue 1047

Topics (messages 43802 through 43886):

how to set up virtual domain with LDAP
43802 by: reach_prashant.zeenext.com

Re: blocking aliases
43803 by: Hubbard, David
43804 by: RajKumar S.

Queue Problems
43805 by: Cedric Revest

Spamming - HELO linux.remotefirewalls.com.
43806 by: Shashi Dahal
43808 by: Johan Almqvist
43811 by: ksemat.wawa.eahd.or.ug

How to do a reverse DNS lookup in Qmail ?
43807 by: Shashi Dahal
43813 by: Erwin Hoffmann
43814 by: clesur.lair.dyndns.org
43853 by: Aaron L. Meehan

Re: qmail loses my users
43809 by: Ondrej Sury
43821 by: Greg Owen

qmail-ldap file permissions
43810 by: prashant

Re: qmail loses my users - fixed
43812 by: Sean Craig

Diff between Supervise  Tcpserver?
43815 by: Brett Randall
43816 by: Greg Owen
43817 by: Brett Randall
43819 by: Greg Owen
43848 by: Dave Sill

15.000 users!! howto ?
43818 by: mario libraro
43820 by: System Administrator
43823 by: Peter Green
43846 by: Olivier M.

Re: selective relaying: two smtpd´s?
43822 by: Markus Stumpf

two questions
43824 by: Clifford Thurber
43827 by: James Raftery

Re: Building very large Qmail instalations...
43825 by: Toens Bueker
43841 by: Mike Denka
43867 by: Russell Nelson
43870 by: Gustav Yeung
43871 by: Brett Randall

sorry, no mailbox by that name
43826 by: Jens Georg

solved! (Re: sorry, no mailbox by that name)
43828 by: Jens Georg

Multilog: fatal: the final answer (hopefully)
43829 by: Tony Campisi
43839 by: Steffan Hoeke
43854 by: clemensF
43876 by: Steffan Hoeke

Re: Suggestion...
43830 by: Morten Liebach
43831 by: Brett Randall
43834 by: Johan Almqvist
43836 by: Ronny Haryanto
43837 by: Mark Mentovai
43838 by: Brian Reichert
43843 by: Morten Liebach
43851 by: eric k. wolven

Qmail performance issue...
43832 by: Brian Masney
43845 by: Greg Owen
43849 by: Dave Sill

Question to domains
43833 by: Thomas Booms EDV

Functionality questions
43835 by: Mike Frost

how to unsubscribe from this list?
43840 by: acauth1

fastforward, redirection and truncating messages
43842 by: Lisa Phillips

urgent help require to :newbie  qmail-ldap file permissions (fwd)
43844 by: reach_prashant.zeenext.com
43847 by: Charles Cazabon

Limit Traffic
43850 by: Jorge Rocha

ppp and relay newbie question
43852 by: Eduardo Moor

how do I resync two machines after MX confusion ?
43855 by: Andre Morin
43856 by: markd.bushwire.net
43857 by: Andre Morin
43858 by: markd.bushwire.net
43859 by: Andre Morin
43860 by: Darcy Buskermolen
43862 by: asantos
43864 by: Andre Morin
43865 by: asantos

Re: limit to RCPT TO
43861 by: Jason Ingham
43863 by: Ricardo Cerqueira

filehandle
43866 by: Kimberly Vher

ucspi-tcp and daemontools licenses?
43868 by: Vincent Danen
43873 by: Patrick Berry

qmail_smtpd and tcpserver
43869 by: Nguyen Hong Son

manpages for ucspi-tcp
43872 by: Vincent Danen

delivery
43874 by: Kimberly Vher

Re: urgent help require to :newbie  qmail-ldap file permissions + virtualdomain
43875 by: prashant

NEW release??
43877 by: TAG
43880 by: Olivier M.

How to Repair Queue
43878 by: PipE
43885 by: Steffan Hoeke

CNAME-Lookup-Failure
43879 by: Robert Sander
43881 by: Magnus Bodin
43882 by: Robert Sander

Maildir
43883 by: Alan Chung
43884 by: Brett Randall
43886 by: Kimberly Vher

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]


--




  i have compiled qmail 1.03 , with qmail-ldap latest patch , 

i am able to send and receive mails in to ~home/user/Maildir for my domain
say "mydomain.com"  

 now i want set it up for virtual domains  
say  "virtualdomain.com"

 i have done "rcpthost" , "virtualdomains" and ".qmail part " to accept
mails for virtual domain and FW it to other place  , 

my problem is 
 but how can i configure my qmail/Ldap directory server to accept mails for


 [EMAIL PROTECTED]
 [EMAIL PROTECTED] 

 and put them in to their respective  /Home/User/Maildir

 can this be possible  by defining maildirstore in LDAP (directory server )
and instruct qmail to take delievery directory from Directory server or
some thing like that 

 

Re: limit to RCPT TO

2000-06-29 Thread Rodrigo Severo



Jason Ingham wrote:
 
 There is purportedly a patch for this but the link on the qmail website
 is stale. (The site exists but the file isn't there anymore.)
 
 Search for "limits the number of RCPT TO: commands" on:
 
   http://www.qmail.org/top.html
 
 I'm in need of this myself, does anyone have it lying around?

Just found it through ftpsearch at
ftp://ftp.comunit.net/pub/soft/qmail/qmail-1.01-maxrcpt.patch for
example. There are other places.

I couldn´t find the 1.03 version Ricardo Cerqueira mentioned. Does
anybody knows how it´s called?


Rodrigo

-- 
---
Rodrigo Severo
[EMAIL PROTECTED]
Fabrica de Ideias
sbs - ed. empire center - bl. s - sala 109
cep 70070-904 - brasilia-df - brazil
tel: (61) 321 1357
fax: (61) 321 6096
---



Re: limit to RCPT TO

2000-06-29 Thread Ricardo Cerqueira

Here:

http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg00245.html

RC

On Thu, Jun 29, 2000 at 09:00:33AM -0300, Rodrigo Severo wrote:
 
 
 Jason Ingham wrote:
  
  There is purportedly a patch for this but the link on the qmail website
  is stale. (The site exists but the file isn't there anymore.)
  
  Search for "limits the number of RCPT TO: commands" on:
  
http://www.qmail.org/top.html
  
  I'm in need of this myself, does anyone have it lying around?
 
 Just found it through ftpsearch at
 ftp://ftp.comunit.net/pub/soft/qmail/qmail-1.01-maxrcpt.patch for
 example. There are other places.
 
 I couldn´t find the 1.03 version Ricardo Cerqueira mentioned. Does
 anybody knows how it´s called?
 
 
 Rodrigo
 
 -- 
 ---
 Rodrigo Severo
 [EMAIL PROTECTED]
 Fabrica de Ideias
 sbs - ed. empire center - bl. s - sala 109
 cep 70070-904 - brasilia-df - brazil
 tel: (61) 321 1357
 fax: (61) 321 6096
 ---

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



How to forward mail using qmail

2000-06-29 Thread Lavender


Hi,

Is it possible just to use .forward to send to mail received to another
mail account using qmail ???

Thanks





Re: How to forward mail using qmail

2000-06-29 Thread Ricardo Cerqueira

On Thu, Jun 29, 2000 at 08:15:58PM +0800, Lavender wrote:
 
 Hi,
 
 Is it possible just to use .forward to send to mail received to another
 mail account using qmail ???
 

Not quite, but you can use .qmail with a similar syntax (and much more).

"man 5 dot-qmail" for more details.

RC

(PS - There are addons available to use .forward. look for them in www.qmail.org)

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



Maildir problem

2000-06-29 Thread Lavender


Hi,

I decided to use Maildir instead of Mailbox on one user account ... 

I did maildirmake $HOME/Maildir and echo ./Maildir  ~.qmail

Then I export MAIL=/home/vmail/Maildir

When testing sending mail to this account qmail procuded the below log:-


Jun 29 20:20:16 morgoth qmail: 962281216.236186 status: local 1/10 remote
0/20
Jun 29 20:20:16 morgoth qmail: 962281216.247970 delivery 180: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/

How do I go about it ??/

Thanks
erekose





Re: Maildir problem

2000-06-29 Thread Ricardo Cerqueira

 
 I did maildirmake $HOME/Maildir and echo ./Maildir  ~.qmail
 

Your mistake is right here... "./Maildir", as far as qmail is concerned, is a _file_ 
named "Maildir". You need to add a slash to the end... like:

echo ./Maildir/  ~.qmail


RC

 When testing sending mail to this account qmail procuded the below log:-
 
 
 Jun 29 20:20:16 morgoth qmail: 962281216.236186 status: local 1/10 remote
 0/20
 Jun 29 20:20:16 morgoth qmail: 962281216.247970 delivery 180: deferral:
 Unable_to_chdir_to_maildir._(#4.2.1)/
 
 How do I go about it ??/
 
 Thanks
 erekose
 
 

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



Re: How to log all incoming and outgoing emails for a specific domain.

2000-06-29 Thread Johan Almqvist

On Thu, Jun 29, 2000 at 02:55:24PM +0800, hunix wrote:
 Hi All:
 
 For security resaon, my manager told me to log all incoming and
 outgoing emails for a specific domain. I currently have 3 domains in
 hand and they all running vpopmail/qmail. Is there any idea to log
 the in/out email for a specific domain?

Check out the msglog feature of qmail. Put some maildir to store all
mails into /var/qmail/alias/.qmail-msglog and wrap a script to check for
domain around that.
 
 Alex HSU
-Johan
-- 
Johan Almqvist



Re: Building very large Qmail instalations...

2000-06-29 Thread Toens Bueker

Mike Denka [EMAIL PROTECTED] wrote:

 Could you, or anyone else who would care to join this discussion, please be
 more specific re: "Suns filesystems and qmails file operations"? 

I've done a lot tweaking squid proxies (Sun U2) and
therefore had a lot to do with filesystems. You can see
the difference, when you let squid create it's cache-dirs
on a Sun and on e. g. a Linux box.

There are several possibilities to increase the
performance of Suns ufs. 

1. use more spindles (that's why I asked for the number of
   disks in the A1000) - we used multipacks with 2 GB
   disks.
   
2. mount the filesystems with options ufs-logging and
   no-atime (if you're lucky and run Solaris 7).
   
3. try fastfs (not really recommended for mail servers)   

4. read the tuning books (Porsche and others)

 We are load balancing a pair of Sun E250's sharing one
 disk array via NFS.  All Maildirs are on the NFS share.
 So far (roughly 10,000 mailboxes) I don't notice any
 real problems.  But I would be very interested in more
 detail regarding these two issues (Sun filesystems and qmail file operations)
 in case I do begin to notice I/O issues on the NFS server.

Sorry, I've no experience with shared-storage on NFS.
Maybe there are other issues with this ...

 Can you give a detailed explanation or perhaps point me
 to some appropriate docs for more detail?

It's always the (a)synchronous update of metadata on the
disk, buffering, etc.

There's a nice paper about the soft-updates, which are
used with FreeBSD ...

By
Töns
-- 
Linux. The dot in /.



NEWBYE QUESTION

2000-06-29 Thread Giuliano Cocchi

Hi all.

I'm setting my first qmail server. For some reasons i must set the delivery dir
to /var/spool/mail/$USER.
I have read the documentation about using procmail, and try to do the
modification in the file /var/qmail/rc

exec env - PATH="/var/qmail/bin:/usr/bin:$PATH" \
qmail-start '|preline procmail' splogger qmail

but for a strange reason, it won't work.

Why?
If i would like to use qmail to delivery locally to /var/spool/mail what kind
of modification i can try?

thanks.



Re: vacation program for qmail/vpopmail/qmailadmin

2000-06-29 Thread Ken Jones

 On Thu, 22 Jun 2000, Marco Leeflang wrote:
 
  i want a vacation program where vpopmail users can change their own
  vacation message
  any suggestion ??

Here is a perl based cgi for vpopmail users who want to setup
a vacation message.

http://www.vpopmail.cx/vpop-vacation-0.3.tar.gz

Ken Jones
inter7



Re: limit to RCPT TO

2000-06-29 Thread Rodrigo Severo



Ricardo Cerqueira wrote:
 
 Here:
 
 http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg00245.html

Ricardo,


The message above has an incomplete patch (last 2 lines missing). Here
is the complete patch:

---
*** qmail-1.03/qmail-smtpd.maxrcpt  Mon Jun 15 07:53:16 1998
--- qmail-1.03/qmail-smtpd.cFri Nov 19 16:09:34 1999
***
*** 25,34 
--- 25,36 
  #include "commands.h"
  
  #define MAXHOPS 100
  unsigned int databytes = 0;
  int timeout = 1200;
+ int rcptcounter = 0; /* Agregado por mi para el maxrcpt */
+ int maxrcpt = -1; /* Agregado por mi para el maxrcpt */
  
  int safewrite(fd,buf,len) int fd; char *buf; int len;
  {
int r;
r = timeoutwrite(timeout,fd,buf,len);
***
*** 56,66 
  void err_wantmail() { out("503 MAIL first (#5.5.1)\r\n"); }
  void err_wantrcpt() { out("503 RCPT first (#5.5.1)\r\n"); }
  void err_noop() { out("250 ok\r\n"); }
  void err_vrfy() { out("252 send some mail, i'll try my best\r\n"); }
  void err_qqt() { out("451 qqt failure (#4.3.0)\r\n"); }
! 
  
  stralloc greeting = {0};
  
  void smtp_greet(code) char *code;
  {
--- 58,68 
  void err_wantmail() { out("503 MAIL first (#5.5.1)\r\n"); }
  void err_wantrcpt() { out("503 RCPT first (#5.5.1)\r\n"); }
  void err_noop() { out("250 ok\r\n"); }
  void err_vrfy() { out("252 send some mail, i'll try my best\r\n"); }
  void err_qqt() { out("451 qqt failure (#4.3.0)\r\n"); }
! void err_excessrcpt() { out("666 Too many recipients specified
(#5.5.4)\r\n"); } /* Agregado por mi para el maxrcpt */
  
  stralloc greeting = {0};
  
  void smtp_greet(code) char *code;
  {
***
*** 107,116 
--- 109,119 
  die_control();
liphostok = control_rldef(liphost,"control/localiphost",1,(char *)
0);
if (liphostok == -1) die_control();
if (control_readint(timeout,"control/timeoutsmtpd") == -1)
die_control();
if (timeout = 0) timeout = 1;
+   if (control_readint(maxrcpt,"control/maxrcpt") == -1)
die_control(); /* Agregado por mi para el maxrcpt */
  
if (rcpthosts_init() == -1) die_control();
  
bmfok = control_readfile(bmf,"control/badmailfrom",0);
if (bmfok == -1) die_control();
***
*** 238,256 
--- 241,262 
out("250 flushed\r\n");
  }
  void smtp_mail(arg) char *arg;
  {
if (!addrparse(arg)) { err_syntax(); return; }
+   rcptcounter = 0; /* Agregado por mi para el maxrcpt */
flagbarf = bmfcheck();
seenmail = 1;
if (!stralloc_copys(rcptto,"")) die_nomem();
if (!stralloc_copys(mailfrom,addr.s)) die_nomem();
if (!stralloc_0(mailfrom)) die_nomem();
out("250 ok\r\n");
  }
  void smtp_rcpt(arg) char *arg; {
+   rcptcounter++; /* Agregado por mi para el maxrcpt */
if (!seenmail) { err_wantmail(); return; }
+   if (checkrcptcount() == 1) { err_excessrcpt(); } /* Agregado por mi
para el maxrcpt */
if (!addrparse(arg)) { err_syntax(); return; }
if (flagbarf) { err_bmf(); return; }
if (relayclient) {
  --addr.len;
  if (!stralloc_cats(addr,relayclient)) die_nomem();
***
*** 390,399 
--- 396,411 
if (hops) { out("554 too many hops, this message is looping
(#5.4.6)\r\n"); return; }
if (databytes) if (!bytestooverflow) { out("552 sorry, that message
size exceeds my databytes limit (#5.3.4)\r\n"); return; }
if (*qqx == 'D') out("554 "); else out("451 ");
out(qqx + 1);
out("\r\n");
+ } /* Agregado por mi para
el maxrcpt */
+ 
+ int checkrcptcount() {/* Agregado por mi para
el maxrcpt */
+   if (maxrcpt == -1) {return 0;}  /* Agregado por mi para
el maxrcpt */
+   else if (rcptcounter  maxrcpt) {return 1;} /* Agregado por mi para
el maxrcpt */
+   else {return 0;}/* Agregado por mi para
el maxrcpt */
  }
  
  struct commands smtpcommands[] = {
{ "rcpt", smtp_rcpt, 0 }
  , { "mail", smtp_mail, 0 }
---


Rodrigo

-- 
---
Rodrigo Severo
[EMAIL PROTECTED]
Fabrica de Ideias
sbs - ed. empire center - bl. s - sala 109
cep 70070-904 - brasilia-df - brazil
tel: (61) 321 1357
fax: (61) 321 6096
---



Re: limit to RCPT TO

2000-06-29 Thread Ricardo Cerqueira

On Thu, Jun 29, 2000 at 10:55:10AM -0300, Rodrigo Severo wrote:
 
 
 Ricardo Cerqueira wrote:
  
  Here:
  
  http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/11/msg00245.html
 
 Ricardo,
 
 
 The message above has an incomplete patch (last 2 lines missing). Here
 is the complete patch:

Errr... No, it isn't. It's a patch! You apply it using the GNU patch utility. It does 
NOT have to be "fully working" C code.

RC

 
 ---
 *** qmail-1.03/qmail-smtpd.maxrcptMon Jun 15 07:53:16 1998
 --- qmail-1.03/qmail-smtpd.c  Fri Nov 19 16:09:34 1999
 ***
 *** 25,34 
 --- 25,36 
   #include "commands.h"
   
   #define MAXHOPS 100
   unsigned int databytes = 0;
   int timeout = 1200;
 + int rcptcounter = 0; /* Agregado por mi para el maxrcpt */
 + int maxrcpt = -1; /* Agregado por mi para el maxrcpt */
   
   int safewrite(fd,buf,len) int fd; char *buf; int len;
   {
 int r;
 r = timeoutwrite(timeout,fd,buf,len);
 ***
 *** 56,66 
   void err_wantmail() { out("503 MAIL first (#5.5.1)\r\n"); }
   void err_wantrcpt() { out("503 RCPT first (#5.5.1)\r\n"); }
   void err_noop() { out("250 ok\r\n"); }
   void err_vrfy() { out("252 send some mail, i'll try my best\r\n"); }
   void err_qqt() { out("451 qqt failure (#4.3.0)\r\n"); }
 ! 
   
   stralloc greeting = {0};
   
   void smtp_greet(code) char *code;
   {
 --- 58,68 
   void err_wantmail() { out("503 MAIL first (#5.5.1)\r\n"); }
   void err_wantrcpt() { out("503 RCPT first (#5.5.1)\r\n"); }
   void err_noop() { out("250 ok\r\n"); }
   void err_vrfy() { out("252 send some mail, i'll try my best\r\n"); }
   void err_qqt() { out("451 qqt failure (#4.3.0)\r\n"); }
 ! void err_excessrcpt() { out("666 Too many recipients specified
 (#5.5.4)\r\n"); } /* Agregado por mi para el maxrcpt */
   
   stralloc greeting = {0};
   
   void smtp_greet(code) char *code;
   {
 ***
 *** 107,116 
 --- 109,119 
   die_control();
 liphostok = control_rldef(liphost,"control/localiphost",1,(char *)
 0);
 if (liphostok == -1) die_control();
 if (control_readint(timeout,"control/timeoutsmtpd") == -1)
 die_control();
 if (timeout = 0) timeout = 1;
 +   if (control_readint(maxrcpt,"control/maxrcpt") == -1)
 die_control(); /* Agregado por mi para el maxrcpt */
   
 if (rcpthosts_init() == -1) die_control();
   
 bmfok = control_readfile(bmf,"control/badmailfrom",0);
 if (bmfok == -1) die_control();
 ***
 *** 238,256 
 --- 241,262 
 out("250 flushed\r\n");
   }
   void smtp_mail(arg) char *arg;
   {
 if (!addrparse(arg)) { err_syntax(); return; }
 +   rcptcounter = 0; /* Agregado por mi para el maxrcpt */
 flagbarf = bmfcheck();
 seenmail = 1;
 if (!stralloc_copys(rcptto,"")) die_nomem();
 if (!stralloc_copys(mailfrom,addr.s)) die_nomem();
 if (!stralloc_0(mailfrom)) die_nomem();
 out("250 ok\r\n");
   }
   void smtp_rcpt(arg) char *arg; {
 +   rcptcounter++; /* Agregado por mi para el maxrcpt */
 if (!seenmail) { err_wantmail(); return; }
 +   if (checkrcptcount() == 1) { err_excessrcpt(); } /* Agregado por mi
 para el maxrcpt */
 if (!addrparse(arg)) { err_syntax(); return; }
 if (flagbarf) { err_bmf(); return; }
 if (relayclient) {
   --addr.len;
   if (!stralloc_cats(addr,relayclient)) die_nomem();
 ***
 *** 390,399 
 --- 396,411 
 if (hops) { out("554 too many hops, this message is looping
 (#5.4.6)\r\n"); return; }
 if (databytes) if (!bytestooverflow) { out("552 sorry, that message
 size exceeds my databytes limit (#5.3.4)\r\n"); return; }
 if (*qqx == 'D') out("554 "); else out("451 ");
 out(qqx + 1);
 out("\r\n");
 + } /* Agregado por mi para
 el maxrcpt */
 + 
 + int checkrcptcount() {/* Agregado por mi para
 el maxrcpt */
 +   if (maxrcpt == -1) {return 0;}  /* Agregado por mi para
 el maxrcpt */
 +   else if (rcptcounter  maxrcpt) {return 1;} /* Agregado por mi para
 el maxrcpt */
 +   else {return 0;}/* Agregado por mi para
 el maxrcpt */
   }
   
   struct commands smtpcommands[] = {
 { "rcpt", smtp_rcpt, 0 }
   , { "mail", smtp_mail, 0 }
 ---
 
 
 Rodrigo
 
 -- 
 ---
 Rodrigo Severo
 [EMAIL PROTECTED]
 Fabrica de Ideias
 sbs - ed. empire center - bl. s - sala 109
 cep 70070-904 - brasilia-df - brazil
 tel: (61) 321 1357
 fax: (61) 321 6096
 ---

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



Deleted messages from queue

2000-06-29 Thread Mark Drummond

I'll save the song and dance, but my boss deleted a bunch of files from
the queue. What ill effects will this have, if any?

-- 

- Hail, hail, the gang's all here -



Re: limit to RCPT TO

2000-06-29 Thread Rodrigo Severo



Ricardo Cerqueira wrote:
 
  The message above has an incomplete patch (last 2 lines missing). Here
  is the complete patch:
 
 Errr... No, it isn't. It's a patch! You apply it using the GNU patch utility. It 
does NOT have to be "fully working" C code.

Yes, you are right, sorry.

Rodrigo

-- 
---
Rodrigo Severo
[EMAIL PROTECTED]
Fabrica de Ideias
sbs - ed. empire center - bl. s - sala 109
cep 70070-904 - brasilia-df - brazil
tel: (61) 321 1357
fax: (61) 321 6096
---



Re: CNAME-Lookup-Failure

2000-06-29 Thread Christopher K Davis

Robert Sander [EMAIL PROTECTED] writes:

 We have a qmail-system that is running fine, as expected. The only problem
 is that my users are not able to send mails to techfak.uni-bielefeld.de
 because of "CNAME lookup failed temporarily. (#4.4.3)" happening.  I got
 this mail from their admin that says, it is a qmail fault. The error is in
 the used version of libresolv. I cannot believe this.  Please give me some
 statements to help me argue. ;-)

Have you installed one of the qmail "big DNS" patches such as
URL: http://www.ckdhr.com/ckd/qmail-103.patch ?  It looks like their
ANY response can easily be larger than 512 octets.

-- 
Christopher Davis * [EMAIL PROTECTED] * URL:http://www.ckdhr.com/ckd/
Put location information in your DNS! URL:http://www.ckdhr.com/dns-loc/



Rewrite Return Path or other host information?

2000-06-29 Thread Edward Tsang

Hi there,

How can I completely rewrite "ReturnPath" or "Host information" in message
header in qmail?

For example,

A mail --- relay to B's qmail --- C final destination -- receiver.

I want the receiver or other user will return mail to B instead of A.

Currently, if C's receiver return mail, it will try to contact A server.
However, there are no sendmail/qmail daemon in A.

Regards,
Edward.




[NEWBIE] Header Re-Writing

2000-06-29 Thread Jeremy Stanley

Okay.  I posted a message several days ago about making users/assign
case-insensitive, but no one seemed to have an answer.  Now I'm taking it
from the other angle...  Is there an easy way in qMail to rewrite 
To: headers bound for local delivery to ensure strictly lower-case
usernames prior to getting passed to users/assign?  That would still solve
our problem in an almost-as-elegant manner.  Thanks in advance!

--
Jeremy Stanley, System AdministratorFoveon Corporation
--




Re: how do I resync two machines after MX confusion ?

2000-06-29 Thread Scott Gifford

Interestingly, I'm in a similar situation, only my messages are still
in the queue.  Normally, I would just put ":new.server.name" in my
smtproutes, and have it dump its queue, but it's already put all of
the local messages in the "local" section of the queue, which doesn't
look at smtproutes.  Is there a clever way to make this work?

Can I just move them into the remote directory, then run the queue?
Or tar up the queue directory, move it onto the new machine in a temp
directory, run qmail-qfix, and then rename the files over into their
new locations?

Any suggestions would be much appreciated.

-ScottG.

[EMAIL PROTECTED] writes:

 It depends on where the mail is on this clone server. Is it in the
 mail queue or has it been locally delivered to users there?

 The former is much easier to deal with than the latter.


 Regards.

 On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
 
  First of all, this is a really stupid situation we should never have run
  into in the first place ; however :
 
  Due to some not so interesting reasons, for a couple of days our DNS has
  pointed to another machine with our cloned qmail-configuration on
  another IP in another town. I have complete root access to that machine.
 
  Now everything is back as before, but while this machine was MX for quite
  a bunch of virtual domains we host, the mail arrived there.
 
  What I need to do now, and I am discovering qmail, is a way to get all the
  mail from the distant server to be sent to our machine with a minimum of
  fuss and if possible transparent to the users (just being late, extra
  headers don't hurt as long as they are of the kind lusers see by default
  in their mailer).
 
  I have started plunging into the really dense documentation of qmail and
  read some interesting contributions in the archive of this list, compiled
  maildircmd and taken a look at its doc as well.
 
  While I feel that there must be a simple solution short of writing a
  brute-force-and-ignorance-script with a complete list of maildirs to be
  processed, I lack the experience to figure this out on my own.
 
  Thanks in advance to the list for some pointers to intelligent solutions
  for my stupid problem.
 
  --
  Best Regards
  André Morin
 



Re: how do I resync two machines after MX confusion ?

2000-06-29 Thread markd

On Thu, Jun 29, 2000 at 11:23:36AM -0400, Scott Gifford wrote:
 Interestingly, I'm in a similar situation, only my messages are still
 in the queue.  Normally, I would just put ":new.server.name" in my
 smtproutes, and have it dump its queue, but it's already put all of
 the local messages in the "local" section of the queue, which doesn't
 look at smtproutes.  Is there a clever way to make this work?
 
 Can I just move them into the remote directory, then run the queue?
 Or tar up the queue directory, move it onto the new machine in a temp
 directory, run qmail-qfix, and then rename the files over into their
 new locations?

Assuming the local deliveries are currently failing temporarily (perhaps
due to a home dir not existing or somesuch), then probably the easiest
thing is to create a default alias that catches all those mails and
delivers them to a Maildir, then use maildirtosmtp out of the serialmail
package.

I don't know of an easy way to change a local delivery to a remote
delivery by twiddling the queue. That decision is made as part of the
queue entry creation, not part of the rescan of qmail-send.


Regards.

 
 Any suggestions would be much appreciated.
 
 -ScottG.
 
 [EMAIL PROTECTED] writes:
 
  It depends on where the mail is on this clone server. Is it in the
  mail queue or has it been locally delivered to users there?
  
  The former is much easier to deal with than the latter.
  
  
  Regards.
  
  On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
   
   First of all, this is a really stupid situation we should never have run
   into in the first place ; however :
   
   Due to some not so interesting reasons, for a couple of days our DNS has
   pointed to another machine with our cloned qmail-configuration on
   another IP in another town. I have complete root access to that machine. 
   
   Now everything is back as before, but while this machine was MX for quite
   a bunch of virtual domains we host, the mail arrived there.
   
   What I need to do now, and I am discovering qmail, is a way to get all the
   mail from the distant server to be sent to our machine with a minimum of
   fuss and if possible transparent to the users (just being late, extra
   headers don't hurt as long as they are of the kind lusers see by default
   in their mailer).
   
   I have started plunging into the really dense documentation of qmail and
   read some interesting contributions in the archive of this list, compiled
   maildircmd and taken a look at its doc as well. 
   
   While I feel that there must be a simple solution short of writing a
   brute-force-and-ignorance-script with a complete list of maildirs to be
   processed, I lack the experience to figure this out on my own.
   
   Thanks in advance to the list for some pointers to intelligent solutions
   for my stupid problem.
   
   -- 
   Best Regards
   André Morin
   



Re: how do I resync two machines after MX confusion ?

2000-06-29 Thread Scott Gifford

Wouldn't I have to delete most of the passwd file and the
/var/qmail/alias directory in order for a .qmail-default to get looked
at?

And do you know of any reason why these queue-mucking techniques:

  Can I just move them into the remote directory, then run the queue?
  Or tar up the queue directory, move it onto the new machine in a temp
  directory, run qmail-qfix, and then rename the files over into their
  new locations?

would or wouldn't work?

Thanks much,

-ScottG.


[EMAIL PROTECTED] writes:

 On Thu, Jun 29, 2000 at 11:23:36AM -0400, Scott Gifford wrote:
  Interestingly, I'm in a similar situation, only my messages are still
  in the queue.  Normally, I would just put ":new.server.name" in my
  smtproutes, and have it dump its queue, but it's already put all of
  the local messages in the "local" section of the queue, which doesn't
  look at smtproutes.  Is there a clever way to make this work?
 
  Can I just move them into the remote directory, then run the queue?
  Or tar up the queue directory, move it onto the new machine in a temp
  directory, run qmail-qfix, and then rename the files over into their
  new locations?

 Assuming the local deliveries are currently failing temporarily (perhaps
 due to a home dir not existing or somesuch), then probably the easiest
 thing is to create a default alias that catches all those mails and
 delivers them to a Maildir, then use maildirtosmtp out of the serialmail
 package.

 I don't know of an easy way to change a local delivery to a remote
 delivery by twiddling the queue. That decision is made as part of the
 queue entry creation, not part of the rescan of qmail-send.


 Regards.

 
  Any suggestions would be much appreciated.
 
  -ScottG.
 
  [EMAIL PROTECTED] writes:
 
   It depends on where the mail is on this clone server. Is it in the
   mail queue or has it been locally delivered to users there?
  
   The former is much easier to deal with than the latter.
  
  
   Regards.
  
   On Thu, Jun 29, 2000 at 01:56:31AM +0200, Andre Morin wrote:
   
First of all, this is a really stupid situation we should never have run
into in the first place ; however :
   
Due to some not so interesting reasons, for a couple of days our DNS has
pointed to another machine with our cloned qmail-configuration on
another IP in another town. I have complete root access to that machine.
   
Now everything is back as before, but while this machine was MX for quite
a bunch of virtual domains we host, the mail arrived there.
   
What I need to do now, and I am discovering qmail, is a way to get all the
mail from the distant server to be sent to our machine with a minimum of
fuss and if possible transparent to the users (just being late, extra
headers don't hurt as long as they are of the kind lusers see by default
in their mailer).
   
I have started plunging into the really dense documentation of qmail and
read some interesting contributions in the archive of this list, compiled
maildircmd and taken a look at its doc as well.
   
While I feel that there must be a simple solution short of writing a
brute-force-and-ignorance-script with a complete list of maildirs to be
processed, I lack the experience to figure this out on my own.
   
Thanks in advance to the list for some pointers to intelligent solutions
for my stupid problem.
   
--
Best Regards
André Morin
   



Qmail - Switch from ISP to in-house server DNS Stuff

2000-06-29 Thread Steven M. Klass

Hey all

We own andigilog.com and earthlink is currently hosting both our email and 
our web.  I want to save us some money and shift the email (eventually the 
web too) back to our local Linux box.  I have recently built up the Linux 
Box and I have chrooted DNS running on it.  I have not shifted my name 
servers from earthlink to my ISP at Network solutions yet.  My box is 
budha.andigilog.com.  I am not currently broadcasting this to world 
(DNS).  I want to set up qmail and test it for andigilog.com, without 
bothering earthlink.  When I set up qmail do I  ./config or ./config-fast 
andigilog.com?

Thanks

Steven
Steven M. Klass
Physical Design Engineer

Andigilog Inc.
7404 W. Detroit Street, Suite 100
Chandler, AZ 85226
Ph: 602-940-6200 ext. 18
Fax: 602-940-4255

[EMAIL PROTECTED]
http://www.andigilog.com/





Re: how do I resync two machines after MX confusion ?

2000-06-29 Thread asantos


From: Scott Gifford [EMAIL PROTECTED]
And do you know of any reason why these queue-mucking techniques:

  Can I just move them into the remote directory, then run the queue?
  Or tar up the queue directory, move it onto the new machine in a temp
  directory, run qmail-qfix, and then rename the files over into their
  new locations?

would or wouldn't work?


Theres strong juju magic in the queue, related to inodes and stuff. I think
that if you try to interfere with that magic, possibly you'll get turned
into a toad :)

What you *can* try is to extract the files from the queue and mail-inject'em
in the other machine, *then* flushing the queue.

Armando

 smime.p7s


Re: how do I resync two machines after MX confusion ?

2000-06-29 Thread markd

On Thu, Jun 29, 2000 at 11:36:33AM -0400, Scott Gifford wrote:
 Wouldn't I have to delete most of the passwd file and the
 /var/qmail/alias directory in order for a .qmail-default to get looked
 at?

Ah yes, good point. Not so much delete them, but use qmail-users to override
getpwnam() (ie /etc/passwd) lookups.

 And do you know of any reason why these queue-mucking techniques:
 
   Can I just move them into the remote directory, then run the queue?
   Or tar up the queue directory, move it onto the new machine in a temp
   directory, run qmail-qfix, and then rename the files over into their
   new locations?
 
 would or wouldn't work?

No, but you can always build another instance of qmail and experiment with a
transfer and qmail-qfix there. You needn't actually start qmail to see if
the queue looks ok as qmail-qread will tell you that.


Regards.



Re: Multilog: fatal: the final answer (hopefully)

2000-06-29 Thread Dave Sill

Steffan Hoeke [EMAIL PROTECTED] wrote:

On Thu, Jun 29, 2000 at 01:55:14AM +0200, clemensF wrote:
  Steffan Hoeke:
 
  "Ok, the /var/log/qmail permissions weren't the problem
  /var/qmail/supervise and all in it needed to be owned by qmaill as well ;)"
 
 why that?
No other reason than : Before the permission change qmail start would
freak out with unable to change to current directory.  When i changed
the permissions on /var/qmail/supervise and it's subs to qmaill.qmail
it worked like a charm.

The real reason is that multilog runs as user qmaill.

I know it's not a scientific approach, but i couldn't find anything
in lwq about the proper permissions (Dave, if you're reading this
;-))

It's in there:

  Then set up the log directories:

mkdir -p /var/log/qmail/smtpd
chown qmaill /var/log/qmail /var/log/qmail/smtpd

-Dave



Re: Maildir problem

2000-06-29 Thread Dave Sill

Ricardo Cerqueira [EMAIL PROTECTED] wrote:

 I did maildirmake $HOME/Maildir and echo ./Maildir  ~.qmail

Your mistake is right here... "./Maildir", as far as qmail is
concerned, is a _file_ named "Maildir". You need to add a slash to
the end... like:

echo ./Maildir/  ~.qmail

Except, if qmail-local thought "Maildir" was an mbox, it wouldn't try
to cd into it:

 Jun 29 20:20:16 morgoth qmail: 962281216.247970 delivery 180: deferral:
 Unable_to_chdir_to_maildir._(#4.2.1)/

Post the output of:

  cat .qmail
  ls -lR `cat .qmail`

-Dave



Re: How to log all incoming and outgoing emails for a specific domain.

2000-06-29 Thread Dave Sill

Johan Almqvist [EMAIL PROTECTED] wrote:

Check out the msglog feature of qmail. Put some maildir to store all
mails into /var/qmail/alias/.qmail-msglog and wrap a script to check for
domain around that.

That won't work unless qmail is compiled with QUEUE_EXTRA set to
"msglog".

See:

  http://Web.InfoAve.Net/~dsill/lwq.html#queue_extra

-Dave



Re: NEWBYE QUESTION

2000-06-29 Thread Dave Sill

[EMAIL PROTECTED] wrote:

I'm setting my first qmail server. For some reasons i must set the
delivery dir to /var/spool/mail/$USER.  I have read the documentation
about using procmail, and try to do the modification in the file
/var/qmail/rc

exec env - PATH="/var/qmail/bin:/usr/bin:$PATH" \
qmail-start '|preline procmail' splogger qmail

but for a strange reason, it won't work.

Why?

From http://Web.InfoAve.Net/~dsill/lwq.html#qmail-list:

  What did you do? What's your configuration? Include qmail-showctl
output if you're not sure what's important. What action did you
take?
  What did you expect to happen? What was the outcome you were trying
to achieve? Don't assume the reader can guess. 
  What did happen? Describe the actual result. Include log file
clippings and copies of messages, with headers.

You've told us the first two parts, but without knowing what happened, 
we can't really help you.

-Dave



ucspi-tcp man pages

2000-06-29 Thread Vincent Danen

You can obtain the manpages for ucspi-tcp from:

ftp.freezer-burn.org/pub/custom/ucspi-tcp/ucspi-tcp-0.88-man.tar.bz2

These are basically taken direct from cr.yp.to/ucspi-tcp.html and
converted into manpages.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 3 days 16 hrs and 45 mins.



Re: Qmail - Switch from ISP to in-house server DNS Stuff

2000-06-29 Thread Dave Sill

"Steven M. Klass" [EMAIL PROTECTED] wrote:

   We own andigilog.com and earthlink is currently hosting both
our email and our web.  I want to save us some money and shift the
email (eventually the web too) back to our local Linux box.  I have
recently built up the Linux Box and I have chrooted DNS running on
it.  I have not shifted my name servers from earthlink to my ISP at
Network solutions yet.  My box is budha.andigilog.com.  I am not
currently broadcasting this to world (DNS).  I want to set up qmail
and test it for andigilog.com, without bothering earthlink.  When I
set up qmail do I ./config or ./config-fast andigilog.com?

Use ./config if your system has access to a nameserver, and
./config-fast if it doesn't.

-Dave



Re: Deleted messages from queue

2000-06-29 Thread Dave Sill

Mark Drummond [EMAIL PROTECTED] wrote:

I'll save the song and dance, but my boss deleted a bunch of files from
the queue. What ill effects will this have, if any?

That depends upon which files were deleted. I'd stop qmail, run
qmail-qsanity and/or one of the other queue checkers, fix any
problems, then restart qmail.

-Dave



Qmail performance question...

2000-06-29 Thread Ian Layton

Hello.

I have recently installed Qmail on an Alpha box for my boss. I got it to
send a simulated 100K message per hour through a dirty benchmark I wrote. My
boss wants more than that. I believe that the slow up is in qmail-inject. Is
there any way to make qmail-inject faster or bypass it totally? If so...how
is it done. Also, has anyone else gotten qmail to send anything in the range
I have?

Ian Layton




test

2000-06-29 Thread Hand, Brian C.

All,

How can one safely clear the entire qmail mail queue so that any messages in
the queue do not get sent out.

Thanks
Brian



Re: test

2000-06-29 Thread markd

I find the easiest way is to stop qmail-send, remove /var/qmail/queue
and go to your source installation and do a make setup, start qmail.


Regards.


On Thu, Jun 29, 2000 at 12:01:55PM -0500, Hand, Brian C. wrote:
 All,
 
 How can one safely clear the entire qmail mail queue so that any messages in
 the queue do not get sent out.
 
 Thanks
 Brian



Re: test

2000-06-29 Thread Dave Sill

"Hand, Brian C." [EMAIL PROTECTED] wrote:

How can one safely clear the entire qmail mail queue so that any messages in
the queue do not get sent out.

The LWQ method (as root):

qmail stop
mv /var/qmail/queue /var/qmail/old.queue
cd /usr/local/src/qmail/qmail-1.03
make setup
qmail start

-Dave



Re: Qmail performance question...

2000-06-29 Thread markd

On Thu, Jun 29, 2000 at 11:54:55AM -0500, Ian Layton wrote:
 Hello.
 
 I have recently installed Qmail on an Alpha box for my boss. I got it to
 send a simulated 100K message per hour through a dirty benchmark I wrote. My
 boss wants more than that. I believe that the slow up is in qmail-inject. Is
 there any way to make qmail-inject faster or bypass it totally? If so...how
 is it done. Also, has anyone else gotten qmail to send anything in the range
 I have?

Well, the real cost is qmail-queue which is invoked by qmail-inject.
qmail-queue is syncing each submission so that it can gaurantee that the
mail will not be lost. Doing lots of syncs to the queue is an expensive
disk i/o operation.

Your solution is to put your queue on a disk subsystem that can sync
at the rate you want to submit (and deliver). Some do this with a faster
disk, some do this with a partition that is spread across multiple
spindles. How you do this depends on your OS type and what sort
of hardware you are willing to throw at it.


Regards.



Re: Qmail performance question...

2000-06-29 Thread Mattias Paulsson

 Your solution is to put your queue on a disk subsystem that can sync
 at the rate you want to submit (and deliver). Some do this with a faster
 disk, some do this with a partition that is spread across multiple
 spindles. How you do this depends on your OS type and what sort
 of hardware you are willing to throw at it.

True, very true...

If your hardwarebudget allows it, take a serious peek at solid-state disks if you want 
relly good performance in this case. Quantum Rushmore Ultra Series Solid State Disks 
looks nice but are quite expensive compared to other fast regular 10k rpm disks.
If storage size (queue size in this case) is among your primary concerns also then 
turn your eyes onto some nice RAID system instead since those SSD's are not that large 
if you compare to the bucks you'll have to spend.

---
Mattias Paulsson -  Systems Administrator
LLS/Futurize (http://www.futurize.com)







TCPSERVER

2000-06-29 Thread Marcilio Jorgensen Cassella

Hi,

I not able to telnet to port 25 in my SMTP Server. Started SMTP with
command tcpserver -u 508 -g 507 -c 40 -v -x /etc/tcpcontrol/smtp.cdb 0
smtp qm and receive answer from TCPSERVER:


tcpserver: status: 1/40
tcpserver: pid 890 from 127.0.0.1
tcpserver: ok 890 localhost:127.0.0.1:25 localhost:127.0.0.1:root:1037
tcpserver: warning: dropping connection, unable to run qm: access denied
tcpserver: end 890 status 28416
tcpserver: status: 0/40


ANy Help ?


Marcilio Jorgensen
[EMAIL PROTECTED]
AlterNex
Brazil



Re: file permissions problems

2000-06-29 Thread clemensF

 prashant:

 problem , user can't download their mails from home/user/Maildir
 i have checked the default file permissions it was 644 for all the
 files in /new under Maildir
 if i changes this to 777 then users are able to download the their new
 messages
 users home directory is owned by users only , and ya also 755 for
 Maildir
 please help me guys , should i keep 777 and 755 for /new/* and
 /Maildir

it's not normal to download mail from the destination directory. you
should either forward their mail to them or run your own pop server.
your data indicates that the downloading program wants to delete read
mails or suchlike, in which case these programs would need write access
to the directory.  644 is a highly irregular mode for a private maildir.


clemens



Qmail and virus scanning server

2000-06-29 Thread Larry Henshaw


Greetings all,

I was wondering if anyone can help.

I have a Qmail system all up and running with SMTP and POP3.  It sends and
received mail correctly.  What I have been asked to do is forward any mail
to a Trend Micro SMTP email virus scanning server first before it is
delivered.  This means that even if I have USER-A and USER-B with POP3
accounts on the qmail server and they send mail to each other, the powers
that be want that mail to first hit the Scan Mail server then relay to the
Qmail server.

I already know that I could reconfigure their SMTP/POP3 mail clients to use
different addresses for sending and downloading mail (ie enter the IP of the
Scan Mail server for SMTP and then the IP of the Qmail server for POP3).

I was hoping that there was a server level setting (as apposed to something
in each users .qmail file) that would forward the mail correctly.  Exchange
seems to have this function and they call it "Forward All Messages to host:
hostname" instead of "Message Delivery Uses DNS"

Any help would be greatly appreciated.

Thanks,

-Larry Henshaw }:-
[EMAIL PROTECTED]




Netscape + Maildir

2000-06-29 Thread Nico Schottelius

Hello Guys!

Can I use NetscapeMail together with the Maildir ?
Or is that just a problem of qmaild-pop3 and has nothing
to do with the client ?
For your info: I want to get the messages via Network.

Sincrely,

Nico




Re: TCPSERVER

2000-06-29 Thread Dave Sill

[EMAIL PROTECTED] wrote:

   I not able to telnet to port 25 in my SMTP Server. Started SMTP with
command tcpserver -u 508 -g 507 -c 40 -v -x /etc/tcpcontrol/smtp.cdb 0
smtp qm and receive answer from TCPSERVER:

What is "qm"? Shouldn't that be "/var/qmail/bin/qmail-smtpd"?

tcpserver: warning: dropping connection, unable to run qm: access denied

Hmm, you have a "qm", but it's not executable.

-Dave



Re: Netscape + Maildir

2000-06-29 Thread Dave Sill

Nico Schottelius [EMAIL PROTECTED] wrote:

Can I use NetscapeMail together with the Maildir ?

Sure.

Or is that just a problem of qmaild-pop3 and has nothing
to do with the client ?

Correct.

-Dave



Re: Multilog: fatal: the final answer (hopefully)

2000-06-29 Thread Steffan Hoeke

On Thu, Jun 29, 2000 at 12:21:33PM -0400, Dave Sill wrote:
 Steffan Hoeke [EMAIL PROTECTED] wrote:
 
 On Thu, Jun 29, 2000 at 01:55:14AM +0200, clemensF wrote:
   Steffan Hoeke:
  
   "Ok, the /var/log/qmail permissions weren't the problem
   /var/qmail/supervise and all in it needed to be owned by qmaill as well ;)"
  
  why that?
 No other reason than : Before the permission change qmail start would
 freak out with unable to change to current directory.  When i changed
 the permissions on /var/qmail/supervise and it's subs to qmaill.qmail
 it worked like a charm.
 
 The real reason is that multilog runs as user qmaill.
 
 I know it's not a scientific approach, but i couldn't find anything
 in lwq about the proper permissions (Dave, if you're reading this
 ;-))
 
 It's in there:
 
   Then set up the log directories:
 
 mkdir -p /var/log/qmail/smtpd
 chown qmaill /var/log/qmail /var/log/qmail/smtpd
Nope, this talks about the /var/log/qmail subtree.
I'm talking about the /var/qmail/supervise subtree ;-)

 -Dave
HTH,
 Steffan
-- 
http://therookie.dyndns.org




Problem with me.

2000-06-29 Thread Eric Dahnke


I've got an interesting problem.

At work we manage the mail for several domains, which are all
subcompanies of the parent company (We're yet another incubator). The
parent company e-mail is outsourced.

What should I use for the ../control/me domain under such a scenario? I
don't want bounce reports for one subcompany to read another
subcompany's domain. That is, just choose one subcompany and make it the
local domain and the rest virtuals. And if I put the parent company's
domain into ../control/me I get bounces all over the place. See below.


Jun 29 14:31:33 linux1 qmail: 962303493.427156 info msg 66303: bytes
1043 from 
[EMAIL PROTECTED] qp 18584 uid 529
Jun 29 14:31:33 linux1 qmail: 962303493.482925 starting delivery 3: msg
66303 to
 local [EMAIL PROTECTED]
Jun 29 14:31:33 linux1 qmail: 962303493.483024 status: local 1/10 remote
0/20
Jun 29 14:31:33 linux1 qmail: 962303493.575209 new msg 66304
Jun 29 14:31:33 linux1 qmail: 962303493.575333 info msg 66304: bytes
1171 from 
[EMAIL PROTECTED] qp 18587 uid 551
Jun 29 14:31:33 linux1 qmail: 962303493.641682 starting delivery 4: msg
66304 to
 remote [EMAIL PROTECTED]
Jun 29 14:31:33 linux1 qmail: 962303493.641795 status: local 1/10 remote
1/20


Anyone?




Why no queues on NFS?

2000-06-29 Thread Ihnen, David


Okay.  First what I'm doing, what happened, and then my big question.

I've got a load balanced array of qmail servers whose purpose is to 
relay messages and hold deferred messages.

It is business critical that we don't lose deferred messages.

My first solution for doing this is to place the qmail queues on an 
NFS mount.  They'll stay on the reliable storage and the servers will 
talk to them when needed.

It wasn't the simplest solution - the lock directory had to be on the 
local disk to have the named pipe in it, but I got it working.

It ran for a day or two, and then it started getting some test 
traffic... and it stalled.  It wasn't delivering messages for no 
obvious reason.  I saw nothing new in the log file which is what 
alerted me at first, and the process list was full of qmail-remotes 
that weren't doing anything.  I shut down qmail.

So, I copied the pile of messages back to the local disk, and got 
qmail running again.  The messages in queue were delivered in a few 
seconds.

This prompted a bit of research.  Why didn't it work?  My boss wanted 
to know too.  I found a message on this list where a man states that 
qmail queues cannot be located over NFS.

My question is Why?  they use maildir, so they don't need locking, 
right?  Be technical, I may have to explain this to my boss.

And if I can't put the queues there, is there a way to stored 
deferred messages there, so we can recover from a relay server 
explosion without losing already deferred messages?

David

David Ihnen
Integration Engineer
myCIO
503-670-4018

David Ihnen
Integration Engineer
myCIO
503-670-4018
 



Re: fastforward, redirection and truncating messages

2000-06-29 Thread Lisa Phillips

Ok. No answer to this one. Maybe its too long?

Anyway-for the brief question. Has anyone ever seen the problem of
emails being delivered with without the body of the message?

Lisa

On Wed, Jun 28, 2000 at 10:20:53AM -0700, Lisa Phillips wrote:
 Hi,
 
 We've got an internal machine here inside our firewall that we check
 our email on. We've also got 2 external machines handling email for
 our customers at the domains mydomain.net (a linux machine running
 sendmail) and mydomain.org (a linux machine running qmail). Employess
 have their mail forwarded to our internal machine, web0.mydomain.net.
 
 What we'd like to do is to be able to send mail to each other at our
 @mydomain.net/.org addresses and have them try to deliver locally
 first, on our internal machine, then deliver to the other machines if the 
 user isn't found internally first.
 
 This is what I set up to do this (defaultdomain,me and plusdomain were
 set up by a previous sysadmin):
 
 me
 web0.mydomain.net
 
 defaultdomain
 mydomain.net
 
 locals
 localhost
 web0
 web0.mydomain.net
 web0.mydomain.org
 mydomain.net
 mydomain.org
 
 plusdomain
 mydomain.net
 
 rcpthosts
 localhost
 web0
 web0.mydomain.net
 web0.mydomain.org
 
 locals
 localhost
 web0
 web0.mydomain.net
 web0.mydomain.org
 mydomain.net
 mydomain.org
 
 plusdomain
 mydomain.net
 
 rcpthosts
 localhost
 web0
 web0.mydomain.net
 web0.mydomain.org
 
 .qmail-default
 |fastforward -Npd /etc/aliases.cdb  |forward "$[EMAIL PROTECTED]" 
 
 eve.mydomain.net accepts mail and then forwards on to
 grace.mydomain.org if a user isn't found there.
 
 What is happening now is that mail is delivered locally, but if the mail
 has to be delivered to eve first, the message arrives with NO message
 body. I am lost as to why this would happen.
 
 Does anyone have any suggestions for me? Does it matter if the
 .qmail-default file has the commands on separate lines? Should I add
 mydomain.net and mydomain.org to the rcpthosts file? Does it make a
 difference if the machine email is being redirected to is running
 sendmail?
 
 Qmail is new to me so any advice is very much appreciated.
 
 TIA
 
 -- 
 --
 Lisa Phillips
 Speakeasy Network
 
 
 
 - End forwarded message -
 
 -- 
 --
 Lisa Phillips
 Speakeasy Network
 
 

-- 
--
Lisa Phillips
Speakeasy Network





Forwarding entire domain

2000-06-29 Thread Vincent Danen

Hi there.  I have a virtual domain defined as:

linuxgiant.com:raja

And in /home/raja/.qmail I have:

[EMAIL PROTECTED]

Today I got a bounce message from qmail saying no mailbox found for
[EMAIL PROTECTED]  I'm assuming the case didn't generate the
error.

Is there a "catch-all" to send everything to [EMAIL PROTECTED] to
[EMAIL PROTECTED]?

Hmmm... this might be a stupid question... would a
/home/raja/.qmail-default do the trick if it contained the forwarder
address?

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 3 days 20 hrs and 17 mins.



Re: Forwarding entire domain

2000-06-29 Thread Vincent Danen

On Thu, Jun 29, 2000 at 02:16:01PM -0600, Vincent Danen wrote:

Never mind.  .qmail-default did it...  sheesh...  Sorry folks.

 Hi there.  I have a virtual domain defined as:
 
 linuxgiant.com:raja
 
 And in /home/raja/.qmail I have:
 
 [EMAIL PROTECTED]
 
 Today I got a bounce message from qmail saying no mailbox found for
 [EMAIL PROTECTED]  I'm assuming the case didn't generate the
 error.
 
 Is there a "catch-all" to send everything to [EMAIL PROTECTED] to
 [EMAIL PROTECTED]?
 
 Hmmm... this might be a stupid question... would a
 /home/raja/.qmail-default do the trick if it contained the forwarder
 address?

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 3 days 20 hrs and 21 mins.



sending mail outside local domain

2000-06-29 Thread John Steniger

I've recently set up qmail 1.03 on an OpenBSD 2.6 system.  I can send and
receive e-mail locally, but when sending out to the internet I get the
following error:

Connected to 198.23.2.45 but sender was rejected.
Remote host said: 501 [EMAIL PROTECTED] ... Sender domain must
exist

I have no MX record for tester, as it isn't the default mail server for the
domain (using it for testing).  
Any idea how to fix this?  Would a second MX record at lower priority do?

Thanks





Re: filehandle

2000-06-29 Thread Sylwester S. Biernacki

2000-06-29, at 04:34:55, Kimberly Vher wrote:

 does qmail support the filehandle in linux?
What do you mean by "support the filehandle" ?

-- 
Sylwester S. Biernacki [EMAIL PROTECTED]





Re: manpages for ucspi-tcp

2000-06-29 Thread Sylwester S. Biernacki

2000-06-29, aty 07:10:59, wrote:

 Before I make some unecessary work for myself, I was wondering two
 things:

 Are there manpages for ucspi-tcp 0.88 somewhere?  None are in the
 package.  Also, is there a html2man program or something I can use to
 make this easier?
sure... look at http://freshmeat.net from a day or two ago :)

-- 
cheers,
Sylwester S. Biernacki [EMAIL PROTECTED]





Re: Limit Traffic

2000-06-29 Thread Sylwester S. Biernacki

2000-06-28, at 18:09:54, [EMAIL PROTECTED] wrote:

 Hi list,

 How i can limit the traffic of my mail server for connections out of my 
 LAN? I'm thinking to put 2 network boards on the machine and use shaper in 
 one of them, so i set MX to a board and pop3.xxx.com and smtp.xxx.com to 
 other board (not shaped), that's ok, but i can't make a routing table to this.

 Look the scheme:
 -
 At Linux:
 10.0.0.2 - eth0
 10.0.0.3 - eth1 (shaped at 512k)

 At DNS:

 xxx.com  IN MX 10.0.0.3

 pop3.xxx.com IN A  10.0.0.2
 smtp.xxx.com IN A  10.0.0.2
 ---

 Any Ideias?
I think it's not the subject for this list, but if you use Linux look
for iproute2 and netfliter (both are on freshmeat i.e.). or just link
them to i.e. Cisco Catalyst which can deal with traffic shaping :

have fun :]

-- 
Sylwester S. Biernacki [EMAIL PROTECTED]





header rewriting

2000-06-29 Thread Adam McKenna

I seem to remember that someone wrote a utility that can rewrite selected
headers..  But I can't seem to find it on www.qmail.org..  Can someone point
me in the right direction?

Thanks,

--Adam



Sorry newbie question

2000-06-29 Thread eradan

I have installed qmail once before about 6 months ago w/o a hitch.  

But for some reason this install is acting very wierd. I did a "standard"
(if there is such a thing) install of qmail. Everything worked fine up
until the test email.  I am using Maildir. When i try to stop/restart/start
qmail i get this message 

"qmailsvc: warning: unable to chdir to /var/qmail/supervise/run: not a
directory"

why is it trying to chdir to the that dir  ?? is that a file for running
/var/qmail/rc ? 

i am at a stand still ... thanx in advance 

Chad Cranston 
Network Admin 





Re: blocking aliases

2000-06-29 Thread Eddy Fafard

An easier way to do this that works is to create ~alias/.qmail-default 
and insert  | forward "$[EMAIL PROTECTED]" (your inside mailserver)
which will forward all mail it does 
not know about to the inside server. Then you have create a .qmail file
for local users to the server and forward mail to the inside  server. 
Then make sure ~/qmail/control/locals  has the domain that it will
accept mail for instead of just forwarding ,then create aliases for the
internal names and pipe to bitbucket. Just did 
it and it works like a charm..

Eddy

"Hubbard, David" wrote:
 
 Hey Raj,
 how do you do the forwarding to the internal mail
 server?  Do you have a virtualdomains entry set up for
 indsoft.co.in?  If so, let's pretend that you have an
 entry like this:
 
 indsoft.co.in:username
 
 And then maybe in username's directory, you have a .qmail*
 of some type that handles the forwarding to the internal
 mail server.  I think you could create a rule in your
 /.../qmail/users/assign file that says something like
 =username-all:blockall:uid:gid:directory:::
 where the 'blockall', uid, and gid, are an actual user
 account on your front-end computer.  In blockall's
 directory, you put a .qmail  .qmail-default that has
 your email address, [EMAIL PROTECTED]
 
 I think if you did that, the rule would catch any incoming
 [EMAIL PROTECTED] emails and forward them to you instead
 of to the internal mail server.
 
 Dave
 
 -Original Message-
 From: RajKumar S. [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 28, 2000 5:22 AM
 To: [EMAIL PROTECTED]
 Subject: blocking aliases
 
 hello all,
 
 I have qmail server as my external server which receives my external mail
 and fwds it to my internal (in the local network) sendmail which
 distributes to the users who are in the private local network.
 
 i have setup some aliases in the internal server like [EMAIL PROTECTED]
 which when activated will send the mail to all the users. obviously i have
 not activated it till i find a way to disable all external mails to the
 aliased accounts.
 
 ie i do not want any one outside to mail to the aliased mails address.
 
 any help will be much appreciated.
 
 raj
 
 PS: if you mail to [EMAIL PROTECTED] now the mail will be accepted but it
 will go to the inbox of the user all which is not used.

--



Re: Sorry newbie question

2000-06-29 Thread asantos


From: [EMAIL PROTECTED] [EMAIL PROTECTED]
"qmailsvc: warning: unable to chdir to /var/qmail/supervise/run: not a
directory"

why is it trying to chdir to the that dir  ?? is that a file for running
/var/qmail/rc ? 

i am at a stand still ... thanx in advance 


I think you didn't followed step 8 of the INSTALL file:

8. Copy /var/qmail/boot/home (or proc) to /var/qmail/rc

Possibly some remains from your previous install.

Armando


 smime.p7s


Re: Why no queues on NFS?

2000-06-29 Thread John White

On Thu, Jun 29, 2000 at 12:55:56PM -0700, Ihnen, David wrote:
 This prompted a bit of research.  Why didn't it work?  My boss wanted 
 to know too.  I found a message on this list where a man states that 
 qmail queues cannot be located over NFS.
 
 My question is Why?  they use maildir, so they don't need locking, 
 right?  Be technical, I may have to explain this to my boss.

You're confusing 1) user mail storage (Maildir), with 2) the qmail
queue structure.

Maildir is the storage format for final delivery, and is well suited
to being on NFS.

The qmail queue structure is not much like a Maildir, and is for
intermediate storage of a message while waiting on final delivery.
The qmail queue cannot be stored on NFS as it 1) requires exclusive
access, 2) names files after disk inodes.  A good document to read
about would be INTERNALS.  
 
 And if I can't put the queues there, is there a way to stored 
 deferred messages there, so we can recover from a relay server 
 explosion without losing already deferred messages?

Just put your entire queue on a RAID partition.  Just give yourself
enough of a budget to have good IO speed on that RAID partiiton.
I'll say it again, RAID 10.

John  



Anybody for a Distributed-Email-HOWTO?

2000-06-29 Thread Brett Randall



Okay, for anybody that missed my 2c worth yesterday (or day 
before...I can't even remember what day is what at the moment), I am thinking 
about writing a HOWTO but only if:
1. There is enough support for it; and
2. There is no good reason for me not to bother.

OK, enough of the blabbering. I have just finished 
implementing a new system that allows e-mail around an entire city (further with 
no major problems except cost of interstate and international communications) 
even though all e-mail only goes to one domain name. The e-mail is distributed 
via NFS to shares that connect when the remote location (either permanent ISDN 
or dialup modem) dial up, and there is no problem with messages not getting 
delivered when they are not connected, they are simply deferred until they 
connect.

Users can check their e-mail from virtually anywhere in the 
world, no matter if they are inside their work network, or outside on the 
Internet, via the ability of distributed NIS. The idea of this system is to 
dramatically decrease network traffic by not having unnecessary bounces, having 
POP servers onsite, and the network will still appear to work (from any 
location), even if the main server goes down. Cost is also decreased as all that 
is required is a small server (x86's do the job fine) in each location, and one 
main server that only really needs to handle traffic and requests, with no real 
data storage capabilities. Messages are simply deferred if a server is down, but 
POP mail can still be retrieved. If one link goes down, nobody else is affected 
in the slightest.

If anybody wants a HOWTO on this (ie you have a use for it), 
then please e-mail me personally, or post your comments on why or why not this 
is useful to the list. If you have already contacted me then please don't bother 
again!

Thanks for your time

Brett Randall.


host masquerading.

2000-06-29 Thread Russell Davies

In the FAQ, it directs you to put 'some.domain' defaulthost as a
mechanism for rewriting your headers, etc. The problem with this is
that if you send mail to an unqualifed localuser, then it rewritten as
[EMAIL PROTECTED] and attempted to be delivered remotely, how do I
make such mail be delivered locally?

cheers,
r.



Re: host masquerading.

2000-06-29 Thread asantos

From: Russell Davies [EMAIL PROTECTED]
that if you send mail to an unqualifed localuser, then it rewritten as
[EMAIL PROTECTED] and attempted to be delivered remotely, how do I
make such mail be delivered locally?


To be delivered locally, some.domain must be present in locals.

Armando


 smime.p7s


Re: host masquerading.

2000-06-29 Thread Russell Davies

; From: Russell Davies [EMAIL PROTECTED]
; that if you send mail to an unqualifed localuser, then it rewritten as
; [EMAIL PROTECTED] and attempted to be delivered remotely, how do I
; make such mail be delivered locally?
; 
; 
; To be delivered locally, some.domain must be present in locals.

I realise that, however I want to deliver to _real_ recipients in
some.domain, if I put some.domain in locals, then all mail going there
will be delivered locally.

r.



Re: host masquerading.

2000-06-29 Thread asantos

From: Russell Davies [EMAIL PROTECTED]
; To be delivered locally, some.domain must be present in locals.

I realise that, however I want to deliver to _real_ recipients in
some.domain, if I put some.domain in locals, then all mail going there
will be delivered locally.



I'm a bit confused by your question, then: either you want mail for
some.domain to be delivered locally, or remotely.

*But*, possibly what you want is to deliver mail locally when the user is
unqualified, while sending all mail qualified for some.domain to the remote
server. In that case, just fill default host with a bogus domain
(local.some.domain) and tell qmail it is local. Mail for unqualified users
will then be delivered locally, qualified as [EMAIL PROTECTED]

Armando


 smime.p7s