qmail Digest 15 Oct 1999 10:00:02 -0000 Issue 790

Topics (messages 31593 through 31668):

tcpserver log failed connections?
        31593 by: Fred Backman
        31598 by: Mads E Eilertsen
        31603 by: Dave Sill

How to share adressbooks for LAN
        31594 by: Jon Lur�s
        31597 by: Magnus Bodin
        31599 by: Eric Dahnke
        31600 by: Greg Owen
        31648 by: Jim Gilliver
        31649 by: Matthew Kaing

Query relating to qmail- installation
        31595 by: vkt
        31596 by: Magnus Bodin

Re: control/{locals,rcpthosts,virtualdomains}
        31601 by: Tyler Frederick
        31623 by: Jack O'Toole

Re: MAIL FROM: [EMAIL PROTECTED]
        31602 by: Balazs Nagy
        31634 by: Einar Bordewich
        31667 by: torben fjerdingstad

duplicate logs?
        31604 by: Fred Backman
        31611 by: Dave Sill
        31613 by: Fred Backman

qmail-pop3d/LDAP auth err after all is done?
        31605 by: Infinite Knowledge
        31608 by: Andre Oppermann

Bouncing message
        31606 by: martin.sintesoft.net
        31609 by: Dave Sill
        31616 by: Russell Nelson

Re: Problem while sending email to some website
        31607 by: Dave Sill

memphis rpm
        31610 by: Mate Wierdl
        31651 by: Peter Samuel

Re: Inbound Routing Problem
        31612 by: Dave Sill

Re: Queue stalls
        31614 by: Dave Sill

pop3d auth error after auth ok? LDAP patchs,whoops
        31615 by: Infinite Knowledge

Re: Removing messages from the queue (another one)
        31617 by: Dave Sill
        31620 by: Russell Nelson
        31622 by: Dave Sill
        31628 by: Wallace Nicoll

Re: alias header mods causing problems
        31618 by: Dave Sill

Re: qmail fail when start with supervise?
        31619 by: Dave Sill

Re: supervise/qmail shutdown tasks?
        31621 by: Dave Sill

QMail installation
        31624 by: Antonio Navarro Navarro

Re: pop3d auth error after auth ok? LDAP patchs,whoops #2
        31625 by: Bill Rogers
        31626 by: Van Liedekerke Franky

Re: Slow Authentication (solved)
        31627 by: Jose de Leon

Using Maildir
        31629 by: Keith Lee
        31630 by: Dave Sill
        31633 by: Mirko Zeibig
        31635 by: Russell Nelson

Re: Setup HotMail by Qmail ?
        31631 by: F7596
        31637 by: Matthew Kaing
        31647 by: Farmer Tien

smtp 550 error
        31632 by: Ted Lin

fetchmail problems after upgrade
        31636 by: Dave Sill
        31640 by: Russell Nelson
        31641 by: Dave Sill
        31643 by: Russell Nelson
        31645 by: Eric Dahnke
        31646 by: Sam

Client problems retrieving large emails
        31638 by: Brian Schwarz

Delivery problem
        31639 by: Delanet Administration
        31644 by: Delanet Administration

More odd problems (pop3)
        31642 by: Delanet Administration

TCPwrappers and relaying
        31650 by: James

qmail log (from field)
        31652 by: Edward Castillo-Jakosalem
        31653 by: Eric Dahnke

Understanding virtual addresses
        31654 by: Todd A. Jacobs
        31657 by: Magnus Bodin
        31662 by: Todd A. Jacobs
        31663 by: Magnus Bodin

Selective relaying on e-mail address?
        31655 by: Michael J. Maravillo

masquerading against remote majordomo services don't work.
        31656 by: randyboy
        31658 by: James J. Lippard
        31659 by: randyboy
        31660 by: James J. Lippard
        31661 by: randyboy

Directory permissions on /var/qmail?
        31664 by: Todd A. Jacobs

Directory permissions changed on mount
        31665 by: Todd A. Jacobs

unwanted emails
        31666 by: Marlon Anthony Abao
        31668 by: Anand Buddhdev

Administrivia:

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

To unsubscribe from 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 couldn't find it in the man pages, so is there a way to log failed
connections with tcpserver? (ie. connections which are defined as
illegal in the tcprules data file)

TIA,
Fred





On Thu, 14 Oct 1999, Fred Backman wrote:

> I couldn't find it in the man pages, so is there a way to log failed
> connections with tcpserver? (ie. connections which are defined as
> illegal in the tcprules data file)

tcpserver logs 'ok' if it accepts a connection, and 'deny' if it rejects it.
Just try it and watch the log.

Mads E. Eilertsen





"Mads E Eilertsen" <[EMAIL PROTECTED]> wrote:

>On Thu, 14 Oct 1999, Fred Backman wrote:
>
>> I couldn't find it in the man pages, so is there a way to log failed
>> connections with tcpserver? (ie. connections which are defined as
>> illegal in the tcprules data file)
>
>tcpserver logs 'ok' if it accepts a connection, and 'deny' if it rejects it.

If you use the "-v" option.

-Dave




Hello!

I got some LAN's with qmail and POP3. The users have different
mail programs on PC. What is the best solution for distributing
common adressboks?



Vennlig hilsen
Jon Lur�s
Lur data
Mob: 91 60 69 62




On Thu, Oct 14, 1999 at 12:46:45PM +0100, Jon Lur�s wrote:
>
> I got some LAN's with qmail and POP3. The users have different 
> mail programs on PC. What is the best solution for distributing 
> common adressboks?

This is not a qmail issue. It depends on which email clients you use.
Please either refer to the documentation of these or the list of 3rd
party programs for these.

Lykke till.

-- 
magnus
        -- MOST useless 1998 * http://x42.com/





Although it may not be completely related I think it wouldn't kill
anyone to watch a thread like this go by. I would be particularly
interested in seeing some comments about this.

My 2 cents. Eric


Magnus Bodin escribi�:
> 
> On Thu, Oct 14, 1999 at 12:46:45PM +0100, Jon Lur�s wrote:
> >
> > I got some LAN's with qmail and POP3. The users have different
> > mail programs on PC. What is the best solution for distributing
> > common adressboks?
> 
> This is not a qmail issue. It depends on which email clients you use.
> Please either refer to the documentation of these or the list of 3rd
> party programs for these.
> 
> Lykke till.
> 
> --
> magnus
>         -- MOST useless 1998 * http://x42.com/




> Although it may not be completely related I think it wouldn't kill
> anyone to watch a thread like this go by. I would be particularly
> interested in seeing some comments about this.

        LDAP directories is one way.  The plus is that many clients grok
LDAP.  The minus is that figuring out how to get the two systems working
together is half black magic.

        ObQmail: is anyone using Qmail LDAP patches also using that LDAP
server for address books for clients?

-- 
    gowen -- Greg Owen -- [EMAIL PROTECTED]





>> Although it may not be completely related I think it wouldn't kill
>> anyone to watch a thread like this go by. I would be particularly
>> interested in seeing some comments about this.
>
> LDAP directories is one way.  The plus is that many clients grok
>LDAP.  The minus is that figuring out how to get the two systems working
>together is half black magic.
>
> ObQmail: is anyone using Qmail LDAP patches also using that LDAP
>server for address books for clients?


Yes, I am...  it works really well, except that Outlook Express:

(a) Doesn't complete the name if you do a "check names".  In other words, if
you type in "John S" and hit ctrl-k to check the name, and the LDAP server
only returns one possible match, Outlook underlines it without completing
the name.

(b) Always takes email addresses from the windows address book over the LDAP
server.  Meaning if you type in John S and there's a John Smith in the
address book and three John Sink's on the LDAP server, Outlook will just
fill it in as John Smith.  A bit annoying, and is basically the reason I
want to remove the windows address book and provide a way for everyone to
add their contact to the LDAP server.





Hi, where is the Qmail LDAP server patch?  Please send me the URL.

Thanks,
Matthew

-----Original Message-----
From: Jim Gilliver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 14, 1999 2:32 PM
To: qmail list
Subject: Re: How to share adressbooks for LAN


>> Although it may not be completely related I think it wouldn't kill
>> anyone to watch a thread like this go by. I would be particularly
>> interested in seeing some comments about this.
>
> LDAP directories is one way.  The plus is that many clients grok
>LDAP.  The minus is that figuring out how to get the two systems working
>together is half black magic.
>
> ObQmail: is anyone using Qmail LDAP patches also using that LDAP
>server for address books for clients?


Yes, I am...  it works really well, except that Outlook Express:

(a) Doesn't complete the name if you do a "check names".  In other words, if
you type in "John S" and hit ctrl-k to check the name, and the LDAP server
only returns one possible match, Outlook underlines it without completing
the name.

(b) Always takes email addresses from the windows address book over the LDAP
server.  Meaning if you type in John S and there's a John Smith in the
address book and three John Sink's on the LDAP server, Outlook will just
fill it in as John Smith.  A bit annoying, and is basically the reason I
want to remove the windows address book and provide a way for everyone to
add their contact to the LDAP server.






 my name is nathan from India.  I  had installed linux and our company
have decided to implement Qmail as our primary email application.
Kindly let me know about
where I can download the software, and necessary documentation to
install and
configure the qmail.

Kindly give me the feedback immediatley.

If possible if you have documents relating to installation and
configuration please give me an attachment.

With rgds/vmn





On Thu, Oct 14, 1999 at 05:20:18PM +0530, vkt wrote:
>  my name is nathan from India.  I  had installed linux and our company
> have decided to implement Qmail as our primary email application.
> Kindly let me know about
> where I can download the software, and necessary documentation to
> install and configure the qmail.
> 
> Kindly give me the feedback immediatley.
> 
> If possible if you have documents relating to installation and
> configuration please give me an attachment.


Read "Life with qmail" immediately. Everything is in there. Almost.

URL attached: http://Web.InfoAve.Net/~dsill/lwq.html

-- 
magnus
        -- MOST useless 1998 * http://x42.com/





Well, lets look at a couple of things.  Is [EMAIL PROTECTED] still
receiving mail from other folks normally at that address?  It sounds to me
that you want to have 2 seperate mail servers for the same domain. (Your
own qmail box, as well as your ISP's SMTP/POP server)  The MX record for
mycompany.pf needs to point to one of them, and have that one handle the
decision making as to which receives who's mail.  There was a msg back a
few days regarding this (Someone had 2 mailservers for the same domain
with diff users on each.)  Check it out..

- T

---
Tyler J. Frederick
Senior Systems Engineer
fc.com, Inc.

On Thu, 14 Oct 1999, Franck PORCHER wrote:

> I'm back with my (unsolved) problem. It's clear from the answers I got
> that I have  failed in making myself understood. Mea culpa.





Have your ISP forward the the mail for [EMAIL PROTECTED] to your qmail-smtp server.

Franck PORCHER wrote:

I'm back with my (unsolved) problem. It's clear from the answers I got
that I have  failed in making myself understood. Mea culpa.

I will (re)state the context :
- My (very little) company has its own domain name, say "mycompany.pf"
(polynésie française)
- My company receives its inbound mail (from the Internet) thru 2
ISP-based POP mailboxes :
   One is set-up to receive mail ONLY to "[EMAIL PROTECTED]" (single
drop POP mailbox),
   while the other one (the company's mailbox) is set up to receive all
the other mail to "mycompany.pf", such as "[EMAIL PROTECTED],
    [EMAIL PROTECTED]" and the like (multi drop POP mailbox).
- When jean wants to read his mail,
    he simply dials the ISP, connects to the ISP pop server and
retrieves whatever message is in
    his mailbox.
- When I want to retrieve my company's mail, I do exactly the same, but
with the second POP mailbox.
- When jean or I want to send mail, we simply use our MUA (such as
Netscape messenger) which is set up
   to deliver outbound mail to our ISP mail relay, so jean and I can
exchange mail thru those ISP-based mailboxes
   by using one anothers email address (Jean and I belong to the same
company, but work from different
   locations)
- So far, so good ...
- Now, things have evolved on my side. I have setup a qmail server on my
LAN, and the
different computers on the LAN are now set up to have their MUA talk to
the qmail server (no longer the ISP mail server),
both to lookup their imap mailbox
and to deliver outbound messages. The current qmail configuration (
relay-agent + "mycompany.pf" in locals) allows
my local co-workers to exchange mail and to send mail to the Internet.
But we can NO LONGER send mail to jean' ISP-based Pop
mailbox using the address "[EMAIL PROTECTED]". Indeed, since
"mycompany.pf" is in "locals", qmail wants to deliver it
locally. THAT IS MY PROBLEM. You would say "well, open another account
with your ISP and get an address for jean
that would be outside the domain "mycompany.pf". THATS MY SECOND PROBLEM
:  Jean wants to keep "[EMAIL PROTECTED]".
Indeed, he has lots of customers and friends who are already using this
address, so he does not want to change nor to use a second one!!!
(you can see : Jean is being very difficult and does not care much that
I have tried to set up
something new for the sake of my company's health. He says "it used to
work, so make it
work with your new setup..." well thats easy to say!).

So, how do I do it ? (so the coworkers on my LAN and I will  still use
the address "[EMAIL PROTECTED]" to drop messages in jean remote
ISP-based
pop mailbox)

I hope I have been more clear this time.

Franck

-- 
John J. "Jack" O'Toole          [EMAIL PROTECTED]
System Administrator
Quality Web Service Inc.        www.qwsi.net
 



On Wed, 13 Oct 1999, Russell Nelson wrote:

> Einar Bordewich writes:
>  > Has anyone made som MX/A/PTR checking on MAIL FROM: in qmail-smtpd?
> 
> Yes, there's a patch for it on www.qmail.org.

Well, actually it doesn't work.  Please use qmail-1.03-mfcheck.3.patch
instead (URL: http://lsc.kva.hu/dl/qmail-1.03-mfcheck.3.patch ). Oh, by the
way, Russ, could you update this patch's URL and local copy at www.qmail.org
please?
-- 
Regards: Kevin (Balazs)





Tnx,
I worked perfectly......

BTW: no need to Cc: me, since I'm already on the list.... ;)
--
-------------------------------------------------------------------
IDG New Media     Einar Bordewich
System Manager   Phone: +47 2205 3034
E-Mail:  [EMAIL PROTECTED]
-------------------------------------------------------------------

----- Original Message ----- 
From: Balazs Nagy <[EMAIL PROTECTED]>
To: Russell Nelson <[EMAIL PROTECTED]>
Cc: Einar Bordewich <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, October 14, 1999 3:39 PM
Subject: Re: MAIL FROM: [EMAIL PROTECTED]


> On Wed, 13 Oct 1999, Russell Nelson wrote:
> 
> > Einar Bordewich writes:
> >  > Has anyone made som MX/A/PTR checking on MAIL FROM: in qmail-smtpd?
> > 
> > Yes, there's a patch for it on www.qmail.org.
> 
> Well, actually it doesn't work.  Please use qmail-1.03-mfcheck.3.patch
> instead (URL: http://lsc.kva.hu/dl/qmail-1.03-mfcheck.3.patch ). Oh, by the
> way, Russ, could you update this patch's URL and local copy at www.qmail.org
> please?
> -- 
> Regards: Kevin (Balazs)
> 
> 





On Thu, Oct 14, 1999 at 03:39:56PM +0200, Balazs Nagy wrote:
> On Wed, 13 Oct 1999, Russell Nelson wrote:
> 
> > Einar Bordewich writes:
> >  > Has anyone made som MX/A/PTR checking on MAIL FROM: in qmail-smtpd?
> > 
> > Yes, there's a patch for it on www.qmail.org.
> 
> Well, actually it doesn't work.  Please use qmail-1.03-mfcheck.3.patch
> instead (URL: http://lsc.kva.hu/dl/qmail-1.03-mfcheck.3.patch ). Oh, by the
> way, Russ, could you update this patch's URL and local copy at www.qmail.org
> please?

I use rblsmtpd. So patching qmail-smtpd won't work?
What can I do?

/usr/local/bin/supervise /usr/local/qmail/supervise/tcpserver env - \
        PATH="/usr/local/bin:$PATH" TZ=MET-1METDST,M3.5.0,M10.5.0 \
        tcpserver -x /usr/local/etc/tcp.smtp.cdb \
        -v -p -t 5 -c 400 -b 40 -u 203 -g 200 0 \
        smtp /usr/local/bin/smtplog \
        /usr/local/bin/rblsmtpd -rrelays.mail-abuse.org \
        /usr/local/bin/rblsmtpd -rrelays.orbs.org \
        /usr/local/bin/rblsmtpd -rrbl.maps.vix.com \
        /usr/local/bin/rblsmtpd -rdul.maps.vix.com \
        /usr/local/qmail/bin/qmail-smtpd 2>&1 \
        | /usr/local/bin/accustamp \
        | /usr/local/bin/cyclog -s100004000 -n2 /var/adm/smtpd smtpd 3 &

-- 
Med venlig hilsen / Regards 
Netdriftgruppen / Network Management Group
UNI-C          

Tlf./Phone   +45 35 87 89 41        Mail:  UNI-C                                
Fax.         +45 35 87 89 90               Bygning 304
E-mail: [EMAIL PROTECTED]       DK-2800 Lyngby





I know I've read this sometime in the past but I forgot where and how to
sort it out.
The problem is that for each delivery, qmail generates duplicate logs
and when I say duplicate logs I mean everything is duplicated:

Oct 14 14:48:32 xxx.com qmail: 939908912.777288 info msg 295394: bytes
559 from <[EMAIL PROTECTED]> qp 23317 uid 1152
Oct 14 14:48:32 xxx.com qmail: 939908912.777288 info msg 295394: bytes
559 from <[EMAIL PROTECTED]> qp 23317 uid 1152
Oct 14 14:48:32 xxx.com qmail: 939908912.857675 starting delivery 103:
msg 295394 to local [EMAIL PROTECTED]
Oct 14 14:48:32 xxx.com qmail: 939908912.857675 starting delivery 103:
msg 295394 to local [EMAIL PROTECTED]
Oct 14 14:48:33 xxx.com qmail: 939908913.040227 delivery 103: success:
did_0+0+0/
Oct 14 14:48:33 xxx.com qmail: 939908913.040227 delivery 103: success:
did_0+0+0/
Oct 14 14:48:33 xxx.com qmail: 939908913.057360 end msg 295394
Oct 14 14:48:33 xxx.com qmail: 939908913.057360 end msg 295394

Using qmail v1.00 on a Solaris 7. I am using tcpserver but that has
nothing to do with it as I get double logs even if I qmail-inject the
message.

How do I solve this? (Please don't suggest I upgrade to qmail v1.03 as I
cannot do this for certain reasons.)

Thanks
Fred





Fred Backman <[EMAIL PROTECTED]> wrote:

>The problem is that for each delivery, qmail generates duplicate logs
>and when I say duplicate logs I mean everything is duplicated:
>
>How do I solve this?

Have you always had this problem? How are you running qmail-start and
handling the logging? What platform is this? What's in your
/etc/syslog.conf?

-Dave




Dave Sill wrote:

> Fred Backman <[EMAIL PROTECTED]> wrote:
>
> >The problem is that for each delivery, qmail generates duplicate logs
> >and when I say duplicate logs I mean everything is duplicated:
> >
> >How do I solve this?
>

[snip]

> What's in your
> /etc/syslog.conf?

mail.debug                     ifdef(`LOGHOST', /var/log/syslog,
@loghost)
mail.info                       /var/log/syslog

That was it - Doh! I should've noticed that one!
After uncomment the mail.debug line it now works.

Thanks a lot, Dave!






Running qmail-pop3d with LDAP patchs and have just gotten
things working, sort of.

Authorization and denials are working , however, after authorizing
and delivering, getting an error, thusly:
Connected to localhost.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user barfo
+OK
pass whatever
+OK




Infinite Knowledge wrote:
> 
> Running qmail-pop3d with LDAP patchs and have just gotten
> things working, sort of.
> 
> Authorization and denials are working , however, after authorizing
> and delivering, getting an error, thusly:
> Connected to localhost.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user barfo
> +OK
> pass whatever
> +OK

Where is the problem?

-- 
Andre




Hi everyone,

I'm going to customize the bouncing messages to spanish. Is there any way
to do it in qmail/control or anything like that?.


Many thanks,


Greetz,
Martin Paulucci
SysAdmin
Sintesoft.Net
[EMAIL PROTECTED]




[EMAIL PROTECTED] wrote:

>I'm going to customize the bouncing messages to spanish. Is there any way
>to do it in qmail/control or anything like that?.

No, there's no way to do that other than modifying the source code. In
general, it's not a good idea to simply translate error messages.
qmail's bounces are in a format called QSBMF, which requires that the
text start with "Hi. This is the ". See
ftp://koobera.math.uic.edu/www/proto/qsbmf.txt for complete details.

I suggest adding Spanish translations after the English version so the 
bounce messages remain in QSBMF.

-Dave




[EMAIL PROTECTED] writes:
 > Hi everyone,
 > 
 > I'm going to customize the bouncing messages to spanish. Is there any way
 > to do it in qmail/control or anything like that?.

No, you'll have to patch the source, and read
http://pobox.com/~djb/proto/qsbmf.txt first.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




"Hong Li" <[EMAIL PROTECTED]> wrote:
>
>Hi. This is the qmail-send program at qiji.com.
>I'm afraid I wasn't able to deliver your message to the following addresses.
>This is a permanent error; I've given up. Sorry it didn't work out.
>
><[EMAIL PROTECTED]>:
>202.96.44.17 failed after I sent the message.
>Remote host said: 552 message is not welcome to our host,maybe too big (#5.3.4)
>[...]
>
>OK.I have 2 question.
>1.the verify is less than 1K,why got 552 message?I'd check it w/ my
>own account there and my mailbox is empty there so its not really
>exceed the box size.

You'd have to ask [EMAIL PROTECTED] that. We can't tell why his MTA
rejected your message. Note that it says "maybe too big": that means
size might not be problem.

>2.weird problem is that,when I resend this email via my own account
>in my server,via hmailto:[EMAIL PROTECTED] to that [EMAIL PROTECTED],its
>OK!.why?

I suspect--but I'm just guessing--that 263.net's MTA is doing some
kind of "clever" spam filtering that your web mail triggers but your
test mail doesn't. E.g., maybe they reject mail with an envelop sender
of "anonymous@.*".

-Dave




I have no idea how the vacation package work.

But:   the installation of the memphis rpm has changed.  In
particular, you also need qmail-run.  Is qmail working properly,
otherwise?

Mate

-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  




On Thu, 14 Oct 1999, Mate Wierdl wrote:

> I have no idea how the vacation package work.
> 
> But:   the installation of the memphis rpm has changed.  In
> particular, you also need qmail-run.  Is qmail working properly,
> otherwise?

The problem isn't vacation per se (Jon and I have already debugged
thru that poart). The problem is that if you have a .qmail file of the
form

    | some_program

and "some_program" calls qmail-inject (or one of its cousins such as
datemail etc), qmail-inject dies.

I've asked Jon to triple check permissions of files in
/var/qmail/control to ensure they are readable by all.

Regards
Peter
----------
Peter Samuel                                [EMAIL PROTECTED]
Technical Consultant                        or at present:
eServ. Pty Ltd                              [EMAIL PROTECTED]
Phone: +61 2 9206 3410                      Fax: +61 2 9281 1301

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





Stirling Olson <[EMAIL PROTECTED]> wrote:

>Also, the mail server is on the inside of a firewall.  That said, sendmail
>was working fine before so I don't think it is a firewall issue.
>
>Why can't I receive email from outside my LAN?  BTW, folks are getting the
>following in a "bounced" email:
>
><<< 421 loki.iport.com Sorry, you are not authorized to make this
>connection.
><[EMAIL PROTECTED]>... Deferred: Connection reset by mail.foraker.com.

That "Sorry, you are not authorized to make this connection." message
didn't come from qmail or tcpserver. Sure that firewall isn't getting
in the way?

-Dave




Kevin Sawyer <[EMAIL PROTECTED]> wrote:

>OK, I'm finally on to something.  I'm seeing this in my logs:
>
>warning: trouble opening local/xx/xxxxx; will try again later
>warning: trouble opening remote/xx/xxxxx; will try again later
>
>So, I went into /var/qmail/queue/mess/xx and looked at the files.  They look
>fine.  They are owned qmailq.qmail with mode 0644.

Great, but qmail isn't complaining about queue/mess/xx, it's
complaining about queue/local/xx or queue/remote/xx. If you look at
qmail-send.c, you'll see there are only two things that will cause
that error:

  1) an attempt to open the file for reading failed, or
  2) the contents of the file aren't in the right format.

>After a few days of not
>restarting qmail, there are hundreds of messages like this and there is no
>rhyme or reason as to the directory/inode where they live.  If I restart
>qmail, they disappear without further error.

Refresh my memory, please. What platform is this? Did you build qmail
yourself? Have you run "make check"?

-Dave




Try #2, Damn rented fingers.

Running qmail-pop3d with LDAP patchs and have just gotten
things working, sort of.

Authorization and denials are working , however, after authorizing
and delivering, getting an error, thusly:
Connected to localhost.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user barfo
+OK
pass whatever
+OK




[EMAIL PROTECTED] wrote:

>As part of the Webshield virus scanner, a version of qmail appears to
>have been installed.

Anyone ever heard of Webshield? Are they really bundling qmail?

>The question is, can I delete these messages from the queue directory
>structure?

Yes and no. If a message in really queued, you can stop qmail, delete
*all* files associated with that message number from the queue, then
restart qmail. However, if the message isn't completely queued, this
might not work.

>I've tried deleting the files manually, but while I can temporarilly
>remove them from the mess/nn subdirectory, they re-appear sometime
>later. The only other reference to these files is in the intd directory.

If there's an intd file associated with these messages, chances are
good that you're trying to delete them before they're completely
queued, so the sender is seeing the failure and resending the
message.

>I've yet to try changing the file message date on the file in the mess
>subdirs.

Wait until the message is queued (there's a "todo" file for it) or
preprocessed (there's an "info" file for it), then "touch" the "mess"
file into the future a couple weeks. It'll bounce on the next delivery 
attempt.

>Does anyone have any other suggestions. I note from all the
>other questions relating to message deletions, that the intd directory
>rarely gets a mention. Is this something uniqe to the fact we're running
>Webshield?

No. If you're curious, grab the qmail tarball and read the INTERNALS
file.

>Thanks for any assistance you can give.

Good luck. Hope this helps.

-Dave




Dave Sill writes:
 > >I've yet to try changing the file message date on the file in the mess
 > >subdirs.
 > 
 > Wait until the message is queued (there's a "todo" file for it) or
 > preprocessed (there's an "info" file for it), then "touch" the "mess"
 > file into the future a couple weeks. It'll bounce on the next delivery 
 > attempt.

Future??  Past!

I've lobbied djb to special-case any date in the 1980's so that
qmail-send simply discards the message instead of bouncing it.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




Russell Nelson <[EMAIL PROTECTED]> wrote:

>Dave Sill writes:
> > >I've yet to try changing the file message date on the file in the mess
> > >subdirs.
> > 
> > Wait until the message is queued (there's a "todo" file for it) or
> > preprocessed (there's an "info" file for it), then "touch" the "mess"
> > file into the future a couple weeks. It'll bounce on the next delivery 
> > attempt.
>
>Future??  Past!

Oops. Thanks, Russ.

>I've lobbied djb to special-case any date in the 1980's so that
>qmail-send simply discards the message instead of bouncing it.

Good idea.

-Dave




Dave Sill wrote:

> Anyone ever heard of Webshield? Are they really bundling qmail?
>

The product is Networks Associates Webshield for SMTP. We have a site licence

for all NAI products, and as I was being forced into a quick fix for virus
checking all Internet email I had this included as part of a major system
upgrade. Only after a while did I discover an installation of qmail, and
nothing in the NAI documentation about qmail. At least they included the
qmail man and bin directories. NAI are not currently shipping Webshield SMTP
- but it's still on their ftp site and distributed product CD.

My assumption (and I haven't done much investigation) is that when the mail
server receives mail it passes it to qmail which passes it through the virus
checker and then on to a separate mail service (sendmail) for final delivery
(or the other way round).  One of the configuration files for qmail
references the
Virus scanning (/var/qmail/control/virusscan).

There never seems to be anything in the queue itself (qread)
presumably since qmail passes everything on to sendmail to actually send, but

there are a whole lot of file references in the intd directory (mainly the
same external sender/internal recipient combination) and the corresponding
entries in the mess subdirs are definitely of the "WIN A MILLION" category.
qstat reports about 250 entries, but 0 in the second line. We did have a
problem with the reappearance of a 4Mb file that wasn't being cleared, and
having about a dozen copies of it in the mess/ subdir structure, made the
disk fill up quite quickly (especially when someone then tried to send 168Mb
attachment). However, the 4Mb file seems to have gone from the queue - after
about a week, but the 2Mb file, and the hundreds of 4k files are still there
and they've certainly been around for a week or two now. Am I right in
thinking that the retry table (40 attempts at increasing periods) would
continue for about ten weeks before giving up?

Hope this gives you some more info to the problem. I've had some
communication from one of the other list members but offline. If anything is
successful, I/we'll post the findings.

I ran queue-fix which removed about a dozen entries from intd.

I have a sneaking suspicion that the problem will eventually time itself out,

and no real solution will be found. For some reason there must be a clean up
operation as the mess subdirs never have any files in them older than a
couple of days.

Thanks for advice. I shall persevere ...

Wallace

--
======================================================================
 Wallace Nicoll                          [EMAIL PROTECTED]
 City of Edinburgh Council IT Services,
 Chesser House, 500 Gorgie Road,                Phone : 0131 469 5343
 Edinburgh, EH11 3YJ, Scotland                    Fax : 0131 469 5335
 [From overseas                  [P]+441314695343  [F]+441314695335 ]
======================================================================









James Smallacombe <[EMAIL PROTECTED]> wrote:

>Is there a fairly simple way to modify the outgoing header of an
>alias to preserve the To: address of the recipient?

Headers aren't changed by going through simple aliases. Maybe the
problem is that the header *isn't* changed. I.e., the pager service
looks for it's address in the To: field and ignores messages that
don't have it. If that's the case, have your alias construct a new
message with the appropriate header.

-Dave




[EMAIL PROTECTED] wrote:

>I seems to have problem running qmail with supervise.  when I start
>qmail using supervise, it start off working fine, but after a while it
>would
>begin to fail.  mail are not delivered and preprocessed.

At this point, what qmail-related processes are running? What do the
qmail-send logs say?

-Dave




A Curtin <[EMAIL PROTECTED]> wrote:

>What's the best way to kill supervise/tcpserver/qmail processes for
>system shutdown?

"svc -dx" is the way to go.

>Do the supervise lock directories need clearing up manually, or what?

No, daemontools should take care of them.

-Dave




Hi all !

I have installed a Linux machine with two 9 Gbytes SCSI disks with RedHat
Linux 6.1. I want to install QMail as the mail serer in this machine, and I
have a couple of questions.

1.- Is possible to maintain a database in MySQL, Oracle or similar with
usernames/passwords and aliases ? I don't want to create a user account in
the Linux machine for each e-mail user.

2.- Wich directories are involved with the mail processing ? I want to make
several aprtitions in the hard disks and want to know where will be stored
the queue files (I suppose that in /var/qmail) the mainboxes of the users
(Maybe /home/user ?), and so on...

3.- From where could I download the latests rpm files for installing the
QMail Server in RH 6.1 ? Wich files do I need ?

Best regards,



Antonio Navarro Navarro
BemarNet Management
[EMAIL PROTECTED]
http://www.bemarnet.es




The "free" email was swallowing 1/2 my message.

Running qmail-pop3d with LDAP patchs and have just gotten
things working, sort of.

Authorization and denials are working , however, after authorizing
and delivering, getting an error, thusly:
Connected to localhost.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user barfo
+OK
pass whatever
+OK
.
list
+OK
.
quit
+OK
-ERR authorization failed
Connection closed by foreign host.

I've searched the archives, but I didn't know how to search for
something that worked.

Still worried,
Bill


____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.




This is a small bug from the ldap patch. Andre has already a solution for
this. Andre, could you post the solution on the qmail-ldap list?

Franky

> ----------
> From:         Bill Rogers[SMTP:[EMAIL PROTECTED]]
> Sent:         Thursday, October 14, 1999 5:32 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: pop3d auth error after auth ok? LDAP patchs,whoops #2
> 
> The "free" email was swallowing 1/2 my message.
> 
> Running qmail-pop3d with LDAP patchs and have just gotten
> things working, sort of.
> 
> Authorization and denials are working , however, after authorizing
> and delivering, getting an error, thusly:
> Connected to localhost.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user barfo
> +OK
> pass whatever
> +OK
> .
> list
> +OK
> .
> quit
> +OK
> -ERR authorization failed
> Connection closed by foreign host.
> 
> I've searched the archives, but I didn't know how to search for
> something that worked.
> 
> Still worried,
> Bill
> 
> 
> ____________________________________________________________________
> Get your own FREE, personal Netscape WebMail account today at
> http://webmail.netscape.com.
> 




Thank you to all for the helpful information!

-H and -R did the trick and solved what appeared to be slow authentication
but was really DNS related.  This gave the added benifit of taking a huge
load off our primary DNS server and now web pages appear to serve snappier!

Obviously, we may want to consider upgrading our DNS server which is only
running on a 486 right now... :-)

Thank You,
Jose de Leon

----- Original Message -----
From: Markus Stumpf <[EMAIL PROTECTED]>
To: Jose de Leon <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, October 13, 1999 7:27 PM
Subject: Re: Slow Authentication (need help)


On Wed, Oct 13, 1999 at 04:33:27PM -0700, Jose de Leon wrote:
> I'm using QMail 1.03, and using tcpserver instead of inetd.  Linux 2.0.xx.

> Some POP3 account users are complaining of slow POP3 authentication.
About
> 50% of the time, authentication times out.  I have noticed the problem
too,
> but once authenticated, download of email is quite fast.

This may also be a result of slow DNS and/or IDENT lookups:
- you may use the -R switch to disable IDENT lookups (very much recommended,
  as most systems do not provide reliable info anyway).
- you may use the -H switch to disable remote host name lookups.
  This speeds up connections if DNS is slow or broken for the IPs
  your customers come from. It also is useless if the IPs do not have
  PTR records.

Please note that these settings may also be useful if you start
qmail-smtpd via tcpserver.

> Are there not enough connections allocated for tcpserver?  How can I check
> if maximum connections are being used?

start your tcpserver with -v switch and direct its output to a logfile.
There you should see messages like
    tcpserver: status: 2/150
That means that currently 2 out of 150 max tcpservers are active.
The max limit can be increased with -c<num>, default is 40.

> Or are there settings in QMail itself I need to change?

No.

\Maex

--
SpaceNet GmbH             |   http://www.Space.Net/   | Yeah, yo mama
dresses
Research & Development    | mailto:[EMAIL PROTECTED] | you funny and you
need
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | a mouse to delete
files
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  |






Greetings,

   I've just installed the latest version of qmail and am trying to get
Maildirs working.  Is there anyway to globally tell qmail to use
Maildirs for all my users with out creating a .qmail file for each one?

--Keith Lee





Keith Lee <[EMAIL PROTECTED]> wrote:

>   I've just installed the latest version of qmail and am trying to get
>Maildirs working.  Is there anyway to globally tell qmail to use
>Maildirs for all my users with out creating a .qmail file for each one?

man qmail-start

-Dave




On Thu, Oct 14, 1999 at 12:30:15PM -0500, Keith Lee wrote:
>    I've just installed the latest version of qmail and am trying to get
> Maildirs working.  Is there anyway to globally tell qmail to use
> Maildirs for all my users with out creating a .qmail file for each one?

Hello Keith,
- first make sure your startscript specifies ./Maildir/ as delivery target.
- I am afraid you need to create a Maildir for every user as well, so echo
  .qmail should be no problem as well, sth like:
        - assume your users all have GID 5?? (like on RedHat)
                cd /home
                for i in $(awk -F: '$3~/5[0-9][0-]/{print $1}'}); do
                        su $i -c 'maildirmake '$i'/Maildir && echo "./Maildir/" > 
'$i'/.qmail
                done
        
Regards
Mirko





Keith Lee writes:
 > Greetings,
 > 
 >    I've just installed the latest version of qmail and am trying to get
 > Maildirs working.  Is there anyway to globally tell qmail to use
 > Maildirs for all my users with out creating a .qmail file for each one?

The general answer to your question is "yes".  Go into /var/qmail/boot 
and you'll find that all the files there differ only by the default
delivery instructions.  Whatever you want to do for each user (for
example, check their quota before delivering mail) should be inserted
in that file.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




Hi,

Now Let me try to configure a small one HotMail by up to down with
scale of 1,000,000 mail accounts. Please help me to finish this issue.

1. Choose OS as Linux 
   (or FreeBSD, Solaris ? PC or SUN ? I am not sure which one is better?)
2. Prepare 10 PC as qmail mail server which store real mail 
   (define as ms1.hotmail.com - ms10.hotmail.com, each server store
    100,000 users' mail, each server also handle pop3 service )
3. Prepare 1 PC as qmail-ldap server (define as ldap.hotmail.com)
4. Prepare 1 PC as qmail-smtp server, (define as smtp.hotmail.com)
    which process incoming mail to dispatch each mail to accurate 
    mail server (ms1 - ms10)

And DNS Setting:
hotmail.com   MX   0   smtp.hotmail.com

Operation flow: 
User with E-mail address : [EMAIL PROTECTED] , store in ms1.hotmail.com

When anybody sendemail to [EMAIL PROTECTED], which mail will be send  
to smtp.hotmail.com,and smtp.hotmail.com will quere ldap.hotmail.com 
with real mail serverwhich store the [EMAIL PROTECTED], and then relay 
mail to ms1.hotmail.com

Is there anything wrong in my configuration and understanding with QMail ?
Do I miss anything ?

Thanks in advance,

Best Regards,

Farmer Tien

__________________________________________________
 Get Your Free E-Mail at http://www.ToMail.com.tw 




Hi John,

For your web-based client, what are you using?  I am trying to setup a similar service.

Thanks,
Matthew

-----Original Message-----
From: F7596 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 14, 1999 9:58 AM
To: [EMAIL PROTECTED]
Subject: Re: Setup HotMail by Qmail ?


Hi,

Now Let me try to configure a small one HotMail by up to down with
scale of 1,000,000 mail accounts. Please help me to finish this issue.

1. Choose OS as Linux 
   (or FreeBSD, Solaris ? PC or SUN ? I am not sure which one is better?)
2. Prepare 10 PC as qmail mail server which store real mail 
   (define as ms1.hotmail.com - ms10.hotmail.com, each server store
    100,000 users' mail, each server also handle pop3 service )
3. Prepare 1 PC as qmail-ldap server (define as ldap.hotmail.com)
4. Prepare 1 PC as qmail-smtp server, (define as smtp.hotmail.com)
    which process incoming mail to dispatch each mail to accurate 
    mail server (ms1 - ms10)

And DNS Setting:
hotmail.com   MX   0   smtp.hotmail.com

Operation flow: 
User with E-mail address : [EMAIL PROTECTED] , store in ms1.hotmail.com

When anybody sendemail to [EMAIL PROTECTED], which mail will be send  
to smtp.hotmail.com,and smtp.hotmail.com will quere ldap.hotmail.com 
with real mail serverwhich store the [EMAIL PROTECTED], and then relay 
mail to ms1.hotmail.com

Is there anything wrong in my configuration and understanding with QMail ?
Do I miss anything ?

Thanks in advance,

Best Regards,

Farmer Tien

__________________________________________________
 Get Your Free E-Mail at http://www.ToMail.com.tw 





Hi,

Now Let me try to configure a small one HotMail by up to down with
scale of 1,000,000 mail accounts. Please help me to finish this issue.

1. Choose OS as Linux 
   (or FreeBSD, Solaris ? PC or SUN ? I am not sure which one is better?)
2. Prepare 10 PC as qmail mail server which store real mail 
   (define as ms1.hotmail.com - ms10.hotmail.com, each server store
    100,000 users' mail, each server also handle pop3 service )
3. Prepare 1 PC as qmail-ldap server (define as ldap.hotmail.com)
4. Prepare 1 PC as qmail-smtp server, (define as smtp.hotmail.com)
    which process incoming mail to dispatch each mail to accurate 
    mail server (ms1 - ms10)

And DNS Setting:
hotmail.com   MX   0   smtp.hotmail.com

Operation flow: 
User with E-mail address : [EMAIL PROTECTED] , store in ms1.hotmail.com

When anybody sendemail to [EMAIL PROTECTED], which mail will be send  
to smtp.hotmail.com,and smtp.hotmail.com will quere ldap.hotmail.com 
with real mail serverwhich store the [EMAIL PROTECTED], and then relay 
mail to ms1.hotmail.com

Is there anything wrong in my configuration and understanding with QMail ?
Do I miss anything ?

Thanks in advance,

Best Regards,

Farmer Tien




I've got what is probably a problem with a simple solution, but I'm stuck...

I'm running vchkpw with two virtual domains, say A.com, and B.com on a 
linux box at home.

When I send mail via the smtp server of my employer (using Eudora or telnet 
directly), I can send to B.com, but not A.com. Any user at A.com 
immediately results in a 550 User Unknown error.

If I use the web interface (we have MS Exchange Server) for work, I can 
send to A.com.

I can send from my pacbell account or any other domain (using their smtp 
server) to A.com.

Can you help?

thanks,

-ted




I upgraded my home system from Red Hat 5.2 to 6.0, and even though I
have forcecr set in my .fetchmailrc, qmail is now seeing stray
LF's. Fetchmail tries to inject a bounce message when the first
attempt fails, but the bounce fails, too, and fetchmail happily
deletes the message from the POP server, and the message is lost. :-(

Anyone else seen this?

I'll try upgrading to the latest fetchmail, but if that doesn't work,
I'll have to try to find an old fetchmail or do the fixcr hack. Yuck.

Sure wish someone would publish a simple, reliable POP client.

-Dave




Dave Sill writes:
 > I upgraded my home system from Red Hat 5.2 to 6.0, and even though I
 > have forcecr set in my .fetchmailrc, qmail is now seeing stray
 > LF's. Fetchmail tries to inject a bounce message when the first
 > attempt fails, but the bounce fails, too, and fetchmail happily
 > deletes the message from the POP server, and the message is lost. :-(
 > 
 > Anyone else seen this?
 > 
 > I'll try upgrading to the latest fetchmail, but if that doesn't work,
 > I'll have to try to find an old fetchmail or do the fixcr hack. Yuck.
 > 
 > Sure wish someone would publish a simple, reliable POP client.

What do you want it to do?  Store mail in a mailbox?  A Maildir?
Inject it into the local smtp daemon?  Run /usr/lib/sendmail?  For the
latter two, how do you set the local recipient?

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




Russell Nelson <[EMAIL PROTECTED]> wrote:

>Dave Sill writes:
> > 
> > Sure wish someone would publish a simple, reliable POP client.
>
>What do you want it to do?  Store mail in a mailbox?  A Maildir?
>Inject it into the local smtp daemon?

Re-inject via SMTP to specified user@localhost.

>Run /usr/lib/sendmail?  For the
>latter two, how do you set the local recipient?

Config parameter a la .fetchmailrc.

-Dave




Dave Sill writes:
 > >Run /usr/lib/sendmail?  For the
 > >latter two, how do you set the local recipient?
 > 
 > Config parameter a la .fetchmailrc.

What other parameters are there?  What are they named?  How do you set
the envelope sender?  From the return-path header?  Where do the
username and password come from?

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!




Hello Dave,

The following fetchmailrc format has worked for me with qmail and the
latest versions of fetchmail:

set syslog poll mail.spark.com.ar proto pop3 user xxx pass xxx forcecr
smtpaddress client.com.ar


The last time I upgraded fetchmail, I lost a lot of a clients mail.
Fetchmail flushed everything and qmail accepted nothing. What fixed that
problem was magically re-aranging the order of the elements in the above
mentioned fetchmailrc, but not changing the elements themselves. Typical
Fetchmail fix.


Saludos - eric



Russell Nelson escribi�:
> 
> Dave Sill writes:
>  > >Run /usr/lib/sendmail?  For the
>  > >latter two, how do you set the local recipient?
>  >
>  > Config parameter a la .fetchmailrc.
> 
> What other parameters are there?  What are they named?  How do you set
> the envelope sender?  From the return-path header?  Where do the
> username and password come from?
> 
> --
> -russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
> Crynwr sells support for free software  | PGPok | Government schools are so
> 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
> Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!

-- 
+ + + + + + + + + + + + + + + + + + + +
Spark Sistemas
   - presentado por IWCC Argentina S.A.
   Tel: 4702-1958
   e-mail: [EMAIL PROTECTED]
+ + + + + + + + + + + + + + + + + + + +




On Thu, 14 Oct 1999, Dave Sill wrote:

> Sure wish someone would publish a simple, reliable POP client.

I have some very old, cranky, but reliable code at
http://www.geocities.com/SiliconValley/Peaks/5799/getpop3.README.html

Worked for me for the last four years.

--
Sam





-Client problems retrieving large emails.-

I have several users complaining that their client software (Netscape
Communicator) times out when they try to retrieve large emails (2-3 meg).

Am I correct in assuming that this is a client side setting?  They keep
telling me "this never happened when we used the email server provided by
our old ISP."  (I don't provide their dial-up, just a few email addresses
associated with a web page that I host for them).

Is there a setting in QMail that would affect this?  If not, does anybody
know of a way to set the clients to wait longer before timing out?  I've
looked through the Netscape knowledge base documentation and poked through
the menus but I couldn't find any settings for timeout values.

I searched through the mailing list archives and did some web searches and I
found a few references to similar problems but no solutions.  Any help (or
pointers to appropriate FAQ files) would be appreciated.



Thanks,

Brian




I'm having an odd problem mail delivery on a new server I'm building.
Server is running FreeBSD 3.3s, qmail 1.03, big-todo patch, netscape
patch, aol patch, rbl patch from flame.org, and vchkpw 3.4.9 for virtual
domains. I am using maildirs nfs mounted from an external raid array. I
mirrored the virtdomains/rcpthosts and user/assign files from my
existing production server. Maildirs from the raid are the same ones
used by the current production server which is functioning correctly.
Error is below. It only is affecting this one user that I have
found..mail deliveries to other users in the same domain (normal
accounts, aliases from fast-forward, and .qmail- entries all work
correctly). This user can receive mail correctly to the same directories
off the production server.

Oct 14 10:51:25 mail-20 qmail-smtpd[6685]: Received: from unknown (HELO
delanet.com)
Oct 14 10:51:26 mail-20 smtpd: 939898286.038688 tcpserver: end 6685
status 0
Oct 14 10:51:26 mail-20 smtpd: 939898286.039126 tcpserver: status: 0/900

Oct 14 10:51:26 mail-20 qmail: 939898286.046347 new msg 5357
Oct 14 10:51:26 mail-20 qmail: 939898286.047130 info msg 5357: bytes
1135 from <[EMAIL PROTECTED]> qp 6686 uid 82
Oct 14 10:51:26 mail-20 qmail: 939898286.121583 starting delivery 13:
msg 5357 to local [EMAIL PROTECTED]
Oct 14 10:51:26 mail-20 qmail: 939898286.122582 status: local 1/120
remote 0/120
Oct 14 10:51:26 mail-20 qmail: 939898286.347484 delivery 13: deferral:
tsaville:delanet.com:delanet.com/Can't_create_tempfile_(#4.3.0)/Yikes!_Could_create_but_can't_delete_temporary_file!!/ENOENT:_pa

th_doesn't_exist/


Any help is appreciated.

--
Stephen Comoletti
Systems Administrator
Delanet, Inc.  http://www.delanet.com
ph: (302) 326-5800 fax: (302) 326-5802







Please disregard the request below..popbull killed me. User had viewed mail from 
sqwebmail, had a symlink to a popbull message in
the cur directory which pointed to a bulletin that existed on the production server, 
not the new server.

Steve

Delanet Administration wrote:

> I'm having an odd problem mail delivery on a new server I'm building.
> Server is running FreeBSD 3.3s, qmail 1.03, big-todo patch, netscape
> patch, aol patch, rbl patch from flame.org, and vchkpw 3.4.9 for virtual
> domains. I am using maildirs nfs mounted from an external raid array. I
> mirrored the virtdomains/rcpthosts and user/assign files from my
> existing production server. Maildirs from the raid are the same ones
> used by the current production server which is functioning correctly.
> Error is below. It only is affecting this one user that I have
> found..mail deliveries to other users in the same domain (normal
> accounts, aliases from fast-forward, and .qmail- entries all work
> correctly). This user can receive mail correctly to the same directories
> off the production server.
>
> Oct 14 10:51:25 mail-20 qmail-smtpd[6685]: Received: from unknown (HELO
> delanet.com)
> Oct 14 10:51:26 mail-20 smtpd: 939898286.038688 tcpserver: end 6685
> status 0
> Oct 14 10:51:26 mail-20 smtpd: 939898286.039126 tcpserver: status: 0/900
>
> Oct 14 10:51:26 mail-20 qmail: 939898286.046347 new msg 5357
> Oct 14 10:51:26 mail-20 qmail: 939898286.047130 info msg 5357: bytes
> 1135 from <[EMAIL PROTECTED]> qp 6686 uid 82
> Oct 14 10:51:26 mail-20 qmail: 939898286.121583 starting delivery 13:
> msg 5357 to local [EMAIL PROTECTED]
> Oct 14 10:51:26 mail-20 qmail: 939898286.122582 status: local 1/120
> remote 0/120
> Oct 14 10:51:26 mail-20 qmail: 939898286.347484 delivery 13: deferral:
> 
>tsaville:delanet.com:delanet.com/Can't_create_tempfile_(#4.3.0)/Yikes!_Could_create_but_can't_delete_temporary_file!!/ENOENT:_pa
>
> th_doesn't_exist/
>
> Any help is appreciated.
>
> --
> Stephen Comoletti
> Systems Administrator
> Delanet, Inc.  http://www.delanet.com
> ph: (302) 326-5800 fax: (302) 326-5802





Another problem. Same setup as the last message concerning delivery. One
user ID is unable to see contents of it's maildir during pop3 check on
the new server. 9 messages can be seen in the new directory, and a pop3
check from the production server can list them, and moves them to cur,
but the new server simply shows nothing. It authenticates correctly
(vchkpw 3.4.9) however there are no messages output when trying to list
off the new server.  This user can receive mail from the new server
perfectly fine, just cant see whats sitting there. No errors logged or
anything. As before, any help (pointers, faq's, etc etc) is appreciated.

--
Stephen Comoletti
Systems Administrator
Delanet, Inc.  http://www.delanet.com
ph: (302) 326-5800 fax: (302) 326-5802







I am trying to allow relaying for a couple of users through qmail.  I have
gone through the steps suggested at:

http://www.palomine.net/qmail/selectiverelay.html

But I am not sure I have done the initial steop of "downloading and
installing" the ucspi-tcp package.. where do I need to install that
package?  I've installed it in a personal directory, and when I need to
use the tcprules command, I just address the command to the directory
tcprules is located.  Maybe this is the wrong spot to have it?

Also, once I get down to the step:
tcpserver -x/etc/tcp.smtp.cdb -u503 -g502 0 smtp 
/var/qmail/bin/qmail-smtpd &
(given in one line), I get this error:
"tcpserver: fatal: unable to bind: address already used"
What am I doing wrong?

I am using Mandrake version 6.0.
Thanks for any help.

james





Hi again to all!
I have a question about the log file. Please look at an entry below.

info msg 205083: bytes 379 from <> qp xxx uid xxxx

As we can see, the from field is empty. Is there a way that we can deny
mails that don't contain 'from' from being relayed? Also is there a way
that we can restrict the sender by the 'from' field? Say if the sender's
domain is not xxx.com, then his mail is denied.

Thanks in advance!


--
Edward Castillo-Jakosalem







This has been discussed previously, and it is considered a bad idea to
deny messages from <>, because that is the format used in many bounce
messages. Something like that.

- eric 


Edward Castillo-Jakosalem escribi�:
> 
> Hi again to all!
> I have a question about the log file. Please look at an entry below.
> 
> info msg 205083: bytes 379 from <> qp xxx uid xxxx
> 
> As we can see, the from field is empty. Is there a way that we can deny
> mails that don't contain 'from' from being relayed? Also is there a way
> that we can restrict the sender by the 'from' field? Say if the sender's
> domain is not xxx.com, then his mail is denied.
> 
> Thanks in advance!
> 
> --
> Edward Castillo-Jakosalem




I understand the .qmail forward files, for the most part, but I'm not
entirely sure I understand how to make use of virtual addresses. My
forways into playing with /var/qmail/users was highly unsuccessful. Can
someone point me to some reasources on how to effectively set this sort of
thing up?

While I could set up everything with an ~/alias/.qmail-foo forward, I
would really prefer not to have to do so.

-- 
Todd A. Jacobs
Network Systems Engineer






On Thu, Oct 14, 1999 at 07:49:23PM -0700, Todd A. Jacobs wrote:
> I understand the .qmail forward files, for the most part, but I'm not
> entirely sure I understand how to make use of virtual addresses. My
> forways into playing with /var/qmail/users was highly unsuccessful. Can
> someone point me to some reasources on how to effectively set this sort of
> thing up?
> 
> While I could set up everything with an ~/alias/.qmail-foo forward, I
> would really prefer not to have to do so.

What do you need to do? 

There are several uses for virtualdomains and "virtual addresses", and every
week there are new obscure uses that folks bring up here, so please
enlighten us and we will probably be of great help. 

Have you looked into the fastforward package? 

/magnus
-- 
  MOST useless 1998 --> http://x42.com/




On Fri, 15 Oct 1999, Magnus Bodin wrote:

> What do you need to do? 

I'm trying to set up aliases that are directly delivered rather than
forwarded. In other words, I'd like them to be true aliases. For example,
I'd like to set up [EMAIL PROTECTED] to go directly to a user
without adding the forward line that creating ~alias/.qmail-contract would
add.

Is that possible, or is what I'm trying to do outside the realm of what
qmail does?

-- 
Todd A. Jacobs
Network Systems Engineer






On Thu, Oct 14, 1999 at 10:57:34PM -0700, Todd A. Jacobs wrote:
> On Fri, 15 Oct 1999, Magnus Bodin wrote:
> 
> > What do you need to do? 
> 
> I'm trying to set up aliases that are directly delivered rather than
> forwarded. In other words, I'd like them to be true aliases. For example,
> I'd like to set up [EMAIL PROTECTED] to go directly to a user
> without adding the forward line that creating ~alias/.qmail-contract would
> add.
> 
> Is that possible, or is what I'm trying to do outside the realm of what
> qmail does?

You should probably find what you need in the fastforward package, which
uses /etc/aliases and a compiled database of that. It works pretty much like
sendmails /etc/alias handling but is faster. Whether you will call this
"true alias" or not I don't know, but it it works, and is fast, and you
don't need a ~alias/.qmail-file for every alias.

http://www.qmail.org/koobera/www/fastforward.html

-- 
magnus
        -- MOST useless 1998 * http://x42.com/




I've already setup qmail to do selective relaying based on network/IP
address using RELAYCLIENT.  Is there a way such that I can have
additional selective relaying based on the e-mail address?  I'd like to
restrict some local users from sending and receiving e-mail messages to
and from the Internet.

TIA,
Mike




Hi,

  I've been trying to track down this issue for a while but I still don't
know what is wrong.  Essentially, when I subscribe to majordomo mailing
lists elsewhere, my masqueraded email address [EMAIL PROTECTED] isn't
recognized.  If I send majordomo

     'subscribe list-name'

[EMAIL PROTECTED] is automatically subscribed.  If I explicity send
majordomo

     'subscribe list-name [EMAIL PROTECTED]'

the response is that the request will be forwarded to the owner.  The
response also tells me that the reason for the delay is either 1) the list
subscription is closed or 2) the address I'm trying to subscribe is
different from that of the ones in the header.

  I've sent myself mail and check the headers.  Both From: and Reply-To: are
set to [EMAIL PROTECTED]  I don't see why the headers would be causing a
problem.  On the other hand I've tried multiple majordomo lists and all of
open subscriptions.

  So what is causing this discrepancy between remote majordomo programs and
what I'm seeing in my own headers?

  I'm running Qmail-1.03 on FreeBSD 3.2.  Here are my control files:

{prompt} grep '' *
defaultdomain:blackmist.org
defaulthost:blackmist.org
locals:whispers.blackmist.org
locals:blackmist.org
me:whispers.blackmist.org
rcpthosts:blackmist.org
rcpthosts:whispers.blackmist.org

Almost all mail is sent to a script qmail-cyrus to be forwarded to the imap
server.

I'm running tcpserver to relay stuff from the LAN.
{prompt} cat /usr/local/etc/tcp.smtp
#.#.#.:allow,RELAYCLIENT=""

and invoked with

/usr/local/bin/tcpserver -x /usr/local/etc/tcp.smtp.cdb -v -u 82 -g 81 0
smtp /var/qmail/bin/qmail-smtpd \
2>&1 | /var/qmail/bin/splogger smtpd 3 &

The mail client is on a different machine using whispers as the smtp server.

Any thoughts?

r.





On Thu, 14 Oct 1999 21:40:04 -0700 in 
<[EMAIL PROTECTED]> "randyboy" 
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
>   I've been trying to track down this issue for a while but I still don't
> know what is wrong.  Essentially, when I subscribe to majordomo mailing
> lists elsewhere, my masqueraded email address [EMAIL PROTECTED] isn't
> recognized.  If I send majordomo
> 
>      'subscribe list-name'
> 
> [EMAIL PROTECTED] is automatically subscribed.  If I explicity send
> majordomo
> 
>      'subscribe list-name [EMAIL PROTECTED]'
> 
> the response is that the request will be forwarded to the owner.  The
> response also tells me that the reason for the delay is either 1) the list
> subscription is closed or 2) the address I'm trying to subscribe is
> different from that of the ones in the header.
> 
>   I've sent myself mail and check the headers.  Both From: and Reply-To: are
> set to [EMAIL PROTECTED]  I don't see why the headers would be causing a
> problem.  On the other hand I've tried multiple majordomo lists and all of
> open subscriptions.
> 
>   So what is causing this discrepancy between remote majordomo programs and
> what I'm seeing in my own headers?

Most likely majordomo is looking at the envelope sender (what is sent
in the SMTP "MAIL FROM" command).  It can be set with the appropriate
arguments to qmail-inject; I've written a little script that I use to
send messages to mailing lists with different local email addresses
which I'd be happy to send you.

Jim Lippard     [EMAIL PROTECTED]    http://www.discord.org/
Unsolicited bulk email charge:    $500/message.   Don't send me any.
PGP Fingerprint:  0C1F FE18 D311 1792 5EA8  43C8 7AD2 B485 DE75 841C




Oh, am I using qmail-inject?
I though that since I'm using tcpserver to call qmail-smtpd this is what
happens.

tcpserver -> qmail-smtpd -> qmail-queue -> qmail-send -> qmail-rspawn ->
qmail-remote

Well, if I am using qmail-inject then I'd very much like a copy of your
script.  That'd be very useful.  Does the envelope header get stripped out
before delivered to a mailbox?

r.

-----Original Message-----
From: James J. Lippard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 14, 1999 10:16 PM
To: [EMAIL PROTECTED]
Subject: Re: masquerading against remote majordomo services don't work.

Most likely majordomo is looking at the envelope sender (what is sent
in the SMTP "MAIL FROM" command).  It can be set with the appropriate
arguments to qmail-inject; I've written a little script that I use to
send messages to mailing lists with different local email addresses
which I'd be happy to send you.





On Thu, 14 Oct 1999 22:23:38 -0700 in 
<[EMAIL PROTECTED]> "randyboy" 
<[EMAIL PROTECTED]> wrote:
> Oh, am I using qmail-inject?

If you're sending mail from the local host running qmail, then your
MUA is passing the outgoing mail to qmail-inject, possibly through
the qmail "sendmail" wrapper.  If your qmail is on a separate machine
than the one from which you're sending the mail, then I may be mistaken
in my diagnosis.

> I though that since I'm using tcpserver to call qmail-smtpd this is what
> happens.
> 
> tcpserver -> qmail-smtpd -> qmail-queue -> qmail-send -> qmail-rspawn ->
> qmail-remote

That's true for sending mail from a remote host.

> Well, if I am using qmail-inject then I'd very much like a copy of your
> script.  That'd be very useful.  Does the envelope header get stripped out
> before delivered to a mailbox?

The envelope "header" isn't really a header on the message; in a Unix
mailbox the envelope from field appears in the "From " header that's
the first line of the message.  Some MTAs put the envelope recipient into
the "Received:" fields (e.g. "received for <user@host>").

The envelope from field for qmail-inject can be set with the
environmental variables QMAILUSER and QMAILHOST, which you'll see in
the Perl script I'll send you.

Jim Lippard     [EMAIL PROTECTED]    http://www.discord.org/
Unsolicited bulk email charge:    $500/message.   Don't send me any.
PGP Fingerprint:  0C1F FE18 D311 1792 5EA8  43C8 7AD2 B485 DE75 841C




>If you're sending mail from the local host running qmail, then your
>MUA is passing the outgoing mail to qmail-inject, possibly through
>the qmail "sendmail" wrapper.  If your qmail is on a separate machine
>than the one from which you're sending the mail, then I may be mistaken
>in my diagnosis.

Yup, the MUA is on a completely different machine than the machine with
qmail.

>> I though that since I'm using tcpserver to call qmail-smtpd this is what
>> happens.
>>
>> tcpserver -> qmail-smtpd -> qmail-queue -> qmail-send -> qmail-rspawn ->
>> qmail-remote

>That's true for sending mail from a remote host.

Yup, my machine and the mail server are different nodes on the network.

Sorry I didn't make this clear the first time around.

So why would majordomo on remote hosts don't recognized my masqueraded
addresses?

r.

ps. thanx james





I made a small goof when setting a new mount point for /var/qmail. Can
anyone tell me what the default permissions of /var/qmail are? The
subdirectories are unchanged; it;s just /var/qmail that might have been
modified.

-- 
Todd A. Jacobs
Network Systems Engineer






I made a small goof when setting a new mount point for /var/qmail. Can
anyone tell me what the default permissions of /var/qmail are? The
subdirectories are unchanged; it;s just /var/qmail that might have been
modified.

-- 
Todd A. Jacobs
Network Systems Engineer






hello,

i have been using qmail for sometime and basically just forgot about it 
since it already works.  now some of our users are requesting if we can ban 
certain ppl from sending them email based on header information.  i don't 
want to do this on the global level since this is already being provided 
for by
'badmailfrom' but configurable on the user level.  each user has his own 
ban list.

has anyone done this and want to share his code?  or do i have to write 
something from scratch?   would it be a good idea just to throw the mail to 
the bit bucket or have it returned to sender?

any comment is welcome :)

-marlon




On Fri, Oct 15, 1999 at 04:05:36PM +0800, Marlon Anthony Abao wrote:

qmail-smtpd doesn't do header checks at all. Your best solution would be
to write procmail/maildrop filter files for these users, and either
bounce the message, or throw it away, after it is accepted into your
system.

If you're feeling brave, you might want to investigate Sam
Varshavchik's qmail-UCE patches, where he has added filtering
abilities to qmail-smtpd. However, this is not a trivial patch, so
use it at your own risk. Find the patch on www.qmail.org

> hello,
> 
> i have been using qmail for sometime and basically just forgot about it 
> since it already works.  now some of our users are requesting if we can ban 
> certain ppl from sending them email based on header information.  i don't 
> want to do this on the global level since this is already being provided 
> for by
> 'badmailfrom' but configurable on the user level.  each user has his own 
> ban list.
> 
> has anyone done this and want to share his code?  or do i have to write 
> something from scratch?   would it be a good idea just to throw the mail to 
> the bit bucket or have it returned to sender?
> 
> any comment is welcome :)
> 
> -marlon

-- 
See complete headers for more info


Reply via email to