qmail Digest 14 Jan 2000 11:00:01 -0000 Issue 880

Topics (messages 35413 through 35454):

ezmlm-idx-moderator
        35413 by: gerrit.ruesing.systemgut.com

Netscape and Sender: headers
        35414 by: Anand Buddhdev

pop3 and ip adres logging
        35415 by: Van Liedekerke Franky
        35416 by: Stefan Paletta
        35417 by: Van Liedekerke Franky
        35419 by: Stefan Paletta
        35420 by: Mikko H�nninen
        35425 by: Jim Zajkowski
        35426 by: iv0

Re: Problem in qmail-inject
        35418 by: Jose Pedro Pereira

Managing mailing lists
        35421 by: Martin Renner
        35422 by: Dave Sill

Last POP3 login date and time
        35423 by: Antonio Navarro Navarro
        35427 by: iv0

Problems compiling with AIX
        35424 by: Guillermo Villasana Cardoza
        35429 by: Guillermo Villasana Cardoza
        35454 by: Jos Backus

Solved Re: "localhost.localdomain" appears in return-path
        35428 by: tcollins.terencecollins.com

qmail, Maildir & FirstClass
        35430 by: Henrik �hman
        35436 by: Martin A. Brown

Re: SMTP status: 256?
        35431 by: Troy Morrison

Strange malfuntion when using ifconfig alias on FreeBSD
        35432 by: Ingmar Hupp
        35434 by: Soffen, Matthew

explanation of bare-newlines, yet again (was Re: SMTP status: 256?)
        35433 by: Scott Schwartz

Strange encoding problem
        35435 by: Ryan Christianson
        35438 by: Sam

Re: Question regarding rcpthosts mechanics
        35437 by: Gavin Cameron
        35441 by: Charles Cazabon

virtual subdomain problems (fwd)
        35439 by: Jonathan Miller

Adding Reply-To: to headers
        35440 by: Glenn Crownover

SMTP not working
        35442 by: Kevin Waterson

deleting from mail queue
        35443 by: Subba Rao
        35446 by: Racer X

MS Exchange Server and Subscribe Confirmation Problem
        35444 by: Paul Trippett

Mails Cannot be retrieved
        35445 by: john

how are sublists supposed to work?
        35447 by: Theodore Cekan

Re: New SMTP setup
        35448 by: Kevin Waterson
        35450 by: Anand Buddhdev
        35451 by: Kevin Waterson

Maildir setup
        35449 by: Kevin Waterson
        35452 by: Anand Buddhdev
        35453 by: Anand Buddhdev

Administrivia:

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

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

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

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


----------------------------------------------------------------------


Hi,

the commands described in the FAQ.idx failed:

/usr/local/bin/ezmlm/ezmlm-sub ~/list/mod user@host
/usr/local/bin/ezmlm/ezmlm-sub ~/list/digest user@host

when executed being the list-owner.
The error message is

ezmlm-sub: fatal: unable to write subscribers/Un: file does not exist

I thought ezmlm-sub should create that file?

/usr/local/bin/ezmlm/ezmlm-sub ~/list usr@host  works.
- Gerrit






I was looking at mailman yesterday, and I found a note in their
install notes about how some Netscapes are known to send messages with
Sender: headers containing unqualified addresses. This is the exact
problem that one of the list members was facing, but at that time I
didn't know for sure. Now I can't remember who it was, hence this post
to the list. Perhaps this new info will help them dump Netscape ;-)

-- 
See complete headers for more info




Hi,

does anybody know a quick hack to log the ip adres in a pop3 session without
setting tcpserver to verbose mode?

Franky




Van Liedekerke Franky wrote/schrieb/scribsit:
> does anybody know a quick hack to log the ip adres in a pop3 session without
> setting tcpserver to verbose mode?

# cat /var/qmail/bin/qmail-pop3d-log
#!/bin/sh
logger -p local2.info -t pop3d "$USER logged in from $TCPREMOTEIP [$TCPREMOTEHOST]"
exec /var/qmail/bin/qmail-pop3d $1
#


Stefan
 




This probably works, but I'm using tcpserver and multilog, so how can I
achieve this kind of logging using those tools?

Franky

> ----------
> From:         Stefan Paletta[SMTP:[EMAIL PROTECTED]]
> Sent:         Thursday, January 13, 2000 2:59 PM
> Cc:   'qmail list'
> Subject:      Re: pop3 and ip adres logging
> 
> Van Liedekerke Franky wrote/schrieb/scribsit:
> > does anybody know a quick hack to log the ip adres in a pop3 session
> without
> > setting tcpserver to verbose mode?
> 
> # cat /var/qmail/bin/qmail-pop3d-log
> #!/bin/sh
> logger -p local2.info -t pop3d "$USER logged in from $TCPREMOTEIP
> [$TCPREMOTEHOST]"
> exec /var/qmail/bin/qmail-pop3d $1
> #
> 
> 
> Stefan
>  
> 




Van Liedekerke Franky wrote/schrieb/scribsit:
> This probably works, but I'm using tcpserver and multilog, so how can I
> achieve this kind of logging using those tools?

Use 'echo "$USER logged in from $TCPREMOTEIP [$TCPREMOTEHOST]" >&2'
instead of the call to logger.

Stefan 
 
> > From:       Stefan Paletta[SMTP:[EMAIL PROTECTED]]
> > 
> > Van Liedekerke Franky wrote/schrieb/scribsit:
> > > does anybody know a quick hack to log the ip adres in a pop3 session
> > without
> > > setting tcpserver to verbose mode?
> > 
> > # cat /var/qmail/bin/qmail-pop3d-log
> > #!/bin/sh
> > logger -p local2.info -t pop3d "$USER logged in from $TCPREMOTEIP
> > [$TCPREMOTEHOST]"
> > exec /var/qmail/bin/qmail-pop3d $1
> > #





Van Liedekerke Franky <[EMAIL PROTECTED]> wrote on Thu, 13 Jan 2000:
> This probably works, but I'm using tcpserver and multilog, so how can I
> achieve this kind of logging using those tools?

I'm curious about this as well.  I'm still using inetd for POP, but I'm
planning to migrate over to tcpserver sometime.  Mostly, I'd like to
know how to log all of the POP connections, not just the successfully
authenticated ones.  In case someone tries to crack the passwords or
something like that.


Mikko
-- 
// Mikko H�nninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
If it weren't for the last minute, nothing would get done.




On Thu, Jan 13, 2000 at 03:19:53PM +0100, Stefan Paletta wrote:
} > This probably works, but I'm using tcpserver and multilog, so how can I
} 
} Use 'echo "$USER logged in from $TCPREMOTEIP [$TCPREMOTEHOST]" >&2'
} instead of the call to logger.

} > > # cat /var/qmail/bin/qmail-pop3d-log
} > > #!/bin/sh
} > > logger -p local2.info -t pop3d "$USER logged in from $TCPREMOTEIP
} > > [$TCPREMOTEHOST]"
} > > exec /var/qmail/bin/qmail-pop3d $1

I tried that, and, instead of getting the log message to the log, I'm
getting it in the pop-3 conversation (checked using telnet).

Here's my /var/run/qmail/pop3/run script:

 #!/bin/bash
 exec tcpserver -v -R -c10 0 pop-3 qmail-popup \
      wacko.jimz.net /bin/checkpassword qmail-pop3d-log Maildir \
      2>&1 | multilog t /var/log/pop3

and /var/qmail/bin/qmail-pop3d-log:

 #!/bin/sh
 echo "$USER logged in from $TCPREMOTEIP [$TCPREMOTEHOST]" >&2
 exec qmail-pop3d $1

Any ideas?

Thanks,

Jim

-- 
Jim






Stefan Paletta wrote:
> 
> Van Liedekerke Franky wrote/schrieb/scribsit:
> > does anybody know a quick hack to log the ip adres in a pop3 session without
> > setting tcpserver to verbose mode?
> 
> # cat /var/qmail/bin/qmail-pop3d-log
> #!/bin/sh
> logger -p local2.info -t pop3d "$USER logged in from $TCPREMOTEIP [$TCPREMOTEHOST]"
> exec /var/qmail/bin/qmail-pop3d $1
> #
> 
> Stefan
> 

The vpopmail vchkpw program does that.
http:/www.inter7.com/vpopmail

Ken Jones





Everything works just fine in my system, but I have this little problem:
when I try to do
% echo to: someuser | /var/qmail/bin/qmail-inject
it responds
qmail-inject to:: command not found

Then I tried 
% cat somefile | mail [EMAIL PROTECTED]
and it says
sendmail: unable to run qmail-inject

May you help me out with this problem???

Thanx 
JP







Hi.

We are using qmail to deploy mails for several thousands of mailing list. 
Each of these lists has between 1 and 12000 users.

We create the messages in an application and we set the "to"-field to the 
mailing list name, "from" to the name of the author of the mail. "reply-to" 
is being set to the name of the mailing list.

e.g. From:     Martin Renner <[EMAIL PROTECTED]>
      To:       [EMAIL PROTECTED]
      Reply-To: [EMAIL PROTECTED]

Now we have the problem that some replies of our users are going to 
"m.renner", some others go to "mailinglist". Is it possible that some email 
clients ignore the value of "reply-to" and that they always send to the 
"from"-address?

Another problem is, that the original author of the email (m.renner) is 
getting all the error mails from qmail ("failure notice", "This is the 
qmail-send program [...] could not deliver to the following 200 
addresses..."). We want that qmail (and all the other MTAs which qmail is 
contacting) will send their error messages to 
"[EMAIL PROTECTED]". How can we achieve this? Setting the 
"return-path" (as described in RFC822) is not working, because qmail (?) is 
replacing the "return-path" with the value from the "from"-address.

Martin




tiscon AG
Infosystems
_________________________________
Martin Renner
Lise-Meitner-Str. 15
D-89081 Ulm
Phone  +49 731 95448-0
Fax    +49 731 95448-901
email  mailto:[EMAIL PROTECTED]
WWW    http://www.tiscon.de





Martin Renner <[EMAIL PROTECTED]> wrote:

>e.g. From:     Martin Renner <[EMAIL PROTECTED]>
>      To:       [EMAIL PROTECTED]
>      Reply-To: [EMAIL PROTECTED]
>
>Now we have the problem that some replies of our users are going to 
>"m.renner", some others go to "mailinglist". Is it possible that some email 
>clients ignore the value of "reply-to" and that they always send to the 
>"from"-address?

Yes, that's likely. Most mailers respect Reply-To, but not all do.

>Another problem is, that the original author of the email (m.renner) is 
>getting all the error mails from qmail ("failure notice", "This is the 
>qmail-send program [...] could not deliver to the following 200 
>addresses..."). We want that qmail (and all the other MTAs which qmail is 
>contacting) will send their error messages to 
>"[EMAIL PROTECTED]". How can we achieve this? Setting the 
>"return-path" (as described in RFC822) is not working, because qmail (?) is 
>replacing the "return-path" with the value from the "from"-address.

Set the envelope return path, e.g., using qmail-inject:

  qmail-inject -f [EMAIL PROTECTED] mailinglist <msgfile

-Dave




Hi all !

How can I obtain the date and time of the last time a user checked his e-mail box ? (I 
use QMail + Vpopmail)

Regards,

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




Antonio Navarro Navarro wrote:
> 
> Hi all !
> 
> How can I obtain the date and time of the last time a user checked his e-mail box ? 
>(I use QMail + Vpopmail)
> 
> Regards,
> 
> Antonio Navarro Navarro
> BemarNet Management
> [EMAIL PROTECTED]
> http://www.bemarnet.es

Currently the only way would be to turn on all logging in vpopmail
and parse the log output. At least, that's the only way I can think of.

Ken Jones




Hello I am trying to compile qmail in an AIX 4.2.1 with gcc  but  it
stops and sends the following:

./load qmail-remote control.o constmap.o timeoutread.o  timeoutwrite.o t

imeoutconn.o tcpto.o now.o dns.o ip.o  ipalloc.o ipme.o quote.o ndelay.a
case.a
sig.a open.a  lock.a seek.a getln.a stralloc.a alloc.a substdio.a
error.a  str.a
 fs.a auto_qmail.o  `cat dns.lib` `cat socket.lib`
collect2: ld returned 8 exit status
ld: 0711-317 ERROR: Undefined symbol: __res_query
ld: 0711-317 ERROR: Undefined symbol: .__dn_expand
ld: 0711-317 ERROR: Undefined symbol: .__res_init
ld: 0711-317 ERROR: Undefined symbol: __res_search
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: The error code from the last command is 1.


Can somebody help me?





I've been trying serveral things with no success. I added -lresolv but I get
this message
collect2: ld returned 255 exit status
ld: 0706-006 Cannot find or open library file: -l resolv
        ld:open(): No such file or directory
make: The error code from the last command is 1.

If I redifine the symbols in dns.c then I get an error that the symbols are
already defiened... so I don't know which file is sending this problem...

Any ideas? help....

Guillermo Villasana Cardoza wrote:

> Hello I am trying to compile qmail in an AIX 4.2.1 with gcc  but  it
> stops and sends the following:
>
> ./load qmail-remote control.o constmap.o timeoutread.o  timeoutwrite.o t
>
> imeoutconn.o tcpto.o now.o dns.o ip.o  ipalloc.o ipme.o quote.o ndelay.a
> case.a
> sig.a open.a  lock.a seek.a getln.a stralloc.a alloc.a substdio.a
> error.a  str.a
>  fs.a auto_qmail.o  `cat dns.lib` `cat socket.lib`
> collect2: ld returned 8 exit status
> ld: 0711-317 ERROR: Undefined symbol: __res_query
> ld: 0711-317 ERROR: Undefined symbol: .__dn_expand
> ld: 0711-317 ERROR: Undefined symbol: .__res_init
> ld: 0711-317 ERROR: Undefined symbol: __res_search
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> make: The error code from the last command is 1.
>
> Can somebody help me?





On Thu, Jan 13, 2000 at 01:31:54PM -0800, Guillermo Villasana Cardoza wrote:
> ld: 0706-006 Cannot find or open library file: -l resolv
>         ld:open(): No such file or directory

AIX doesn't have libresolv.a.

> > ./load qmail-remote control.o constmap.o timeoutread.o  timeoutwrite.o t
> >
> > imeoutconn.o tcpto.o now.o dns.o ip.o  ipalloc.o ipme.o quote.o ndelay.a
> > case.a
> > sig.a open.a  lock.a seek.a getln.a stralloc.a alloc.a substdio.a
> > error.a  str.a
> >  fs.a auto_qmail.o  `cat dns.lib` `cat socket.lib`

What's in load, dns.lib and socket.lib?

> > collect2: ld returned 8 exit status
> > ld: 0711-317 ERROR: Undefined symbol: __res_query
> > ld: 0711-317 ERROR: Undefined symbol: .__dn_expand
> > ld: 0711-317 ERROR: Undefined symbol: .__res_init
> > ld: 0711-317 ERROR: Undefined symbol: __res_search

They live in libc:

libc.a
../../../../../../../src/bos/usr/ccs/lib/libc/res_query.c f          -
.res_query           T     372076
.res_querydomain     T     371004
res_query            D     181752      12
res_querydomain      D     181728      12

-- 
Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
[EMAIL PROTECTED]  _/_/  _/_/_/      use Std::Disclaimer;





The cause of the problem was that I had added the hostname to the
127.0.0.1 entry in /etc/hosts.  I guess on reverse lookup of the
hostname, /etc/hosts was used for some reason to reveal
localhost.localdomain.

A special thanks to Patrick Tudor who pointed me in this direction.

The cause of the second problem , it turns out, was non-qmail related,
but a DNS issue on the remote machine I was sending from.

A special thanks to Greg Haverkamp for this one.
 






Hi,
I'm facing an installation of FirstClass in our company, and while I've
been told that FC has an excellent mail service, I'd still like to use
our current qmail-server for recieving mail which FirstClass can then
retrieve from the mail server (perhaps through pop3.)

I don't know much about FirstClass, so I wonder if anyone here has any
experiences with integrating FC with qmail. If there is some better
method than using pop3, if there is a simple way to add new
FC-discussion groups automatically to the mail server or if I should let
everything that's being adressed to FC-discussion groups go through FC's
own mail server.

If so, please give me a (brief) explanation of your solution. (And mail
me directly if you consider this non-relevant and want to keep noise
away from the list.)

Thanks, Henrik.






Hi Henrik,

Haven't heard of FirstClass.  I'm going to presume that the client
machines (Windows?  Mac?  Does it matter?) run some sort of proprietary
FirstClass client software to talk to the server....as such, your qmail
machine is likely to be working only as an MX host, and/or outgoing mail
spool.

If FC accepts mail via SMTP, you can still use qmail in your solution any
number of ways.  If you wish to keep the FC server in a private
network, you can let the qmail box be the exposed machine.  It works
like this.

  + all mail is MX'd to qmail.gammadata.se
  + /var/qmail/control/smtproutes includes the following lines:
        gammadata.se:firewall.gammadata.se
        .gammadata.se:firewall.gammadata.se
  + now firewall.gammadata.se allows connections on port 25 from
        qmail.gammadata.se which are redirected to your FC server,
        which only accepts connections from qmail.gammadata.se (or the
        inside interface of your firewall depending on how the inbound
        redirection is accomplished).
  + all outbound mail can also be sent via SMTP to qmail.gammadata.se,
        and you can let it handle the domain lookups and so forth.
  + this will allow you maximum qmail control over the mail until you
        become accustomed to FC and how it works.

I'm sorry to hear that you are being required to move away from qmail.

Anyway, I'd be surprised if FC didn't support SMTP, so you should probably
let the two servers talk to each other with SMTP.  Then you don't have to
worry about POP3 transfer of mail....that would be a rather inelegant
solution (no offense intended).

If you don't have a firewall in the middle, I suppose it's going to be
considerably easier.

Best of luck,

-Martin

--
Martin A. Brown --- Wonderfrog Enterprises --- [EMAIL PROTECTED]

On Thu, 13 Jan 2000, Henrik [iso-8859-1] �hman wrote:

:
:Hi,
:I'm facing an installation of FirstClass in our company, and while I've
:been told that FC has an excellent mail service, I'd still like to use
:our current qmail-server for recieving mail which FirstClass can then
:retrieve from the mail server (perhaps through pop3.)
:
:I don't know much about FirstClass, so I wonder if anyone here has any
:experiences with integrating FC with qmail. If there is some better
:method than using pop3, if there is a simple way to add new
:FC-discussion groups automatically to the mail server or if I should let
:everything that's being adressed to FC-discussion groups go through FC's
:own mail server.
:
:If so, please give me a (brief) explanation of your solution. (And mail
:me directly if you consider this non-relevant and want to keep noise
:away from the list.)
:
:Thanks, Henrik.
:
:
:






I'm not an expert (or close to it) -- this may be slightly
incorrect.  It's just my understanding of what I've seen said on the list
(and seen in practice).

Qmail enforces the position that SMTP messages should not contain
bare-newlines at the end of the line, and that instead CRNL pairs should
be used.  (I'm not about to debate the correctness of this, I really don't
mind either way).

So, to fix my CGI scripts, I had to replace every \n with \r\n, and for
here-documents, I had to do:

print <<__END_DATA;
Subject: $subject\r
To: $to\r
\r
Hi!\r
.\r
__END_DATA

The extra '\r's made qmail happy.

I believe you can also work around this on the server side by getting the
"fixcr" program from the ucspi-tcp distribution and inserting it in the
qmail-smtp pipeline.

Troy

On Today, at 10:50am, Benjamin de los Angeles Jr. said:

| 
| What do you mean by stray newline?  Is it extra new line(s) i.e.
| send S,"HELO\n\n",0 ?
| 
| On Wed, 12 Jan 2000, Troy Morrison wrote:
| 
| > 
| > I would guess (since he got it from a CGI script trying to send mail via
| > SMTP) that qmail-smtpd saw a message with a stray newline.  (I used to get
| > this a lot when we switched over to qmail -- all of my CGI scripts that
| > send mail ran into it.)
| > 
| > You might look at
| > 
| > http://www.ornl.gov/its/archives/mailing-lists/qmail/1999/03/msg00866.html
| > 
| > (although I chose instead to fix the offending CGI scripts).
| > 
| > Troy
| > 
| > 
| 
| 





Hi,

I'm experiencing strange problems with qmail on my FreeBSD box when trying
to use IP aliases. qmail sends broken envelope-froms while aliasing is
active.

this is the state of the only NIC in my system:

de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 194.145.150.99 netmask 0xfffffff0 broadcast 194.145.150.111

Just a single adress on a single interface. qmail works fine. Then i add an
IP alias:

de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 194.145.150.99 netmask 0xfffffff0 broadcast 194.145.150.111
        inet 194.145.150.97 netmask 0xffffffff broadcast 194.145.150.97

After this, qmail breaks the envelope-from, which looks like this
(tcpdump'ed > = received; < = sent):

>220 lily.zomby.net ESMTP[CR]
<HELO mail.zomby.net[CR]
>250 lily.zomby.net[CR]
...everything ok so far. But now:
<MAIL 
FROM:<[\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00]>[CR]
>250 ok[CR]
...normal SMTP blabla continues

I think i've also seen strange control chars instead of this null-string
sometimes. It works perfect again if I remove the IP alias. It doesn't
matter wheter qmail is running or not while adding/removing the alias. So
how can I fix this? I didn't find anything about this in the mailing list
archive, but I can't believe I'm the only person using qmail on FreeBSD with
IP aliases. Or is FreeBSD broken here? I'd appreciate your help.

qmail version is 1.03 (FreeBSD ports one)
FreeBSD taurus.zomby.net 3.4-RC FreeBSD 3.4-RC #1

-- 
Ingmar






> -----Original Message-----
> From: Ingmar Hupp [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 13, 2000 3:43 PM
> To:   [EMAIL PROTECTED]
> Subject:      Strange malfuntion when using ifconfig alias on FreeBSD
> 
> Hi,
> 
> I'm experiencing strange problems with qmail on my FreeBSD box when trying
> to use IP aliases. qmail sends broken envelope-froms while aliasing is
> active.
> 
> this is the state of the only NIC in my system:
> 
> de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 194.145.150.99 netmask 0xfffffff0 broadcast 194.145.150.111
> 
> Just a single adress on a single interface. qmail works fine. Then i add
> an
> IP alias:
> 
> de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 194.145.150.99 netmask 0xfffffff0 broadcast 194.145.150.111
>         inet 194.145.150.97 netmask 0xffffffff broadcast 194.145.150.97
> 
        Hmmm....  this looks correct.  Do you have IP routing enabled on the
machine ?  Is the netmask correct ?

> After this, qmail breaks the envelope-from, which looks like this
> (tcpdump'ed > = received; < = sent):
> 
> >220 lily.zomby.net ESMTP[CR]
> <HELO mail.zomby.net[CR]
> >250 lily.zomby.net[CR]
> ...everything ok so far. But now:
> <MAIL
> FROM:<[\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\00][\0
> 0][\00][\00][\00][\00][\00][\00][\00]>[CR]
> >250 ok[CR]
> ...normal SMTP blabla continues
> 
> I think i've also seen strange control chars instead of this null-string
> sometimes. It works perfect again if I remove the IP alias. It doesn't
> matter wheter qmail is running or not while adding/removing the alias. So
> how can I fix this? I didn't find anything about this in the mailing list
> archive, but I can't believe I'm the only person using qmail on FreeBSD
> with
> IP aliases. Or is FreeBSD broken here? I'd appreciate your help.
> 
> qmail version is 1.03 (FreeBSD ports one)
> FreeBSD taurus.zomby.net 3.4-RC FreeBSD 3.4-RC #1
> 
> 
        I have the exact same versions running on my system (not from ports)
(machine with 2 IP's).. Heck ! this machine has 2 NIC Cards too !

        What type of NIC do you have ?  Are you running on TCP Server or
Inetd ?






Troy writes:
| Qmail enforces the position that SMTP messages should not contain
| bare-newlines at the end of the line, and that instead CRNL pairs should
| be used.  (I'm not about to debate the correctness of this, I really don't
| mind either way).

In SMTP, only "\r\n" delimits an SMTP NVT (network virtual terminal)
line.  This is non-negotiable.  Notice that single a perfectly
correct SMTP line can look like "abc \r def \n ghi \r\n"

This is quite different from what Unix (and Macintosh, and VM/CMS, etc)
thinks "lines" are.  Thus, sometimes buggy software tries to talk SMTP,
but only uses "\n" to delimit "lines", which SMTP then interprets as
yielding one long line with funny whitespace in the middle.

Qmail has two problems with that.  First, for example, the smtp
listener will time out waiting to see the end marker of the data.  It's
supposed to be "\r\n.\r\n", "\n.\n" doesn't count.  Second, qmail's
queue cannot correctly represent valid SMTP lines with "\n" in the
middle, because it stores them in Unix format, not SMTP NVT format.

Thus, qmail enforces the position that SMTP messages shouldn't contain
bare-newlines *anywhere*, even though this rejects certain valid SMTP
messages, in order to catch lots of serious non-qmail bugs, and to
avoid one obscure qmail bug.

| I believe you can also work around this on the server side by getting the
| "fixcr" program from the ucspi-tcp distribution and inserting it in the
| qmail-smtp pipeline.

No, fixcr is very buggy (see list archives).  Don't use it.





I'm having a strange problem with HTML messages sent from OutLook Express. If I send a HTML message to myself the message I receive a message with all = signs replaced with "=3D", newlines with = signs, and somtimes I get some =20's.
 
Has any one see this before? Any help would be great!
 
 
here is an example of the messed up message:
----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>jksldjk <STRONG>djsalkd sa dsad =
</STRONG>sad sad=20
</FONT></DIV></BODY></HTML>
----
A good message should look something like this:
---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>abc<STRONG>d</STRONG>efg</FONT></DIV></BODY></HTML>
cat dante35% cat ttt
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>abc<STRONG>d</STRONG>efg</FONT></DIV></BODY></HTML>
---
 




On Thu, 13 Jan 2000, Ryan Christianson wrote:

> I'm having a strange problem with HTML messages sent from OutLook
> Express. If I send a HTML message to myself the message I receive a
> message with all = signs replaced with "=3D", newlines with = signs,
> and somtimes I get some =20's.
> 
> Has any one see this before? Any help would be great!

This is a normal conversion from 8-bit mail to quoted-printable encoding.
The problem is either:

* Outhouse Excuse doesn't know how to either convert or generate quoted-
  printable encoded mail.

* Your mail software is not capable of properly displaying
  quoted-printable messages.

Look at the headers of this allegedly corrupted message, and look for
Mime-Version: and Content-Transfer-Encoding: headers in order to determine
which is the case.

--
Sam





Following on from my other message do I have to do have two lines in
smtproutes like

    example.com.au:1.2.3.4
    .example.com.au:1.2.3.4

or will a single line like

    example.com.au:1.2.3.4

suffice?

Thanks
Gavin

----- Original Message -----
From: Charles Cazabon <[EMAIL PROTECTED]>
To: Gavin Cameron <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, 12 January 2000 12:26
Subject: Re: Question regarding rcpthosts mechanics


> Gavin Cameron <[EMAIL PROTECTED]> wrote:
> >
> >  If I put an entry in rcpthosts like
> >
> >      example.com.au
> >
> >  That will let me accept E-mail for [EMAIL PROTECTED] That much I
know...
> > will it allow me to accept E-mail for mailto:[EMAIL PROTECTED]
>
> No.
>
> >  In much the same vein if I have a rcpthosts file like
> >
> >      .example.com.au
> >
> >  I can then accept E-mail for [EMAIL PROTECTED] But
can
> > I accept E-mail for [EMAIL PROTECTED] ???
>
> No.
>
> >  I'm looking for the best way to accept E-mail for a domain and any
> > subdomains and hosts in that domain/subdomain. At the moment I list both
> > example.com.au and .example.com.au in rcpthosts but there has to be a
better
> > way.
>
> The way you're doing it, with two entries, is correct.  There isn't a
> 'better way' with standard qmail.
>
> Charles
> --
> ----------------------------------------------------
> Charles Cazabon         <[EMAIL PROTECTED]>
> Any opinions expressed are just that -- my opinions.
> ----------------------------------------------------
>





Gavin Cameron <[EMAIL PROTECTED]> wrote:
> Following on from my other message do I have to do have two lines in
> smtproutes like
> 
>     example.com.au:1.2.3.4
>     .example.com.au:1.2.3.4

Yes.

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




I know this is going to end up being a DNS problem, but I just can't
figure it out. I've got 3 addresses I'm dealing with:

sparky.srcars.net (local)
showsol.com       (virtual)
incoming.showsol.com (virtual)

Now for some reason when I send email to [EMAIL PROTECTED] it
delievers it to [EMAIL PROTECTED] I've set up DNS as follows:

incoming.showsol.com:
@               IN      SOA     incoming.showsol.com. admin.srcars.net. (
                                2000011303 ; serial (yyyymmddxx)
                                10800    ; refresh
                                3600     ; retry
                                604800   ; expire
                                86400)   ; minimum
;############      Name Servers      ###########
        IN      NS      ns1.srcars.net.
        IN      NS      ns2.srcars.net.
;############      Mail Exchanges    ###########
        IN  MX  10 speedy.srcars.net.
;############      Addresses         ###########
                IN       A      209.197.206.74

showsol.com

@               IN      SOA     showsol.com. admin.srcars.net. (
                                2000011304 ; serial (yyyymmddxx)
                                10800    ; refresh
                                3600     ; retry
                                604800   ; expire
                                86400)   ; minimum
;############      Name Servers      ###########
        IN      NS      ns1.srcars.net.
        IN      NS      ns2.srcars.net.
;############      Mail Exchanges    ###########
        IN  MX  10  speedy.srcars.net.

Here's my virtualdomains file:

incoming.showsol.com:incoming
showsol.com:showsol

and the rcpthosts:

speedy.srcars.net
incoming.showsol.com
showsol.com

Any ideas what I've done wrong?







I've set up a simple mail list which works fine.  But I'd like
recipients to be able to simply hit REPLY and have the message go to the
list as opposed to the original sender.  I think the answer is to add a
REPLY-TO: header field, but I've had no luck getting qmail-inject to ADD
a header line.  Any advice?

TIA!

--
�.��.���`�. Glenn R. Crownover
�.��.���`�. Owner/CEO - Investor's Network Cafe
�.��.���`�. http://www.bluejava.com/inc/
�.��.���`�. reply to: [EMAIL PROTECTED]






I have a fresh install of qmail and wish to run SMTP and POP on seperate
machines
Currently I have qmail active on smtp but it does not seem to be
delivering the Mail
to the Maildirs. I have editted everything I could find to say ./Maildir/
instead of mailbox.

When a mail is sent /var/log/qmail-smtp gives a message
947813893.747750 tcpserver: status: 1/40
947813893.751138 tcpserver: pid 5625 from 192.168.0.9
947813893.770585 tcpserver: ok 5625 :192.168.0.3:25
:192.168.0.9:kevin:1042
947813893.812094 tcpserver: end 5625 status 0
947813893.812132 tcpserver: status: 0/40

but the mail does not appear in the users Maildir/new?

Kevin






I have deleted a mail that was in the queue, since the domain name could
not be resolved. nslookup too could not resolve the domain name. So I decided
to delete the mail from the queue. I deleted the file number from /var/qmail/queue
subdirectories. Now, I find the following message in the syslog.

Jan 13 21:31:37 myhost qmail: 947817097.783376 warning: trouble opening 
remote/7/821705; will try again later
Jan 13 21:33:41 myhost qmail: 947817221.783378 warning: trouble opening 
remote/7/821705; will try again later

What else needs to be done to stop this message? For future deletions, what is the
recommended way to delete a mail from the queue?

Thank you in advance.

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com




----- Original Message -----
From: Subba Rao <[EMAIL PROTECTED]>
To: Qmail Users <[EMAIL PROTECTED]>
Sent: Thu 13 Jan 2000 18.47
Subject: deleting from mail queue


> I have deleted a mail that was in the queue, since the domain name could
> not be resolved. nslookup too could not resolve the domain name. So I
decided
> to delete the mail from the queue. I deleted the file number from
/var/qmail/queue
> subdirectories. Now, I find the following message in the syslog.

If the domain name is permanently unresolvable, qmail will eventually time
out the mail and return it to the sender.  I'm going to guess that there's
some good reason you found it necessary to hurry up the process, but in
general I'd let qmail do the work by itself.

> Jan 13 21:31:37 myhost qmail: 947817097.783376 warning: trouble opening
remote/7/821705; will try again later
> Jan 13 21:33:41 myhost qmail: 947817221.783378 warning: trouble opening
remote/7/821705; will try again later
>
> What else needs to be done to stop this message? For future deletions,
what is the
> recommended way to delete a mail from the queue?

There are a number of ways to do it.  One of the easiest is to get the
qmHandle tool from www.qmail.org.  One thing to note is that qmail-send
should not be running if you're going to monkey with the queue.

In the particular situation you noted above, if you have a lot of mail for
this domain, you can get rid of it quick:

echo baddomain.com:alias-bitbucket >> /var/qmail/control/virtualdomains
echo /dev/null > ~alias/.qmail-bitbucket
kill -HUP `pidof qmail-send`
kill -ALRM `pidof qmail-send`
(wait for queue to clear out)
(remove baddomain.com entry from virtualdomains)
kill -HUP `pidof qmail-send`

shag
=====
Judd Bourgeois        |   CNM Network      +1 (805) 520-7170
Software Architect    |   1900 Los Angeles Avenue, 2nd Floor
[EMAIL PROTECTED]   |   Simi Valley, CA 93065

Quidquid latine dictum sit, altum viditur.







Hi,

Here at work all my outbound from my NTWorkstation goes via our exchange
server. I recently tried to subscibe to the qmail mailing list and got a
rather funny error message back when i send off the confirmation. Attached
is a copy of the error i recieved back: -

-------------------------------------------------------
Hi. This is the qmail-send program at muncher.math.uic.edu.
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]>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 25066 invoked from network); 14 Jan 2000 02:54:20 -0000
Received: from unknown (HELO ACLMain.ACLWeb.com) (212.2.2.14)
  by muncher.math.uic.edu with SMTP; 14 Jan 2000 02:54:20 -0000
Received: by ACLMain with Internet Mail Service (5.5.2650.21)
        id <CW1PFV86>; Fri, 14 Jan 2000 02:46:43 -0000
Message-ID: <C02A12A6945CD311B520006097BCB795066EF3@ACLMain>
From: Paul Trippett <[EMAIL PROTECTED]>
To: "'qmail-sc.947817512.nbkdajbpnninmgakoggb-pault='"
         <[EMAIL PROTECTED]>
Subject: 
Date: Fri, 14 Jan 2000 02:46:37 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
        charset="iso-8859-1"

--------------------------------------------

The above message is wierd. exchange server has seen the '=' and thinks that
the following text after that is the name

Although this is an exchange problem, has anybody come across it or knows a
way round it?

Thanks

Paul Trippett




I have set up Qmail Server with Vpopmail and Qmail admin and my Mail Server
is running fine. I have created virtual domains using Qmailadmin. I see that
mails are also coming into the directories of  my virtual domain. But I am
unable to retrieve the mails from my virtual domain maildirectory. Could any
expert help me out on this. My MX records are fine pointing to this mail
server.

Thanks & Regards
John






I have setup sublists, but they wont accept messages because the list
address is not in the To or Cc field.  How is this supposed to work?

Thanks,

Ted





I have now installed qmail to run as smtp using the following commands
rpm -e exmh
rpm -e nmh
rpm -e mutt
rpm -e fetchmail
rpm -e sendmail --nodeps
rpm -Uvh functions-*.i386.rpm
rpm -Uvh daemontools-*.i386.rpm
rpm -Uvh ucspi-tcp-*.i386.rpm
rpm --rebuild qmail-1.03-102memphis.src.rpm
rpm -Uvh /usr/src/redhat/RPMS/i386/qmail-1.03-102memphis.i386.rpm
rpm -Uvh qmail-run-4-4.i386.rpm
rpm -Uvh qmailanalog-*.i386.rpm
rpm -Uvh tcpserver-initscripts-*.i386.rpm
rpm -Uvh checkpassword-0.81-2.i386.rpm
reboot

ps aux shows
qmaill     368  0.0  0.6  1084  340 ?        S    18:32   0:00 cyclog -s
1000000
qmails     371  0.0  0.6  1120  380 ?        S    18:32   0:00 qmail-send
qmaill     391  0.0  0.5  1068  300 ?        S    18:32   0:00 accustamp
qmaill     392  0.0  0.6  1084  340 ?        S    18:32   0:00 cyclog -s
1000000
qmaild     394  0.0  0.8  1196  488 ?        S    18:32   0:00 tcpserver
-v -c40
qmaill     405  0.0  0.5  1068  304 ?        S    18:32   0:00 accustamp
qmail
root       406  0.0  0.5  1088  324 ?        S    18:32   0:00
qmail-lspawn ./Ma
qmailr     407  0.0  0.5  1088  324 ?        S    18:32   0:00
qmail-rspawn
qmailq     408  0.0  0.6  1080  340 ?        S    18:32   0:00 qmail-clean

Why does qmail-smtpd not show?

Kind regards

Kevin





On Fri, Jan 14, 2000 at 05:50:29PM +1100, Kevin Waterson wrote:
  
> ps aux shows
> qmaill     368  0.0  0.6  1084  340 ?        S    18:32   0:00 cyclog -s
> 1000000
> qmails     371  0.0  0.6  1120  380 ?        S    18:32   0:00 qmail-send
> qmaill     391  0.0  0.5  1068  300 ?        S    18:32   0:00 accustamp
> qmaill     392  0.0  0.6  1084  340 ?        S    18:32   0:00 cyclog -s
> 1000000
> qmaild     394  0.0  0.8  1196  488 ?        S    18:32   0:00 tcpserver
> -v -c40
> qmaill     405  0.0  0.5  1068  304 ?        S    18:32   0:00 accustamp
> qmail
> root       406  0.0  0.5  1088  324 ?        S    18:32   0:00
> qmail-lspawn ./Ma
> qmailr     407  0.0  0.5  1088  324 ?        S    18:32   0:00
> qmail-rspawn
> qmailq     408  0.0  0.6  1080  340 ?        S    18:32   0:00 qmail-clean
> 
> Why does qmail-smtpd not show?

qmail-smtpd is launched by tcpserver for each incoming connection.
>From another window, do "telnet localhost 25", then come back to this
window and do your ps aux again.

-- 
See complete headers for more info




Anand Buddhdev wrote:

>
> qmail-smtpd is launched by tcpserver for each incoming connection.
>

as was my thinking.
thank you for your concise and promt reply

Kevin






In the qmail/doc/INSTALL.maildir it says to edit /var/qmail/rc
and replace ./Mailbox with ./Maildir/
and "by creating a maildir in the new-user template directory"
Where is this directory?

Kind regards
Kevin





On Fri, Jan 14, 2000 at 05:54:51PM +1100, Kevin Waterson wrote:

> In the qmail/doc/INSTALL.maildir it says to edit /var/qmail/rc
> and replace ./Mailbox with ./Maildir/
> and "by creating a maildir in the new-user template directory"
> Where is this directory?

It's usually /usr/share/skel or /etc/skel. See your system's
useradd/adduser or equivalent command for more info on how it gets used.

-- 
See complete headers for more info




On Fri, Jan 14, 2000 at 05:54:51PM +1100, Kevin Waterson wrote:

I noticed something weird in your headers:

> Received: (qmail 7501 invoked by uid 1002); 14 Jan 2000 07:47:54 -0000
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> Delivered-To: mailing list [EMAIL PROTECTED]
> Received: (qmail 23641 invoked from network); 14 Jan 2000 07:47:53 -0000
> Received: from ns1.oceania.net (203.41.132.65)
>   by muncher.math.uic.edu with SMTP; 14 Jan 2000 07:47:53 -0000
> Received: (qmail 30297 invoked from network); 14 Jan 2000 07:47:07 -0000
> Received: from unknown (HELO oceania.net) (@203.41.132.67)
                                            ^^^^^^^^^^^^^^^^

Normally, qmail-smtpd records the IP address of the client in that
field. Why does yours have an '@' in it? I'm supposing that it's either
a modified qmail, or there's some sort of bug somewhere in your system.
Might be worth a look at.

-- 
See complete headers for more info


Reply via email to