Unexpected EOF

2000-03-09 Thread [EMAIL PROTECTED]


Hello,

I am getting the following error when qmail tries to deliver a message
locally:

2000-03-09 01:43:49.934939500 delivery 160: deferral:
/bin/sh:_unexpected_EOF_while_looking_for_`"'//bin/sh:_-c:_line_2:_syntax_erro
r/

I've investigated what could it be but I've run out of ideas :-/
The message in question looks like this (got it from the qmail/mess
directory):


Received: (qmail 13820 invoked by uid 600); 9 Mar 2000 10:34:48 +0100
Date: 9 Mar 2000 10:34:48 +0100
Message-ID: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: This is a test
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

This is a test



I added a dot . to the last line (I believe this is not necessary,
right?) but same thing happens... All other messages continue being
processed without a problem, whether they are processed by qmail-remote
or qmail-local. Is anyone familiar with this error?

Thanks!



[Unable_to_chdir_to_maildir (#4.2.1)]

2000-03-09 Thread Dewald Strauss

Hi everybody,

Since yesterday I started getting the following messages in my maillogs:
delivery 460 deferral: Unable_to_chdir_to_maildir (#4.2.1)

there are hundreds of these messages, but only for one user (myself)
The rest of the mail gets delivered as usual.

I sent a mail from the console (echo test | mail [EMAIL PROTECTED]) 
and right after that these messages started to appear.
Did I break something by doing this, or is it just coincidence ?

The permissions on my Maildir is exactly the same as other Maildirs, 
and no other changes was made to the machine

Anybody have any idea what could have caused this/know how I can fix this ?


I am using RedHat 6.0 with qmail 1.03 + vpopmail + sqwebmail

Regards
Dewald



Re: Unexpected EOF - Solved

2000-03-09 Thread [EMAIL PROTECTED]


Ok so I just found the problem. I had moved a .qmail-* file from a NT
machine, and the CR/LF  were creating all the headache. Oh well...

Next time I'll do 5 *more* minutes research before asking!

Thanks!

"[EMAIL PROTECTED]" wrote:
 
 Hello,
 
 I am getting the following error when qmail tries to deliver a message
 locally:
 
 2000-03-09 01:43:49.934939500 delivery 160: deferral:
 /bin/sh:_unexpected_EOF_while_looking_for_`"'//bin/sh:_-c:_line_2:_syntax_erro
 r/
 
 I've investigated what could it be but I've run out of ideas :-/
 The message in question looks like this (got it from the qmail/mess
 directory):
 
 
 Received: (qmail 13820 invoked by uid 600); 9 Mar 2000 10:34:48 +0100
 Date: 9 Mar 2000 10:34:48 +0100
 Message-ID: [EMAIL PROTECTED]
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: This is a test
 MIME-Version: 1.0
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: 8bit
 
 This is a test
 
 
 
 I added a dot . to the last line (I believe this is not necessary,
 right?) but same thing happens... All other messages continue being
 processed without a problem, whether they are processed by qmail-remote
 or qmail-local. Is anyone familiar with this error?
 
 Thanks!



tcpserver unable to fork

2000-03-09 Thread S Ashok Kumar

Is there any limit  on tcpserver forking processes? I have configured
tcpserver to fork qmail-smtpd with concurrent sessions of 2000. I have
made a simulator that makes upto 2000 connections to qmail-smtpd. But
when the simulator reaches 1247 connections, tcpserver reports error
which is:

tcpserver: warning: dropping connection, unable to fork: temporary
failure

I am testing this on a P-III, 500MHz RedHat Linux 6.1 machine with
512MB RAM and 1GB SWAP. The machine is off-line and there is no queue. I
am only using it to stress test the machine so I can arrive at a value
on number of simultaneous connections this machine can take. The
simulator connects to port 25 and simply says "HELO localhost\r\n".

/proc/sys/fs/file-max is defined as 65536. Is there any additional
fine-tuning I need to do with the kernel or file-system?

Thanks in advance.

- Ashok




All mail for a domain into a single POP box (HOWTO?)

2000-03-09 Thread Svenne Krap

Hi,

I'm helping a relative out on some problem with mails.

Right now, there is a small network (10 machines) and a RH Linux 
server.

This network is connected to the internet by a dialup internet line.

A firm makes "mailhosting" for us, set up to throw all mail into the 
same box. 

How do I accomplish, that the server dials up (actually it isn't the 
network is connected with a router), collects all mail from the 
single popbox. And throws it into the right pop-boxes on the local 
computer ? 

Qmail is set up an running like "Road Runner on steroids" :)

I would also like to "pack" outgoing messages into batches (lets 
say the local server throws out messages each 30 minutes) .. 
Ideas anyone ?

Something in me yells "fetchmail" and "serialmail" is that correct ?

Tia

Svenne

--
[EMAIL PROTECTED]
http://www.krap.dk
ICQ 5434480
PGP-key http://keys.pgp.dk:11371/pks/lookup?op=getsearch=0xDF484022
PGP @ http://www.pgp.com / http://www.phpi.com



Re: tcpserver unable to fork

2000-03-09 Thread Anand Buddhdev

On Thu, Mar 09, 2000 at 02:43:59PM +0530, S Ashok Kumar wrote:

 Is there any limit  on tcpserver forking processes? I have configured
 tcpserver to fork qmail-smtpd with concurrent sessions of 2000. I have
 made a simulator that makes upto 2000 connections to qmail-smtpd. But
 when the simulator reaches 1247 connections, tcpserver reports error
 which is:
 
 tcpserver: warning: dropping connection, unable to fork: temporary
 failure
 
 I am testing this on a P-III, 500MHz RedHat Linux 6.1 machine with
 512MB RAM and 1GB SWAP. The machine is off-line and there is no queue. I
 am only using it to stress test the machine so I can arrive at a value
 on number of simultaneous connections this machine can take. The
 simulator connects to port 25 and simply says "HELO localhost\r\n".
 
 /proc/sys/fs/file-max is defined as 65536. Is there any additional
 fine-tuning I need to do with the kernel or file-system?

Raising the file-max is no good. tcpserver wants to fork and create a
new process. Increase your max-proc (or equivalent) limit.

-- 
See complete headers for more info



Re: All mail for a domain into a single POP box (HOWTO?)

2000-03-09 Thread Mikko Hänninen

Svenne Krap [EMAIL PROTECTED] wrote on Thu, 09 Mar 2000:
 Something in me yells "fetchmail" and "serialmail" is that correct ?

That's what I'd do.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
"NSA GCHQ KGB CIA nuclear conspiration war weapon spy agent... Hi Echelon!"



qmail Digest 9 Mar 2000 11:00:01 -0000 Issue 935

2000-03-09 Thread qmail-digest-help


qmail Digest 9 Mar 2000 11:00:01 - Issue 935

Topics (messages 38316 through 38364):

Unknown recipients
38316 by: Bernat Ginard
38317 by: Anand Buddhdev

unable to open mutex
38318 by: Jason Huang
38319 by: Petr Novotny
38349 by: Jason Huang
38351 by: Uwe Ohse

Re: implementation of VIRTUAL DOMAIN
38320 by: ravivr.hss.hns.com
38331 by: Ruben van der Leij

qq failure on HP-UX
38321 by: Harald Hanche-Olsen
38346 by: Uwe Ohse

Patch for wildcard support in control/locals
38322 by: Junwen Lai

Qmail-popup or Qmail-pop3d
38323 by: Spades
38325 by: Spades

Email 101
38324 by: Jason.Baker.stdbev.com

Re: Email 101; place horse before cart
38326 by: Stephen Bosch
38327 by: Jason.Baker.stdbev.com
38328 by: Dave Sill
38333 by: Jason.Baker.stdbev.com
38334 by: Kelly French
38335 by: Dave Sill
38336 by: Charles Cazabon
38345 by: richard.illuin.org
38347 by: Rogerio Brito
38348 by: Markus Stumpf

Re: _I_couldn't_find_any_host_by_that_name._
38329 by: Crow, Ian
38330 by: James Raftery
38332 by: Dave Sill

Newbie qmail mairdir question.. sorry.
38337 by: Chad Day
38338 by: Dave Sill

Problems with subdomains
38339 by: Webmaster
38340 by: Webmaster
38342 by: Dave Sill
38344 by: Ruben van der Leij

problem with mail delivery to nonlocal domains...
38341 by: Gabriel Ambuehl

Thanks..
38343 by: Chad Day

qmail-pop3d and tcpserver
38350 by: Andy Bradford
38352 by: Uwe Ohse
38353 by: Andy Bradford
38355 by: Timothy L. Mayo
38356 by: Andy Bradford

ezmlm-manage Failure
38354 by: the fragile art of existence
38357 by: Andy Bradford

Unexpected EOF
38358 by: net.ncal.verio.com

[Unable_to_chdir_to_maildir (#4.2.1)]
38359 by: Dewald Strauss

Re: Unexpected EOF - Solved
38360 by: net.ncal.verio.com

tcpserver unable to fork
38361 by: S Ashok Kumar
38363 by: Anand Buddhdev

All mail for a domain into a single POP box  (HOWTO?)
38362 by: Svenne Krap
38364 by: Mikko Hänninen

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]


--



Hi all,

The behaiviour of qmail is accept al messages for local domains and if
the recipient is unknown it returns the mail. Under normal operation
that's not a big problem, but last night somebody was doing spam outside
here and put as sender address one ours, so today there was 64 double
bounces of that address.

What I want to know is if there is a way to change this to make qmail
don't accept a mail for a non existent recipient in the local domains.

-- 
Bernat Ginard Lladó
mailto:[EMAIL PROTECTED]   http://www.kaos.es




On Wed, Mar 08, 2000 at 01:40:32PM +0100, Bernat Ginard wrote:

 Hi all,
 
 The behaiviour of qmail is accept al messages for local domains and if
 the recipient is unknown it returns the mail. Under normal operation
 that's not a big problem, but last night somebody was doing spam outside
 here and put as sender address one ours, so today there was 64 double
 bounces of that address.
 
 What I want to know is if there is a way to change this to make qmail
 don't accept a mail for a non existent recipient in the local domains.

No there isn't. qmail's design is such that it does no recipient
verification when accepting an email. I wish there were some way to do
this though. Perhaps qmail-smtpd can look up a file list users/assign.

-- 
See complete headers for more info







I moved all qmail files from 'MACHINE_1' to 
'MACHINE_2' ( use 'tar zxfv' command ) .
The two machine are the same OS (Linux) , but different qmail 
uid and gid.
I had changed the start's sript about uid and gid , but 
I still got the blow message .
(I use tcpserver.)

Mar 8 13:00:52 server58 qmail: 
952491652.534995 alert: cannot start: unable to open mutexMar 8 
13:06:20 server58 qmail: 952491980.571310 alert: cannot start: unable to open 
mutex
I found some files in '/var/qmail/queue/intd'. 
They are 16101 , 16102 ,and 16103.
I thinks it is owner's problem. 


Appreciate any help.
 




-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 8 Mar 00, at 21:45, Jason Huang wrote:

 I moved all qmail files from 'MACHINE_1' to 'MACHINE_2' (  use 'tar
 zxfv' command ) . The two machine are the same OS (Linux) , but
 different qmail uid and gid.

Don't. It won't ever work. You have to recompile qmail.

 I had changed the start's sript  about
 uid and gid , but I still got the blow message . (I use tcpserver.)
 
 Mar  8 13:00:52 server58 qmail: 

RE: _I_couldn't_find_any_host_by_that_name._

2000-03-09 Thread Crow, Ian

I fixed my problem.

After hours of adding arg and env dumping code to qmail-remote, running many
times, etc. I finally got around to running the same command line as qmailr
as I was running under my standard account.

A comparative strace showed me that the qmailr execution couldn't read
various things in /etc, and hence I discovered that /etc had somehow become
chmod 750-ed. Naturally, this was affecting various other things (like the
locate database update), but they were all further down the list than
getting qmail going.

The thing that compounded my problem was that my standard account is in the
root group, so it wasn't affected by the problem. Any other user and I'd
have nailed the problem much sooner.

My thanks to those who responded.

IanC




This message is confidential. It may also be privileged or
otherwise protected by work product immunity or other legal
rules. If you have received it by mistake please let us know
by reply and then delete it from your system; you should not
copy the message or disclose its contents to anyone.




Local or/and virtualdomain?

2000-03-09 Thread Martin Paulucci



Hi,

My default domain is working for a couple of months 
in both the virtualdomains and the defaultdomain + rcpthosts. Should I take it 
out from one of those?. I'm using vpopmail +sqwebmail .
I ran the qmail-lint and it gave me this 
output:

# ./qmail-lint-0.54Error: a host sintesoft.net 
in locals also appears in virtualdomains.Warning: a host in locals 
does not appear in rcpthosts.Warning: a host in locals does not appear 
in rcpthosts.Warning: a host in locals does not appear in 
rcpthosts.Warning: a host mail in locals does not appear in 
rcpthosts.Warning: a host babel in locals does not appear in 
rcpthosts.Warning: a host webmail in locals does not appear in 
rcpthosts.Warning: a host in locals does not appear in 
rcpthosts.Warning: users/assign checking not implemented.


sintesoft.net is the default domain, mail babel and 
webmail are aliases of the localhost.
So what should I do?. Also, everything works fine 
(that's weird!)

# cd /var/qmail/control
# cat mebabel.sintesoft.net
# cat 
localslocalhostbabel.sintesoft.netmail.sintesoft.netwebmail.sintesoft.netsintesoft.netmailbabelwebmail.sintesoft.net
# cat 
virtualdomainssintesoft.com:sintesoft.comsintesoft.net:sintesoft.net

#cat plusdomain 
sintesoft.net

Many Thanks!


Re: All mail for a domain into a single POP box (HOWTO?)

2000-03-09 Thread Charles Cazabon

Svenne Krap [EMAIL PROTECTED] wrote:
 
 A firm makes "mailhosting" for us, set up to throw all mail into the 
 same box. 
 
 How do I accomplish, that the server dials up (actually it isn't the 
 network is connected with a router), collects all mail from the 
 single popbox. And throws it into the right pop-boxes on the local 
 computer ? 
 
 Something in me yells "fetchmail" and "serialmail" is that correct ?

Or (plug) 'getmail' -- http://www.qcc.sk.ca/~charlesc/software/getmail/
You might find it easier to configure and use than 'fetchmail'.

Charles
-- 

Charles Cazabon [EMAIL PROTECTED]
Any opinions expressed are just that -- my opinions.




Re: Message 252 when VRFYing

2000-03-09 Thread Anthony DeBoer

Russell Nelson [EMAIL PROTECTED] writes:
 Well, actually it *could*, under certain conditions.  If you don't
 have any .qmail-.*default's, you could create a CDB containing all the
 valid addresses, which qmail-smtpd could consult after sufficient
 patching.  However, that still has the problem of giving away your
 valid addresses to spammers.  And, .qmail-.*default files are *so*
 useful.

There are situations in which you do want to selectively decline certain
RCPT TO:s.  Real-life example: corporate firewall relays to internal
hosts.  User [EMAIL PROTECTED] gets popular with the
spammers then departs for greener pastures.  I still need to accept mail
from the Internet for all foo.internal.example.com users and try to relay
it to them, but I *know* that mail for bob is going to turn into a
bounce-o-gram and end up doublebouncing to me 9 times out of 10.  Being
able to say "550 Unknown User" in the initial SMTP conversation for that
one selected address would save everybody a lot of trouble.

What I picture would be a CDB consulted by qmail-smtpd; it would inhale
the job of rcpthosts and morercpthosts.  For each RCPT address, it would
progressively break it down and check for a match, which would contain an
instruction "bounce with $MSG" or "accept for relaying".  Eg. for
[EMAIL PROTECTED] it would check [EMAIL PROTECTED],
[EMAIL PROTECTED], host.example.com, and then .example.com
(followed presumably by .com and "root" lookups, if we get that far, but
nothing useful could be configured at the root level).  Or we could just
check for a user@host record and accept any and all extensions if the
user is valid, thereby saving lookup steps.  Or the user@host record
could say to backup and try extensions if we want to setup such
fine-grained control for that user.

In the default case, you'd setup a single host.example.com:accept record,
but you'd have the option of [EMAIL PROTECTED]:accept, likewise
for the other users, and then host.example.com:550_unknown_user.

Being able to say "550 moved - try [EMAIL PROTECTED]" would be
nice too, not that the crap MTAs of the world ever actually tell the user
the actual text from the SMTP rejection.

BTW, is the possibility of spammers checking for valid users via the RCPT
command a real-world problem?  If they really cared, they could set up a
valid mailer to match their MAIL FROM and analyze the bounce.  IMHO
weighing that against the other problem of filling your queues with
bounces-to-spam and having them all doublebounce into your lap does call
for a value judgement here.

-- 
Anthony DeBoer [EMAIL PROTECTED]



Early aborts (Was: qq failure on HP-UX)

2000-03-09 Thread Harald Hanche-Olsen

+ Uwe Ohse [EMAIL PROTECTED]:

| On Wed, Mar 08, 2000 at 05:06:20PM +0100, Harald Hanche-Olsen wrote:
|  
|  [EMAIL PROTECTED]:
|  crt0: ERROR: mmap failed for dld (data) errno:00012
|  Unable to forward message: qq permanent problem (#5.3.0).
| 
| this can only happen "if ((exitcode = 11)  (exitcode = 40))",
| which qmail-queue doesn't return in case of "out of memory".

I assume this happened before the program entered main().

Which brings up a natural question:  What, in general, is supposed to
happen if a program is unable to proceed before it enters main(),
e.g., because the dynamic loader could not get the memory it needs?
Clearly, it is too late for the original process to return from
exec(), yet the programmer has no influence over what will happen.
For packages like qmail, it is important to recognize the situation so
it can be dealt with properly, yet this is clearly impossible unless
there is a documented behaviour one can rely on.

(My guess would have been that the process should commit suicide
rather than just exiting, perhaps by sending itself a SIGSEGV or
SIGABRT.)

- Harald



qmail-smtp server does not accept connections from other hosts on the network

2000-03-09 Thread Murthy Raju

Hi,

I have just installed qmail on Redhat 6.1. I installed qmail-smtp to run
under tcpserver. when I try to make a connection to the Qmail smtp server,
The server does not seem to respond. 

When i telnet the qmail server at the port 25, I do not get any typical
SMTP greeting or server ready prompt like I used to get under Sendmail.

How do I solve this problem?

I do not have DNS running. Is this causing a problem? I normally use my
ISp's DNS as I connect to the Net only occassionally and the local machines
of our local network are on the hosts  file. What are the other aleternatives?

Thanks for the help in advance.

Raju



Re: qmail-smtp server does not accept connections from other hosts on the network

2000-03-09 Thread Dave Sill

Murthy Raju [EMAIL PROTECTED] wrote:

When i telnet the qmail server at the port 25, I do not get any typical
SMTP greeting or server ready prompt like I used to get under Sendmail.

How do I solve this problem?

Show us how you're starting tcpserver/qmail-smtpd.

I do not have DNS running. Is this causing a problem?

Not this problem. :-)

I normally use my
ISp's DNS as I connect to the Net only occassionally and the local machines
of our local network are on the hosts  file.

qmail doesn't use the hosts file. See:

  http://Web.InfoAve.Net/~dsill/lwq.html#etc-hosts

-Dave



Headers going to AOL

2000-03-09 Thread Dan Barber

Hello,

Has anyone else run into a problem where the headers (From:,
To:) are empty when an AOL user opens email from a qmail
box?  Everyone else seems to be fine.

If so, vould you please post the solution?

thanks,

Dan Barber



multilog: fatal: unable to open directory /var/log/qmail: access denied

2000-03-09 Thread [EMAIL PROTECTED]

The first time i launch Qmail i get this error.
 I've tried 2 times the installation on 2 different linux version but
 every time
 i get this error, i've tried to gave the full permission to
 /var/log/qmail but
 i still get this error.
 I've installed qmail reading "life with qmail" and "qmail howto" and
 after the
 problem i've read the faq but i haven't find nothing about this error.
 
 
 



Re: multilog: fatal: unable to open directory /var/log/qmail: access denied

2000-03-09 Thread Dave Sill

"[EMAIL PROTECTED]"[EMAIL PROTECTED] wrote:

The first time i launch Qmail i get this error.  I've tried 2 times
the installation on 2 different linux version but every time i get
this error, i've tried to gave the full permission to /var/log/qmail
but i still get this error.  I've installed qmail reading "life with
qmail" and "qmail howto" and after the problem i've read the faq but
i haven't find nothing about this error.

Post the output of:

  ls -ld /var/log/qmail /var/log /var /
  cat /var/qmail/supervise/qmail-send/log/run

-Dave



qmail and /bin/mail

2000-03-09 Thread Donald R. McGregor



I'm running RH linux 6.0 and attempting to get qmail to put
incoming messages into the traditional /var/spool/mail/username
place. it seems the RH version of /bin/mail has different 
arguments than expected in the standard 1.03 source distro.

RH linux seems to be BSD-style /bin/mail. The binm1+df file
in the boot directory includes this snippet:

 /bin/mail -f "${SENDER:-MAILER-DAEMON}" -d "$USER"'

But the linux /bin/mail complains about both -f and -d
args. What's a better way to get this done? What are the
magic args to /bin/mail to get this to work?




maillog error sending mail to @yahoo,aol,etc. *slightly OT*

2000-03-09 Thread Bennett

Bit of a strange question.   my qmail server is running fine any dandy as
long as I only send mail to 85% of the internet  whenever I try to
send mail to someone at yahoo,aol,bigfoot, and a few others it will just
sit in the queue trying and trying  with the error message that the
connection died.  OCCASIONALLY it will actually send the message, but that
is rather rare.   

However I have a very strong suspision that this is not an error w/in
q-mail because my server is underneith *3* levels of nats, and when I try
to telnet to the respective ip addresses  (yahoo, aol, etc's mail server)
port 25,  the connection will die on me also.


I suppose my question is,  is there anything (besides removing all the
nats, which isn't an option until I move in june)  I can do to remedy this
minor problem?  

For now I just telnet into my iquest shell account and send mail to those
addresses that way, but needless to say it's a wee bit annoying.


Thanks,

Bennett Thede




Re: Unknown recipients

2000-03-09 Thread Claus Färber

Anand Buddhdev [EMAIL PROTECTED] schrieb/wrote:
 No there isn't. qmail's design is such that it does no recipient
 verification when accepting an email. I wish there were some way to do
 this though. Perhaps qmail-smtpd can look up a file list users/assign.

Well, the question here is, what's better: A security hole allowing  
remote attackers to find out which email address is valid without  
waiting for the bounce (and giving a valid return address in advance) or  
a security hole allowing remote attackers to start a DoS attack by  
sending messages which eventually double bounce?

I believe it's better not to accept that mail in the first place.

Unfortunatly, qmail-smtpd has absolutly no access to the list of valid  
addresses, maybe not even users. I have spent some thinking about this  
and ended up with the following idea: A separate daemon validating  
addresses by looking if there is a .qmail file or a default action for  
that address (and maybe caching the results). Of course, if you need  
~alias/.qmail-default, this would not help. Further, to check whether a  
.qmail file for .qmail-user-anything exists, you would have to start a  
process with this user's id to be able to read the directory...

-- 
Claus Andre Faerber http://www.faerber.muc.de
PGP: ID=1024/527CADCD FP=12 20 49 F3 E1 04 9E 9E  25 56 69 A5 C6 A0 C9 DC



Forward and retain a copy

2000-03-09 Thread Christopher Tarricone

Is there a way in qmail to forward a copy of an e-mail to another
accoutn but still retain a copy on my server for archive purposes.

Example

[EMAIL PROTECTED] receives and e-mail a copy is sent to thier aol
account but mydomain.com's mail server retains a copy.



RE: Forward and retain a copy

2000-03-09 Thread Stephen Bosch



 Is there a way in qmail to forward a copy of an e-mail to another
 accoutn but still retain a copy on my server for archive purposes.

 Example

 [EMAIL PROTECTED] receives and e-mail a copy is sent to thier aol
 account but mydomain.com's mail server retains a copy.

I've always just put the local address and the forward address in the
.forward file -- that's never caused a loop so I'm assuming that the MTA
knows enough to interpret this as a request to leave a copy in the local
mailbox.

Of course, that was with sendmail... I don't actually know what qmail does,
since I haven't had to use this since I started using qmail.

Anybody else?

-Stephen-



Re: Forward and retain a copy

2000-03-09 Thread Mikko Hänninen

Christopher Tarricone [EMAIL PROTECTED] wrote on Thu, 09 Mar 2000:
 Is there a way in qmail to forward a copy of an e-mail to another
 accoutn but still retain a copy on my server for archive purposes.

Put this in the .qmail file for the account:

  remote@address
  ./Mailbox

... this will forward to remote@address as well as store a copy in the
local mail folder called "Mailbox" in the user's home dir.  If you use
Maildir, replace ./Mailbox with "./Maildir/".  For more information
what you can do in .qmail, do "man dot-qmail".


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
Bumper sticker: I brake for no apparent reason.



RE: Forward and retain a copy

2000-03-09 Thread John Gonzalez/netMDC admin

Yes, we do this for customers that want a copy of their email, plus a copy
sent to a pager, or any other device :)

Modify your .qmail file in the home directory, and just put each recipient
on a seperate line in the file.

[EMAIL PROTECTED]
./Mailbox

or whatever format you are storing in.

On Thu, 9 Mar 2000, Stephen Bosch wrote:



 Is there a way in qmail to forward a copy of an e-mail to another
 accoutn but still retain a copy on my server for archive purposes.

 Example

 [EMAIL PROTECTED] receives and e-mail a copy is sent to thier aol
 account but mydomain.com's mail server retains a copy.

I've always just put the local address and the forward address in the
.forward file -- that's never caused a loop so I'm assuming that the MTA
knows enough to interpret this as a request to leave a copy in the local
mailbox.

Of course, that was with sendmail... I don't actually know what qmail does,
since I haven't had to use this since I started using qmail.

Anybody else?

-Stephen-



  ___   _  __   _  
__  /___ ___    /__  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[-[system info]---]
  2:30pm  up 44 days, 22:27,  4 users,  load average: 0.50, 0.52, 0.46



Re: Early aborts (Was: qq failure on HP-UX)

2000-03-09 Thread Pavel Kankovsky

On Thu, 9 Mar 2000, Harald Hanche-Olsen wrote:

 Which brings up a natural question:  What, in general, is supposed to
 happen if a program is unable to proceed before it enters main(),
 e.g., because the dynamic loader could not get the memory it needs?
...
 (My guess would have been that the process should commit suicide
 rather than just exiting, perhaps by sending itself a SIGSEGV or
 SIGABRT.)

Every dynamic linker I know (and I have seen having fatal problems during
startup) commits suicide with SIGKILL. This is probably the best thing you
can do.

--Pavel Kankovsky aka Peak  [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."



Re: Unknown recipients

2000-03-09 Thread Bruno Wolff III

On Thu, Mar 09, 2000 at 10:47:00AM +0100,
  Claus Färber [EMAIL PROTECTED] wrote:
 Well, the question here is, what's better: A security hole allowing  
 remote attackers to find out which email address is valid without  
 waiting for the bounce (and giving a valid return address in advance) or  
 a security hole allowing remote attackers to start a DoS attack by  
 sending messages which eventually double bounce?
 
 I believe it's better not to accept that mail in the first place.

Stopping either one has little benefit.

 Unfortunatly, qmail-smtpd has absolutly no access to the list of valid  
 addresses, maybe not even users. I have spent some thinking about this  
 and ended up with the following idea: A separate daemon validating  
 addresses by looking if there is a .qmail file or a default action for  
 that address (and maybe caching the results). Of course, if you need  
 ~alias/.qmail-default, this would not help. Further, to check whether a  
 .qmail file for .qmail-user-anything exists, you would have to start a  
 process with this user's id to be able to read the directory...

If your goal is to get rid of spam double bounces, you don't have to get
the list exactly right. You just accept stuff for valid_user, valid_user-.*
and names defined in ~alias.



Re: Early aborts (Was: qq failure on HP-UX)

2000-03-09 Thread Uwe Ohse

On Thu, Mar 09, 2000 at 05:57:23PM +0100, Harald Hanche-Olsen wrote:
 
 I assume this happened before the program entered main().

me too.

 
 Which brings up a natural question:  What, in general, is supposed to
 happen if a program is unable to proceed before it enters main(),

1003.1, 3.2 "Process Termination"
  There are two kinds of process termination:

(1) Normal termination occurs by a return from main() or when requested
with the exit() or _exit() functions.
(2) Abnormal termination occurs when requested by the abort() function
or when some signals are received (see 3.3.1.1).
  
  [...] the status made available to wait() or waitpid() by abort() shall
  be that of a process terminated by the SIGABRT signal.

Regards, Uwe



smtp-poplock-2.04 install problems

2000-03-09 Thread Kristina


I have qmail on Solaris7 sparc and I tried to install smptp-poplock but 
when I do make install I get the following errors. 

Any help greatly appreciated.
Kristina

**ERROR**
%cd /usr/src
%zcat smtp-poplock-2.04.tar.gz
%cd smtp-poplock-2.04
% make install

installing /usr/sbin
installing /usr/sbin/fifo-safety
find: cannot follow symbolic link /usr/sbin/.qmail-postmaster: No such file 
or d
irectory
install: fifo-safety was not found anywhere!


*My .qmail-postmaster is configured as in the Life with qmail manual**

echo dave  /var/qmail/alias/.qmail-root
echo dave  /var/qmail/alias/.qmail-postmaster
ln -s .qmail-postmaster /var/qmail/alias/.qmail-mailer-daemon
chmod 644 /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-postmaster







 





GMT ---- PST

2000-03-09 Thread Muhammad Ali



i want to change time from GMT to PST.. 
How?


send problem?

2000-03-09 Thread TAG

Hi,

When I send to a specific domain I get the following error message:

delivery 24129: failure:
Connected_to_160.124.122.142_but_sender_was_rejected./Remote_host_said:_501_unacceptable_mail_address/

Is this a proble on my side or theirs??

Thanks

Tonino



[Unable_to_chdir_to_maildir (#4.2.1)]

2000-03-09 Thread Dewald Strauss

 Hi everybody,
 
I have a server with RedHat 6.0, qmail 1.03 + vpopmail and multiple domains 
hosted on this machine.
 Since yesterday I started getting the following messages in my maillogs:
 delivery 460 deferral: Unable_to_chdir_to_maildir (#4.2.1)
 
 there are hundreds of these messages, but only for one domain
 The rest of the mail gets delivered as usual.
 
 I sent a mail from the console (echo test | mail [EMAIL PROTECTED]) 
 and right after that these messages started to appear.
 Did I break something by doing this, or is it just coincidence ?
 
 The permissions on my Maildir is exactly the same as other Maildirs, 
 and no other changes was made to the machine
 
 Anybody have a suggestion for me ?
(I looked at the archive for this list, but that did not solve my problem)


 Regards
 Dewald