Environment Variables represent original recipient address

2000-09-08 Thread Muhamad A. Martoprawiro

Hi, 

I host a domain name, say, "myfirstdomain" at 
a webhosting company that has "catch-all"
e-mail feature. So, any email send to
"anyname@myfirstdomain" will be forwarded to 
"othername@myotherdomain" (a qmail alias
at myotherdomain).

I have full access to myotherdomain.
I would like to forward the incoming emails from
myfirstdomain to "othername-anyname@myotherdomain"
( In ~alias/.qmail-othername file, I wish I can put: 
|forward othername-$ENVVAR )

Is there an environment variable that contains
original recipient username ("anyname"), so that
I can forward the emails to 
"othername-anyname@myotherdomain"?

Thanks.

Regards,
Muhamad



users/assign needs to be same on multiple servers (NIS?)

2000-09-08 Thread Brett Randall

Hi guys

I need to be able to have the assign file (or at least the cdb) updated
across my servers each time the main server updates. The main server is
currently serving /etc/passwd across NIS, and each other server is acting as
a slave server, in case our main one goes down. Mail is delivered form the
main server via NFS to each of the subsidiaries, which are mounted using
automount. When the server (particularly NFS) is not available, the master
server will defer (since it has users/assign), but the slave servers won't
because they don't have a users/assign file.

Now, I know some of you are thinking NIS & NFS..."look in the FAQ". That is
fine, I have created the assign and cdb files with no problems. But I need
these files to be distributed (note: different from simply accessible)
across the network as soon as qmail-newu is run. Now, I can hack qmail-newu
a bit to call some other command to do the updating, but if possible I want
to be able to distribute via NIS. I'd prefer to not have to implement LDAP
since I don't really have the time at the moment... On that note, does
anyone know how I can modify the NIS Makefile to distribute assign and/or
cdb, or any other way of allowing other servers to 'share' these files so
that mail is deferred when the connection is not available. Between all the
servers, all users on our domain look local, even if their Maildir is stored
on another server. The NFS link from the main server delivers mail to the
correct location, and on each of the subsidiaries which don't have shares
for each machine, ~alias/.qmail-default simply forwards undeliverable local
mail to the main relay. If the link is down, SMTP will be deferred - no
problems there.

Any help would be greatly appreciated! Thanks!

/BR

Manager
InterPlanetary Solutions
http://ipsware.com/





Double Bcc messages received

2000-09-08 Thread Christopher Taranto

Hi,

We just installed qmail 1.03 on a RedHat Linux 6.1 machine.  We were 
previously using our ISP's mail server to send out a batch of about 200 
emails at the end each day with a Perl script that uses the Net::SMTP to 
send then out.

The migration to qmail went great except for one minor issue:

Our Bcc: recipients are getting double copies of our messages while the To: 
recipients are correctly receiving one message.  This is happening only 
when sending out our emails through the Perl script.

If I write the emails using the Cc: field instead of the Bcc: 
field,  everyone correctly receives only one message.

The same code has been used for over a year and this has only shown up 
after the migration to qmail.

I have looked through the documentation, Life With Qmail, and searched 
through the mailing lists.  I found a lot on double bounces other bcc 
issues but didnt find much on my type of problem.

Any help or suggestions is greatly appreciated!

Sincerely,

Christopher Taranto

My script is as follows:

  

 my $file_contents  = 
$string->file_to_string($filepath);

 my $header= '';
 ($header)= 
split(/\r?\n\r?\n/,$file_contents);

 my $to  = '';
 my $from = '';
 my @cc= ();
 my @bcc  = ();

 $to= $1 if 
($header =~ /to:\s*([^\r\n]+)/is);
 $from   = $1 if ($header 
=~ /from:\s*([^\r\n]+)/is);
 @cc = 
split(/\s*,\s*/,$1)  if ($header =~ /cc:\s+([^\r\n]+)/is);

 # remove bcc lines :)
 if ($header =~ /bcc:\s+([^\r\n]+)/is) {

 @bcc = split(/\s*,\s*/,$1);
 $header=~ 
s/bcc:\s+[^\r\n]+\r?\n//is;

 }

 $smtp->mail($from);

 $smtp->to($to);

 # now send to the b?cc's
 foreach (@cc,@bcc) {

$smtp->recipient($_);

 }

 $smtp->data();
 $smtp->datasend("$file_contents\r\n");
 $smtp->dataend();





Re: A strange problem delivering local mail (long and hard)

2000-09-08 Thread Adam McKenna

On Sat, Sep 09, 2000 at 02:12:10AM +0200, Javier Ribelles wrote:
>   Ok, it's understud, but... why did it work before restarting the
> machine? Why does it work with sendmail? (uh! don't hit me!! ;) ).

Qmail Doesn't Do That.  It's that simple.

>   That's why I'm worried, I've worked for long time with MTAs and every
> smtpd I installed worked fine by telneting to port 25 without adding extra
> header in "DATA" field... even qmail before restarting the system 

Uh, no.  If your MTA did that before you restarted, then it wasn't qmail.  I
suggest you look at the message headers and confirm this for yourself.

--Adam



Re: A strange problem delivering local mail (long and hard)

2000-09-08 Thread Javier Ribelles

El Fri, 08 Sep 2000, escribiste:
> On Fri, 8 Sep 2000, Javier Ribelles wrote:
> 
> > 
> > Hi all, first of all, sorry for some of my poor english expresions
> > you'll find in my mail, but it's been long since I last used it ;)
> 
> De nada.
;)
> 
> That works fine because qmail-inject creates From: and To: headers etc
> if they don't already exist. That is part of its job.
> 
> qmail-smtpd's job is not to add headers that aren't there.

Ok, it's understud, but... why did it work before restarting the
machine? Why does it work with sendmail? (uh! don't hit me!! ;) ).

That's why I'm worried, I've worked for long time with MTAs and every
smtpd I installed worked fine by telneting to port 25 without adding extra
header in "DATA" field... even qmail before restarting the system 

:(((

--

Javier Ribelles - [EMAIL PROTECTED]





please help me with Courier-imap!

2000-09-08 Thread Wilson Henriquez

Hello all,
I am puzzled by what is happening when retrieving mail through
courier-imap.  I connect to my Maildir remotely and I know that there is
no mail in my Maildir, but yet I am getting 24 duplicate messages back.
Where are these messages coming from?  I tried to connect to another
user's Maildir and I got back 8 duplicate messages (not the same as my
messages).  I don't have any messages in /var/spool/mail/ and I am
certain that when I send mail to the Maildirs, that they are going into
there proper mail directories.  Any ideas anyone?
Thank you all!




Re: qmail-start: cannot start: unable to read controls

2000-09-08 Thread Ben Beuchler

On Fri, Sep 08, 2000 at 12:47:16PM -0700, Steve Lewis wrote:

> from /var/log/messages:
> Sep  8 11:47:49 mybox qmail: 968438869.011886 alert: cannot start: unable
> to read controls

It means it is unable to read its control files.  That means you have an
ownership or perms problem somewhere in the /var/qmail/control tree or
on the actual files in the control directory.

Ben

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



IGNORE Re: qmail-start: cannot start: unable to read controls

2000-09-08 Thread Steve Lewis

On Fri, 8 Sep 2000, Steve Lewis wrote:

> from /var/log/messages:
> Sep  8 11:47:49 mybox qmail: 968438869.011886 alert: cannot start: unable
> to read controls

please disregard, I recompiled on a hunch, and discovered an error that
slipped by me last time:

  hard error
  Sorry, I couldn't find your host's canonical name in DNS.
  You will have to set up control/me yourself.

which explains why the proper files were not created or found.
I should be able to figure it out from here.

--Steve




qmail-start: cannot start: unable to read controls

2000-09-08 Thread Steve Lewis


-installing on FreeBSD 4.1 RELEASE 
-installing qmail 1.03 from FreeBSD Ports collection
-installed to /usr/local/qmail rather than to /var/qmail
-copied /usr/local/qmail/boot/home to /usr/local/qmail/rc
-in step 9 of PORT_NOTES (aka step 9 of INSTALL) it says to run 
  # csh -cf '/var/qmail/rc &'
 so instead I run 
  # csh -cf '/usr/local/qmail/rc &'
 looking at TEST.deliver I stop at step one...

from /var/log/messages:
Sep  8 11:47:49 mybox qmail: 968438869.011886 alert: cannot start: unable
to read controls

Searched the list archives, the FAQ and other docs and didn't find a good
explanation of what it is looking for and not finding.

FWIW hostname+domain for this machine does not resolve by DNS at this time
because I am building the machine on my home LAN (behind NAT and a
firewall) to secure it and test it before we put it out for the world to
see.  I don't know if that will cause a problem or not.

This isn't alot of informaiton to go on, but I don't know what else to
offer at this point.  Can someone point me in the right direction here?

please reply directly to my address, as I am not subscribed to the list
anymore.

--Steve





Re: Open relay test.

2000-09-08 Thread John Gonzalez/netMDC admin

On 8 Sep 2000, John R. Levine wrote:

| (Friendly hint: if you ignore the ugly blinking message and send me
| mail anyway saying that the tester claimed that your system is an open
| relay because it accepted the test message, I'll write back and call
| you a moron.)
| 

Hrmm.. i just ran the test through my servers john, and for some reason,
i dont see any blinking text... only in pure black text:

>>> RSET
<<< 250 flushed
>>> MAIL FROM:<[EMAIL PROTECTED]>
<<< 250 ok
>>> RCPT TO:<"relaytest%abuse.net">
<<< 250 ok

Relay test result
Hmmn, at first glance, host appeared to accept a message for relay.
THIS MAY OR MAY NOT MEAN THAT IT'S AN OPEN RELAY.


-- 
  ___   _  __   _  
__  /___ ___    /__  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)439-0200/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[-[system info]---]
  1:10pm  up 1 day, 18:39,  3 users,  load average: 0.22, 0.12, 0.10




Re: Open relay test.

2000-09-08 Thread John R. Levine

>*duh* - telnetting into the world from our mail server is prohibited by
>the firewall hehe.
>mail-abuse.org accepts mail from me via that server tho (relay reports).

You're welcome to use my experimental tester at
http://www.abuse.net/relay.html.  It's more or less the same tests
that the MAPS RSS uses, and is pretty similar to but less aggressive
than ORBS.

It also does the user%dom1@dom2 test, because that's a famous relay
hole in a lot of sendmail systems.  If you have qmail, the tester will
note that it accepted the message, then say in large ugly blinking
letters that your system is only an open relay if it actually forwards
the message back.  If you're a registered abuse.net user, it can
assign you a temporary abuse.net forwarding address so you can test
your own server using an address not in your own domain.

(Friendly hint: if you ignore the ugly blinking message and send me
mail anyway saying that the tester claimed that your system is an open
relay because it accepted the test message, I'll write back and call
you a moron.)

-- 
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, 
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail



DNS MX Records

2000-09-08 Thread tigre21



I need setup a mail server with registry MX 
I don't have a DNS Server
I use DNS server of other company.
The registry MX in my DNS is ready.
But in my configuration Qmail and Vpopmail isn't
Where and How will change for have all done?

Please ... I'm new in vpopmail
and too have a problem of authentification.
I can logged with user in /etc/passwd but no user virtuals
I use vpopmail
Please ... I need help ... I can't go back...
I have 50,000 users with service pop3... and they are bitters
I don't have virtualdomain.
I only have a only domain..


Thanks 
Juan 




Re: ? -> Delivery Status Notification (Failure)

2000-09-08 Thread Aaron L. Meehan

Quoting Brian Ghidinelli ([EMAIL PROTECTED]):
> 
> I'm not sure yet if this is Qmail specific, but I thought that someone
> here might have experienced this before and thus would have an idea since
> we're all email Admins.
> 
> Users who are sending our mail servers mail from large sites such as
> prontomail or hotmail occasionally get the following error:

> > Final-Recipient: rfc822;[EMAIL PROTECTED]
> > Action: failed
> > Status: 4.4.2

Huh, once again someone mails the list with a hotmail-generated
mail error report and it doesn't say damn thing at all!

Why even send error reports to users when they don't mention _what_
the blasted problem is?  (note, I'm ranting at hotmail, not you).
Users don't know to look up in RFC 1893 for extended status codes!

Anyway, the status code 4.4.2 is telling us it should have been
deferred.  It seems like hotmail doesn't like to have any messages in
its queue :) Are you sure this isn't a deferral notice?  I guess since
it says "Failure" in the Subject we have to assume it's not.

X.4.2   Bad connection

  The outbound connection was established, but was otherwise
  unable to complete the message transaction, either because
  of time-out, or inadequate connection quality. This is
  useful only as a persistent transient error.

> The odd thing about this is that we have two mail servers - one in New
> Jersey on an occasionally unstable link and one in California at Above.net
> which is always online and both trigger this error (randomly).

Interesting, but I can only find one MX record in the DNS for vfive.com.

$ host -t mx vfive.com
vfive.com   MX  10 bmw.vfive.com

Therefore, if that is the machine in New Jersey, that could be the
source of your delivery failures.  Reasonable MTAs will defer the
message until it can be delivered (when the link comes back up,
presumably).

Aaron



Re: qmail-popup fd weirdness

2000-09-08 Thread Peter van Dijk

On Sat, Sep 09, 2000 at 03:26:28AM +1200, Chris K. Young wrote:
> Quoted from Peter van Dijk:
> > Why does qmail-popup change fd2 from stderr (which nicely goes into the
> > logger, usually) to a copy of fd1?
> 
> What's your setup? I thought, if you use the usual svscan setup,
> _stdout_ gets logged.

Yes it does, but, fd's 0 and 1 are attached to the network socket under
tcpserver anyway, which is why I have a 2>&1 which means fd 2 goes into
the 'high-level' (tcpserver output) fd 1.

Greetz, Peter.
-- 
[ircoper][EMAIL PROTECTED] - Peter van Dijk / Hardbeat
[student]Undernet:#groningen/wallops | IRCnet:/#alliance
[developer]_
[disbeliever - the world is backwards](__VuurWerk__(--*-



RE: Configure qmail using two ethernet card.

2000-09-08 Thread Ihnen, David



You 
cannot configure an application to only use a particular physical interface - 
physical interfaces are isolated from applications by the layers of the IP 
stack.
 
You 
CAN have it listen on a particular IP address only, so that it doesn't respond 
to the IP address that is assigned to another port though.  But that 
doesn't guarantee anything.
 
Outbound routing is handled by the kernel routing 
table.
 
Once a 
packet arrives on an interface, it enters the IP stack and gets responded to 
appropriately - regardless of which physical interface it came in 
on.
 
David
 

    -Original 
  Message-From: Mark Lo 
  [mailto:[EMAIL PROTECTED]]Sent: Friday, September 08, 2000 
  1:20 AMTo: [EMAIL PROTECTED]Subject: Configure qmail 
  using two ethernet card.
  Hi,
   
     I have some technical issue to 
  ask.  Okay..I have a web server and mail server located side by 
  side.  The web server is used to send all of the 
  on-line inquires to the mail server.  So I would like to 
  ask how to configure qmail to accept incoming messages by using specific 
  etherent card.  From web server's ethernet care directly to mail server's 
  ethernet card.  Assume I have two ethernet card for both web and mail 
  server.  one ethernet card is to listen from the outside 
  world.
   
  Thank you
   
  Mark


Re: Spam

2000-09-08 Thread Ben Beuchler

On Fri, Sep 08, 2000 at 08:37:55AM -0700, Mike Jimenez wrote:

> How do I setup my mail server to help reduce the amount of spam it
> receives.Or better what are the steps taken to do this.Also How do I
> properly block out certain Ip's from sending mail to my server.

http://www.summersault.com/chris/techno/qmail/qmail-antispam.html

-- 
Ben Beuchler [EMAIL PROTECTED]
MAILER-DAEMON (612) 321-9290 x101
Bitstream Underground   www.bitstream.net



? -> Delivery Status Notification (Failure)

2000-09-08 Thread Brian Ghidinelli


I'm not sure yet if this is Qmail specific, but I thought that someone
here might have experienced this before and thus would have an idea since
we're all email Admins.

Users who are sending our mail servers mail from large sites such as
prontomail or hotmail occasionally get the following error:

>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Delivery Status Notification (Failure)
>Date: Thu, 7 Sep 2000 13:31:04 -0700
>
>This is an automatically generated Delivery Status Notification.
>
>Unable to deliver message to the following recipients, due to being unable 
>to connect successfully to the destination mail server.
>
> Reporting-MTA: dns;mail.hotmail.com
> Received-From-MTA: dns;mail.hotmail.com
> Arrival-Date: Tue, 5 Sep 2000 13:24:01 -0700
> 
> Final-Recipient: rfc822;[EMAIL PROTECTED]
> Action: failed
> Status: 4.4.2

The odd thing about this is that we have two mail servers - one in New
Jersey on an occasionally unstable link and one in California at Above.net
which is always online and both trigger this error (randomly).

Both of these mail servers run Qmail 1.03 and Ezmlm which is really the
only similarity between them.  We have clients who send and retrieve mail
from both mail servers all day long so I "know" that these are not offline
- and while it's possible for short periods of inaccessibility, shouldn't
these messages queue for at least a few hours before bouncing?

Or is this error message indicative of something else?


Brian



Spam

2000-09-08 Thread Mike Jimenez

How do I setup my mail server to help reduce the amount of spam it
receives.Or better what are the steps taken to do this.Also How do I
properly block out certain Ip's from sending mail to my server.
Thanks
Mike




Re: qmail-popup fd weirdness

2000-09-08 Thread Chris K. Young

Quoted from Peter van Dijk:
> Why does qmail-popup change fd2 from stderr (which nicely goes into the
> logger, usually) to a copy of fd1?

What's your setup? I thought, if you use the usual svscan setup,
_stdout_ gets logged.

---Chris K.
-- 
 Chris, the Young One |_ but what's a dropped message between friends? 
  Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. 
http://cloud9.hedgee.com/ |_ Robinson, IV  



qmail-popup fd weirdness

2000-09-08 Thread Peter van Dijk

Why does qmail-popup change fd2 from stderr (which nicely goes into the
logger, usually) to a copy of fd1?

This fdcopy prevents checkpassword replacements from logging anything.

Greetz, Peter.
-- 
[ircoper][EMAIL PROTECTED] - Peter van Dijk / Hardbeat
[student]Undernet:#groningen/wallops | IRCnet:/#alliance
[developer]_
[disbeliever - the world is backwards](__VuurWerk__(--*-



Re: multiple messages after header rewriting

2000-09-08 Thread Sean C Truman

Hey Chris,

You might as well just add the  "*cough, cough* Please, read FAQ " to
you signature file.

Cheers
Sean Truman
www.prodigysolutions.com
[EMAIL PROTECTED]

- Original Message -
From: Chris K. Young <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 08, 2000 10:27 AM
Subject: Re: multiple messages after header rewriting


> Quoted from Stefan Witzel:
> > ~alias/.qmail-fixme-default:
> >| /var/qmail/bin/qmail-inject
>
> *cough, cough* Please, read FAQ 5.5.
>
> ---Chris K.
> --
>  Chris, the Young One |_ If you can't afford a backup system, you can't
>   Auckland, New Zealand |_ afford to have important data on your computer.
> http://cloud9.hedgee.com/ |_ ---Tracy R. Reed




Re: multiple messages after header rewriting

2000-09-08 Thread Chris K. Young

Quoted from Stefan Witzel:
> ~alias/.qmail-fixme-default:
>| /var/qmail/bin/qmail-inject

*cough, cough* Please, read FAQ 5.5.

---Chris K.
-- 
 Chris, the Young One |_ If you can't afford a backup system, you can't 
  Auckland, New Zealand |_ afford to have important data on your computer. 
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed  



Re: A strange problem delivering local mail (long and hard)

2000-09-08 Thread Peter Samuel

On Fri, 8 Sep 2000, Javier Ribelles wrote:

> 
>   Hi all, first of all, sorry for some of my poor english expresions
> you'll find in my mail, but it's been long since I last used it ;)

De nada.

> ...
>
>   When I started qmail, all seemed to work fine... Mail was correctly
> delivered inside an outside the server. But I like to send mail through
> telneting port 25, so I did this:
> 
>   telnet localhost 25
>   HELO aimplas.es
>   MAIL FROM: jribelles
>   RCPT TO: jribelles
>   DATA
>   hola 
>   .
>   quit
> 
> ...
>
> So, everything seems to be right... Now let's take a look at users' inbox
> (/var/spool/mail/jribelles) ...
> 
>   From jribelles Fri Sep 08 07:57:54 2000
>   Return-Path: 
>   Delivered-To: [EMAIL PROTECTED]
>   Received: (qmail 11831 invoked from network); 8 Sep 2000 07:57:53 -
>   Received: from localhost (HELO aimplas.es) ([EMAIL PROTECTED])
> by localhost with SMTP; 8 Sep 2000 07:57:53 -
>   hola 
> 
> Well, all I can see here is that the header is missing, fields "From", "To",
> and "Date" should appear after second "Received:" line, but they do not... Of
> course this only happens when delivering to a local user... And I have
> discovered why...
> 
>   Mail clients do send the header after the DATA tag, like this...
> 
> ...
> DATA
> Date: Fri Sep 08 07:57:54 2000
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> 
> hola
> ...
> 
>   This would be the DATA they would send... doing that makes it work
> fine... If you put only a "Subject" or "From" field, and you do not specify
> all the fields (or maybe only the date), it will ignore the rest of the
> message, and will show you only the fields you've entered... 

The SMTP daemon (qmail's or anyone elses for that matter) is not
responsible for adding RFC822 headers such as From: or To: etc. All
the SMTP daemon does is accept the incoming data and possibly add a
Received: header.

The sending system is responsible for 'doing the right thing' with
respect to From: headers etc.

By telnetting into port 25, you were acting as the SMTP client, so you
were resonsible for adding the From: header etc.

Here's a sample from my system:

telnet allspice 25
Trying 192.168.16.20...
Connected to allspice.e-smith.net.
Escape character is '^]'.
220 e-smith.net ESMTP
helo risotto
250 e-smith.net
mail from: <[EMAIL PROTECTED]>
250 ok
rcpt to: <[EMAIL PROTECTED]>
250 ok
data
354 go ahead
From: Peter Samuel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: testing from telnet

g'day   
.
250 ok 968422217 qp 27634
quit
221 e-smith.net
Connection closed by foreign host.

I gave the system the appropriate RFC822 headers, and here is what
ended up in my Maildir/

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 27634 invoked from network); 8 Sep 2000 14:09:43 -
Received: from unknown (HELO risotto) (192.168.16.154)
  by 192.168.16.20 with SMTP; 8 Sep 2000 14:09:43 -
From: Peter Samuel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: testing from telnet

g'day

The bottom line is that your system is working properly. You just
assumed it was going to do more than it actually does.

> 
>   I tried making it work by removing completely /var/qmail (rm -Rf
> /var/qmail/*) and reinstalling qmail and fastforward and ucspi, but that
> doesn't solve the problem.. maybe it's not a qmail problem, but procmail's? But

There was no need to reinstall. It was working fine.

> I don't understand why it's happened after rebooting the system...
> 
>   Maybe the problem is in qmail-local or qmail-smtpd->qmail-queue, as
> doing 
> echo "To: jribelles" | /var/qmail/bin/qmail-inject
> works fine...

That works fine because qmail-inject creates From: and To: headers etc
if they don't already exist. That is part of its job.

qmail-smtpd's job is not to add headers that aren't there.

-- 
Regards
Peter
--
Peter Samuel[EMAIL PROTECTED]
http://www.e-smith.org (development)http://www.e-smith.com (corporate)
Phone: +1 613 368 4398  Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"




Re: bounce mail w/ an attachment how to delete

2000-09-08 Thread Dave Sill

Kimberly Vher <[EMAIL PROTECTED]> wrote:

>>please help me with this problem. if qmail failed to deliver the emails to
>the destination then automatically it will be bounce to the sender right?
>if the bounces email have an attachment then how can i remove the
>attachment so that only the text file or only the header not the body
>will be bounce to the sender. 

There's no easy way to do that. There's a patch pointed to by
www.qmail.org that truncates bounce messages, but it doesn't remove
attachments.

-Dave



Re: qmail -relay

2000-09-08 Thread Vince Vielhaber



Sure hope he's on this list 'cuze his mail bounced due to rcpthosts.



On Fri, 8 Sep 2000, Vince Vielhaber wrote:

> On Fri, 8 Sep 2000, orca wrote:
> 
> > Hi
> > Please help.
> > I have problem.
> > My qmail-server works correctly.
> > I set to mode stand-up from
> > http://www.palomine.net/qmail/selectiverelay.html.
> > Create a file in /etc called tcp.smtp. I read :
> > 
> > 192.168.0.3:allow,RELAYCLIENT=""
> > 127.:allow,RELAYCLIENT=""
> > :allow
> > this is OK
> > 
> > # tcprules /etc/tcp.smtp.cdb/etc/tcp.smtp.temp < /etc/tcp.smtp
> > This is OK
> > 
> > I don't  finalize stand-up because if  I write my symbol string after a
> > pattern from http://www.palomine.net/qmail/selectiverelay.html.>
> > tcpserver -x/etc/tcp.smtp.cdb -u 503  -g 504  0 smtp  /QMAIL/bin/qmail-smtpd
> > &
> > My server answer > tcpserver: fatal : unable to bind: address already used
> > I am afraid but I don't know about what address think my server.
> 
> This means that something is already listening on port smtp.  You may have
> another tcpserver already running on that port or perhaps sendmail is
> still running.  
>  
> Vince.
> 

-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






Re: qmail -relay

2000-09-08 Thread Vince Vielhaber

On Fri, 8 Sep 2000, orca wrote:

> Hi
> Please help.
> I have problem.
> My qmail-server works correctly.
> I set to mode stand-up from
> http://www.palomine.net/qmail/selectiverelay.html.
> Create a file in /etc called tcp.smtp. I read :
> 
> 192.168.0.3:allow,RELAYCLIENT=""
> 127.:allow,RELAYCLIENT=""
> :allow
> this is OK
> 
> # tcprules /etc/tcp.smtp.cdb/etc/tcp.smtp.temp < /etc/tcp.smtp
> This is OK
> 
> I don't  finalize stand-up because if  I write my symbol string after a
> pattern from http://www.palomine.net/qmail/selectiverelay.html.>
> tcpserver -x/etc/tcp.smtp.cdb -u 503  -g 504  0 smtp  /QMAIL/bin/qmail-smtpd
> &
> My server answer > tcpserver: fatal : unable to bind: address already used
> I am afraid but I don't know about what address think my server.

This means that something is already listening on port smtp.  You may have
another tcpserver already running on that port or perhaps sendmail is
still running.  
 
Vince.
-- 
==
Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net
 128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directoryhttp://www.camping-usa.com
   Online Giftshop Superstorehttp://www.cloudninegifts.com
==






qmail Digest 8 Sep 2000 10:00:00 -0000 Issue 1117

2000-09-08 Thread qmail-digest-help


qmail Digest 8 Sep 2000 10:00:00 - Issue 1117

Topics (messages 48246 through 48330):

Re: Why qmail can not receive hotmail messages?
48246 by: Jost Krieger
48258 by: Dave Sill
48280 by: Adam McKenna
48290 by: Jack O'Toole
48292 by: Dave Sill
48294 by: Adam McKenna
48301 by: Chris Garrigues
48308 by: hbchen163
48314 by: Brett Randall
48324 by: Petr Novotny

Re: whatsthematternow???
48247 by: Chris K. Young
48248 by: olaf behrendt
48249 by: Thomas Ackermann
48288 by: Adam McKenna

qmail & t-online.de - NAME_lookup_failed_temporarily.
48250 by: Jens Georg

Problems with NFS
48251 by: Thorkild Stray
48253 by: oliver.koch.jk.uni-linz.ac.at

Re: qmail & t-online.de - NAME_lookup_failed_temporarily. bounda
48252 by: Frank Tegtmeyer

Re: offtopic: alien threads
48254 by: Chris K. Young

Re: QMTP
48255 by: Peter van Dijk
48276 by: David Dyer-Bennet
48277 by: Peter van Dijk

mail works kmail/NS messenger don't on private WAN
48256 by: Phil Rhoades
48267 by: Charles Cazabon

Re: Mass Mailout Performance Tips
48257 by: Dave Sill
48270 by: Ken Jones
48272 by: Peter van Dijk
48295 by: Bryan White
48296 by: Steve Wolfe
48309 by: Bryan White
48311 by: Pro-People
48316 by: Eric Cox
48320 by: Steve Wolfe

SSL + POP3 + SMTPrelay
48259 by: Manuel Gisbert
48302 by: Dale Miracle

sorry
48260 by: Ingo.Lohmar.gmx.de

ezmlm - allowing only few subscribers to post the list
48261 by: Yair Zohar

Forwarding unhandle mail to another server
48262 by: Nicolas MONNET
48263 by: Johan Almqvist
48264 by: Brett Randall

where has holdremote patch gone?
48265 by: Ingo.Lohmar.gmx.de
48310 by: richard.illuin.org

Re: ezmlm killing mail server
48266 by: Dave Sill
48278 by: Michael T. Babcock
48283 by: Dave Sill
48285 by: markd.bushwire.net

.qmail-default vs .qmail-user
48268 by: Manuel Gisbert
48269 by: Guillermo Villasana Cardoza
48271 by: Ken Jones

Re: telltale sign of RBL & DUL
48273 by: Russell Nelson

Re: Timezone]
48274 by: David Benfell

Please i really help! - mailhost question!
48275 by: Linux Curry
48330 by: Robin S. Socha

user masquerading?
48279 by: Enerson, Marty
48284 by: David Dyer-Bennet
48286 by: Petr Novotny

Sqwebmail Problems please help
48281 by: Bob Dakota
48289 by: Tim Hunter

Mail marked as read??
48282 by: Jerry Lynde
48297 by: Jerry Lynde
48298 by: M.B.
48299 by: Adam McKenna
48300 by: Jerry Lynde

qmail queueing limiting mail servers
48287 by: Steven Rice

bouncing old mail
48291 by: M.B.
48293 by: markd.bushwire.net

bare LF - bizarre behaviour
48303 by: Steve Wolfe
48304 by: Chris Garrigues
48305 by: Chris Scheller
48306 by: Adam McKenna
48307 by: Steve Wolfe
48312 by: Chris Scheller
48315 by: Aaron L. Meehan
48318 by: Steve Wolfe
48319 by: Steve Wolfe

VPOPMAIL AUTHENTIFICATION ...URGENT HELP
48313 by: tigre21.gamma.qnet.com.pe

Re: Slightly Off Topic
48317 by: Andy Bradford

Specifying outgoing IP address of qmail-remote
48321 by: Yasuo Ohgaki
48323 by: Yasuo Ohgaki

multiple messages after header rewriting
48322 by: Stefan Witzel

Configure qmail using two ethernet card.
48325 by: Mark Lo

A strange problem delivering local mail (long and hard)
48326 by: Javier Ribelles

Log POP3 Activity
48327 by: Adrian Purnama

bounce mail w/ an attachment how to delete
48328 by: Kimberly Vher

qmail -relay
48329 by: orca

Administrivia:

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

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

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

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


--



On Thu, Sep 07, 2000 at 01:48:00AM -0400, Adam McKenna wrote:

> 2) It is *not* the frigging MX record.  That has nothing to do with it.  Any
> mailer that breaks when there is only an A record is a broken mailer.

And who says so? I'm sure every mailer SHOULD fall back to the A record,
but the RFCs don't demand it.

Jost
-- 
| [EMAIL PROTECTED]  Please help stamp out spam! |
| Postmaster, JAPH, resident answer machine  am RZ der RUB |
| Pluralitas non est ponenda sine necessitate  |
| William of Ockham (1285-1347/49) |




Jost Krieger <[EMAIL PROTECTED]> wrote:

>On Thu, Sep 07, 2000 at 01:48:00AM -0400, Adam McKenna wrote:
>
>> 2) It is 

Re: Please i really help! - mailhost question!

2000-09-08 Thread Robin S. Socha

* Linux Curry <[EMAIL PROTECTED]> [000907 12:56]:
> Please i really need help ..

http://qmail.org/top.html#paidsup

And you'll not make a lot of friends by reposting a message including
commercial banners for a site driven by MSExchange and NT.



qmail -relay

2000-09-08 Thread orca

Hi
Please help.
I have problem.
My qmail-server works correctly.
I set to mode stand-up from
http://www.palomine.net/qmail/selectiverelay.html.
Create a file in /etc called tcp.smtp. I read :

192.168.0.3:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
:allow
this is OK

# tcprules /etc/tcp.smtp.cdb/etc/tcp.smtp.temp < /etc/tcp.smtp
This is OK

I don't  finalize stand-up because if  I write my symbol string after a
pattern from http://www.palomine.net/qmail/selectiverelay.html.>
tcpserver -x/etc/tcp.smtp.cdb -u 503  -g 504  0 smtp  /QMAIL/bin/qmail-smtpd
&
My server answer > tcpserver: fatal : unable to bind: address already used
I am afraid but I don't know about what address think my server.

Thank You for your help.
ps: I am sorry my English.

andrej
[EMAIL PROTECTED]








bounce mail w/ an attachment how to delete

2000-09-08 Thread Kimberly Vher

>hello,
>
>please help me with this problem. if qmail failed to deliver the emails to
the destination then automatically it will be bounce to the sender right?
if the bounces email have an attachment then how can i remove the
attachment so that only the text file or only the header not the body
will be bounce to the sender. 
>
>please help!
>
>thanks in advance




Log POP3 Activity

2000-09-08 Thread Adrian Purnama

Does anyone know how to log POP3 Activities on Qmail (qmail-pop3d) ?
I need to log which email that retrieved by a pop3 users.

For example, here what Post Office does:
2905175728+0700:POP3-Server:Login:[x.x.x.x]:myemail
2905175728+0700:POP3-Server:Retrieve:[x.x.x.x]:myemail:4176:0:
2905175730+0700:POP3-Server:Logout:[x.x.x.x]:myemail:2

>From that example log, I'm sure that email from
[EMAIL PROTECTED] has been downloaded
by user "myemail", from ip "x.x.x.x",
at "September 5, 2000, 17:57:28 GMT+7".

I'm using qmail+vpopmail.


Best Regards,
Adrian Purnama





A strange problem delivering local mail (long and hard)

2000-09-08 Thread Javier Ribelles


Hi all, first of all, sorry for some of my poor english expresions
you'll find in my mail, but it's been long since I last used it ;)

Well, I have a problem which I don't know how dangerous for my system
may be, this is it.

I've installed qmail-1.03 with ucspi-tcp-0.88, fastforward 0.51 and
qpopper3.0.2 with checkpassword 0.81 on a RedHat Linux 6.2 (PIII 450 128 MB RAM
8 GB SCSI). It was working perfectly... 'till I did an administrative stop. 

I had to install a 20 GB IDE ATA2 HD for users' home, so I halted the
system, installed the new HD, init 1, changed mount directories, got the right
perms and reboot.

New partitions where:

[root@hermes qmail]# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/sda2 888M  535M  308M  63% /
/dev/hda1  19G  1.3G   16G   7% /home
/dev/sda3 486M   38k  461M   0% /var/spool
/dev/sda4 7.0G   36k  6.6G   0% /var/spool/mail 

When I started qmail, all seemed to work fine... Mail was correctly
delivered inside an outside the server. But I like to send mail through
telneting port 25, so I did this:

  telnet localhost 25
  HELO aimplas.es
  MAIL FROM: jribelles
  RCPT TO: jribelles
  DATA
  hola 
  .
  quit

This is the log of that message:

(in /var/log/maillog)

Sep  8 09:57:54 hermes qmail: 968399874.922874 new msg 91797
Sep  8 09:57:54 hermes qmail: 968399874.923021 info msg 91797: bytes 194 from 
 qp  11831 uid 502
Sep  8 09:57:54 hermes qmail: 968399874.988017 starting delivery 12: msg 91797 to 
local [EMAIL PROTECTED]
Sep  8 09:57:54 hermes qmail: 968399874.988102 status: local 1/10 remote 0/20
Sep  8 09:57:55 hermes qmail: 968399875.033522 delivery 12: success: did_0+0+1/
Sep  8 09:57:55 hermes qmail: 968399875.033633 status: local 0/10 remote 0/20
Sep  8 09:57:55 hermes qmail: 968399875.033683 end msg 91797

So, everything seems to be right... Now let's take a look at users' inbox
(/var/spool/mail/jribelles) ...

  From jribelles Fri Sep 08 07:57:54 2000
  Return-Path: 
  Delivered-To: [EMAIL PROTECTED]
  Received: (qmail 11831 invoked from network); 8 Sep 2000 07:57:53 -
  Received: from localhost (HELO aimplas.es) ([EMAIL PROTECTED])
by localhost with SMTP; 8 Sep 2000 07:57:53 -
  hola 

Well, all I can see here is that the header is missing, fields "From", "To",
and "Date" should appear after second "Received:" line, but they do not... Of
course this only happens when delivering to a local user... And I have
discovered why...

Mail clients do send the header after the DATA tag, like this...

...
DATA
Date: Fri Sep 08 07:57:54 2000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

hola
...

This would be the DATA they would send... doing that makes it work
fine... If you put only a "Subject" or "From" field, and you do not specify
all the fields (or maybe only the date), it will ignore the rest of the
message, and will show you only the fields you've entered... 

I tried making it work by removing completely /var/qmail (rm -Rf
/var/qmail/*) and reinstalling qmail and fastforward and ucspi, but that
doesn't solve the problem.. maybe it's not a qmail problem, but procmail's? But
I don't understand why it's happened after rebooting the system...

Maybe the problem is in qmail-local or qmail-smtpd->qmail-queue, as
doing 
echo "To: jribelles" | /var/qmail/bin/qmail-inject
works fine...

I don't know if in this large mail I've failed to remember something,
but I think all is on... Could anyone please tell me if this is to make me
suffer any kind of problem and how to solve it, or why has it happened? I
can't do anything more with my qmail knowledge... ThanX  

One last thing... I run qmail-smtpd from tcpserver

/usr/local/bin/tcpserver -u 502 -g 501 -x /etc/tcp.smtp.cdb 0 smtp
/var/qmail/bin/qmail-smtpd &



 -- 
JAVIER RIBELLES ASCÓ - [EMAIL PROTECTED]

AIMPLAS Instituto Tecnologico del Plastico
Unidad de Tecnologías de la Información y Comunicaciones
Valencia Parc Tecnologic. C-Gustave Eiffel, 4.
46980 PATERNA (Valencia) -SPAIN-
Tel.: (+34) 96.136.60.40 / Fax.:(+34) 96.136.60.41
http://www.aimplas.es




Configure qmail using two ethernet card.

2000-09-08 Thread Mark Lo



Hi,
 
   I have some technical issue to 
ask.  Okay..I have a web server and mail server located side by side.  
The web server is used to send all of the on-line inquires to the 
mail server.  So I would like to ask how to configure qmail to 
accept incoming messages by using specific etherent card.  From web 
server's ethernet care directly to mail server's ethernet card.  Assume I 
have two ethernet card for both web and mail server.  one ethernet card is 
to listen from the outside world.
 
Thank you
 
Mark


Re: Why qmail can not receive hotmail messages?

2000-09-08 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7 Sep 2000, at 16:03, Dave Sill wrote:

> The RFC says "should" not "must" or "MUST", so Jost is correct: the
> RFC's don't *demand* it.

But doesn't that RFC say that MTA "should" deliver the message, 
not "must"? If you think that "should" means "only if it feels like 
doing that", there's no hope to get any e-mail delivered reliably. :-)

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8 -- QDPGP 2.61b
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBObiGmVMwP8g7qbw/EQJd+wCgi9tnTQaz9hBOfw3sQ42IcLYdj6sAoPck
1waeWJ8LmrWYVKmYFXMQq8ep
=s1/5
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



Re: Specifying outgoing IP address of qmail-remote

2000-09-08 Thread Yasuo Ohgaki
I follow up myself..

> Hello all. I'm relatively new to qmail.
>
> I'm wondering if someone made newer version of following patch. (or like)
>
> http://www.ornl.gov/its/archives/mailing-lists/qmail/1996/12/msg00261.html
>
> I really need this kind of patch, since some mail servers are configured
to
> reject mail


I finally find what I need in this list.

http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/05/msg01636.html
http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/02/msg00491.html

look like both of them will do what I need.

Yasuo


multiple messages after header rewriting

2000-09-08 Thread Stefan Witzel

Hello,

I try to do header rewritíng as described by Tim Goodwin in the qmail
mailing list
(http://www.ornl.gov/its/archives/mailing-lists/qmail/1996/12/msg01800.html). 

tcp.smtp (172.16.1.1 is the IP address of my desktop computer with MUA):
   172.16.1.1:allow,RELAYCLIENT="@fixme"

~alias/.qmail-fixme-default:
   | /var/qmail/bin/qmail-inject
   
When I send a mail with "To: rec1@somewhere; rec2@somewhere" (MUA: Outlook)
I see:  

1.) The message is sent once from my MUA to the mail server (one check by
tcpserver in maillog).

2.) qmail reports (2 log entries!):

Sep  8 08:18:18 helios qmail: 968393898.683985 starting delivery 14033: msg
9603
15 to local fixme-rec1@somewhere@fixme
Sep  8 08:18:18 helios qmail: 968393898.685207 status: local 1/10 remote 0/20
Sep  8 08:18:18 helios qmail: 968393898.687252 starting delivery 14034: msg
9603
15 to local fixme-rec2@somewhere@fixme
Sep  8 08:18:18 helios qmail: 968393898.689632 status: local 2/10 remote 0/20

3.) These 2 mails are processed by ~alias/.qmail-fixme-default and each one
produces
2 news mails. So ervery recepient get 2 (identical) mails:

Sep  8 08:18:19 helios qmail: 968393899.304989 info msg 960317: bytes 890
from <
[EMAIL PROTECTED]> qp 98098 uid 1002
Sep  8 08:18:19 helios qmail: 968393899.487251 starting delivery 14035: msg
9603
17 to remote rec1@somewhere
Sep  8 08:18:19 helios qmail: 968393899.487892 status: local 2/10 remote 1/20
Sep  8 08:18:19 helios qmail: 968393899.489510 delivery 14033: success:
did_0+0+
2/
Sep  8 08:18:19 helios qmail: 968393899.493910 status: local 1/10 remote 1/20
Sep  8 08:18:19 helios qmail: 968393899.495003 delivery 14034: success:
did_0+0+
2/
Sep  8 08:18:19 helios qmail: 968393899.511270 status: local 0/10 remote 1/20
Sep  8 08:18:19 helios qmail: 968393899.512362 starting delivery 14036: msg
9603
17 to remote rec2@somewhere
Sep  8 08:18:19 helios qmail: 968393899.591193 info msg 960338: bytes 890
from <
[EMAIL PROTECTED]> qp 98100 uid 1002
Sep  8 08:18:19 helios qmail: 968393899.743735 starting delivery 14037: msg
9603
38 to remote rec1@somewhere
Sep  8 08:18:19 helios qmail: 968393899.744343 status: local 0/10 remote 3/20
Sep  8 08:18:19 helios qmail: 968393899.745715 starting delivery 14038: msg
9603
38 to remote rec2@somewhere

Is there any solution for this problem?

Thank in advance.

Stefan 

Stefan Witzel ---
Universitaet Goettingen   [EMAIL PROTECTED]
Stabsstelle DV---
Gosslerstrasse 5-7fon: +49 551 394160
37073 Goettingen  fax: +49 551 399612
Germany   ---



Specifying outgoing IP address of qmail-remote

2000-09-08 Thread Yasuo Ohgaki
Hello all. I'm relatively new to qmail.

I'm wondering if someone made newer version of following patch. (or like)

http://www.ornl.gov/its/archives/mailing-lists/qmail/1996/12/msg00261.html

I really need this kind of patch, since some mail servers are configured to
reject mail
if source IP address does not match host name that qmail claimes.
(I'm running qmail 1.03 with sevral IPs are assigned)

If there is, please let me know where I can get it.
Thank you for your information!!

Yasuo