serial mail

2001-03-26 Thread lkhanna



Dear sir,
 
I want to implement serial mail on my existing 
qmail 1.03 , which is running at Red Hat 6.2.
 
Could you pl tell me how can i implement 
this.
 
I am using mailbox format right now.
 
Regards
 
lokesh


Re: procmail

2001-03-26 Thread inter7


With best regards,
Shishir K. Singh
[EMAIL PROTECTED]
- Original Message - 
From: MOkondo <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 7:51 PM
Subject: procmail


> I am trying to filter email using procmail.
> what i was doing put a line below on ~/.qmail file:
> 
> | preline procmail  
> 
> The result is filtered emails delivered to ~/Mail/anyfile (one file)
> but unfiltered email delivered to /var/spool/mail/
> 
> my question is:
> How to make procmail work with Maildir and as reliable as Maildir? 
> what i have to write on ~/.qmail file ?
> 
> -- 
> MOkondo
> i am an atheist, thank god !
> 




Re: local mail routing help

2001-03-26 Thread Jean

Brett,

> Is this really a locals file? Try:
>
> mydomain.com
> server2.mydomain.com
>
> (ie without the :mydomain.com's)
>
> Brett.

Thanks for pointing that out.  I am not sure how it got in, but that's how
it was.  It's fixed now.  Probably the 2am cut & paste while tunnelling in
from home.  I took your advice and now the mail no longer stays on server1.
I haven't gotten them on server2 yet, but this is a firewall issue that I
need to resolve.  I assume they are sitting in the queue waiting for the
firewall to open up.

jean





qmail and sms

2001-03-26 Thread Essy Ren

do you know how to set every email from qmail will make sms alert to my
handphone ?
is there any software which support this ?
thanks




postings messed up

2001-03-26 Thread Kirill Miazine

I have noticed that some of the postings appear several times. The messages
are exactly the same, but the From: address is set to
[EMAIL PROTECTED]

See for yourself: message 65233 and message 65295 (Subject: Subject: Re:
Sending attachments with qmail-inject)

What's going on?

-- 
Kirill



Re: lost??

2001-03-26 Thread inter7

start from /usr/src _and_ you may read life with qmail

Tom

- Original Message -
From: "Gregory Malsack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 4:00 PM
Subject: lost??


Hello,

Why does my sco unix odt system 5 come back and tell me that there is no
cc found in $PATH after typing in ./configure?

Thank you for your anticipated assistance.
Gregory Malsack
Technical Sales & Service Manager
Data Direct Distributors





Re[2]: quota message...

2001-03-26 Thread teng

Hello all,

Monday, March 26, 2001, 8:05:38 PM, you wrote:

RS> On 26 Mar 2001 12:08:29 +0200,
RS>  ONE <[EMAIL PROTECTED]> wrote:
>>How I can set quota message for qmail ?
>>Can you help me?

RS> When You have filesystem quotas, use warnquota.

RS> Greetings
 but I want to know are there some way to use quota without filesystem
 quota?and want to set quota for a domain!can i?
 thanks
 my english is pool.sorry.


-- 
Best regards,
 tengmailto:[EMAIL PROTECTED]





Re: Sending attachments with qmail-inject

2001-03-26 Thread Todd Goldenbaum

Wow, thanks.  The MIME::Tools module is fantastic.  I'd highly recommend it
to anyone in a similar situation- for sending or receiving attachment-laden
email w/perl + qmail.

todd
On Mon, 26 Mar 2001, Kirill Miazine wrote:

> On Fri, Mar 23, 2001 at 09:16:44PM -0500, Todd Goldenbaum wrote:
> > Hi,
> >
> > I am using perl to construct and send qmail messages, and I've found it very
> > easy with qmail-inject.  But I'm confused about attachments... I found this
> > suggestion from the archives of this list:
>
> Did you try MIME::Tools? Check your nearest CPAN mirror for more info. Or
> run following:
>
> perl -MCPAN -e 'readme("MIME::Tools")'
>
> >
> > % cat {filename} | uuencode {filename} | /var/qmail/bin/qmail-inject 
>[EMAIL PROTECTED]
> >
> > however, when the mail comes in, it looks something like this:
> >
> >   Date: 24 Mar 2001 02:06:32 -
> >   From: [EMAIL PROTECTED]
> >   Cc: recipient list not shown:  ;
> >
> >   begin 664 ngc2903_hst_big.jpg
> >   M_]C_X``02D9)1@`!`@``9`!D``#_[``11'5C:WD``0`$4```_^X`#D%D
> >   M;V)E`&3``?_;`(0``@("`@("`@("`@,"`@(#!`,"`@,$!00$!`0$!08%
> >   M!04%!04&!@<'"`<'!@D)"@H)"0P,#`P,#`P,#`P,#`P,#`$#`P,%!`4)!@8)
> >   M#0L)"PT/#@X.#@\/#`P,#`P/#PP,#`P,#`\,#`P,#`P,#`P,#`P,#`P,#`P,
> >   M#`P,#`P,#`P,_\``$0@%W@7&`P$1``(1`0,1`?_$`:('`0$!`0$`
> >   M`
> >
> > I'm not very familiar with the standard email spec, but it seems like there
> > might be a way to just include a line in the email header that indicates
> > a file in the local filesystem to attach, maybe assumiing it's been uuencoded?
> >
> > thanks,
> > Todd
> >
> --
> Kirill
>




About Quota

2001-03-26 Thread inter7

Hi all...

How I can set quota message for qmail ?
Can you help me?

Thank you
cmail





forward mail from one domain to another.

2001-03-26 Thread inter7

We have several domains. We would want to receive in the same mailbox mail
for several domains.
For example, all mail for [EMAIL PROTECTED] be forwarded to [EMAIL PROTECTED]
Thanks.

[EMAIL PROTECTED]
Systems Manager
newKnow
Navaluenga 2, Las Rozas, Madrid, Spain
+34 91 6399000

This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it. 




Re: alias

2001-03-26 Thread Greg White

On Mon, Mar 26, 2001 at 10:46:04PM +0200, The Beast wrote:
> Hi all,
> I have qmail with checkpassword for qmail-pop3d, I try to use 
> [EMAIL PROTECTED] for [EMAIL PROTECTED], where mydomain.com isnt the real 
> name of the host (dns is ok), the name of the host is host.myisp.com.

DNS is not OK -- :

gwhite@bilbo:~$ dnsqr a host.myisp.com 
1 host.myisp.com:
32 bytes, 1+0+0+0 records, response, authoritative, nxdomain
query: 1 host.myisp.com

> I put 
> mydomain.com into locals and rcpthost, and all ok. The alias is configured by 
> a &user into the file qmail-alias in /var/qmail/alias. In the ~user directory 
> there is a file named .qmail with the ./Maildir/ directive. When I send email 
> from a valid user of the box to the alias, the email is received ok. When I 
> send an email from another address (out of the box), the email isnt received, 
> can anyone help me, please? It's very important and urgent. thanks.

I doubt that anyone can send you any mail whatsoever when your hostname
is NXDOMAIN. Fix your DNS, and we'll work from there. 

;)

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



can't send remotely

2001-03-26 Thread Brett

I can mail locally with either smtp, inject or sendmail but if I try to send
an email to my address on the qmail server from anywhere remote, I get a
bounced email from my server with the message below:


The original message was received at Mon, 26 Mar 2001 17:26:32 -0700 (MST)
from gw.wnrg.com [64.70.27.226]

   - The following addresses had permanent fatal errors -
<[EMAIL PROTECTED]>

   - Transcript of session follows -
550 <[EMAIL PROTECTED]>... Host unknown (Name server: debian.wnrg.com:
host not found)

   - Original message follows -

Received: from JT2k (gw.wnrg.com [64.70.27.226]) by mymobilecity.com (8.8.8)
id RAA22395 for <[EMAIL PROTECTED]>; Mon, 26 Mar 2001 17:26:32 -0700
(MST)
From: "Brett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: hi there brett
Date: Mon, 26 Mar 2001 16:33:13 -0800
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal


sdfds
sdfds



I think this is probably a simple one. Any ideas? Thanks in advance.

Brett.




Re: qmail+ldap

2001-03-26 Thread Henning Brauer

On Tue, Mar 27, 2001 at 01:16:46AM +0100, Ricardo Cerqueira wrote:
> On Tue, Mar 27, 2001 at 01:48:32AM +0200, Henning Brauer wrote:
> > On Mon, Mar 26, 2001 at 01:59:48PM +0200, [EMAIL PROTECTED] wrote:
> > > if someone had any expirience with qmail and openldap
> > > please send me email.
> > 
> > How often again? In capital letters:
> > 
> > READ HTTP://WWW.LIFEWITHQMAIL.ORG/LDAP/
> 
> *grin*
> The requested URL /LDAP/ was not found on this server.
> 
> Better create an Alias to /ldap/ called /LDAP/, just in case :)

If I remeber after being back from CeBIt I'll do so - but both notebook's and
mobile's batteries are getting emtpy :-((

> RC
> 
> P.S. - Shouting is no solution for clueless people. Flaming them is much
> more fun :)

OK, next time Flaming ;-))

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



HELP: I am confused the use of defaulthost and envnoathost

2001-03-26 Thread Uong, Hoang D


Hi,
I am a qmail newbie. I am confused about the use of
defaulthost and envnoathost files. It seems that I only need one
of them.
If I send mail to 'username'.
The qmail will fill in username@defaulthost 
and it also fill in username@envnoathost at the same time.
Please help me to straight things out.

Thanks,

Hoang





Re: Delivered Messages staying in queue

2001-03-26 Thread Mark Delany

On Mon, Mar 26, 2001 at 07:17:13PM -0500, Nick (Keith) Fish wrote:
> Peter van Dijk wrote:
> > 
> > qmail-queue doesn't run as root. It runs as user qmailq. What group
> > this user is in, or what his homedir is, doesn't matter. Permissions
> > on the binary are relevant indeed.
> > 
> > Greetz, Peter.
> 
> Odd.  Why do I have a set-root-bit on my qmail-queue binary with an
> owner of qmailq, then?  I understand that it runs as user qmailq; but it
> runs with root's permissions, correct?  I have not modified it from the
> installation put in place by the tarball.

There is no such thing as a set-root-bit. There is a setuid bit, and a
setgid bit... their name deescribes their purpose.


Regards.



Re: Delivered Messages staying in queue

2001-03-26 Thread Nick (Keith) Fish

Peter van Dijk wrote:
> 
> qmail-queue doesn't run as root. It runs as user qmailq. What group
> this user is in, or what his homedir is, doesn't matter. Permissions
> on the binary are relevant indeed.
> 
> Greetz, Peter.

Odd.  Why do I have a set-root-bit on my qmail-queue binary with an
owner of qmailq, then?  I understand that it runs as user qmailq; but it
runs with root's permissions, correct?  I have not modified it from the
installation put in place by the tarball.

-- 
Keith
Network Engineer
Triton Technologies, Inc.



Re: qmail+ldap

2001-03-26 Thread Ricardo Cerqueira

On Tue, Mar 27, 2001 at 01:48:32AM +0200, Henning Brauer wrote:
> On Mon, Mar 26, 2001 at 01:59:48PM +0200, [EMAIL PROTECTED] wrote:
> > if someone had any expirience with qmail and openldap
> > please send me email.
> 
> How often again? In capital letters:
> 
> READ HTTP://WWW.LIFEWITHQMAIL.ORG/LDAP/

*grin*
The requested URL /LDAP/ was not found on this server.

Better create an Alias to /ldap/ called /LDAP/, just in case :)

RC

P.S. - Shouting is no solution for clueless people. Flaming them is much
more fun :)

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


Re: Delivered Messages staying in queue

2001-03-26 Thread Peter van Dijk

On Mon, Mar 26, 2001 at 06:53:44PM -0500, Nick (Keith) Fish wrote:
[snip]
> Lemme think here.  If I'm not mistaken, the user that modifies the queue
> is qmailq who owns the qmail-queue program.  Now, on my installation of
> qmail (and so I assume everyone elses) the qmail-queue program's
> permissions are: -rws--x--x .  So, bascially, the qmail-queue program
> executes as root to modify the queue, therefore, permissions on the
> queue directory shouldn't matter.  What group is your qmailq user in? 

qmail-queue doesn't run as root. It runs as user qmailq. What group
this user is in, or what his homedir is, doesn't matter. Permissions
on the binary are relevant indeed.

Greetz, Peter.



Re: Delivered Messages staying in queue

2001-03-26 Thread Nick (Keith) Fish

Bill Crowley wrote:
> 
> Hi,
> 
> It seems that delivered messages as staying in the queue. 7 days later queue
> mail is giving up "I'm not going to try again; this message has been in the
> queue too long."
> 
> I know that 99% of these messages have been delivered successfully so I am
> not sure why they are not purging from the queue.
> 
> Any help would be appreciated.
> 
> B

Lemme think here.  If I'm not mistaken, the user that modifies the queue
is qmailq who owns the qmail-queue program.  Now, on my installation of
qmail (and so I assume everyone elses) the qmail-queue program's
permissions are: -rws--x--x .  So, bascially, the qmail-queue program
executes as root to modify the queue, therefore, permissions on the
queue directory shouldn't matter.  What group is your qmailq user in? 
What is his home directory?  What are the permissions on your
qmail-queue binary?  and what does your run file for qmail look like?

My best guess (if you hadn't deduced here) at this point is that the
permissions aren't right somewhere for the qmail system to make the
necessary changes the the queue; but there are a plethora of other
possibilities. =)

-- 
Keith
Network Engineer
Triton Technologies, Inc.



Re: qmail+ldap

2001-03-26 Thread Henning Brauer

On Mon, Mar 26, 2001 at 01:59:48PM +0200, [EMAIL PROTECTED] wrote:
> if someone had any expirience with qmail and openldap
> please send me email.

How often again? In capital letters:

READ HTTP://WWW.LIFEWITHQMAIL.ORG/LDAP/

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



Re: Taking too long logging via POP

2001-03-26 Thread Henning Brauer

On Mon, Mar 26, 2001 at 01:41:28PM -0800, Neafevoc K. Marindale wrote:
> But I noticed when I connect to check 
> my mail via pop3, it takes a LONG time to log in.  I say it takes (or it 
> seems) nearly a minute to log in and check my mail.

This is a FAQ. Read the tcpserver documentation. You are looking for the
identd- and dns-related options.

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



Re: Delivered Messages staying in queue

2001-03-26 Thread Mark Delany

On Mon, Mar 26, 2001 at 03:49:15PM -0800, Bill Crowley wrote:
> Hi,
> 
> It seems that delivered messages as staying in the queue. 7 days later queue
> mail is giving up "I'm not going to try again; this message has been in the
> queue too long."
> 
> I know that 99% of these messages have been delivered successfully so I am
> not sure why they are not purging from the queue.

If it's a single email to multiple recipients, then qmail will not
delete the message until 100% of the messages have been delivered
successfully.

> Any help would be appreciated.

Show the list examples of what you means, especially useful is the
output from qmail-qread


Regards.



Delivered Messages staying in queue

2001-03-26 Thread Bill Crowley

Hi,

It seems that delivered messages as staying in the queue. 7 days later queue
mail is giving up "I'm not going to try again; this message has been in the
queue too long."

I know that 99% of these messages have been delivered successfully so I am
not sure why they are not purging from the queue.

Any help would be appreciated.

B




Re: how can i run qmail on a port that is not 25 under tcpserver?

2001-03-26 Thread Henning Brauer

On Mon, Mar 26, 2001 at 05:42:19PM -0300, Linux!audimed wrote:
> how can i run qmail on a port that is not 25 (non standart port Ex:300)
> under tcpserver?
> THX.

man tcpserver
(in other words: RTFM)

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



Re: forward

2001-03-26 Thread Nick (Keith) Fish

[EMAIL PROTECTED] wrote:
> 
> hi,
> but isn't it possible to do it like in sendmail in the mailertable?
> 
> if you take the smtproutes of qmail it is nearly the same than the
> mailertable of sendmail but you cannot add a line like this
> domain.com:[EMAIL PROTECTED] .is this true?
> 
> i don't want that the server will act as a popserver and then forward
> it. i want the smtp to forward directly.
> 
> cu ycae
>
> Yves Caetano
> Server Support Engineer

I don't understand your meaning here.  If, by your statement, you mean
that you think your qmail server is using pop3 protocol to receive
messages from a particular domain, you are mistaken.  Servers never act
as pop3 servers unless people are retrieving mail from their inbox via
the pop3 protocol.  The rest of the time, one server will initiate a
SMTP connection with another.  As far as simply setting the route up
like that in your smtproutes file, it cannot be done.  smtproutes only
accepts hosts, never users.  Use the alias method and your mail should
route smoothly.

-- 
Keith
Network Engineer
Triton Technologies, Inc.



qmail+ldap

2001-03-26 Thread inter7

if someone had any expirience with qmail and openldap
please send me email.

With regards
Gerzic Z. Luka





Re: Taking too long logging via POP

2001-03-26 Thread Charles Cazabon

Neafevoc K. Marindale <[EMAIL PROTECTED]> wrote:
> 
> I just setup qmail supervised, and it seems to be running great.  I also 
> managed to install pop3d supervised.  But I noticed when I connect to check 
> my mail via pop3, it takes a LONG time to log in.  I say it takes (or it 
> seems) nearly a minute to log in and check my mail.

This is about the number-one Frequently Asked Question about qmail.  It's
in all the documentation and FAQs.  Check djb's FAQs, check www.qmail.org,
check the archives for this mailing list.

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: Taking too long logging via POP

2001-03-26 Thread Olivier M.

On Mon, Mar 26, 2001 at 01:41:28PM -0800, Neafevoc K. Marindale wrote:
> Hello.
> 
> I just setup qmail supervised, and it seems to be running great.  I also 
> managed to install pop3d supervised.  But I noticed when I connect to check 
> my mail via pop3, it takes a LONG time to log in.  I say it takes (or it 
> seems) nearly a minute to log in and check my mail.

do you start pop3d via tcpserver ? try the options -R -H and -l : it helped
a lot on my servers...

HTH,
Olivier
-- 
_
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch

 PGP signature


Re: forward

2001-03-26 Thread inter7

hi,
but isn't it possible to do it like in sendmail in the mailertable?

if you take the smtproutes of qmail it is nearly the same than the
mailertable of sendmail but you cannot add a line like this
domain.com:[EMAIL PROTECTED] .is this true?

i don't want that the server will act as a popserver and then forward
it. i want the smtp to forward directly.

cu ycae



Kirill Miazine wrote:
> 
> * Yves Caetano <[EMAIL PROTECTED]> [20010326 11:01]:
> > hi,
> >
> > is it possible to forward all the emails for one domain to one email
> > address??
> >
> > like : @domain.com -> [EMAIL PROTECTED]
> 
> Yes,
> 
> echo domain.com:user-domain >> /var/qmail/control/virtualdomains
> echo domain.com >> /var/qmail/control/rcpthosts
> HUP qmail-send
> echo [EMAIL PROTECTED] ~user/.qmail-domain-default
> 
> >
> > thanks
> >
> > cu ycae
> > --
> > Yves Caetano
> > Server Support Engineer
> > Tel: 295383 254
> > Fax: 295383 222
> > email: [EMAIL PROTECTED]http://www.incotech.lu
> --
> Kirill

--
Yves Caetano
Server Support Engineer
Tel: +352 295383 254
Fax: +352 295383 222
email: [EMAIL PROTECTED]http://www.incotech.lu



Taking too long logging via POP

2001-03-26 Thread Neafevoc K. Marindale

Hello.

I just setup qmail supervised, and it seems to be running great.  I also 
managed to install pop3d supervised.  But I noticed when I connect to check 
my mail via pop3, it takes a LONG time to log in.  I say it takes (or it 
seems) nearly a minute to log in and check my mail.

It seems odd since if I check it once, when i check it again shortly after 
it logs in much faster.  But now that I checked it again today, whenever I 
log in it would take nearly a minute each time in order to check my mail.

Here are my system specs...

FreeBSD 4.2 RELEASE.  Also used as a NATd box.  I was wondering if anyone 
has this similar setup with qmail.  The reason I asked I was able to setup 
another FreeBSD box with just a single NIC and running qmail supervised.  I 
log in via pop3 blazing fast (since it's on the LAN).

My only guess it must be NATd related (or how I set up the firewall on that 
NATd box).  Anyone runs this similiar setup encountering the same 
long-logging-via-POP problems?  Much appreciated.  Thanks :)
--
Neafevoc 




ok .ok I answer myself excuse me please. RE: how can i run qmail on a port that is not 25

2001-03-26 Thread Lucas

##from life whit qmail
Create the /var/qmail/supervise/qmail-smtpd/run file:
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1

##
##-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd
2>&1
#  
in the place of smtp. i must put 300 or the port i want. i believe.





Re: how can i run qmail on a port that is not 25 under tcpserver?

2001-03-26 Thread tc lewis


On Mon, 26 Mar 2001, Linux!audimed wrote:
> how can i run qmail on a port that is not 25 (non standart port Ex:300)
> under tcpserver?
> THX.

you probably mean qmail-smtpd.
same way you'd do it with port 25 -- just use a different number.
http://cr.yp.to/ucspi-tcp/tcpserver.html

-tcl.




Re: how can i run qmail on a port that is not 25 under tcpserver?

2001-03-26 Thread Charles Cazabon

Linux!audimed <[EMAIL PROTECTED]> wrote:
> how can i run qmail on a port that is not 25 (non standart port Ex:300)
> under tcpserver?

If you mean qmail-smtpd, read the documentation for tcpserver.  It will tell
you clearly.

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



alias

2001-03-26 Thread The Beast

Hi all,
I have qmail with checkpassword for qmail-pop3d, I try to use 
[EMAIL PROTECTED] for [EMAIL PROTECTED], where mydomain.com isnt the real 
name of the host (dns is ok), the name of the host is host.myisp.com. I put 
mydomain.com into locals and rcpthost, and all ok. The alias is configured by 
a &user into the file qmail-alias in /var/qmail/alias. In the ~user directory 
there is a file named .qmail with the ./Maildir/ directive. When I send email 
from a valid user of the box to the alias, the email is received ok. When I 
send an email from another address (out of the box), the email isnt received, 
can anyone help me, please? It's very important and urgent. thanks.



how can i run qmail on a port that is not 25 under tcpserver?

2001-03-26 Thread Linux!audimed

how can i run qmail on a port that is not 25 (non standart port Ex:300)
under tcpserver?
THX.




Re: Symbolic link to datemail?

2001-03-26 Thread Timothy Mayo

Since qmail's replacement for sendmail contains the following code:

  arg = qiargv;
  *arg++ = "bin/qmail-inject";
  *arg++ = (flagh ? "-H" : "-a");
  if (sender) {
*arg++ = "-f";
*arg++ = sender;
  }
  *arg++ = "--";
  for (i = 0;i < argc;++i) *arg++ = argv[i];
  *arg = 0;

  execv(*qiargv,qiargv);
  substdio_putsflush(subfderr,"sendmail: fatal: unable to run qmail-inject\n");

I would say that the statement about simply using a symlink was misleading at
best.  qmail-inject is also an executable program which datemail is not.  Just
because something is a wrapper for another program does not automatically make
it a script.

Restore your original qmail-inject executable and modify your scripts to call
datemail directly and I'll bet you it works as you would like it to. :)

On Mon, Mar 26, 2001 at 12:10:43PM -0800, Matt Simonsen wrote:
> Are you sure? Is this wrong?
> http://www.faqts.com/knowledge_base/view.phtml/aid/1167/fid/208
> 
> As an aside, on my system /var/qmail/bin/sendmail is not a shell script as
> your first sentence seems to imply but a seperate program... I don't know if
> this has anything to do with my problems.
> 
> 
> 
> -Original Message-
> From: Timothy Mayo [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 26, 2001 11:51 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Symbolic link to datemail?
> 
> 
> You cannot replace qmail-inject with a symlink to datemail.  datemail uses
> /var/qmail/bin/sendmail which simply calls qmail-inject.
> 
> Change your original scripts to call datemail directly.
> 

-- 
-
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior System Administrator
The National Business Network Inc.
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.  http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810- Phone
(412) 810-8886 Fax



Re: Symbolic link to datemail?

2001-03-26 Thread Ian Lance Taylor

"Matt Simonsen" <[EMAIL PROTECTED]> writes:

> Are you sure? Is this wrong?
> http://www.faqts.com/knowledge_base/view.phtml/aid/1167/fid/208

Looks wrong to me.  datemail is a trivial shell script which invokes
sendmail.  sendmail and qmail-inject take different options.  It does
not make sense to simply replace qmail-inject with datemail.  It makes
more sense to replace sendmail with datemail.

If your MUA wants to call sendmail, then you can do something like
this:
cd /var/qmail/bin
mv sendmail sendmail.basic
echo 'exec /var/qmail/bin/predate /var/qmail/bin/sendmail.basic ${1+"$@"}' > 
sendmail
chmod +x sendmail

If your MUA wants to call qmail-inject, then you can do something like
this:
cd /var/qmail/bin
mv qmail-inject qmail-inject.basic
echo 'exec /var/qmail/bin/predate /var/qmail/bin/qmail-inject.basic ${1+"$@"}' > 
qmail-inject
chmod +x qmail-inject
But it is very unlikely that your MUA expects to call qmail-inject,
but does not generate a Date: header.


I don't personally recommend doing either of the above.  I recommend
fixing your MUA to create a Date: header, or telling your MUA to use
`datemail' as a mailer rather than `sendmail'.

Ian



RE: Symbolic link to datemail?

2001-03-26 Thread Matt Simonsen

Are you sure? Is this wrong?
http://www.faqts.com/knowledge_base/view.phtml/aid/1167/fid/208

As an aside, on my system /var/qmail/bin/sendmail is not a shell script as
your first sentence seems to imply but a seperate program... I don't know if
this has anything to do with my problems.



-Original Message-
From: Timothy Mayo [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 11:51 AM
To: [EMAIL PROTECTED]
Subject: Re: Symbolic link to datemail?


You cannot replace qmail-inject with a symlink to datemail.  datemail uses
/var/qmail/bin/sendmail which simply calls qmail-inject.

Change your original scripts to call datemail directly.

On Mon, Mar 26, 2001 at 11:43:50AM -0800, Matt Simonsen wrote:
> >Strange... Try running this by hand:
> >
> >"/var/qmail/bin/predate /var/qmail/bin/sendmail"
> >
> >What do you get? The same error? The above line is what datemail does.
>
>
> Here it is:
>
> [root@wrapguy bin]# /var/qmail/bin/predate /var/qmail/bin/sendmail -t
> To: [EMAIL PROTECTED]
> Subject: testing
> test from wrapguy...
>
>
> And it worked perfectly while qmail-inject was the standard file. It gave
> the below error as soon as I replaced qmail-inject with datemail.
>
> So, to reiterate, here's the problem. When I run the datemail script it
> works perfectly, too. But when I add a symbolic link or replace the file
> qmail-inject with datemail I get an error. Here's a series of commands
that
> should clearly show what I mean:
>
> [root@wrapguy bin]# cp datemail qmail-inject
> cp: overwrite `qmail-inject'? y
> [root@wrapguy bin]# ./qmail-inject
> sendmail: illegal option -- a
> sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
> arg ... ]
>
> [root@wrapguy bin]# ls -l | grep qmail-inject
> -rwxr-xr-x1 root root   72 Mar 26 11:35 qmail-inject
> -rwxr-xr-x1 root root34748 Mar 26 11:22 qmail-inject.orig
> [root@wrapguy bin]# cat qmail-inject
> #!/bin/sh
> exec /var/qmail/bin/predate /var/qmail/bin/sendmail ${1+"$@"}
> [root@wrapguy bin]# ./qmail-inject
> sendmail: illegal option -- a
> sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
> arg ... ]
>
>
>
> Thanks for the help, all-
>
> Matt
>

--
-
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior System Administrator
The National Business Network Inc.
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.  http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810- Phone
(412) 810-8886 Fax




Re: Symbolic link to datemail?

2001-03-26 Thread Timothy Mayo

You cannot replace qmail-inject with a symlink to datemail.  datemail uses
/var/qmail/bin/sendmail which simply calls qmail-inject.

Change your original scripts to call datemail directly.

On Mon, Mar 26, 2001 at 11:43:50AM -0800, Matt Simonsen wrote:
> >Strange... Try running this by hand:
> >
> >"/var/qmail/bin/predate /var/qmail/bin/sendmail"
> >
> >What do you get? The same error? The above line is what datemail does.
> 
> 
> Here it is:
> 
> [root@wrapguy bin]# /var/qmail/bin/predate /var/qmail/bin/sendmail -t
> To: [EMAIL PROTECTED]
> Subject: testing
> test from wrapguy...
> 
> 
> And it worked perfectly while qmail-inject was the standard file. It gave
> the below error as soon as I replaced qmail-inject with datemail.
> 
> So, to reiterate, here's the problem. When I run the datemail script it
> works perfectly, too. But when I add a symbolic link or replace the file
> qmail-inject with datemail I get an error. Here's a series of commands that
> should clearly show what I mean:
> 
> [root@wrapguy bin]# cp datemail qmail-inject
> cp: overwrite `qmail-inject'? y
> [root@wrapguy bin]# ./qmail-inject
> sendmail: illegal option -- a
> sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
> arg ... ]
> 
> [root@wrapguy bin]# ls -l | grep qmail-inject
> -rwxr-xr-x1 root root   72 Mar 26 11:35 qmail-inject
> -rwxr-xr-x1 root root34748 Mar 26 11:22 qmail-inject.orig
> [root@wrapguy bin]# cat qmail-inject
> #!/bin/sh
> exec /var/qmail/bin/predate /var/qmail/bin/sendmail ${1+"$@"}
> [root@wrapguy bin]# ./qmail-inject
> sendmail: illegal option -- a
> sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
> arg ... ]
> 
> 
> 
> Thanks for the help, all-
> 
> Matt
> 

-- 
-
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior System Administrator
The National Business Network Inc.
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.  http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810- Phone
(412) 810-8886 Fax



RE: Symbolic link to datemail?

2001-03-26 Thread Matt Simonsen

After my previous emails, I think it's safe to assume that #1 has been
answered... I believe my datemail script is OK.

As to #2, my symbolic links all point correctly to qmail-inject...

[root@wrapguy bin]# ls -l /usr/lib/sendmail
lrwxrwxrwx1 root root   23 Mar 19 11:12 /usr/lib/sendmail ->
/var/qmail/bin/sendmail
[root@wrapguy bin]# ls -l /usr/sbin/sendmail
lrwxrwxrwx1 root root   23 Mar 19 11:12
/usr/sbin/sendmail -> /var/qmail/bin/sendmail

I *really* wish that were the problem


-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 11:00 AM
To: [EMAIL PROTECTED]
Subject: Re: Symbolic link to datemail?


Matt Simonsen <[EMAIL PROTECTED]> wrote:
> Unfortunately, there is no MUA since qmail-inject is being called from
> various scripts. Here's the output you requested, Charles.
>
> [root@wrapguy bin]# ls -l | grep qmail-inject
> lrwxrwxrwx1 root qmail   8 Mar 26 10:48 qmail-inject ->
> datemail
> -rwxr-xr-x1 root qmail   34748 Mar 19 10:44 qmail-inject.orig

Okay, this looks alright.

[...]
> And one more potentially useful ls is:
>
> [root@wrapguy bin]# ls -l | grep datemail
> -rwxr-xr-x1 root qmail 126 Mar 19 10:44 datemail
> lrwxrwxrwx1 root qmail   8 Mar 26 10:48 qmail-inject ->
> datemail

Yes, this seems funny.  Datemail here is a 67-byte Bourne shell script:

#!/bin/sh
exec /var/qmail/bin/predate /usr/sbin/sendmail ${1+"$@"}

My questions:

1)  What are the contents of your datemail?  It's got to be more than here.

2)  How much do you want to bet that /usr/sbin/sendmail on your system
is not the qmail sendmail wrapper, but a real sendmail binary?  That's
almost certainly the problem here, and would account for the sendmail
error messages you're seeing.  If this is the problem, you need to remove
the sendmail binary (or rename it) and replace it with a link to
/var/qmail/bin/sendmail .

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: Symbolic link to datemail?

2001-03-26 Thread Ricardo Cerqueira

On Mon, Mar 26, 2001 at 10:54:20AM -0800, Matt Simonsen wrote:
> Unfortunately, there is no MUA since qmail-inject is being called from
> various scripts. Here's the output you requested, Charles.
> 
> 
> [root@wrapguy bin]# ls -l | grep qmail-inject
> lrwxrwxrwx1 root qmail   8 Mar 26 10:48 qmail-inject ->
> datemail
> -rwxr-xr-x1 root qmail   34748 Mar 19 10:44 qmail-inject.orig
> 
> 
> And the problem again...
> 
> [root@wrapguy bin]# ./datemail
> sendmail: illegal option -- a
> sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
> arg ... ]

Strange... Try running this by hand:

"/var/qmail/bin/predate /var/qmail/bin/sendmail"

What do you get? The same error? The above line is what datemail does.

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


RE: Symbolic link to datemail?

2001-03-26 Thread Matt Simonsen

>Strange... Try running this by hand:
>
>"/var/qmail/bin/predate /var/qmail/bin/sendmail"
>
>What do you get? The same error? The above line is what datemail does.


Here it is:

[root@wrapguy bin]# /var/qmail/bin/predate /var/qmail/bin/sendmail -t
To: [EMAIL PROTECTED]
Subject: testing
test from wrapguy...


And it worked perfectly while qmail-inject was the standard file. It gave
the below error as soon as I replaced qmail-inject with datemail.

So, to reiterate, here's the problem. When I run the datemail script it
works perfectly, too. But when I add a symbolic link or replace the file
qmail-inject with datemail I get an error. Here's a series of commands that
should clearly show what I mean:

[root@wrapguy bin]# cp datemail qmail-inject
cp: overwrite `qmail-inject'? y
[root@wrapguy bin]# ./qmail-inject
sendmail: illegal option -- a
sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
arg ... ]

[root@wrapguy bin]# ls -l | grep qmail-inject
-rwxr-xr-x1 root root   72 Mar 26 11:35 qmail-inject
-rwxr-xr-x1 root root34748 Mar 26 11:22 qmail-inject.orig
[root@wrapguy bin]# cat qmail-inject
#!/bin/sh
exec /var/qmail/bin/predate /var/qmail/bin/sendmail ${1+"$@"}
[root@wrapguy bin]# ./qmail-inject
sendmail: illegal option -- a
sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
arg ... ]



Thanks for the help, all-

Matt




RE: Symbolic link to datemail?

2001-03-26 Thread Matt Simonsen

Yeah, my script is the one with the added comment 

-Original Message-
From: Ricardo Cerqueira [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 11:18 AM
To: [EMAIL PROTECTED]
Subject: Re: Symbolic link to datemail?


On Mon, Mar 26, 2001 at 01:00:15PM -0600, Charles Cazabon wrote:
> Matt Simonsen <[EMAIL PROTECTED]> wrote:
> 
> Yes, this seems funny.  Datemail here is a 67-byte Bourne shell script:
>

Actually... I'm running a pristine qmail 1.03 on this machine... datemail
is a 126 byte bash script, using /var/qmail/bin/sendmail instead of
/usr/bin/sendmail. Considering the size, I'd say his script is exactly the
same.




Re: Symbolic link to datemail?

2001-03-26 Thread Ricardo Cerqueira

On Mon, Mar 26, 2001 at 01:00:15PM -0600, Charles Cazabon wrote:
> Matt Simonsen <[EMAIL PROTECTED]> wrote:
> 
> Yes, this seems funny.  Datemail here is a 67-byte Bourne shell script:
>

Actually... I'm running a pristine qmail 1.03 on this machine... datemail
is a 126 byte bash script, using /var/qmail/bin/sendmail instead of
/usr/bin/sendmail. Considering the size, I'd say his script is exactly the
same.

RC
 
> 
> 1)  What are the contents of your datemail?  It's got to be more than here.

A comment: "# WARNING: This file was auto-generated. Do not edit!" :-)

> 
> 2)  How much do you want to bet that /usr/sbin/sendmail on your system
> is not the qmail sendmail wrapper, but a real sendmail binary?  That's
> almost certainly the problem here, and would account for the sendmail
> error messages you're seeing.  If this is the problem, you need to remove
> the sendmail binary (or rename it) and replace it with a link to
> /var/qmail/bin/sendmail .

That might be it... But then again, if his script is the original one (like
mine, apperently created by "make setup"...)

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


Re: Symbolic link to datemail?

2001-03-26 Thread Charles Cazabon

Matt Simonsen <[EMAIL PROTECTED]> wrote:
> Unfortunately, there is no MUA since qmail-inject is being called from
> various scripts. Here's the output you requested, Charles.
> 
> [root@wrapguy bin]# ls -l | grep qmail-inject
> lrwxrwxrwx1 root qmail   8 Mar 26 10:48 qmail-inject ->
> datemail
> -rwxr-xr-x1 root qmail   34748 Mar 19 10:44 qmail-inject.orig

Okay, this looks alright.

[...]
> And one more potentially useful ls is:
> 
> [root@wrapguy bin]# ls -l | grep datemail
> -rwxr-xr-x1 root qmail 126 Mar 19 10:44 datemail
> lrwxrwxrwx1 root qmail   8 Mar 26 10:48 qmail-inject ->
> datemail

Yes, this seems funny.  Datemail here is a 67-byte Bourne shell script:

#!/bin/sh
exec /var/qmail/bin/predate /usr/sbin/sendmail ${1+"$@"}

My questions:

1)  What are the contents of your datemail?  It's got to be more than here.

2)  How much do you want to bet that /usr/sbin/sendmail on your system
is not the qmail sendmail wrapper, but a real sendmail binary?  That's
almost certainly the problem here, and would account for the sendmail
error messages you're seeing.  If this is the problem, you need to remove
the sendmail binary (or rename it) and replace it with a link to
/var/qmail/bin/sendmail .

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: Symbolic link to datemail?

2001-03-26 Thread Matt Simonsen

Unfortunately, there is no MUA since qmail-inject is being called from
various scripts. Here's the output you requested, Charles.


[root@wrapguy bin]# ls -l | grep qmail-inject
lrwxrwxrwx1 root qmail   8 Mar 26 10:48 qmail-inject ->
datemail
-rwxr-xr-x1 root qmail   34748 Mar 19 10:44 qmail-inject.orig


And the problem again...

[root@wrapguy bin]# ./datemail
sendmail: illegal option -- a
sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
arg ... ]

And one more potentially useful ls is:

[root@wrapguy bin]# ls -l | grep datemail
-rwxr-xr-x1 root qmail 126 Mar 19 10:44 datemail
lrwxrwxrwx1 root qmail   8 Mar 26 10:48 qmail-inject ->
datemail


Thanks for all the help! I really am stumpted on this one.

Matt

-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 10:41 AM
To: [EMAIL PROTECTED]
Subject: Re: Symbolic link to datemail?


Matt Simonsen <[EMAIL PROTECTED]> wrote:
> First, the problem: we need to send email from our Qmail server using
> standard time instead of GMT.

The right solution is to have your MUA (or your users' MUAs) insert a
Date: header before passing the mail on to qmail.  qmail will then leave
it alone, and it will be in whatever timezone you want.

However...

> I found a solution to this problem from Dave Sill saying to use
datemail...
> He says that, "Some people even replace qmail-inject with a symbolic link
to
> datemail" This is the solution we really need, that is, one where we can
> continue to use the qmail-inject command. At this point I have tried both
a
> symbolic link and actually copying datemail to qmail-inject, but we
continue
> to get the error message:
>
> [root@wrapguy bin]# /var/qmail/bin/qmail-inject
> sendmail: illegal option -- H
> sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
> arg ... ]

A sendmail error when calling qmail-inject?  Something is screwy.  What
does `ls -l /var/qmail/bin/qmail-inject` output?  It looks like your
qmail-inject is a symlink to either the qmail sendmail wrapper, or a real
sendmail binary (can't recall enough about the error messages each gives
to determine which).

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: Symbolic link to datemail?

2001-03-26 Thread Charles Cazabon

Matt Simonsen <[EMAIL PROTECTED]> wrote:
> First, the problem: we need to send email from our Qmail server using
> standard time instead of GMT.

The right solution is to have your MUA (or your users' MUAs) insert a
Date: header before passing the mail on to qmail.  qmail will then leave
it alone, and it will be in whatever timezone you want.

However...

> I found a solution to this problem from Dave Sill saying to use datemail...
> He says that, "Some people even replace qmail-inject with a symbolic link to
> datemail" This is the solution we really need, that is, one where we can
> continue to use the qmail-inject command. At this point I have tried both a
> symbolic link and actually copying datemail to qmail-inject, but we continue
> to get the error message:
> 
> [root@wrapguy bin]# /var/qmail/bin/qmail-inject
> sendmail: illegal option -- H
> sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
> arg ... ]

A sendmail error when calling qmail-inject?  Something is screwy.  What
does `ls -l /var/qmail/bin/qmail-inject` output?  It looks like your
qmail-inject is a symlink to either the qmail sendmail wrapper, or a real
sendmail binary (can't recall enough about the error messages each gives
to determine which).

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: Logging

2001-03-26 Thread nolan

> I would like to be able to log all subscriptions and un-subscriptions on my
> list. right now it is a  basic ezmlm-idx list on a freebsd 4.1 box. I tried
> to look thru the .qmail files to see if I could add my email address to one
> of them but I could not find the one that handles the unsub/sub commands.
> 
> any help with this would be appreciated.

ezmlm-idx already logs all subscriptions and unsubscriptions in the Log files.

Below is a short perl program that will list all of the activity in the past
week.
--
Mike Nolan


#!/usr/bin/perl

$[=1;  # array base
$\="\n";
$,="";

$today=time;
#print $today;

open (FILES, "ls -lt /var/qmail/alias/*/Log /var/qmail/alias/*/*/Log|");

#$_=;
#chop;
#print $_;

while () {
chop;
#print $_;
@Fld = split(' ', $_, );
$file = $Fld[9];
open (MSG, "tail $Fld[9]|");
while () {
   chop;
   #print $_;
   @Fld = split(' ', $_, );
   ($sec,$min,$hour,$mday, $mon, $year, $wday, $yday, $isdt) 
  = localtime($Fld[1]);
   $x=$_;
   if ($Fld[1] > $today -609000) {
  if (length($file) > 5) {
 print substr($file,18);
 undef $file;
  }
  print " ", $mon+1,"/",$mday, "/", $year+1900, " ", $hour, ":", 
  substr($min+100,2), " ", 
  $Fld[2], " ", $Fld[3];
   }

} #end of Log file

} #end of list of log file names
exit;



Re: Multi RCPT

2001-03-26 Thread Alex Kramarov


"Charles Cazabon" wrote

> No, it can be made to work the way the original poster wanted -- that's
> one of the main reasons for serialmail's existence.  I don't use it
myself,
> but do recall djb posting exact instructions for using serialmail to do
> multi-RCPT delivery over SMTP.

>From what I remember, the original intention was that the user will put his
outgoung mail to a maildir and serialmail will pick it up from there (and in
this case, one mail sent to several recipients will stay as one mail). But
in our case (and 99% of others, i believe) the person is talking about 30-40
users, and datatytes configuration, which clearly state that the mail
arrives to qmail server through smtp.





Symbolic link to datemail?

2001-03-26 Thread Matt Simonsen

First, the problem: we need to send email from our Qmail server using
standard time instead of GMT.

I found a solution to this problem from Dave Sill saying to use datemail...
He says that, "Some people even replace qmail-inject with a symbolic link to
datemail" This is the solution we really need, that is, one where we can
continue to use the qmail-inject command. At this point I have tried both a
symbolic link and actually copying datemail to qmail-inject, but we continue
to get the error message:

[root@wrapguy bin]# /var/qmail/bin/qmail-inject
sendmail: illegal option -- H
sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [
arg ... ]

My datemail file contains:
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
exec /var/qmail/bin/predate /var/qmail/bin/sendmail ${1+"$@"}

Any help would be greatly appreciated.

Thanks
Matt Simonsen




Re: Multi RCPT

2001-03-26 Thread Charles Cazabon

Alex Kramarov <[EMAIL PROTECTED]> wrote:
> > Iñigo Martínez Lasala <[EMAIL PROTECTED]> wrote:
> > > Is there any working and fully tested implementation for multi RCTP?
> > > (that is to send a mail to several receipts in the same connection and
> > > sending only once this mail).
> >
> > Yes.  It's called serialmail.  See djb's site for details.
>
> No, the way I see it (and tested it) , it doesn't provide the required
> solution :
> 
> The only scenario that remotely fits for this is to use serialmail to send
> all outgoing mail to ISP from a maildir, and all outgoing mail is routed
> through virtual domain to that maildir. But this doesn't reduce the bandwidth
> consumed : if a message is intended for 3 recipients, even in the same
> domain, you will find 3 copies of the mail in that mailbox, so you didn't
> save anything.

No, it can be made to work the way the original poster wanted -- that's
one of the main reasons for serialmail's existence.  I don't use it myself,
but do recall djb posting exact instructions for using serialmail to do
multi-RCPT delivery over SMTP.

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: Multi RCPT

2001-03-26 Thread Alex Kramarov

No, the way I see it (and tested it) , it doesn't provide the required
solution :

The only scenario that remotely fits for this is to use serialmail to send
all outgoing mail to ISP from a maildir, and all outgoing mail is routed
through virtual domain to that maildir. But this doesn't reduce the
bandwidth consumed : if a message is intended for 3 recipients, even in the
same domain, you will find 3 copies of the mail in that mailbox, so you
didn't save anything.

Alex.


- Original Message -
From: "Charles Cazabon" <[EMAIL PROTECTED]>
To: "Qmail list (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 6:58 PM
Subject: Re: Multi RCPT


> Iñigo Martínez Lasala <[EMAIL PROTECTED]> wrote:
> > Is there any working and fully tested implementation for multi RCTP?
(that
> > is to send a mail to several receipts in the same connection and sending
> > only once this mail).
>
> Yes.  It's called serialmail.  See djb's site for details.
>
> 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.
> ---
>
>





Logging

2001-03-26 Thread Jeremy Suo-Anttila

I would like to be able to log all subscriptions and un-subscriptions on my
list. right now it is a  basic ezmlm-idx list on a freebsd 4.1 box. I tried
to look thru the .qmail files to see if I could add my email address to one
of them but I could not find the one that handles the unsub/sub commands.

any help with this would be appreciated.

Thanks

Jeremy Suo-Anttila
[EMAIL PROTECTED]
http://funeralWire.com
Your Leading Source For Death Care Industry News.




Re: Multi RCPT

2001-03-26 Thread Charles Cazabon

Iñigo Martínez Lasala <[EMAIL PROTECTED]> wrote:
> Is there any working and fully tested implementation for multi RCTP? (that
> is to send a mail to several receipts in the same connection and sending
> only once this mail).

Yes.  It's called serialmail.  See djb's site for details.

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



moving from post.office to qmail

2001-03-26 Thread [EMAIL PROTECTED]

Hey there,

I am looking to migrate several thousand mail accounts from post.office to
qmail.  Are there any conversion scripts for this or an easy way to get this
done that someone knows about?

TIA 

Brendan




Multi RCPT

2001-03-26 Thread Iñigo Martínez Lasala

Is there any working and fully tested implementation for multi RCTP? (that
is to send a mail to several receipts in the same connection and sending
only once this mail).
Thanks in advance.

[EMAIL PROTECTED]
Systems Manager
newKnow
Navaluenga 2, Las Rozas, Madrid, Spain
+34 91 6399000

This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it. 




VERP message handling

2001-03-26 Thread Alex Kramarov

Hello.

I am trying to setup automatic bounce handling for mailing list ,where the
messages are injected to qmail by smtp, one by one - customised messages for
every recipient, with the correct smtp envelope for VERP, and the address
list is extracted from a database before the list is being sent (it's an
announcement list for a product, where users subscribe via the web, not a
kind of list that would work with ezmlm, if I understand it correctly).

I was trying to figure, what is the best way to collect all the addresses
returned to the
[EMAIL PROTECTED], and the first thing that came to me is
putting

| perl -e '$ret_address=$ENV{'LOCAL'};$ret_address=~s/.*-.*-// ;
$ret_address=~s/=/@/; print $ret_address."\n";' >> listname-bounce.log

all in one line.

The only think that worries me with this solution, is what will happen when
two processes will try to write to the file - I don't mind garbling a few
rows, as long as it doesn't affect everything else.

Is there a better/more efficient/more compatible to the future way to do
that?

Thanks.

Alex.







Using DRAC with qmail?

2001-03-26 Thread Steven Katz

Hi,

I'm trying to get DRAC to work with qmail. Does anyone know where I 
can find instructions for setting up the maps in qmail's SMTP daemon 
to check the DRAC db?

Thanks,
Steven




Re: forward mail from one domain to another.

2001-03-26 Thread Charles Cazabon

Iñigo Martínez Lasala <[EMAIL PROTECTED]> wrote:
> > > We have several domains. We would want to receive in the same mailbox
> > > mail for several domains.  For example, all mail for [EMAIL PROTECTED] be
> > > forwarded to [EMAIL PROTECTED]
> >
> > If domain1.dom is a local domain, just make domain2.dom a local domain as
> > well.  If domain1.dom is a virtualdomain, make domain2.dom another virtual
> > domain controlled by the same local user account as domain1.dom.  Done.
>
> domain2.dom is a virtualdomain.  The problem is that no user has it's mailbox
> in this server. This is a forward-only server.  I've two posibilities: - let
> forward server "convert" @domain2.dom to @domain1.dom or...  - let
> destination server manage both domains. But since destination server is a
> MSExchange (without internet connectivity, of course) I should make user per
> user conversion. :( I would prefer use the first method.

I don't see the problem.  Just make domain2.dom a copy of domain1.dom.  i.e. if
you're using a default forwarding rule in an ~alias/.qmail-default file for
domain1.dom, make a copy of it, or symlink to it, for domain2.dom.  If you're
controlling domain1.dom with a system account foo, just make domain2.dom 
controlled by the same system account foo, and it will get handled the
same way as domain1.dom.

Rewriting headers to hide one domain from another is a broken design, and is
a sendmail-ism.

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: redundant mail servers

2001-03-26 Thread Markus Stumpf

On Fri, Mar 23, 2001 at 11:02:13AM -0500, Russell Nelson wrote:
> You use POP3 when you want to get the email the hell off your
> servers. 

Anyone else noticing a heavy growth in "Keep eMails on Server" settings
in POP3 ? :(((

> You use IMAP when you want to have a mail expiration policy, 

*smile* thanks to Maildirs this has become easy with POP3, too ;-)

\Maex

-- 
SpaceNet AG| Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development |   D-80807 Muenchen| Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.



RE: forward mail from one domain to another.

2001-03-26 Thread Iñigo Martínez Lasala

domain2.dom is a virtualdomain.
The problem is that no user has it's mailbox in this server. This is a
forward-only server.
I've two posibilities:
- let forward server "convert" @domain2.dom to @domain1.dom or...
- let destination server manage both domains. But since destination server
is a MSExchange (without internet connectivity, of course) I should make
user per user conversion. :(
I would prefer use the first method.

> -Original Message-
> From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
> Sent: lunes, 26 de marzo de 2001 16:18
> To: [EMAIL PROTECTED]
> Subject: Re: forward mail from one domain to another.
> 
> 
> Iñigo Martínez Lasala <[EMAIL PROTECTED]> wrote:
> > We have several domains. We would want to receive in the 
> same mailbox mail
> > for several domains.
> > For example, all mail for [EMAIL PROTECTED] be forwarded to 
> [EMAIL PROTECTED]
> 
> If domain1.dom is a local domain, just make domain2.dom a 
> local domain as
> well.  If domain1.dom is a virtualdomain, make domain2.dom 
> another virtual
> domain controlled by the same local user account as 
> domain1.dom.  Done.
> 
> 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.
> --
> -
> 

This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it. 




RE: Qmail + pop3d

2001-03-26 Thread Bill Andersen

Keith,

Although the directories MAY be on a separate logial partitions
(I used Red Hat 7's auto partition, so I can't say exactly how
RH7 does it), they are NOT, however, on two physical Hard Drives.
I only have one 3 Meg drive in the machine.  Also, I can copy
the file manually with the "mv" command without the error (?).
The only time I get the error is when I call one of the "elq",
"qail" or "pinq" wrappers.

I agree with you on Mutt.  I think I will just stick with Mutt.
As you said, it is very feature rich - just a little cryptic!

Bill

-Original Message-
From: ennui [mailto:ennui]On Behalf Of Nick (Keith) Fish
Sent: Friday, March 23, 2001 5:39 PM
To: Bill Andersen; Qmail Mailing List
Subject: Re: Qmail + pop3d


Bill Andersen wrote:
> 
> I read the docs and found the nice little wrappers for "elq","pinq" and
> "qail",
> but I always get the following error when it calls the maildir2mbox
> command...
> 
>  maildir2mbox: fatal: unable to move /home/bill/Mailtmp to
> /var/spool/mail/bill:
>  cross-device link
> 
> I'm a Linux newbie, so I just went to POP3 from my PC in order to get my
> mail.
> However, I would really like to run pine.  (I did get Mutt working with
> maildir,
> so I'me not completely locked to my PC!!! Thank goodness)
> 
> I'm sure it's obvious what I have wrong to someone who knows *nix...
> 
> Help anyone?
> 
> Bill

Well, are those directories on separate devices (i.e. two different hard
drives)?  If so (and this is judging from the error message), that's
probably your problem.  Try copying the Maildir over to the var
directory somewhere and then run the maildir2mbox command.

BTW, if I was you, I would just stick with mutt and Maildir.  Maildir is
by far the best format for storing e-mail to date and mutt is an
excellent and featureful MUA, although syntax can be a bitch.  My second
recommendation would be to download the patch to make Pine work with
Maildir.  What you're trying to do, I would call a distant third.

Power to ya, though.

---
Keith
Network Engineer
Triton Technologies, Inc.




Re: lost??

2001-03-26 Thread Tom Beer

start from /usr/src _and_ you may read life with qmail

Tom

- Original Message -
From: "Gregory Malsack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 4:00 PM
Subject: lost??


Hello,

Why does my sco unix odt system 5 come back and tell me that there is no
cc found in $PATH after typing in ./configure?

Thank you for your anticipated assistance.
Gregory Malsack
Technical Sales & Service Manager
Data Direct Distributors





Re: forward mail from one domain to another.

2001-03-26 Thread Charles Cazabon

Iñigo Martínez Lasala <[EMAIL PROTECTED]> wrote:
> We have several domains. We would want to receive in the same mailbox mail
> for several domains.
> For example, all mail for [EMAIL PROTECTED] be forwarded to [EMAIL PROTECTED]

If domain1.dom is a local domain, just make domain2.dom a local domain as
well.  If domain1.dom is a virtualdomain, make domain2.dom another virtual
domain controlled by the same local user account as domain1.dom.  Done.

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: Sending attachments with qmail-inject

2001-03-26 Thread Charles Cazabon

Todd Goldenbaum <[EMAIL PROTECTED]> wrote:
> >
> > Install mutt.  Then just do the following, to create MIME-type file
> > attachments:
> >
> > echo "This is the message body.
> > It can have multiple lines." \
> >   | mutt -a /path/to/file1 -a /path/to/file2 recipient1 recipient2 ...
> 
> wow, and then if qmail is installed i guess that's what mutt would use to
> actually send it?

Yes.  For additional flexibility, you can configure Mutt (in /etc/Muttrc,
or ~/.muttrc) with "set envelope_from=yes", to set the envelope sender address
from the contents of the From: header.

As another poster noted, you can also explicitly set the sendmail mutt
variable to be qmail-inject as well.

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: qmail+ldap

2001-03-26 Thread Henning Brauer

On Mon, Mar 26, 2001 at 01:59:48PM +0200, Luka Gerzic wrote:
> if someone had any expirience with qmail and openldap
> please send me email.

Read http://www.lifewithqmail.org/ldap/.
If there are questions left after reading the whole document at least 2
times use the appropriate list.

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



Re: procmail

2001-03-26 Thread pratibha


With best regards,
Shishir K. Singh
[EMAIL PROTECTED]
- Original Message - 
From: MOkondo <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 7:51 PM
Subject: procmail


> I am trying to filter email using procmail.
> what i was doing put a line below on ~/.qmail file:
> 
> | preline procmail  
> 
> The result is filtered emails delivered to ~/Mail/anyfile (one file)
> but unfiltered email delivered to /var/spool/mail/
> 
> my question is:
> How to make procmail work with Maildir and as reliable as Maildir? 
> what i have to write on ~/.qmail file ?
> 
> -- 
> MOkondo
> i am an atheist, thank god !
> 




Re: quota message...

2001-03-26 Thread Robert Sander

On 26 Mar 2001 12:08:29 +0200,
 ONE <[EMAIL PROTECTED]> wrote:
>How I can set quota message for qmail ?
>Can you help me?

When You have filesystem quotas, use warnquota.

Greetings
-- 
Robert Sander
Computer Scientist   Epigenomics AG
Bioinformatics R&Dwww.epigenomics.com Kastanienallee 24
+493024345330  10435 Berlin



forward mail from one domain to another.

2001-03-26 Thread Iñigo Martínez Lasala

We have several domains. We would want to receive in the same mailbox mail
for several domains.
For example, all mail for [EMAIL PROTECTED] be forwarded to [EMAIL PROTECTED]
Thanks.

[EMAIL PROTECTED]
Systems Manager
newKnow
Navaluenga 2, Las Rozas, Madrid, Spain
+34 91 6399000

This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it. 




qmail+ldap

2001-03-26 Thread Luka Gerzic

if someone had any expirience with qmail and openldap
please send me email.

With regards
Gerzic Z. Luka





Re: procmail

2001-03-26 Thread Kirill Miazine

* MOkondo <[EMAIL PROTECTED]> [20010326 21:21]:
> I am trying to filter email using procmail.
> what i was doing put a line below on ~/.qmail file:
> 
> | preline procmail  
> 
> The result is filtered emails delivered to ~/Mail/anyfile (one file)
> but unfiltered email delivered to /var/spool/mail/
> 
> my question is:
> How to make procmail work with Maildir and as reliable as Maildir? 
> what i have to write on ~/.qmail file ?

Read man procmail, there's an environment variable that tells what do do with
all mail after all rules has been completed and none of them matched.

> 
> -- 
> MOkondo
> i am an atheist, thank god !
-- 
Kirill



procmail

2001-03-26 Thread MOkondo

I am trying to filter email using procmail.
what i was doing put a line below on ~/.qmail file:

| preline procmail  

The result is filtered emails delivered to ~/Mail/anyfile (one file)
but unfiltered email delivered to /var/spool/mail/

my question is:
How to make procmail work with Maildir and as reliable as Maildir? 
what i have to write on ~/.qmail file ?

-- 
MOkondo
i am an atheist, thank god !



qmail Digest 26 Mar 2001 11:00:00 -0000 Issue 1315

2001-03-26 Thread qmail-digest-help
that qmail is not installed
under /usr/local/src/qmail-1.03 (that's what you told vpopmail when
compiling it)

>   but the new domains directory still created under the
> /home/vpopmail/domains directory. even when i execute the
>   "vadduser " command , the user directory is created under the
> virtual domains directory. so for a moment i thought that
>   everything was properly installed. 
>   but when i when i try to pop my newly created virtual email ,
>   localhost# telnet localhost 110
>   Trying 127.0.0.1...
>   Connected to localhost. Escape character is '^]'.
>   +OK <[EMAIL PROTECTED]>
>   user [EMAIL PROTECTED]
>   +OK
>   pass passsword
>   -ERR authorization failed
>   Connection closed by foreign host.
>   localhost#
> 
>   any idea about what might my problem is ?
>   thanks.

How do you start pop? What's the path to chechpasswd?

> 
> 
>   best regards,
> 
>   roy
> 
>   
> 
> 
> -Original Message-
> From: Sumith [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, March 24, 2001 5:31 PM
> To: Roy Naldo; [EMAIL PROTECTED]
> Subject: Re: authorization failed
> 
> 
> Well..friend it'd help if you'd give us more details on what all you did, to
> set up your system..
> 
> - Sumith
> - Original Message -
> From: Roy Naldo <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, March 24, 2001 2:47 PM
> Subject: RE: authorization failed
> 
> 
> >
> > i already did that, but i still doesn't works. ;(
> >
> >
> >
> >
> > -Original Message-
> > From: Sumith [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, March 24, 2001 3:56 PM
> > To: Roy Naldo; [EMAIL PROTECTED]
> > Subject: Re: authorization failed
> >
> >
> > This question should be posted to vpopmail list
> >
> > anyway did u include --enable-mysql=y in your vpopmail configure line and
> > included the root mysql password in vmysql.h in vpopmail source.
> >
> > Hope this helps
> >
> > - Sumith
> >
> > > hiii ,
> > >
> > > i am running : qmail-1.03
> > >  mysql-3.23.35
> > >  vpopmail-4.9.4
> > >
> > > i didn't find any error while compiling thoses packages.
> > > here is what i got in my rc scripts :
> > >
> > > --my rc scripts -
> > >
> > > #!/bin/bashcan
> > > csh -cf '/var/qmail/rc &'
> > > csh -cf '/usr/local/mysql/bin/safe_mysqld &'
> > >
> > > csh -cf 'env - PATH="/var/qmail/bin:/usr/local/bin" tcpserver 0
> > > pop-3 /var/qmail/bin/qmail-popup my.domain.name
> /home/vpopmail/bin/vchkpw
> > > /var/qmail/bin/qmail-pop3d Maildir & '
> > >
> > > tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.temp < /etc/tcp.smtp
> > > tcpserver -x /etc/tcp.smtp.cdb -u 102 -g 101 0 smtp
> > > /var/qmail/bin/qmail-smtpd &
> > >
> > > end of my rc scripts
> > > -
> > >
> > >
> > > everything is working, except one , i can't authenticate any user
> > > created by vadduser .
> > >
> > > root@ my.domain]# telnet localhost 110
> > > Trying 127.0.0.1...
> > > Connected to localhost. Escape character is '^]'.
> > > +OK <[EMAIL PROTECTED]>
> > > user [EMAIL PROTECTED]
> > > +OK
> > > pass passsword
> > > -ERR authorization failed
> > > Connection closed by foreign host.
> > >
> > > can anybody help me solve this problem ?.. .thanks.
> > > roy
> > >
> > >
> >
-- 
Kirill




Hi everybody.

I have a qmail server working as forward mail server. It relay mails from
all mail servers from my internal LAN and stores and forward mail from
internet to my internal mail server.
However I have a problem when limiting max number of outbout connections.
If I specify a number of connections in control/concurrencyremote, this
limit apply all connections from my mail server to internet and from my mail
server to my internal LAN.
I would need to specify one limit but only to those connections to internet,
not my LAN since I have bandwidth enough for my LAN but not for my internet
connection.
So, my question is, How do I specify a limit for outgoing connections for
all connections but on

Re: forward

2001-03-26 Thread Kirill Miazine

* Yves Caetano <[EMAIL PROTECTED]> [20010326 12:23]:
> hi,
> Kirill Miazine wrote:
> > 
> > * Yves Caetano <[EMAIL PROTECTED]> [20010326 11:41]:
> > > hi,
> > > but isn't it possible to do it like in sendmail in the mailertable?
> > >
> > > if you take the smtproutes of qmail it is nearly the same than the
> > > mailertable of sendmail but you cannot add a line like this
> > > domain.com:[EMAIL PROTECTED] .is this true?
> > 
> > mailertable is used to redirect mail for entire domain to another host, not
> > a user
> 
> yes it is possible, because i did it for a client of us :-))

Of course, stupid me, I was talking about qmail's smtproutes

> 
> cu ycae
> > 
> > >
> > > i don't want that the server will act as a popserver and then forward
> > > it. i want the smtp to forward directly.
> > 
> > There's no pop here, every incoming mail for your domain simply gets
> > forwarded.
> > 
> > >
> > > cu ycae
> > >
> > >
> > 
> > P.S. I'm on the list, don't Cc messages to me
> > 
> > --
> > Kirill
> 
> --
> Yves Caetano
> Server Support Engineer
> Tel: +352 295383 254
> Fax: +352 295383 222
> email: [EMAIL PROTECTED]http://www.incotech.lu
-- 
Kirill



Re: forward

2001-03-26 Thread Yves Caetano

Hi Brett,

thanks for the explanation.

thanks all for the help :-))

cu ycae

Brett Randall wrote:
> 
> Hi Yves
> 
> >>>>> "Yves" == Yves Caetano <[EMAIL PROTECTED]> writes:
> 
> > hi, but isn't it possible to do it like in sendmail in the
> > mailertable?
> 
> Not without writing a patch. Qmail's method is more extensive and
> flexible than sendmail's, anyhow.
> 
> > if you take the smtproutes of qmail it is nearly the same than the
> > mailertable of sendmail but you cannot add a line like this
> > domain.com:[EMAIL PROTECTED] .is this true?
> 
> No. The difference between simply forwarding an e-mail on to another
> server and saving it locally is a little larger than it may appear.
> 
> > i don't want that the server will act as a popserver and then
> > forward it. i want the smtp to forward directly.
> 
> Well, believe it or not, Kirill's suggestion doesn't make the server
> `act as a popserver'. A popserver stores the mail for later
> retrieval. The .qmail* files decide what happens to e-mail, not
> necessarily where it is stored. Think about it. In simple terms, qmail
> receives an e-mail. The domain name it is addressed to (in RCPT TO) is
> not in locals, so it checks virtualdomains. It finds the domain there,
> and forwards it on to prefix-domain-user locally. qmail then sees that
> there is a .qmail file in ~prefix called .qmail-domain-default. It
> then carries out the `commands' in this file which reroute the mail
> again. So, in essence, the mail is never `stored' anywhere but gets
> forwarded along a line. I think you will find that the time taken to
> get one message from the outside world to the final user would be in
> the...hmmm...let me think...seconds degree I would think?
> 
> Brett.
> 
> > cu ycae
> 
> > Kirill Miazine wrote:
> >>  * Yves Caetano <[EMAIL PROTECTED]> [20010326 11:01]: > hi, > > is
> >> it possible to forward all the emails for one domain to one email >
> >> address??  > > like : @domain.com -> [EMAIL PROTECTED]
> >>
> >> Yes,
> >>
> >> echo domain.com:user-domain >> /var/qmail/control/virtualdomains
> >> echo domain.com >> /var/qmail/control/rcpthosts HUP qmail-send echo
> >> [EMAIL PROTECTED] ~user/.qmail-domain-default
> >>
> >> > > thanks > > cu ycae > -- > Yves Caetano > Server Support
> >> Engineer > Tel: 295383 254 > Fax: 295383 222 > email:
> >> [EMAIL PROTECTED] http://www.incotech.lu -- Kirill
> 
> > -- Yves Caetano Server Support Engineer Tel: +352 295383 254 Fax:
> > +352 295383 222 email: [EMAIL PROTECTED] http://www.incotech.lu
> 
> --
> "Hey, I know this! This is Unix!"
> 
> - Jurassic Park

--
Yves Caetano
Server Support Engineer
Tel: +352 295383 254
Fax: +352 295383 222
email: [EMAIL PROTECTED]http://www.incotech.lu



Re: forward

2001-03-26 Thread Brett Randall

Hi Yves

>>>>> "Yves" == Yves Caetano <[EMAIL PROTECTED]> writes:

> hi, but isn't it possible to do it like in sendmail in the
> mailertable?

Not without writing a patch. Qmail's method is more extensive and
flexible than sendmail's, anyhow.

> if you take the smtproutes of qmail it is nearly the same than the
> mailertable of sendmail but you cannot add a line like this
> domain.com:[EMAIL PROTECTED] .is this true?

No. The difference between simply forwarding an e-mail on to another
server and saving it locally is a little larger than it may appear.

> i don't want that the server will act as a popserver and then
> forward it. i want the smtp to forward directly.

Well, believe it or not, Kirill's suggestion doesn't make the server
`act as a popserver'. A popserver stores the mail for later
retrieval. The .qmail* files decide what happens to e-mail, not
necessarily where it is stored. Think about it. In simple terms, qmail
receives an e-mail. The domain name it is addressed to (in RCPT TO) is
not in locals, so it checks virtualdomains. It finds the domain there,
and forwards it on to prefix-domain-user locally. qmail then sees that
there is a .qmail file in ~prefix called .qmail-domain-default. It
then carries out the `commands' in this file which reroute the mail
again. So, in essence, the mail is never `stored' anywhere but gets
forwarded along a line. I think you will find that the time taken to
get one message from the outside world to the final user would be in
the...hmmm...let me think...seconds degree I would think?

Brett.


> cu ycae



> Kirill Miazine wrote:
>>  * Yves Caetano <[EMAIL PROTECTED]> [20010326 11:01]: > hi, > > is
>> it possible to forward all the emails for one domain to one email >
>> address??  > > like : @domain.com -> [EMAIL PROTECTED]
>> 
>> Yes,
>> 
>> echo domain.com:user-domain >> /var/qmail/control/virtualdomains
>> echo domain.com >> /var/qmail/control/rcpthosts HUP qmail-send echo
>> [EMAIL PROTECTED] ~user/.qmail-domain-default
>> 
>> > > thanks > > cu ycae > -- > Yves Caetano > Server Support
>> Engineer > Tel: 295383 254 > Fax: 295383 222 > email:
>> [EMAIL PROTECTED] http://www.incotech.lu -- Kirill

> -- Yves Caetano Server Support Engineer Tel: +352 295383 254 Fax:
> +352 295383 222 email: [EMAIL PROTECTED] http://www.incotech.lu

-- 
"Hey, I know this! This is Unix!"

- Jurassic Park



Re: forward

2001-03-26 Thread Kirill Miazine

* Yves Caetano <[EMAIL PROTECTED]> [20010326 11:41]:
> hi,
> but isn't it possible to do it like in sendmail in the mailertable?
> 
> if you take the smtproutes of qmail it is nearly the same than the
> mailertable of sendmail but you cannot add a line like this
> domain.com:[EMAIL PROTECTED] .is this true?

mailertable is used to redirect mail for entire domain to another host, not
a user

> 
> i don't want that the server will act as a popserver and then forward
> it. i want the smtp to forward directly.

There's no pop here, every incoming mail for your domain simply gets
forwarded.

> 
> cu ycae
> 
> 

P.S. I'm on the list, don't Cc messages to me


-- 
Kirill



quota message...

2001-03-26 Thread ONE

Hi all...

How I can set quota message for qmail ?
Can you help me?

Thank you
cmail






Re: forward

2001-03-26 Thread Yves Caetano

hi,
but isn't it possible to do it like in sendmail in the mailertable?

if you take the smtproutes of qmail it is nearly the same than the
mailertable of sendmail but you cannot add a line like this
domain.com:[EMAIL PROTECTED] .is this true?

i don't want that the server will act as a popserver and then forward
it. i want the smtp to forward directly.

cu ycae



Kirill Miazine wrote:
> 
> * Yves Caetano <[EMAIL PROTECTED]> [20010326 11:01]:
> > hi,
> >
> > is it possible to forward all the emails for one domain to one email
> > address??
> >
> > like : @domain.com -> [EMAIL PROTECTED]
> 
> Yes,
> 
> echo domain.com:user-domain >> /var/qmail/control/virtualdomains
> echo domain.com >> /var/qmail/control/rcpthosts
> HUP qmail-send
> echo [EMAIL PROTECTED] ~user/.qmail-domain-default
> 
> >
> > thanks
> >
> > cu ycae
> > --
> > Yves Caetano
> > Server Support Engineer
> > Tel: 295383 254
> > Fax: 295383 222
> > email: [EMAIL PROTECTED]http://www.incotech.lu
> --
> Kirill

--
Yves Caetano
Server Support Engineer
Tel: +352 295383 254
Fax: +352 295383 222
email: [EMAIL PROTECTED]http://www.incotech.lu



About Quota

2001-03-26 Thread M. cnew

Hi all...

How I can set quota message for qmail ?
Can you help me?

Thank you
cmail





Re: forward

2001-03-26 Thread Gerrit Pape

On Mon, Mar 26, 2001 at 11:01:47AM +0200, Yves Caetano wrote:
> hi,
> 
> is it possible to forward all the emails for one domain to one email
> address??
>
See FAQ http://cr.yp.to/qmail/faq/incominghost.html#virtual .

Gerrit.

-- 
[EMAIL PROTECTED]
innominate AG
 the linux architects
tel: +49.30.308806-0  fax: -77  http://www.innominate.com



Re: forward

2001-03-26 Thread Kirill Miazine

* Yves Caetano <[EMAIL PROTECTED]> [20010326 11:01]:
> hi,
> 
> is it possible to forward all the emails for one domain to one email
> address??
> 
> like : @domain.com -> [EMAIL PROTECTED]

Yes,

echo domain.com:user-domain >> /var/qmail/control/virtualdomains
echo domain.com >> /var/qmail/control/rcpthosts
HUP qmail-send
echo [EMAIL PROTECTED] ~user/.qmail-domain-default

> 
> thanks
> 
> cu ycae
> --
> Yves Caetano
> Server Support Engineer
> Tel: 295383 254
> Fax: 295383 222
> email: [EMAIL PROTECTED]http://www.incotech.lu
-- 
Kirill



forward

2001-03-26 Thread Yves Caetano

hi,

is it possible to forward all the emails for one domain to one email
address??

like : @domain.com -> [EMAIL PROTECTED]

thanks

cu ycae
--
Yves Caetano
Server Support Engineer
Tel: 295383 254
Fax: 295383 222
email: [EMAIL PROTECTED]http://www.incotech.lu



qmail as forward mail server (limit number of connections)

2001-03-26 Thread Iñigo Martínez Lasala

Hi everybody.

I have a qmail server working as forward mail server. It relay mails from
all mail servers from my internal LAN and stores and forward mail from
internet to my internal mail server.
However I have a problem when limiting max number of outbout connections.
If I specify a number of connections in control/concurrencyremote, this
limit apply all connections from my mail server to internet and from my mail
server to my internal LAN.
I would need to specify one limit but only to those connections to internet,
not my LAN since I have bandwidth enough for my LAN but not for my internet
connection.
So, my question is, How do I specify a limit for outgoing connections for
all connections but one route?
At this moment I'm using an special "smtproute" for my internal mail and DNS
for outgoing mails (to internet). I have though perhaps I could use
concurrencylocal for incoming mail and forward it to my internal mail
server, but I have not how to treat it.
Thanks in advance.

[EMAIL PROTECTED]
Systems Manager
newKnow
Navaluenga 2, Las Rozas, Madrid, Spain
+34 91 6399000

This message and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
No confidentiality or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it
and kindly notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or
copy any part of this message if you are not the intended recipient.
Opinions, conclusions and other information in this message that do not
relate to the official business of Newknow shall be understood as neither
given nor endorsed by it. 




Re: local mail routing help

2001-03-26 Thread Brett Randall

> "Jean" == Jean  <[EMAIL PROTECTED]> writes:



> server2.mydomain.com has the following locals file.
> server2.mydomain.com:mydomain.com
> mydomain.com:mydomain.com

Is this really a locals file? Try:

mydomain.com
server2.mydomain.com

(ie without the :mydomain.com's)

Brett.
-- 
"The 'Internet' cannot be removed from your desktop, would you like to
delete the 'Internet' now?"

- MS Windows 95



Re: local mail routing help

2001-03-26 Thread Jean

Thanks for that post, Brett.

> Make sure server1.mydomain.com is accepting mail for
> server1.mydomain.com in the rcpthosts file, and that

Both servers are open relays.  server1 is in dmz and server2 behind
firewall.  server1 will get a rcpthosts file as soon as it starts forwarding
to server2.

> server2.mydomain.com (is it a qmail box?) is allowed to receive mail
> for server2.mydomain.com and mydomain.com . Restart qmail on each box

server2.mydomain.com has the following locals file.
server2.mydomain.com:mydomain.com
mydomain.com:mydomain.com

> and it should work. By the way, if no mail is stored on server 1, you
> shouldn't need the locals file.

Didn't think of that.  I wonder if that's the cause.  I'll zap it and see
what happens.