urgent help required

2000-08-20 Thread reach_prashant



   hello friends 

   i am running qmail-1.03 applied qmail-ldap-2000601.patch , 

i have only single domain , with around 200,000 users , now i want that
mails for : [EMAIL PROTECTED]  will gets forwaded to [EMAIL PROTECTED] 
 ,  

 i have specified this in ldap  mailforwarding attribute , but log shows no
mailbox by that name , do i need some entry in my ldap which matches this
[EMAIL PROTECTED] mail address ,  i already have entry for
[EMAIL PROTECTED] with mailforwarding address as usererver1.domain, 


  what i wanna achive is once mails accepted by my single mail server which
i have specified in MX , then this mail server should forward 
mails  for [EMAIL PROTECTED]  to host [EMAIL PROTECTED] or
[EMAIL PROTECTED]  depending users ldap entries  ,and store the
message there in "Maildir" for this perticular user 


  how can i achive , or is there any other work around , please reply me as
early as possible 

 thanks 
Prashant Desai

 






Re: newbie maildir question

2000-08-20 Thread Ben Beuchler

On Sun, Aug 20, 2000 at 08:40:01PM +, J!M wrote:

> It is really important to me that I be able to have identical user 
> names across domains (for instance, all domains I host have an 
> [EMAIL PROTECTED] address), and that setting up new users be 
> as painless as possible.

Look into vpopmail w/ qmailadmin.  It has all the functionality you're
looking for already debugged and ready to go.

www.inter7.com/vpopmail
www.inter7.com/qmailadmin

Ben

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



RE: newbie maildir question

2000-08-20 Thread Charles Warwick

Check out the VMailMgr program at www.vmailmgr.org.  It gives you the
capability to add users to virtual domains, and pop the accounts, with the
same username across several domains.  It also has PHP library support :)

Regards,

Charles Warwick
(System Administrator - DoveNetQ)

-Original Message-
From: J!M [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 21, 2000 6:40 AM
To: [EMAIL PROTECTED]
Subject: newbie maildir question


Hi all,

I selected qmail as my mailserver after readiung that it would easily 
support multiple virtual domains using it's maildir directory system, 
rather than relying on system users for its delivery. I am setting up 
a server which will only need to send from my PHP webserver. and 
a limited number of addresses, yet need to receive mail for 
hundreds of clients (they all send through their dial-ujp provider). I 
want to make account creation and maintenance as painless and 
quick as possible, most likely through a PHP script, which seems 
easy enough by exec-ing out to the users utility, however I'm a little 
baffled...

What is the specific syntax of the Users file? Can I add the 
VirtualDomain name as part of the user ID? 
Would I be able to create a single qmail user in a qmail group that 
all message processes run under?

It is really important to me that I be able to have identical user 
names across domains (for instance, all domains I host have an 
[EMAIL PROTECTED] address), and that setting up new users be 
as painless as possible.

I'm sure there are resources out there that explain what I am doing, 
but have yet to discover them. If anyone can nudge me in the right 
direction, I would be greatly appreciative.

Thanks,
J!M



Re: qmail uses FQDN when sending from PHP

2000-08-20 Thread J!M

Hi Alexander,

Thanks for the help. I am using qmail-inject, I think, and am 
sending the message through the vanilla PHP mail(); function. 
qmail is rewriting the From header and the ReplyTo header that I 
specify in the PHP script.

I believe  that I deleted all sendmail components when installing 
qmail. 

I see that the qmail-inject man page lists several switches that can 
be used to control its behavior, but I have no clue as to how to set 
these on a per message basis, or as a default. After reading the 
man page, I added a Sender header to the message. It too, was 
rewritten by qmail to preserve the user name, but replaced the 
virtual domain name with the server's FQDN.

Here are the headers from my most recent test:

Return-Path: <[EMAIL PROTECTED]>
Delivered-To: pop1815485@mail-10
Received: from samurai.dynamisys-llc.com (dsl-64-32-42-
253.dsl.ez2.net [64.32.42.253] (may be forged))
by mail.9netave.com (8.9.3/8.8.8) with SMTP id XAA43457
for <[EMAIL PROTECTED]>; Sun, 20 Aug 2000 23:51:28 -
0400 (EDT)
Received: (qmail 16495 invoked by uid 99); 21 Aug 2000 03:50:28 -

Date: 21 Aug 2000 03:50:28 -
Message-ID: <[EMAIL PROTECTED]
llc.com>
To: [EMAIL PROTECTED]
Subject: the subject
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
X-PMFLAGS: 33554560 0 1 P26BC0.CNM

Here is a test of the PHP email system.


 End example *

In the original message, the From, ReplyTo, and Sender messages 
should contain margecares.com, rather than samurai.dynamisys-
llc.com.

Any ideas?

Thanks,
J!M



> 
> What are you using to inject messages with, SMTP, the sendmail
> wrapper, or qmail-inject? And what exactly is being rewritten, the
> message from header or the envelope sender?
> 
> If you are using SMTP or the sendmail wrapper, consider calling
> /var/qmail/bin/qmail-inject directly. As discussed in man
> qmail-inject, it will normally preserve the message from header and
> set the envelope sender to what is in the return-path header.
> 





newbie maildir question

2000-08-20 Thread J!M

Hi all,

I selected qmail as my mailserver after readiung that it would easily 
support multiple virtual domains using it's maildir directory system, 
rather than relying on system users for its delivery. I am setting up 
a server which will only need to send from my PHP webserver. and 
a limited number of addresses, yet need to receive mail for 
hundreds of clients (they all send through their dial-ujp provider). I 
want to make account creation and maintenance as painless and 
quick as possible, most likely through a PHP script, which seems 
easy enough by exec-ing out to the users utility, however I'm a little 
baffled...

What is the specific syntax of the Users file? Can I add the 
VirtualDomain name as part of the user ID? 
Would I be able to create a single qmail user in a qmail group that 
all message processes run under?

It is really important to me that I be able to have identical user 
names across domains (for instance, all domains I host have an 
[EMAIL PROTECTED] address), and that setting up new users be 
as painless as possible.

I'm sure there are resources out there that explain what I am doing, 
but have yet to discover them. If anyone can nudge me in the right 
direction, I would be greatly appreciative.

Thanks,
J!M



Re: qmail uses FQDN when sending from PHP

2000-08-20 Thread Alexander Pennace

On Sun, Aug 20, 2000 at 08:24:15PM +, J!M wrote:
> Hello all,
> 
> I'm setting up qmail as my smtp server to use with PHP. When I 
> create an email using PHP, even when I specify a From header as 
> [EMAIL PROTECTED], the message is sent with the From 
> header reading [EMAIL PROTECTED], with 
> server.bar.com being the FQDN of my server. I have foo.com listed 
> in my rcpthosts file and have restarted qmail. Apparently, I need to 
> do something else as well. How do I get qmail to use the address I 
> specify, rather than replacing it with the FQDN?

What are you using to inject messages with, SMTP, the sendmail
wrapper, or qmail-inject? And what exactly is being rewritten, the
message from header or the envelope sender?

If you are using SMTP or the sendmail wrapper, consider calling
/var/qmail/bin/qmail-inject directly. As discussed in man
qmail-inject, it will normally preserve the message from header and
set the envelope sender to what is in the return-path header.

 PGP signature


qmail uses FQDN when sending from PHP

2000-08-20 Thread J!M

Hello all,

I'm setting up qmail as my smtp server to use with PHP. When I 
create an email using PHP, even when I specify a From header as 
[EMAIL PROTECTED], the message is sent with the From 
header reading [EMAIL PROTECTED], with 
server.bar.com being the FQDN of my server. I have foo.com listed 
in my rcpthosts file and have restarted qmail. Apparently, I need to 
do something else as well. How do I get qmail to use the address I 
specify, rather than replacing it with the FQDN?

Any help is appreciated.
J!M



assign problem

2000-08-20 Thread Clemens Hermann

Hi,

I have been working on a strange qmail-assign Problem the whole night and
hope someone can help me ;-)

qmail runs and works fine

all lines in qmail/control/virtualdomains are like this:

domain1.com:domain1-com
domain2.com:domain2-com
domain3.com:domain3-com
...

my problem is located in the /qmail/users/assign file

+domain-com:username:uid:gid:userhomedir:::

works perfect. any mail to [EMAIL PROTECTED] gets delivered to the home
directory specified in /users/assign.
but when I want to split the mailstream to different users and specify
mailadresses (info for example) as follows nothing works.

=domain-com-info:username:uid:gid:userhomedir:::

the only difference between those to "versions" is the + or = at the
beginning of the line and the "-info" existing or not!

I want to get all mails adressed to [EMAIL PROTECTED] being delivered to
info's home dir.
when I use

+domain-com-inf:username:uid:gid:userhomedir:::

it works, but then I can append whatever I want to inf
([EMAIL PROTECTED])and this is for sure not the way I am expected to
solve the problem (am I?)

I updated the database after any changes.
there is no error in syslog, I get no undelivery message but the message is
not delivered to the users Maildir.
I specified different users for the "real" (=not virtual) domain of my host
and everything works perfect. I have 4 users and anyone gets his mail as
expected in his distinct mailbox.
But with the virtual domains only a "evberything to one user" methode works.

thanks for your help

Clemens





/var/qmail/users/assign

2000-08-20 Thread jme

Hi,
I'm running qmail and vpopmail, and when i add a user to the system using
vadduser (from command line) it updates the following files:

/home/vpopmail/users/vpasswd
/home/vpopmail/users/vpasswd.cdb
/var/qmail/users/assign
/var/qmail/users/cdb

and everything works fine. users can login, send/recieve email ok.
i paid inter7.com to write me a signup script so users could signup online
and when this script is run it only updates:

/home/vpopmail/users/vpasswd
/home/vpopmail/users/vpasswd.cdb

and does not update the /var/qmail/users/assign and cdb files:

is there something i can put in the assign file to make it look to 
/home/vpopmail/users/vpasswd and cdb?  are these files suppose to be
updated when using vpopmail? or is there something wrong with the signup
script or my config? 

When these files are not updated the signup script adds the user, they can
login and send mail but cant recieve email, sender get a error message
saying "Sorry.. No such mailbox"

tks
jim





php maildir support

2000-08-20 Thread Thilo Bangert

is there someone who has started to implement a php webmail solution for
maildirs.
I know of oMail which uses perl and sqwebmail which is in c.
greetz
Thilo




Re: Linux Mandrake qmail packages available

2000-08-20 Thread Vincent Danen

On Sun Aug 20, 2000 at 12:20:51AM -0400, Russell Nelson wrote:

>  > Please, when testing, make sure they comply with
>  > http://cr.yp.to/qmail/dist.html and
>  > http://cr.yp.to/qmail/var-qmail.html.  This is the only way they will
>  > be approved by DJB, so if there are any discrepencies, please let me
>  > know.
> 
> As far as I know, Dan is giving you permission, not conditions for his
> approval.  You *already* have his permission to distribute the binary
> releases, as long as you abide by the restrictions he imposes.

Well, if that's the case, that's awesome news!  I thought it was
necessary to get his direct "yes you can distribute it" permission
prior to doing so...  for myself, I'm not too concerned because I've
tested and re-tested so that it installs good, removes clean, and works
out of the box.  My concern was putting it on the Mandrake distro
itself as I don't want them to get into any legal issues...

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
// Danen Consulting Serviceswww.danen.net, www.freezer-burn.org
// MandrakeSoft, Inc.   www.linux-mandrake.com
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD

Current Linux uptime: 1 day 4 hours 17 minutes.



Re: Queue Time

2000-08-20 Thread richard

On Sat, 19 Aug 2000 [EMAIL PROTECTED] wrote:

> Well spotted Richard.
> 
> I haven't looked at this particular paper, but one of the benefits of all
> the ATM development work that the Telcos have done over the last 5 or so
> years is the intense focus on scheduling algorithms with an emphasis
> on fairness and optimal resource usage (oh, and charging for every
> packet at every QOS level). Admittedly it tends to be for very short
> lived queues (such as cell queues in an ATM switch), but if you're into
> reasonably heavy mathematics then this area is rich in related reading
> material. Personally I only recommend it for insomniacs...

an interesting point, below are my comments on where the differences
betwen the models might lead to problems in appying the theories acorss
the technologies

(In a previous job I built large campus networks based upon X.25,
ethernet, fddi and ATM; as well as mail systems based upon greybook mail,
X.400, cc:mail and SMTP)

Queue numbers
-
In an ATM network devices only have a finite number of known destination
(next hop) devices whose ststus they have to be concerened about when
determing the queue behavior.r

Open email routers (like postfix and qmail) (based on SMTP and the DNS)
have a practically infinite targets (destination addresses) and the number
of them is unknown. However in comparison to the others below they have
the higest performance as they avoid modifying the contents of the
message. The number of queues will be most unlike that of an ATM device.

If one considers a closed mail system with similar characteristics to the
TAM model such as cc:Mail where the post-offices are connected by cc:Mail
routers with a known number of other post-offices as targets (routing to
the Internet is handled like another post-office with a gateway from the
closed to the open system) then each router might be considered to behave
like an ATM switch, however in this system the routers can only implement
round-robin serving of the queues based upon alphabetical sorting of the
target post-office names and so the QoS is frankly appalling. (if you have a
workgroup where people most often communicate within a post-office this
is okay, but for cross-postoffice workgroups it just doesn't work)

Multi-protocol mail routers like PP provides are rich in gateway
functionality, but the performance of these systems is really horrible as
they have to cope with all of the transformations necessary to move data
between protocols. In PP's case the generic configuration converted
generally (as one might expect) but judiciously tweaking the configuration
it was possible to stop it reformatting headers and body parts where not
necessary. there were internal queues where a message was queued for
reforatting, first of the header and then the body, for delivery, and
finally for deletion. The overhead of the ISO ROSE layer for IPC really
did kill its performance, and the number of sycronous directory writes did
not help either

Discard of messages
---
For data applications (ie not voice ot video) the AAL's expect there to be
some overlying network prorocol such as IP or ethernet which will retry
the sending of data if they run out of queueing resources. (if the ATM
device decides to discard a cell within a higher layer data frame then it
can determine which are the following cells, and so discard the rest of
the frame alleviating congestion without affecting more frames than ar
necessary. 

In the case of mail messages we rarely see large binary attachments split
across multiple mail messages which have to be manually reassembled. It is
generally considered VERY BAD for a mail system to loose or purposefully
discard a message to alleviate congestion.

Blocking architecture
-
Finally, almost all ATM switches operate with non-blocking routing
architectures. conversely mail systems work by receiving a message into a
queue, and then effectively blocking until the message is pulled up out of
the queue (think q-smtp -> q-queue  -> q-send -> q-rspawn ->
q-remote) rather than doing something like

   q-smtp ->  q-remote
 \ \ failure
  -> q-queue  q-send -> q-rspawn  
  
so if the destination MTA is available the message is forwarded
immediately (and written into the queue) so the routing of messages
through a gateway to internal systems is very fast, but if the remote MTA
is down (or goes down) then the message is written into the queue for
qmail-send to retry later. I think this is where some hard performwance
gains will be made in the next generation of mail routing systems after
qmail and postfix. 

to prove the block exists where I say it does, remove the trigger file
from the qmail queue directory and see the performance of the system
plummet as the trigger mechanism for the queue notifying qmail-send there
is work to do in the queue fails.

RjL

Re: why they reject my mail

2000-08-20 Thread Scott D. Yelich

On Sat, 19 Aug 2000 [EMAIL PROTECTED] wrote:
> Hi
> Sometimes when I send mail to different people a few messages
> are coming back to me as not sent. The reason is I guess everytime
> the same (although the qmail's messages differ a little bit).
> And these qmail's notes are like these two:
> Connected to xxx.xx.xx.xx but sender was rejected. Remote host said:
> 501 <[EMAIL PROTECTED]> ... Sender domain must exist.
> Connected to xxx.xxx.xxx.xxx but sender was rejected. Remote host said:
> 553 5.4.3 Policy analysis reports DNS error with your source domain.
> I do not understand this. Most of my messages is posted without any
> problems. Always I edit mail in mutt and I use option "edit headers"
> to be able to send e-mails to for example this list. I do not have
> my own domain name because I connect to internet via modem and rather
> seldom. So how is it possible that some hosts know my real FQDN
> (although I edit headers of my all messages) and why they reject
> my e-mails? And others do not do it - why? And maybe some of you
> know what can I do to fix this problem with domain name.
> Thank you for help,
> qba


I've sent two emails to the same place... and had one come back 
with this error and the other make it through.  Now, although I
can't say 100% that it was the first that came back and the
second that got through, one would think that would be the only
way a mail should fail like that.

I want to say that the first made it and the second failed...

Scott





Re: qmail and MRTG

2000-08-20 Thread Sean C Truman



http://www.prodigysolutions.com/qmail-mrtg.1.0.tar.gz
 
This runs off multilog. Use multilog. it comes with 
daemontools.
 
Sean
 
Sean Truman
www.prodigysolutions.com
[EMAIL PROTECTED]

  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  
  To: [EMAIL PROTECTED] 
  Sent: Sunday, August 20, 2000 7:54 
  AM
  Subject: qmail and MRTG
  Hello,         I'm using a couple scripts 
  that should push qmail logs into MRTG but I am having no luck. All I got is 0 
  0 all the time. One of the scripts is from prodigysolutions and the other from 
  x42.com. Anyway the only working part I have is the queue size but nothing 
  else works. I use cyclog. Anyone can help me 
  please?Paco 
  GraciaTechnical DirectorAmira Sistemas


urgetnt help !!!!!!!!!

2000-08-20 Thread prashant


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 20, 2000 8:08 AM
Subject: patching qmail with multiple patches


>
>
>
>   hello friends
>
>
>   i am trying to apply following patches on qmail-1.03 , but not able to
> apply all those
>
>   1> qmail-bounce.patch
>   2> qmail-ldap-2601.patch
>   3> patching dns.c  with appropriate patch
>   4> qmail-big-concurrency.patch
>   5> qmail-big-todo. patch
>
>
> is there any one who had applied all these patches on qmail-1.03 , if
> so , then please guide me in which sequence  i have to apply these patches
> , i have tried many permutations and combinations for applying these
> patches but  its not happening for me ,
>
>  it gives (after patching qmail-with 2-3 patches) already applies, want to
> recurse  "-R"  etc , i dont know the exact messages but it was similliar
to
> these
>
>
>
>  thanks
>  Prashant Desai




Re: qmail and MRTG

2000-08-20 Thread Magnus Bodin

On Sun, Aug 20, 2000 at 01:54:24PM +0200, [EMAIL PROTECTED] wrote:
> Hello,
> 
> I'm using a couple scripts that should push qmail logs into MRTG 
> but I am having no luck. All I got is 0 0 all the time. One of the scripts 
> is from prodigysolutions and the other from x42.com. Anyway the only 
> working part I have is the queue size but nothing else works. I use 
> cyclog. Anyone can help me please?

The one present at http://x42.com/qmail/
are still only for cyclog so you should definitively have a chance. 

Does the script run from crontab have reading rights? 

/magnus

--
http://x42.com/
http://x42.com/qmail/



Re: why they reject my mail

2000-08-20 Thread Ricardo Cerqueira

It seems to be a problem with your MTA. From the headers of your mail:

Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 23709 invoked from network); 20 Aug 2000 09:55:19 -
Received: from pa34.legnica.ppp.tpnet.pl (HELO localhost.localdomain) 
([EMAIL PROTECTED])

Your host is identifying itself as localhost.localdomain.

RC

On Sun, Aug 20, 2000 at 12:22:26PM +0200, Alexander Jernejcic wrote:
> hi,
> some MTA's check the ip of the sending MTA against the name with a reverse lookup. 
>IMHO you should send your mails via the MTA of
> you ISP. just put the following line into ~/qmail/control/smtproutes
> :mailserver.your.isp
> and qmail will happily send all mails to the mailserver of your isp. this one should 
>be known worldwide.
> 
> hope that helps
> :) alexander
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, August 19, 2000 10:30 PM
> > To: [EMAIL PROTECTED]
> > Subject: why they reject my mail
> >
> >
> > Hi
> > Sometimes when I send mail to different people a few messages
> > are coming back to me as not sent. The reason is I guess everytime
> > the same (although the qmail's messages differ a little bit).
> > And these qmail's notes are like these two:
> > Connected to xxx.xx.xx.xx but sender was rejected. Remote host said:
> > 501 <[EMAIL PROTECTED]> ... Sender domain must exist.
> > Connected to xxx.xxx.xxx.xxx but sender was rejected. Remote host said:
> > 553 5.4.3 Policy analysis reports DNS error with your source domain.
> > I do not understand this. Most of my messages is posted without any
> > problems. Always I edit mail in mutt and I use option "edit headers"
> > to be able to send e-mails to for example this list. I do not have
> > my own domain name because I connect to internet via modem and rather
> > seldom. So how is it possible that some hosts know my real FQDN
> > (although I edit headers of my all messages) and why they reject
> > my e-mails? And others do not do it - why? And maybe some of you
> > know what can I do to fix this problem with domain name.
> > Thank you for help,
> > qba
> >
> >
> 

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

 PGP signature


Cluster Was logselect

2000-08-20 Thread Sean C Truman

Hey russell,

 We have serveral customer running 300+nodes web farms. Every node is
attached to a central file system (Some runing HP - XP256) For reporting We
just run a cron that parse's the log files and inserts a row into a oracle
table.  then our customers run whatever report wizard they want.

Sean Truman
www.prodigysolutions.com
[EMAIL PROTECTED]


- Original Message -
From: Russell Nelson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 20, 2000 12:15 AM
Subject: Re: logselect


> Ben Beuchler writes:
>  > On Fri, Aug 11, 2000 at 11:45:58PM -0400, Russell Nelson wrote:
>  >
>  > > I've released my logselect program as a patch to daemontools-0.70.
>  >
>  > I'm sorry if this seems like a silly question, but what is the intended
>  > uuse for this program?  Remote log retrieval?
>
> Yes.  I've got four customers on support contracts with clustered SMTP
> servers who need/want better reporting.  Need to get the log files
> over to another machine.  Could use ssh, but it's better (more secure)
> to run a program which just transfers log file entries.
>
> --
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com  | If you think
> Crynwr sells support for free software  | PGPok | health care is expensive
now
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | now, wait until you see
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | what it costs when it's
free.




qmail and MRTG

2000-08-20 Thread pgracia



Hello,

        I'm using a couple scripts that should push qmail logs into MRTG but I am having no luck. All I got is 0 0 all the time. One of the scripts is from prodigysolutions and the other from x42.com. Anyway the only working part I have is the queue size but nothing else works. I use cyclog. Anyone can help me please?

Paco Gracia
Technical Director
Amira Sistemas

RE: why they reject my mail

2000-08-20 Thread Alexander Jernejcic

hi,
some MTA's check the ip of the sending MTA against the name with a reverse lookup. 
IMHO you should send your mails via the MTA of
you ISP. just put the following line into ~/qmail/control/smtproutes
:mailserver.your.isp
and qmail will happily send all mails to the mailserver of your isp. this one should 
be known worldwide.

hope that helps
:) alexander

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, August 19, 2000 10:30 PM
> To: [EMAIL PROTECTED]
> Subject: why they reject my mail
>
>
> Hi
> Sometimes when I send mail to different people a few messages
> are coming back to me as not sent. The reason is I guess everytime
> the same (although the qmail's messages differ a little bit).
> And these qmail's notes are like these two:
> Connected to xxx.xx.xx.xx but sender was rejected. Remote host said:
> 501 <[EMAIL PROTECTED]> ... Sender domain must exist.
> Connected to xxx.xxx.xxx.xxx but sender was rejected. Remote host said:
> 553 5.4.3 Policy analysis reports DNS error with your source domain.
> I do not understand this. Most of my messages is posted without any
> problems. Always I edit mail in mutt and I use option "edit headers"
> to be able to send e-mails to for example this list. I do not have
> my own domain name because I connect to internet via modem and rather
> seldom. So how is it possible that some hosts know my real FQDN
> (although I edit headers of my all messages) and why they reject
> my e-mails? And others do not do it - why? And maybe some of you
> know what can I do to fix this problem with domain name.
> Thank you for help,
> qba
>
>




qmail Digest 20 Aug 2000 10:00:01 -0000 Issue 1098

2000-08-20 Thread qmail-digest-help


qmail Digest 20 Aug 2000 10:00:01 - Issue 1098

Topics (messages 47017 through 47041):

Off-Topic: Maildirs as folders
47017 by: Len Budney

Re: obtaining TCPREMOTEIP during delivery
47018 by: Ben Beuchler
47032 by: Russell Nelson
47036 by: Ben Beuchler

Re: Queue Time
47019 by: richard.illuin.org
47020 by: markd.bushwire.net

qmail domain heiarchy
47021 by: Barry Smoke
47023 by: John White
47024 by: Barry Smoke
47026 by: John White
47028 by: Brett Randall

relay-ctrl
47022 by: Clemens Hermann
47027 by: Brett Randall

Re: yahoo down?
47025 by: Al Sparks
47029 by: Ben Beuchler

qmail-lint?
47030 by: Russell Nelson

Re: converting tai64n to something readable
47031 by: Russell Nelson

Re: qmail and IP addresses.
47033 by: Russell Nelson

Re: logselect
47034 by: Russell Nelson

Re: Linux Mandrake qmail packages available
47035 by: Russell Nelson

patching qmail with multiple patches
47037 by: reach_prashant.zeenext.com

Is there any design bug on qmail's APOP
47038 by: HuangChun
47039 by: Chris, the Young One
47040 by: Chris, the Young One

why they reject my mail
47041 by: jakubski.poczta.arena.pl

Administrivia:

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

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

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

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


--



I know there is a recurring thread, "Which readers use maildirs as
folders?" The problem is, the answer is always the same: mutt. No
other mailer uses maildirs as local folders, although a few can use
maildirs as incoming mail spools. (If I'm wrong about this, please let
me know!)

Yes, mutt is just fine. However, we emacs users are discriminated
against; switching to mutt is just not acceptable because it means
losing all the rest of emacs's features from our mail reader. Also,
fans of MH are out in the cold; there is no command-line interface for
handling messages in maildir folders.

I believe that the solution is a CLI maildir-enabled mailreader, similar
in spirit to MH (but without any defects). The resulting tools should be
easily imbeddable into things like Emacs mailreaders (GNUs, mh-e, and
brand-new readers).

If anyone is interested in exploring this idea, please send an empty email
to [EMAIL PROTECTED] and follow the directions
in the reply.

If anyone knows of such a project already underway, please let me know at
[EMAIL PROTECTED]

For more information, see .

Len.

--
Don't believe anything RFC 1912 says until you've verified it elsewhere.
-- Dan Bernstein




On Fri, Aug 18, 2000 at 11:37:31PM -0500, David Dyer-Bennet wrote:

> Sounds like a header-insert environment variable for qmail-smtpd is in
> order.  Then all the things that run before it, including tcpserver
> and rblsmtpd, could set up stuff in that variable which would become
> headers in the message, and then could be used at the user level for
> maildrop / procmail / autosorting / whatever.  I don't remember
> anybody doing this patch yet; anybody?

That certainly would be an extremely powerful tool.  Useful for all
sorts of things...

Ben

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




Ben Beuchler writes:
 > It appears that $TCPREMOTEIP is only available to qmail-smtpd.  It is no
 > longer in the environment during final message delivery.

No, but you can get the same information from parsing the Received:
headers:

while(<>) {
last if /^$/;
$address = $2 if /^Received:.*\((.*\@)?(\d+\.\d+\.\d+\.\d+)\)/;
$ip = $address if /^  by (192\.203\.178\.\d+|\w+.crynwr.com) with SMTP;/;
}

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com  | If you think 
Crynwr sells support for free software  | PGPok | health care is expensive now
521 Pleasant Valley Rd. | +1 315 268 1925 voice | now, wait until you see
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | what it costs when it's free. 




On Sat, Aug 19, 2000 at 11:53:44PM -0400, Russell Nelson wrote:

> Ben Beuchler writes:
>  > It appears that $TCPREMOTEIP is only available to qmail-smtpd.  It is no
>  > longer in the environment during final message delivery.
> 
> No, but you can get the same information from parsing the Received:
> headers:
> 
> while(<>) {
> last if /^$/;
> $address = $2 if /^Received:.*\((.*\@)?(\d+\.\d+\.\d+\.\d+)\)/;
> $ip = $address if /^  by (192\.203\.178\.\d+|\w+.crynwr.com) with SMTP;/;
> }

Aye...  I was

why they reject my mail

2000-08-20 Thread jakubski

Hi
Sometimes when I send mail to different people a few messages
are coming back to me as not sent. The reason is I guess everytime
the same (although the qmail's messages differ a little bit).
And these qmail's notes are like these two:
Connected to xxx.xx.xx.xx but sender was rejected. Remote host said:
501 <[EMAIL PROTECTED]> ... Sender domain must exist.
Connected to xxx.xxx.xxx.xxx but sender was rejected. Remote host said:
553 5.4.3 Policy analysis reports DNS error with your source domain.
I do not understand this. Most of my messages is posted without any
problems. Always I edit mail in mutt and I use option "edit headers"
to be able to send e-mails to for example this list. I do not have
my own domain name because I connect to internet via modem and rather
seldom. So how is it possible that some hosts know my real FQDN
(although I edit headers of my all messages) and why they reject
my e-mails? And others do not do it - why? And maybe some of you
know what can I do to fix this problem with domain name.
Thank you for help,
qba





Re: Is there any design bug on qmail's APOP

2000-08-20 Thread Chris, the Young One

On Sun, Aug 20, 2000 at 09:20:03PM +1200, Chris, the Young One wrote:
> Umm. qmail-pop3d just passes the authentication tokens to some program
> like checkpassword. checkpassword doesn't handle APOP responses, by the
> way, so you need to use an authenticating program that does.

s/pop3d/popup/. I must proofread my messages before I send them...

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



Re: Is there any design bug on qmail's APOP

2000-08-20 Thread Chris, the Young One

On Sun, Aug 20, 2000 at 05:01:02PM +0800, HuangChun wrote:
> When qmail implement the APOP pop3 command, it does not use the MD5
> encryption to check the user's md5-digest-string.  However, RFC1321 tell
> us it shoud do that.

Umm. qmail-pop3d just passes the authentication tokens to some program
like checkpassword. checkpassword doesn't handle APOP responses, by the
way, so you need to use an authenticating program that does.

Would you like to write one and contribute it to qmail.org? :-)

---Chris K.
-- 
 Chris, the Young One |_ heartbleed (OpenBSD/i386) has now been up for 
  Auckland, New Zealand |_ all of 16 days, 03:54:38 
http://cloud9.hedgee.com/ |_ 



Is there any design bug on qmail's APOP

2000-08-20 Thread HuangChun



Hi, All,
 
I think there is some design bu on qmail's APOP 
command.
 
When qmail implement the APOP pop3 command, it does not use 
the MD5 encryption to check the user's md5-digest-string.  However, RFC1321 
tell us it shoud do that.
 
If anybody can explain this for me? thx. :)
 
-signal