qmail Digest 23 Feb 2000 11:00:01 -0000 Issue 920

Topics (messages 37565 through 37598):

Problem with failed remote SMTP connections
        37565 by: Fred Backman
        37566 by: Frank Tegtmeyer
        37567 by: Russell Nelson
        37568 by: Fred Backman
        37569 by: Russell Nelson
        37570 by: Fred Backman
        37579 by: Rogerio Brito

Redirecting Mail
        37571 by: Jeff Russell, AIT
        37572 by: Magnus Bodin

buggy interaction with VisualMail
        37573 by: Dave Kitabjian
        37575 by: Uwe Ohse

Re: How to know how to display a email...
        37574 by: Paul Jarc
        37581 by: Sam
        37582 by: Guillermo Villasana Cardoza
        37585 by: Scott Schwartz
        37587 by: Sam
        37589 by: Magnus Bodin

un-subscribe
        37576 by: hongtao

reiserfs
        37577 by: David L. Nicol
        37580 by: Gregory Conron

Large queues (was: Re: Problem with failed remote SMTP connections)
        37578 by: Rogerio Brito

strangeness with qmail-smtpd
        37583 by: Ben Houston
        37593 by: Anand Buddhdev

Where does the bounce mail reside
        37584 by: john
        37586 by: brianb-qmail.technet.evoserve.com

help please
        37588 by: kailash oswal

Any tool for mbox to Maildir conversion?
        37590 by: Andrzej Szydlo
        37592 by: Magnus Bodin

setting concurrencyremote/local and tcpserver -c
        37591 by: mack.ms1.hinet.net

databytes file?
        37594 by: TAG
        37595 by: petervd.vuurwerk.nl
        37596 by: TAG
        37597 by: petervd.vuurwerk.nl

New qmail-MySQL patches
        37598 by: Iain Patterson

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]


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


Our queue is growing due to failed smtp connections. There are two main reasons:
(1) there is an smtp server but it's refusing us to connect to it, and (2) the
domain has no smtp server to connect to. See below for examples. The queue keeps
growing and syslog is reporting a  lot of
"Sorry,_I_wasn't_able_to_establish_an_SMTP_connection."

Can anyone please advice what to do?

Thanks,
Fred


telnet po.netnet.com.sg 25  -- fails
telnet mail.teen-mail.com 25  -- fails


# nslookup -type=MX lists.hearme.com
Server:  dns1.telia.com
Address:  194.22.190.10

hearme.com
        origin = hearme.com
        mail addr = hostmaster.hearme.com
        serial = 2000021800
        refresh = 3600 (1 hour)
        retry   = 900 (15 mins)
        expire  = 864000 (10 days)
        minimum ttl = 900 (15 mins)
# nslookup -type=MX server.snap.com
Server:  dns1.telia.com
Address:  194.22.190.10

Authoritative answers can be found from:
snap.com
        origin = sv-ns1.snap.com
        mail addr = hostmaster.snap.com
        serial = 2000022103
        refresh = 900 (15 mins)
        retry   = 600 (10 mins)
        expire  = 2592000 (30 days)
        minimum ttl = 900 (15 mins)





> Can anyone please advice what to do?

Sometimes I look for an alternative host in this domain or the parent 
domain that accepts the mails - then I establish an entry in smtproutes.

Some annoying newsletters that don't accept bounces or are not reachable I 
block via badmailfrom (if the bounces are the problem).

It all depends on your policy. You also could simply wait until the mails 
bounce. Often the problem goes away after hours or days.

Regards, Frank




Fred Backman writes:
 > Our queue is growing due to failed smtp connections.

So?  This is not, in itself, a problem.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.




Russell Nelson wrote:

> Fred Backman writes:
>  > Our queue is growing due to failed smtp connections.
>
> So?  This is not, in itself, a problem.

Tell my managers :-)

I agree, it's just that the delivery of emails is already getting delayed
by hours just because of these failed connections. It's mainly bounces
from mailing lists.





Fred Backman writes:
 > Russell Nelson wrote:
 > 
 > > Fred Backman writes:
 > >  > Our queue is growing due to failed smtp connections.
 > >
 > > So?  This is not, in itself, a problem.
 > 
 > Tell my managers :-)

Okay: a growing queue is not a problem in and of itself.  qmail deals
very nicely with a large queue.  If you handle such a volume of mail
that the queue is usually large (<25K separate messages), then you
should change conf-split, recompile, and reinstall to /var/qmail2.

 > I agree, it's just that the delivery of emails is already getting delayed
 > by hours just because of these failed connections. It's mainly bounces
 > from mailing lists.

If mail is not being delivered obviously something is wrong.  It's
sufficient for you to verify that the problem is not on your end,
unless you're really into sysadmining other people's machines for
them just because you have mail to be delivered to users there.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | "Ask not what your country
521 Pleasant Valley Rd. | +1 315 268 1925 voice | can force other people to
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | do for you..."  -Perry M.




Russell Nelson wrote:

> If mail is not being delivered obviously something is wrong.  It's
> sufficient for you to verify that the problem is not on your end,
> unless you're really into sysadmining other people's machines for
> them just because you have mail to be delivered to users there.

Mail is being delivered fine locally, but kind of struggling remotely
due to a large amount of bogus/unconfigured remote domains.

We have about 10K messages in the queue now, where qmail is
failing to deliver to remote domains such as these three (to mention
just a few, I can give you many many more domains). The problem
with these are missing MX records:

163.com
amanda.elsitio.com
21f.com

The second problem is SMTP servers which are down, such as this
one (again I can give you a list of many such servers):

rexx.riskymail.com








On Feb 22 2000, Fred Backman wrote:
> The second problem is SMTP servers which are down, such as this
> one (again I can give you a list of many such servers):
> 
> rexx.riskymail.com

        Which shows that they've appropriately chosen their domain
        name.  :-)


        []s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
     Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Hello everyone.
 
We are presenlty looking for a way to redirect incoming mail to a second mail server were implementing.  We need to do this on a per user basis. 
 
Is there anyone out there who has done this before?  If so, we would appreciate the help.
 
Thanks
Jeff




On Tue, Feb 22, 2000 at 11:19:38AM -0500, Jeff Russell, AIT wrote:
> Hello everyone.
> 
> We are presenlty looking for a way to redirect incoming mail to a second mail server 
>were implementing.  We need to do this on a per user basis.  
> 
> Is there anyone out there who has done this before?  If so, we would appreciate the 
>help.

See my cookbook for different domain handling issues. 
There are several scenarios there. 

http://x42.com/qmail/cookbook/domains/

/magnus

-- 
http://x42.com/




VM is a web-based email client:

        http://www.mintersoft.com/products/visualmail/index.html

It works fine when using sendmail as the SMTP server. And, of course, qmail 
works fine apart from VM.

But when using qmail as the smtp server for VM, AND subsequently reading 
the mail in VM, there are two problems:

1) Date corruption

2) Missing messages

I've approached mintersoft regarding this, but I'm not optimistic that they 
will be both willing and able to fix it. So, I'm looking for workarounds.

I'm assuming that the date problem is caused either by qmail using GMT or 
else by VM possibly neglecting to add the "Date:" header. What's the best 
way to pin down the cause of the ploblem, and then how to fix it?

Regarding Missing Messages, I'm wondering if this is caused by the date 
problem (above), or perhaps by VM neglecting to add a Message-Id header. 
Again, what's the best way to pin down the cause of the ploblem, and then 
how to fix it? Is it to reroute through qmail-inject, as per:

        http://cr.yp.to/qmail/faq/servers.html#network-rewriting

?

Thanks, folks.

Dave

__________________________________________

NOTES:

>From qmail-header:

STAMPS
       Every message must contain a Date field, with the date  in
       a  strict  format defined by RFC 822.  If necessary qmail-
       inject creates a new Date field with the current date  (in
       GMT).

       Every  message  should  contain  a  Message-Id field.  The
       field contents are a unique worldwide identifier for  this
       message.  If necessary qmail-inject creates a new Message-
       Id field.

>From the archive:

...Yes, but queueing it with datemail will create a Date: field using the
 local timezone.

 - Harald
                  




On Tue, Feb 22, 2000 at 12:33:59PM -0500, Dave Kitabjian wrote:
 
> But when using qmail as the smtp server for VM, AND subsequently reading 
> the mail in VM, there are two problems:

you mean 
        VM -> qmail-smtpd -> qmail -> qmail-pop3d -> VM
?

> 1) Date corruption

example?

 
> 2) Missing messages

any sign of problems in the log files?
You might want to use recordio from the ucspi-tcp package.
Is the message loss reproducible?

> Regarding Missing Messages, I'm wondering if this is caused by the date 
> problem (above), or perhaps by VM neglecting to add a Message-Id header. 

Well, qmail doesn't care. 

Regards, Uwe




Michael Boman writes:
> Situation:
> Users send and recive emails in English, Chinese and Japanise etc.
> 
> Problem:
> The problem is how to generate the correct Content-type header on
> HTML pages.

Why not just copy the Content-Type header that's in the email itself?


paul




On Tue, 22 Feb 2000, Paul Jarc wrote:

> Michael Boman writes:
> > Situation:
> > Users send and recive emails in English, Chinese and Japanise etc.
> > 
> > Problem:
> > The problem is how to generate the correct Content-type header on
> > HTML pages.
> 
> Why not just copy the Content-Type header that's in the email itself?

Because that may not match the character set used to display the rest of
the page.

The real problem here is that currently there is no way in HTML to have
multiple character sets on the same page.

--
Sam







> Sorry I didn't post it to the list.

> I have a similar problem... I have the following header sent by qmail:
>
> Message-ID: <md5:6B8A543C583EF4E4EA4B75C64132BCD6>
> Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Received: (qmail 16494 invoked from network); 21 Feb 2000 19:56:52 -0000
> Received: from customer-38-158-14.uninet.net.mx (HELO ines.mati.net.mx)
> (200.38.158.14)
>   by ns.mati.net.mx with SMTP; 21 Feb 2000 19:56:52 -0000
> From: INTRANET <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Alta de servicios
> Date: Mon, 21 Feb 2000 14:00:06
> MIME-Version: 1.0                          <---------- I added this line
> to tell qmail it was HTML
> Content-Type: text/html                    <---------- I added this line
> to tell qmail it was HTML
> Content-Transfer-Encoding: 7bit       <---------- I added this line to
> tell qmail it was HTML
>
> but nothing gets printed in the body section of the mail...
>
> And qmail adds this lines at the end of the  HTML
>
> X-Mozilla-Status: 0000
> X-Mozilla-Status2: 00000000
> X-UIDL: 951163018.8580.ns
>
> Paul Jarc wrote:
>
> > Michael Boman writes:
> > > Situation:
> > > Users send and recive emails in English, Chinese and Japanise etc.
> > >
> > > Problem:
> > > The problem is how to generate the correct Content-type header on
> > > HTML pages.
> >
> > Why not just copy the Content-Type header that's in the email itself?
> >
> > paul





> The real problem here is that currently there is no way in HTML to have
> multiple character sets on the same page.

Hence unicode.





On 23 Feb 2000, Scott Schwartz wrote:

> > The real problem here is that currently there is no way in HTML to have
> > multiple character sets on the same page.
> 
> Hence unicode.

Thanks.  I estimate that some time in May 2001 I'll have some free time to
learn how to grok unicode.

--
Sam





On Wed, Feb 23, 2000 at 12:30:17AM -0500, Sam wrote:
> On 23 Feb 2000, Scott Schwartz wrote:
> 
> > > The real problem here is that currently there is no way in HTML to have
> > > multiple character sets on the same page.
> > 
> > Hence unicode.
> 
> Thanks.  I estimate that some time in May 2001 I'll have some free time to
> learn how to grok unicode.


If you get some spare jiffies before, take a look at my favourite charset
mentor: http://czyborra.com/

regards, 

    /magnus

-- 
http://x42.com/




 
 
 
 
 
---------------------------------------------------------------------
Get your free pop3 email at www.nie-go.com. And
* Studying and playing Go online to improve your thinking ability.
* Living, working, learning and making money in virtual online world.
---------------------------------------------------------------------

 




 

Anyone have any reiserfs stories?  


___________________________________________________________________
                           David Nicol 816.235.1187 [EMAIL PROTECTED]
                                   e is one key to the right from w




On Tue, 22 Feb 2000, David L. Nicol wrote:
> Anyone have any reiserfs stories?  

Reiserfs and Ext3fs walk into a bar....
--
Gregory Conron
[EMAIL PROTECTED] - email
(902) 443-4562 - voicemail




On Feb 22 2000, Russell Nelson wrote:
> Okay: a growing queue is not a problem in and of itself.  qmail deals
> very nicely with a large queue.

        Yes. The problem might be the time spent in the kernel part of
        the filesystem code.

> If you handle such a volume of mail that the queue is usually large
> (<25K separate messages), then you should change conf-split,
> recompile, and reinstall to /var/qmail2.

        I don't know what is the operating system in question (if it
        was mentioned, I'm sorry), but reiserfs could also help...


        []s, Roger...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogerio Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
     Nectar homepage: http://www.linux.ime.usp.br/~rbrito/opeth/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




We're having a really strange problem with qmail-smtpd. We're running it
with tcpserver so we can allow selective relaying, which works beautifully.

One of our users, however, cannot seem to connect to our mail machine via
smtp, at least, he can't connect from one particular program. He uses
Netscape mail, so I know smtp is working from his machine (ie, it's not a
relaying issue), but from this particular database program, he gets an error
every time he attempts to send to/through our server. Sending to a user at
another location (using that same location's smtp server) works fine.

I think there's a problem with the software he's using... could it be the
Bare LF problem? I know I haven't been able to supply much information here,
but that's because I can't seem to find log entries (apparently qmail-smtpd
doesn't have any), and I'm not sure how to continue. Any similar experiences
or suggestions for a course of action? Thanks for your help...

-ben houston





On Tue, Feb 22, 2000 at 05:06:00PM -0800, Ben Houston wrote:

> I think there's a problem with the software he's using... could it be the
> Bare LF problem? I know I haven't been able to supply much information here,
> but that's because I can't seem to find log entries (apparently qmail-smtpd
> doesn't have any), and I'm not sure how to continue. Any similar experiences
> or suggestions for a course of action? Thanks for your help...

You can use recordio from the ucspi-tcp package to record the entire
conversation from that database application. Then you'll know if it's a
bare LF problem or something else.

-- 
See complete headers for more info




Hi,
 
I would like to know where the bounced mails reside when I send it to the wrong address in Qmail using Vpopmail.
 
Could anyone let me know which directory the mail goes to when bounced.
 
Thanks
John




On Wed, 23 Feb 2000, john wrote:

> Hi,
> 
> I would like to know where the bounced mails reside when I send it to the wrong 
>address in Qmail using Vpopmail.
> 
> Could anyone let me know which directory the mail goes to when bounced.

The default vpopmail installation does not bounce mail back to the
sender if he tries to send to a non-existent user. Instead, the mail goes
to the postmaster account. 

To change this, you should edit your 
~vpopmail/domains/<domain>/.qmail-default file, and put bounce-no-mailbox
instead of the postmaster directory as a parameter to vdelivermail.

HTH,
Brian
--
[EMAIL PROTECTED]
http://www.baquiran.com
AIM: bbaquiran





Hello there

Accidently I have deleted one of my users home directory,now when I am 
trying to add it by linuxconf it is not accepting.Manually when I edit 
username/.qmail and type ./Maildir it does not accept it....how should I add 
the user to qmail...please write.

regards

kailash
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com





Hi,

I'd like to migreate form mbox to Maildir format.
Is there any conversion tool available?

Thanks,

Andrzej





On Wed, Feb 23, 2000 at 08:48:52AM +0100, Andrzej Szydlo wrote:
> Hi,
> 
> I'd like to migreate form mbox to Maildir format.
> Is there any conversion tool available?

http://www.qmail.org/mbox2maildir

/magnus

-- 
http://x42.com/




Hi there,

I am a qmail newbie so please correct me if I am wrong.

I am running qmail-1.03 with the default settings of

tcpserver -c 40 ( for smtp connections )
concurrencylocal 10
concurrencyremote 20

When I checked the logfile, I found there are a lot of
"status: local 10/10", "status: remote 20/20". and also
many "tcpserver: status: 40/40" messages.

My guess is it means that there are always many mails waiting for
qmail-local and qmail-remote and many smtp requests waiting for
connections. Am I right ?
I understand there is no single optimal setting for
all machines but am wondering if there is any good way to find the
right setting for my server.

Any idea ?

BTW, I'm runing it on a SPARC box w/Solaris 2.6.

Thanks in advance !

---------
W.H.Li




HI ALL,

Sorry me again :)

Can someone assist me in setting the databytes file so that it uses
different values for different IP addresses??

Thanks in advance
Tonino




On Wed, Feb 23, 2000 at 11:47:37AM +0200, TAG wrote:
> HI ALL,
> 
> Sorry me again :)
> 
> Can someone assist me in setting the databytes file so that it uses
> different values for different IP addresses??

You can set the DATABYTES variable from tcpserver, just like RELAYCLIENT.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




Hi,

OK - this means that I can add a line as follows into /etc/tcp.smtp :

192.168.1.:allow,DATA-INTERNAL=""

and have a control/data-internal file with the databytes limit set??

Please advise
Tonino

[EMAIL PROTECTED] wrote:
> 
> On Wed, Feb 23, 2000 at 11:47:37AM +0200, TAG wrote:
> > HI ALL,
> >
> > Sorry me again :)
> >
> > Can someone assist me in setting the databytes file so that it uses
> > different values for different IP addresses??
> 
> You can set the DATABYTES variable from tcpserver, just like RELAYCLIENT.
> 
> Greetz, Peter.
> --
> Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder
> |
> | 'C makes it easy to shoot yourself in the foot;
> |  C++ makes it harder, but when you do it blows your whole leg off.'
> |                             Bjarne Stroustrup, Inventor of C++




On Wed, Feb 23, 2000 at 12:46:44PM +0200, TAG wrote:
> Hi,
> 
> OK - this means that I can add a line as follows into /etc/tcp.smtp :
> 
> 192.168.1.:allow,DATA-INTERNAL=""
> 
> and have a control/data-internal file with the databytes limit set??

No.

Instead, try:

192.168.1.:allow,DATABYTES="1048576"

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




  Expanding on the work of the infamous [EMAIL PROTECTED] 
(infamous, that is, because no-one knows his real name :), I have 
come up with a set of patches to qmail and checkpassword that let 
you have virtual POP3 users in a MySQL database.  For more details 
hop over to http://iain.cx/unix/qmail/mysql.php, just don't mention 
the invisible menus and headings - I'm having a problem with libttf.

-- blurb follows --
  Why would you want to use my patches over takeshi's?  Because 
you can do more stuff.  Everything that qmail and checkpassword do 
that's related to local mail delivery can be stored in the database.  
This means virtual domains (rewriting [EMAIL PROTECTED] to 
[EMAIL PROTECTED]), receipt hosts (rcpthosts table complements 
control/rcpthosts), .qmail aliases (associating alias-root 
with the virtual user "mail4root"), mail(dir|box) ownership 
(qmail-getpw bigcompany-sales returns 
bigcompany\0800\0100\0/popmail/bigcompany\0-\0sales\0) and POP3 
authentication (bigcompany can read mail).  The latter can use 
encrypted, MySQL-hashed or plaintext passwords.

  You can also do crazy things with judicious database hacking, 
including giving real system users separate POP3 passwords by 
putting their real uid, gid and home directory in the mailbox 
table (haha, they may sniff my mail password but they still can't 
login as me via ssh) and have mailing lists by putting several 
entries in the alias table.  I admit I need to document this 
more: documentation is work-in-progress at the minute but there 
is at least something on the web page.

  Perhaps the most significant feature is that I've tried to 
stay in the qmail spirit by providing loads of error checking so 
for example if the MySQL server goes down (and we all know that 
they don't) or if we can't alloc our strallocs, the various tools 
will return 111 and try again later.  Please audit my code and 
tell me if I'd made any howlers.

  All of this has been tested on Linux 2.2.1[024] and 
FreeBSD 3.[13] but feedback is always welcome.
-- blurb precedes --
-- 
#include <sys/types.h> /* #include <sys/socket.h> ? */
int main() { struct in_addr *c = malloc(5);
inet_aton("73.97.105.110", c); printf("%s\n", c); }


Reply via email to