qmail Digest 30 Sep 2000 10:00:00 -0000 Issue 1139
Topics (messages 49655 through 49694):
Problem with sending to Yahoo Mail !
49655 by: Hamid Hashemi Golpayegani
49659 by: Peter Green
49660 by: Hamid Hashemi Golpayegani
49661 by: Timothy L. Mayo
49687 by: Hamid Hashemi Golpayegani
control files in ldap database
49656 by: reach_prashant.zeenext.com
Re: Slow Server
49657 by: Andrew Richards
49694 by: Miguel Carvajal
roaming user
49658 by: Clemens Hermann
49673 by: Dave Sill
49674 by: Petr Novotny
49675 by: Clemens Hermann
Re: qmail-popup's implementation of LAST
49662 by: Charles Cazabon
49676 by: Darryl Lee
relay control -is this possible problem
49663 by: reach_prashant.zeenext.com
49666 by: Bruce Guenter
49667 by: Dave Sill
49685 by: Alexander Jernejcic
Compile
49664 by: Marcilio Jorgensen Cassella
49665 by: Charles Cazabon
URGENT: Oversized queue - no mail delivering...
49668 by: Ihnen, David
49670 by: Dave Sill
49672 by: Ihnen, David
49688 by: richard.illuin.org
Relaying control
49669 by: Gustavo Schroeder
49671 by: Dave Sill
problem with virtual domain
49677 by: Martin Jespersen
49680 by: Dave Sill
compiling under SUN Solaris 2.6
49678 by: Guillermo Villasana Cardoza
49679 by: Peter Samuel
49681 by: Jos Backus
49682 by: Guillermo Villasana Cardoza
Gack, multilog defunct!
49683 by: Ihnen, David
49684 by: Adam McKenna
49686 by: Ihnen, David
Mailbox file problems
49689 by: Rob Hines Jr.
49690 by: Aaron L. Meehan
Intercepting specific oputgoing messages
49691 by: Dan Mahoney
SSL
49692 by: DG
49693 by: bigkapusta.kapusta.com
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 ,
Nowaday I have get this error message in my qmail log file and a lot of my
Yahoo mail was been in queue . The message is this :
Connected_to_128.11.69.54_but_connection_died._(#4.4.2)
So any one know what is the problem ? My mail to yahoo was not deliver
successfully .
Thank You
Hamid Hashemi
also sprach hamid:
> Hi ,
>
> Nowaday I have get this error message in my qmail log file and a lot of my
> Yahoo mail was been in queue . The message is this :
> Connected_to_128.11.69.54_but_connection_died._(#4.4.2)
> So any one know what is the problem ? My mail to yahoo was not deliver
> successfully .
Yahoo! is having serious mail delivery issues (again). Supposedly, their
machines were unable to deliver mail to a rather large domain on the 'net,
it all queued up, and when the domain became available again their mail
servers became overloaded.
Not really anything you can do. :(
/pg
--
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
"A good messenger expects to get shot."
--- Larry Wall
Hi ,
Thank You for your reply .
I have test yahoo with hotmail . You know that Hotmail deliver mail through
internet with qmail to yahoo . But message received by yahoo very quickly
and no time waste !
I think that my server has problem .
Thank You
Hamid Hashemi
----- Original Message -----
From: "Peter Green" <[EMAIL PROTECTED]>
To: "Hamid Hashemi Golpayegani" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, September 29, 2000 5:13 PM
Subject: Re: Problem with sending to Yahoo Mail !
> also sprach hamid:
> > Hi ,
> >
> > Nowaday I have get this error message in my qmail log file and a lot of
my
> > Yahoo mail was been in queue . The message is this :
> > Connected_to_128.11.69.54_but_connection_died._(#4.4.2)
> > So any one know what is the problem ? My mail to yahoo was not deliver
> > successfully .
>
> Yahoo! is having serious mail delivery issues (again). Supposedly, their
> machines were unable to deliver mail to a rather large domain on the 'net,
> it all queued up, and when the domain became available again their mail
> servers became overloaded.
>
> Not really anything you can do. :(
>
> /pg
> --
> Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
> ---
> "A good messenger expects to get shot."
> --- Larry Wall
>
>
>
No, your server is NOT a problem. yahoo.com is the one having problems at
the moment. Delivery to them is VERY sporadic at the moment.
On Fri, 29 Sep 2000, Hamid Hashemi Golpayegani wrote:
> Hi ,
>
> Thank You for your reply .
> I have test yahoo with hotmail . You know that Hotmail deliver mail through
> internet with qmail to yahoo . But message received by yahoo very quickly
> and no time waste !
> I think that my server has problem .
>
> Thank You
> Hamid Hashemi
> ----- Original Message -----
> From: "Peter Green" <[EMAIL PROTECTED]>
> To: "Hamid Hashemi Golpayegani" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, September 29, 2000 5:13 PM
> Subject: Re: Problem with sending to Yahoo Mail !
>
>
> > also sprach hamid:
> > > Hi ,
> > >
> > > Nowaday I have get this error message in my qmail log file and a lot of
> my
> > > Yahoo mail was been in queue . The message is this :
> > > Connected_to_128.11.69.54_but_connection_died._(#4.4.2)
> > > So any one know what is the problem ? My mail to yahoo was not deliver
> > > successfully .
> >
> > Yahoo! is having serious mail delivery issues (again). Supposedly, their
> > machines were unable to deliver mail to a rather large domain on the 'net,
> > it all queued up, and when the domain became available again their mail
> > servers became overloaded.
> >
> > Not really anything you can do. :(
> >
> > /pg
> > --
> > Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
> > ---
> > "A good messenger expects to get shot."
> > --- Larry Wall
> >
> >
> >
>
>
---------------------------------
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/
The National Business Network Inc. http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA 15146
(412) 810-8888 Phone
(412) 810-8886 Fax
Hi ,
Thanks for your reply :) So I will wait to my emails deliver to yahoo
successfully ?!?!
But I think this is very big problem for yahoo that can't support their
customers .
Thank You again
Hamid Hashemi
> No, your server is NOT a problem. yahoo.com is the one having problems at
> the moment. Delivery to them is VERY sporadic at the moment.
>
>
> ---------------------------------
> imothy L. Mayo mailto:[EMAIL PROTECTED]
> Senior Systems Administrator
> localconnect(sm)
> http://www.localconnect.net/
>
> The National Business Network Inc. http://www.nb.net/
> One Monroeville Center, Suite 850
> Monroeville, PA 15146
> (412) 810-8888 Phone
> (412) 810-8886 Fax
hello friends
is it possble to configure/patch qmail so that it will read ~control
files from ldap database ,
if any one knows some patch which will enable qmail to read its control
files from ldap database , then please point me to that link
thanks & regards
Prashant Desai
Miguel,
>My qmail server is extremely slow after I changed the ip address on my
>server, what is going on? My ISP had to make changed in the DNS. I'am using
>qmail 1.03 with Redhat 6.0.
You normally need to give a lot more information in order for people on the list
to be able to help (logs, values of control files). With the above we can only guess -
my guess would be that you should check out the -R and -H options to
tcpserver, when calling qmail-popup and qmail-smtpd
cheers,
Andrew.
Sorry about that.
I startup my pop3 server like this:
tcpserver 0 pop-3 /var/qmail/bin/qmail-popup FQDN \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &
and smtpd like this:
/usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
I tried the -H and -R options and that didn't change the situation. It all
worked fine before I don't understand why it wouldn't work.
I think it is a DNS problem but I'am not sure my DNS server is
208.237.112.5. I don't see any problems with it. And the log files are
normal.
Miguel
----- Original Message -----
From: Andrew Richards <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, September 29, 2000 7:37 AM
Subject: RE: Slow Server
> Miguel,
>
> >My qmail server is extremely slow after I changed the ip address on my
> >server, what is going on? My ISP had to make changed in the DNS. I'am
using
> >qmail 1.03 with Redhat 6.0.
>
> You normally need to give a lot more information in order for people on
the list
> to be able to help (logs, values of control files). With the above we can
only guess -
> my guess would be that you should check out the -R and -H options to
> tcpserver, when calling qmail-popup and qmail-smtpd
>
> cheers,
>
> Andrew.
>
>
Hi,
my probem is a bit hard to describe, I hope I will make it :)
2 Mailservers, both qmail. One ist the "official" mailserver for the
domain, always online, official IP-adress. The other server is an
inhouse Mail-Proxy with dial on demand net-access.
At the moment the official mailserver recives all mail and the mail
proxy fetches all mails every 10 Minutes and deliveres them to the local
users.
Now I want to install webmail. The problem is, that fetchmail must not
fetch mail from users who are not in the office at the moment because in
this case the mails were not available on the webmail interface of the
official-mailserver in case the user wants to read his new mail from
somewhere else via the new webmail interface.
So now what do I want to do: Is there a way to fetch mail only for a
user when he/she contacts te local mailproxy via pop3? So I think of a
solution like tcpserver listens on the pop3-port and when a user los in,
tcpserver starts fetchmail for the appropriate user, fetches the mails
and dliveres it to the users maildir.
So only when local users open their mailprogramm to fetch
Internet-e-mail, fetchmail fetches the mail. When te user is not in the
office, his mailprog does not contact te local mailproxy ant the mail
stays on the official mailserver.
Hopefully anyone understood my problem.
thanks in advance for any help
Clemens
Clemens Hermann <[EMAIL PROTECTED]> wrote:
>So now what do I want to do: Is there a way to fetch mail only for a
>user when he/she contacts te local mailproxy via pop3?
A hack like the way AutoTURN is implemented should do the trick. From
serialmail-0.75/AUTOTURN:
]3. Replace
]
] /var/qmail/bin/qmail-smtpd
]
] with
]
] sh -c '
] /var/qmail/bin/qmail-smtpd
] cd /var/qmail/autoturn
] exec setlock -nx $TCPREMOTEIP/seriallock \
] maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP- $TCPREMOTEIP AutoTURN
] '
]
] in the tcpserver invocation in your boot scripts.
You'd do something like this for your qmail-pop3d
startup. Unfortunately, at this point you only know the user's IP
address, not their username. If you have dynamic IP addresses, you'll
have to plus fetchmail in at a later point, e.g., with a wrapper
around qmail-pop3d.
If this is all over your head, you might want to consider hiring
someone to set this up for you. The details are beyond the scope of
this list.
-Dave
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 29 Sep 2000, at 13:21, Dave Sill wrote:
> Clemens Hermann <[EMAIL PROTECTED]> wrote:
>
> >So now what do I want to do: Is there a way to fetch mail only for a
> >user when he/she contacts te local mailproxy via pop3?
>
> You'd do something like this for your qmail-pop3d
> startup. Unfortunately, at this point you only know the user's IP
> address, not their username.
You'd also need to make sure that all the mail is stored into user's
mailbox, before firing up qmail-pop3d.
> If you have dynamic IP addresses, you'll
> have to plus fetchmail in at a later point, e.g., with a wrapper
> around qmail-pop3d.
Well, I would solve the problem differently.
I'd start up from POP-before-SMTP kind of set up.
1. fetchmail uses database of users "known to be present".
2. This database gets "aged" every now and then from a cron script.
3. After a successful POP3 connection, you'd write "user xxx
present" into the database.
A user would first connect by POP3 and learn that there's no new
mail; then fetchmail would start up, download the e-mails also for
this user (because his name is in the database); next POP3
session would bring the user all his mails. - Some ten minutes
after his last POP3 session, his name would get deleted from the
database and mail would stay at the main server.
If you can tune
1. how often fetchmail pulls
2. how often user pop3-connects
3. how often the database gets aged
you can close the window (after last pop3 session, fetchmail might
pick up user's mail once more, leaving it in your queue).
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.2 -- QDPGP 2.61a
Comment: http://community.wow.net/grt/qdpgp.html
iQA/AwUBOdTD+1MwP8g7qbw/EQIayQCgh+LXJJr9JZQsgvLKrpbqmEVUbn4AoKa4
48AJpAmgeKM0yTjH+5V0lJKp
=iOCy
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
[Tom Waits]
Hi Petr,
I thought of a setup similar to what you described. It is no problem
when there is some delay in mail delivery and it is also no problem when
there gets mail downloaded for another 10 minutes after the user has
"gone home".
> Well, I would solve the problem differently.
>
> I'd start up from POP-before-SMTP kind of set up.
sounds great.
> 1. fetchmail uses database of users "known to be present".
I will get this to run.
> 2. This database gets "aged" every now and then from a cron script.
I will use as plain textfile because there are not that much users. this
should simplify things a littele bit.
> 3. After a successful POP3 connection, you'd write "user xxx
> present" into the database.
exactly this is the point where I do not know how to do it. I get the IP
adress, but I do not know how to get the user. Can you give me a hint on
how to do this?
If I know how to get the username from a pop3 connection written down in
a textfile I have solved my problem.
> A user would first connect by POP3 and learn that there's no new
> mail; then fetchmail would start up, download the e-mails also for
> this user (because his name is in the database); next POP3
> session would bring the user all his mails. - Some ten minutes
> after his last POP3 session, his name would get deleted from the
> database and mail would stay at the main server.
fits my needs perfectly
> If you can tune
> 1. how often fetchmail pulls
I can
> 2. how often user pop3-connects
I can
> 3. how often the database gets aged
I can - if I know how to catch the username from the POP3 connection.
> you can close the window (after last pop3 session, fetchmail might
> pick up user's mail once more, leaving it in your queue).
no Problem. If it was a problem I shorten the time between the calls and
so I can reduce the risk of fetching a mail which should stay on the
server. But this "Problem" does not matter at all at the moment.
Thanks for your help
Clemens
Darryl Lee <[EMAIL PROTECTED]> wrote:
>
> A user is trying to POP his mail. He's got quite a huge amount of
> messages, and would like to leave them on the server.
Well, he really should be using IMAP, then. POP3 was not really designed
for this.
> As i understand it, the POP client should send the LAST command to see
> what messages are "new", and then only do a RETR from that number
> forward. Yes?
No. "LAST" is obsolete. Instead, his client should be using UIDL to get a
unique identifier for the message, and keep track of the returned identifiers
so it knows which messages it has already seen.
<plug> getmail, a POP3 retriever, does this. Get it at freshmeat.net. </plug>
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
Charles Cazabon wrote:
> No. "LAST" is obsolete. Instead, his client should be using UIDL to get a
> unique identifier for the message, and keep track of the returned identifiers
> so it knows which messages it has already seen.
Thanks for the news that LAST is obsolete. >:P
Then Ben Beuchler sent me a note that actually had the RFC (1725) where it
was deprecated.
And i *know* that with 1700 messages he really should be using IMAP.
(Installing Courier has been on my to-do list for a while.)
But as far as POP LAST goes, here's yet *another* reason that Yahoo
mail sucks:
The full story is, one of my users lost his job, and no longer has
telnet/ssh access to my machine. He's using a PC at the library,
which only offers web access.
i was looking into installing one of the web interfaces to qmail, but in
the meantime, he discovered that Yahoo offered a "POP from other
accounts" option. But as it turns out, their POP client actually uses
LAST. (http://help.yahoo.com/help/us/mail/ext/ext-02.html)
Hotmail, on the other hand, seems to do the right thing.
So i'm recommending he change providers... And maybe i'll get that
web UI up this weekend.
Thanks for all of your help.
--
Darryl Lee <[EMAIL PROTECTED]> | Bore yourself silly: <http://www.darryl.com>
hello friends
i have configured relay on the basis of ip addresses with tcpserver and
tcp.smtp . now , actually want i want is to allow relays from my server on
the basis of ip address that i allowed in my "tcp.smtp" as well as their
from address (which they configure in this mail clients like outlook,
metscape messanger etc ) must have " @mydomain.com" ,
is there any way by which i can control , this ? ,
thanks & regards
Prashant Desai
On Fri, Sep 29, 2000 at 10:35:55AM +0300, [EMAIL PROTECTED] wrote:
> i have configured relay on the basis of ip addresses with tcpserver and
> tcp.smtp . now , actually want i want is to allow relays from my server on
> the basis of ip address that i allowed in my "tcp.smtp" as well as their
> from address (which they configure in this mail clients like outlook,
> metscape messanger etc ) must have " @mydomain.com" ,
You can do this with a fixup address as specified in the qmail FAQ, but
it would produce some odd side effects for bounced messages. Your best
bet is to use a qmail-queue shim that checks the sender address before
accepting the message. Using my qmail-qfilter package would probably
simplify that task, especially if you want to scan the headers of the
message.
--
Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/
PGP signature
[EMAIL PROTECTED] wrote:
>i have configured relay on the basis of ip addresses with tcpserver and
>tcp.smtp . now , actually want i want is to allow relays from my server on
>the basis of ip address that i allowed in my "tcp.smtp" as well as their
>from address (which they configure in this mail clients like outlook,
>metscape messanger etc ) must have " @mydomain.com" ,
>
> is there any way by which i can control , this ? ,
There's patch to implement that:
http://www.palomine.net/qmail/relaymailfrom.html
But it's dangerous since From fields are trivial to forge.
-Dave
hi,
would you like to control that only valid (or allowed)
from-adresses are sent from within your net or specified ip`s?
you may have a look at the patch that allows relaymailfrom
( Chris Johnson http://www.palomine.net/qmail/relaymailfrom.html )
but i assume, that won't do it the way you want to.
;) a
==============================================
Alexander Jernejcic
email:[EMAIL PROTECTED]
begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end
==============================================
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 29, 2000 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: relay control -is this possible problem
>
>
>
>
> hello friends
>
> i have configured relay on the basis of ip addresses with tcpserver and
> tcp.smtp . now , actually want i want is to allow relays from my server on
> the basis of ip address that i allowed in my "tcp.smtp" as well as their
> from address (which they configure in this mail clients like outlook,
> metscape messanger etc ) must have " @mydomain.com" ,
>
>
> is there any way by which i can control , this ? ,
>
>
> thanks & regards
> Prashant Desai
>
>
Hi All,
I'm trying to compile qmail with the patch qmail-pgsql-0.14 and the
error is:
[root@lightsaber qmail-1.03]# make setup check
./load qmail-getpw sqlconfig.o case.a getln.a substdio.a error.a \
str.a fs.a auto_break.o auto_usera.o getpwsql.o auto_qmail.o \
stralloc.a alloc.a wait.a str.a open.a `cat pgsql.lib`
/usr/lib/libpq.so: undefined reference to `crypt'
collect2: ld returned 1 exit status
make: *** [qmail-getpw] Error 1
Any Help, please ?
Thx,
Marcilio
Marcilio Jorgensen Cassella <[EMAIL PROTECTED]> wrote:
>
> I'm trying to compile qmail with the patch qmail-pgsql-0.14 and the
> error is:
>
> [root@lightsaber qmail-1.03]# make setup check
> ./load qmail-getpw sqlconfig.o case.a getln.a substdio.a error.a \
> str.a fs.a auto_break.o auto_usera.o getpwsql.o auto_qmail.o \
> stralloc.a alloc.a wait.a str.a open.a `cat pgsql.lib`
> /usr/lib/libpq.so: undefined reference to `crypt'
> collect2: ld returned 1 exit status
> make: *** [qmail-getpw] Error 1
I've not compiled from source, so I could be way off, but try editing the
Makefile and adding the option '-lcrypt' to the command which causes the
above link error.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------
I came in this morning to find that both my qmail servers were totally
loaded up with messages to be sent, and not sending more than 5
concurrently. (my remote concurrency is 120)
So, I looked at top and slocate was eating cpu. I killed slocate, and
restarted qmail. Its been running for 20 minutes now, at 100% cpu
utilization. ls -R /var/qmail/queue/info | wc -l shows 74,500 lines. I'm
not running a bigtodo patch, which may be a problem at this point.
I disabled tcpserver so that more messages won't interfere with the
processing of the current queue.
These systems have fast disks and fast CPUs. Should I let it continue
munging on the data and hope it cranks through, or should I do something
else...
The log file shows nothing since restart at this time....
[root@CIO-QMAIL1 /root]# tail /var/log/maillog
Sep 29 09:14:13 cio-qmail1 qmail: 970244053.159312 status: local 0/10 remote
2/120
Sep 29 09:14:13 cio-qmail1 qmail: 970244053.870135 new msg 156125
Sep 29 09:14:15 cio-qmail1 qmail: 970244055.135015 info msg 156125: bytes
957 from <[EMAIL PROTECTED]> qp 20661 uid 503
Sep 29 09:14:15 cio-qmail1 qmail: 970244055.944552 end msg 174978
Sep 29 09:14:17 cio-qmail1 qmail: 970244057.058993 delivery 116975: success:
216.33.105.40_accepted_message./Remote_host_said:_250_OK/
Sep 29 09:14:17 cio-qmail1 qmail: 970244057.803502 status: local 0/10 remote
1/120 exitasap
Sep 29 09:14:18 cio-qmail1 qmail: 970244058.186498 delivery 116976: success:
216.33.105.40_accepted_message./Remote_host_said:_250_OK/
Sep 29 09:14:18 cio-qmail1 qmail: 970244058.489979 status: local 0/10 remote
0/120 exitasap
Sep 29 09:14:19 cio-qmail1 qmail: 970244059.502572 end msg 174975
Sep 29 09:18:47 cio-qmail1 qmail: 970244327.347750 status: exiting
Top display...:
9:43am up 21 days, 23:14, 1 user, load average: 1.01, 1.44, 7.81
39 processes: 35 sleeping, 4 running, 0 zombie, 0 stopped
CPU states: 0.1% user, 99.8% system, 0.0% nice, 0.0% idle
Mem: 322464K av, 309508K used, 12956K free, 3092K shrd, 276784K
buff
Swap: 263144K av, 1848K used, 261296K free 5876K
cached
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
2297 qmails 16 0 672 672 308 R 0 99.5 0.2 20:36
qmail-send
5813 root 1 0 852 852 668 R 0 0.3 0.2 0:03 top
1 root 0 0 128 68 48 S 0 0.0 0.0 1:49 init
2 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kflushd
3 root 0 0 0 0 0 RW 0 0.0 0.0 1:25 kupdate
4 root 0 0 0 0 0 SW 0 0.0 0.0 0:00 kpiod
5 root 0 0 0 0 0 SW 0 0.0 0.0 0:09 kswapd
6 root -20 -20 0 0 0 SW< 0 0.0 0.0 0:00
mdrecoveryd
403 root 0 0 216 168 116 S 0 0.0 0.0 544:12 syslogd
412 root 0 0 416 0 0 SW 0 0.0 0.0 0:00 klogd
458 root 0 0 176 112 68 S 0 0.0 0.0 0:08 crond
490 root 0 0 84 0 0 SW 0 0.0 0.0 0:00 lpd
527 root 0 0 68 52 0 S 0 0.0 0.0 0:00 gpm
587 root 0 0 68 68 0 S 0 0.0 0.0 0:00 mingetty
588 root 0 0 68 68 0 S 0 0.0 0.0 0:00 mingetty
589 root 0 0 68 68 0 S 0 0.0 0.0 0:00 mingetty
590 root 0 0 68 68 0 S 0 0.0 0.0 0:00 mingetty
591 root 0 0 68 68 0 S 0 0.0 0.0 0:00 mingetty
980 root 0 0 68 68 0 S 0 0.0 0.0 0:00 mingetty
David Ihnen
Integration Engineer
myCIO
503-670-4018
"Ihnen, David" <[EMAIL PROTECTED]> wrote:
>So, I looked at top and slocate was eating cpu. I killed slocate,
Hmm... wonder why it was eating CPU.
>and restarted qmail.
Why?
>Its been running for 20 minutes now, at 100% cpu
>utilization.
Funny that qmail-send is now doing what slocate was doing. You're
seeing this behavior on two systems? If it was just one, I'd suspect a
h/w problem.
>I disabled tcpserver so that more messages won't interfere with the
>processing of the current queue.
Watch out for local injections, too, via qmail-inject.
>These systems have fast disks and fast CPUs. Should I let it continue
>munging on the data and hope it cranks through, or should I do something
>else...
Don't do anything else until you figure out what the problem
is. Randomly trying things like restarting qmail will only make the
problem worse.
>The log file shows nothing since restart at this time....
Hmm... What qmail processes are running?
>CPU states: 0.1% user, 99.8% system, 0.0% nice, 0.0% idle
Ouch. 99.8% system is pretty extreme. Try strace'ing qmail-send to see
what it's doing.
> 403 root 0 0 216 168 116 S 0 0.0 0.0 544:12 syslogd
Consider multilog instead.
-Dave
> >So, I looked at top and slocate was eating cpu. I killed slocate,
>
> Hmm... wonder why it was eating CPU.
trying to index 75,000 x 8 message files, I bet.
> >and restarted qmail.
>
> Why?
It was going real slow. I was being irrational.
> >Its been running for 20 minutes now, at 100% cpu
> >utilization.
>
> Funny that qmail-send is now doing what slocate was doing. You're
> seeing this behavior on two systems? If it was just one, I'd suspect a
> h/w problem.
Indeed. Two systems, the one finished munging after about 40 minutes of
continuous processing. The huge queue was moved aside on the other server,
and its now processing new incoming messages. I think I'll set up a
secondary queue to transmit these queued messages in the meantime.
> >I disabled tcpserver so that more messages won't interfere with the
> >processing of the current queue.
>
> Watch out for local injections, too, via qmail-inject.
Not an issue - these servers don't have any users.
> >These systems have fast disks and fast CPUs. Should I let it continue
> >munging on the data and hope it cranks through, or should I do something
> >else...
>
> Don't do anything else until you figure out what the problem
> is. Randomly trying things like restarting qmail will only make the
> problem worse.
Just too much data at once, Apparently.
> >The log file shows nothing since restart at this time....
>
> Hmm... What qmail processes are running?
2297 pts/1 D 44:30 qmail-send
2299 pts/1 S 0:00 splogger qmail
2300 pts/1 S 0:00 qmail-lspawn ./Mailbox
2301 pts/1 D 0:00 qmail-rspawn
2302 pts/1 S 0:14 qmail-clean
Nothing out of the ordinary there.
> >CPU states: 0.1% user, 99.8% system, 0.0% nice, 0.0% idle
>
> Ouch. 99.8% system is pretty extreme. Try strace'ing qmail-send to see
> what it's doing.
Accessing queue directories I can only imagine. Just doing an ls on a
subdirectory of a directory like info takes about 10 seconds in this state.
Even WITHOUT any programs eating CPU time.
> > 403 root 0 0 216 168 116 S 0 0.0 0.0 544:12
syslogd
>
> Consider multilog instead.
And svc to manage the processes too, yes. I'm seriously contemplating that.
syslog doesn't seem to be a performance problem at this point, but it pays
to be streamlined.
David
David Ihnen
Integration Engineer
myCIO
503-670-4018
On Fri, 29 Sep 2000, Ihnen, David wrote:
> > > 403 root 0 0 216 168 116 S 0 0.0 0.0 544:12
> syslogd
> >
> > Consider multilog instead.
>
> And svc to manage the processes too, yes. I'm seriously contemplating that.
> syslog doesn't seem to be a performance problem at this point, but it pays
> to be streamlined.
Unless you have set options on syslogd not to sync messages to disk after
each message you'll bottleneck on i/o as it fsync()s the logfile,
as a quick test kill syslogd and see if the performance of your systems
increased. On my throttled server (a 486/33 with12 MB of memory) moving
from syslogd improved delivery times by a FACTOR of 100.
RjL
==================================================================
You know that. I know that. But when || Austin, Texas
you talk to a monkey you have to || Email: [EMAIL PROTECTED]
grunt and wave your arms -ck ||
Hi there guys,
I'm having some problems whith relaying control in qmail.
when using Sendmail 8.9.3 there's a file /etc/mail/access
that you put the hosts/networks you want to sendmail relay.
after editing the file you issue the command
[root@localhost]# makemap hash access<access
this command generates a file called /etc/mail/access.db and the new
relay
rules are activated restarting sendmail.
But in qmail, i'm a little bit confused, as i read in Dave Sill's Life
with Qmail,
"If you follow the installation instructions in this document, selective
relaying will be enabled by default. To give a client relay access, add
an entry to
/etc/tcp.smtp like:
IP address of client:allow,RELAYCLIENT=""
Then rebuild the SMTP access database by doing:
tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*
OK, but I don't have /etc/tcp.smtp
I only have the file /etc/tcprules.d/qmail-smtp and
/etc/tcprules.d/qmail-smtp.cdb
[root@localhost]# more /etc/tcprules.d/qmail-smtp
127.0.0.1:allow,RELAYCLIENT=""
192.168.15.200:allow,RELAYCLIENT=""
[root@localhost]# ps ax|grep qmail-smtp.cdb
877 pts/0 S 0:00 tcpserver -v -c40 -x
/etc/tcprules.d/qmail-smtpd.cdb -u100 -g502 0 smtp qmail-smtpd
I understand that qmail-smtpd is using the file qmail-smtpd.cdb for
relay control, right?
So i decided to test in another IP. The IP was 192.168.15.201, and i
sent a message trough qmail host sucessfully.
What I don't understand is:
How come I could send mail from a different IP listed in qmail-smtp if
/etc/tcprules.d/qmail-smtp is set for allowing relay to loopback and my
machine only?
How can I correct this situation?
Am I missing something crucial?
Thanks in advance and best regards
Gustavo Schroeder
System Administrator
Gustavo Schroeder <[EMAIL PROTECTED]> wrote:
>But in qmail, i'm a little bit confused, as i read in Dave Sill's Life
>with Qmail,
>"If you follow the installation instructions in this document, selective
>relaying will be enabled by default. To give a client relay access, add
>an entry to
>/etc/tcp.smtp like:
>
> IP address of client:allow,RELAYCLIENT=""
>
>Then rebuild the SMTP access database by doing:
>
> tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
> chmod 644 /etc/tcp.smtp*
>
>
>OK, but I don't have /etc/tcp.smtp
>I only have the file /etc/tcprules.d/qmail-smtp and
>/etc/tcprules.d/qmail-smtp.cdb
Right, because you didn't follow the LWQ installation instructions,
but perhaps installed RPM's that set it up differently.
>[root@localhost]# more /etc/tcprules.d/qmail-smtp
>127.0.0.1:allow,RELAYCLIENT=""
>192.168.15.200:allow,RELAYCLIENT=""
>
>[root@localhost]# ps ax|grep qmail-smtp.cdb
>877 pts/0 S 0:00 tcpserver -v -c40 -x
>/etc/tcprules.d/qmail-smtpd.cdb -u100 -g502 0 smtp qmail-smtpd
>
>I understand that qmail-smtpd is using the file qmail-smtpd.cdb for
>relay control, right?
Right.
>So i decided to test in another IP. The IP was 192.168.15.201, and i
>sent a message trough qmail host sucessfully.
So what did you do, exactly? *How* did you add in the IP? *How* did
you send the test message? From which host you send it?
>What I don't understand is:
>How come I could send mail from a different IP listed in qmail-smtp if
>/etc/tcprules.d/qmail-smtp is set for allowing relay to loopback and my
>machine only?
I could only guess without more details. I'm not in a guessing mood.
>How can I correct this situation?
Provide more information.
>Am I missing something crucial?
Almost certainly.
-Dave
Hi there.
I have just set up qmail 1.03.
It works fine for delivery to localhost, but i have a serious problem with virtual
hosts/domains.
I have the following setup:
--------------------------------
../controls/me:
mother.mbj.dk
../controls/virtualdomains:
carlsminde.dk:alias-carlsminde-dk
../alias/.qmail-carlsminde-dk-whatever
&[EMAIL PROTECTED]
../alias/.qmail-carlsminde-default
&[EMAIL PROTECTED]
../alias/.qmail-carlsminde-dk-default:
&[EMAIL PROTECTED]
--------------------------------
Now if i send to [EMAIL PROTECTED] everything works fine
if i send to [EMAIL PROTECTED] then, as far as i understand,
this is supposed to be handled by the following dot-qmail files in the follwoing order:
1: ../alias/.qmail-carlsminde-dk-whatever
2: ../alias/.qmail-carlsminde-dk-default
3: ../alias/.qmail-carlsminde-default
4: ../alias/.qmail-default
but it just doesn't work that way :(
it completely ignores the 3 first files, and if i don't have ../alias/.qmail-default
the mail
bounces...
here is the output of the syslog:
Sep 29 18:30:05 mother qmail: 970245005.104882 new msg 407358
Sep 29 18:30:05 mother qmail: 970245005.105521 info msg 407358: bytes 528 from
<[EMAIL PROTECTED]> qp 2690
uid 503
Sep 29 18:30:05 mother qmail: 970245005.110662 starting delivery 1: msg 407358 to local
[EMAIL PROTECTED]
Sep 29 18:30:05 mother qmail: 970245005.111194 status: local 1/10 remote 0/20
Sep 29 18:30:05 mother qmail: 970245005.297557 delivery 1: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Sep 29 18:30:05 mother qmail: 970245005.298367 status: local 0/10 remote 0/20
Sep 29 18:30:05 mother qmail: 970245005.306510 bounce msg 407358 qp 2692
Sep 29 18:30:05 mother qmail: 970245005.307096 end msg 407358
can somebody please explain what i am doing wrong?
thanx
/Martin
Martin Jespersen <[EMAIL PROTECTED]> wrote:
>../controls/me:
>
> mother.mbj.dk
>
>../controls/virtualdomains:
>
> carlsminde.dk:alias-carlsminde-dk
>
>../alias/.qmail-carlsminde-dk-whatever
>
> &[EMAIL PROTECTED]
>
>../alias/.qmail-carlsminde-default
>
> &[EMAIL PROTECTED]
>
>../alias/.qmail-carlsminde-dk-default:
>
> &[EMAIL PROTECTED]
Do you have a ~alias/.qmail-default? What does "ls -l
~alias/.qmail-carlsminde*" say?
>Now if i send to [EMAIL PROTECTED] everything works fine
How about mail to [EMAIL PROTECTED]? Or [EMAIL PROTECTED]?
>if i send to [EMAIL PROTECTED] then, as far as i understand,
>
>this is supposed to be handled by the following dot-qmail files in
>the follwoing order:
>
>1: ../alias/.qmail-carlsminde-dk-whatever
>2: ../alias/.qmail-carlsminde-dk-default
>3: ../alias/.qmail-carlsminde-default
>4: ../alias/.qmail-default
Correct.
>but it just doesn't work that way :(
>
>it completely ignores the 3 first files, and if i don't have ../alias/.qmail-default
>the mail
>bounces...
What happens if you send directly to
[EMAIL PROTECTED]?
>here is the output of the syslog:
Dang, you stole my thunder. :-)
>can somebody please explain what i am doing wrong?
Not sure yet.
-Dave
Hello everyone.
I am having problem compiling qmail in Solaris 2.6
I get the following error after executing make setup check:
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
) > auto-ccld.sh
cat auto-ccld.sh make-load.sh > make-load
chmod 755 make-load
cat auto-ccld.sh find-systype.sh > find-systype
chmod 755 find-systype
./find-systype > systype
( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
chmod 755 load
cat auto-ccld.sh make-compile.sh > make-compile
chmod 755 make-compile
( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
compile
chmod 755 compile
( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
2>&1 \
&& cat fork.h2 || cat fork.h1 ) > fork.h
rm -f tryvfork.o tryvfork
./compile qmail-local.c
./compile qmail.c
./compile quote.c
./compile now.c
./compile gfrom.c
./compile myctime.c
./compile slurpclose.c
cat auto-ccld.sh make-makelib.sh > make-makelib
chmod 755 make-makelib
( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
makelib
chmod 755 makelib
./compile case_diffb.c
./compile case_diffs.c
./compile case_lowerb.c
./compile case_lowers.c
./compile case_starts.c
./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \
case_lowers.o case_starts.o
./makelib: ar: not found
make: *** [case.a] Error 1
I check out and the case.a file is not beeing generated
Please advice
Thanks
Guillermo Villasana
On Fri, 29 Sep 2000, Guillermo Villasana Cardoza wrote:
> Hello everyone.
>
> I am having problem compiling qmail in Solaris 2.6
Do you have /usr/ccs/bin in your PATH?
--
Regards
Peter
----------
Peter Samuel [EMAIL PROTECTED]
http://www.e-smith.org (development) http://www.e-smith.com (corporate)
Phone: +1 613 368 4398 Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada
"If you kill all your unhappy customers, you'll only have happy ones left"
> ./makelib: ar: not found
Does /usr/ccs/bin contain ar and is it in your PATH?
--
Jos Backus _/ _/_/_/ "Modularity is not a hack."
_/ _/ _/ -- D. J. Bernstein
_/ _/_/_/
_/ _/ _/ _/
[EMAIL PROTECTED] _/_/ _/_/_/ use Std::Disclaimer;
Ok I've installed the ar program
thanks and added /usr/ccs/bin in my PATH
Jos Backus wrote:
>
> > ./makelib: ar: not found
>
> Does /usr/ccs/bin contain ar and is it in your PATH?
>
> --
> Jos Backus _/ _/_/_/ "Modularity is not a hack."
> _/ _/ _/ -- D. J. Bernstein
> _/ _/_/_/
> _/ _/ _/ _/
> [EMAIL PROTECTED] _/_/ _/_/_/ use Std::Disclaimer;
probably something simple, but what am I missing?
rc file:
---
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Mailbox multilog t +* /var/log/qmail/qmaillog
---
But when its running
---
[root@CIO-QMAIL1 log]# ps ax | grep multi
14544 pts/1 Z 0:00 [multilog <defunct>]
31738 pts/1 S 0:00 grep multi
[root@CIO-QMAIL1 log]#
---
I can command line it:
---
[root@CIO-QMAIL1 log]# multilog t +* /var/log/qmail/qmaillog
woofy
barky
scratchy
[root@CIO-QMAIL1 log]# cat /var/log/qmail/qmaillog/current
@4000000039d4e31322c34cb4 woofy
@4000000039d4e31a23594b24 barky
@4000000039d4e31c0a4ebd94 scratchy
[root@CIO-QMAIL1 log]#
---
So what's going down here? Why does it go defunct and not log anything?
Even the path should be working...
---
[root@CIO-QMAIL1 log]# echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/u
sr/X11R6/bin:/root/bin
[root@CIO-QMAIL1 log]# which multilog
/usr/local/bin/multilog
[root@CIO-QMAIL1 log]#
---
And if it couldn't find it on the path, it wouldn't be defunct either. :(
Any thoughts?
David
David Ihnen
Integration Engineer
myCIO
503-670-4018
On Fri, Sep 29, 2000 at 11:44:41AM -0700, Ihnen, David wrote:
> [root@CIO-QMAIL1 log]# cat /var/log/qmail/qmaillog/current
What are the permissions on /var/log/qmail/qmaillog/ ?
--Adam
--
Adam McKenna <[EMAIL PROTECTED]> | "No matter how much it changes,
http://flounder.net/publickey.html | technology's just a bunch of wires
GPG: 17A4 11F7 5E7E C2E7 08AA | connected to a bunch of other wires."
38B0 05D0 8BF7 2C6D 110A | Joe Rogan, _NewsRadio_
I tried making it writable - didn't make a difference.
[root@CIO-QMAIL1 log]# ls -l /var/log/qmail
total 8
-rwxrw-rw- 1 root root 18 Sep 29 12:02 current
-rw-rw-rw- 1 root root 0 Sep 29 12:02 lock
drwxrw-rw- 2 root root 4096 Sep 29 11:37 qmaillog
-rw-rw-rw- 1 root root 0 Sep 29 12:02 state
[root@CIO-QMAIL1 log]# ls -ld /var/log/qmail
drwxrwxrwx 3 root root 4096 Sep 29 12:02 /var/log/qmail
[root@CIO-QMAIL1 log]# cat /var/qmail/rc
#!/bin/sh
# Using splogger to send the log through syslog.
# Using qmail-local to deliver messages to ~/Mailbox by default.
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Mailbox multilog /var/log/qmail
[root@CIO-QMAIL1 log]# ps ax | grep mult
19136 pts/1 Z 0:00 [multilog <defunct>]
19372 pts/1 S 0:00 grep mult
[root@CIO-QMAIL1 log]#
> -----Original Message-----
> From: Adam McKenna [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 29, 2000 11:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Gack, multilog defunct!
>
>
> On Fri, Sep 29, 2000 at 11:44:41AM -0700, Ihnen, David wrote:
> > [root@CIO-QMAIL1 log]# cat /var/log/qmail/qmaillog/current
>
> What are the permissions on /var/log/qmail/qmaillog/ ?
>
> --Adam
>
> --
> Adam McKenna <[EMAIL PROTECTED]> | "No matter how much it
> changes,
> http://flounder.net/publickey.html | technology's just a
> bunch of wires
> GPG: 17A4 11F7 5E7E C2E7 08AA | connected to a bunch
> of other wires."
> 38B0 05D0 8BF7 2C6D 110A | Joe Rogan, _NewsRadio_
>
I am running qmail on a Solaris system, and have had nothing but good
luck with it. I installed Mrs. Brisby's smtp_auth patch, and all is good
delivering to homedir Mailboxes. I am having a problem though.
Occasionally users will retrieve their mail to find one message appended
to the end of the previous one. I am at a loss as to why this might
happen.
Can anyone offer a suggestion?
Rob
--
Rob Hines Jr.
System Administrator
Phone: (317)469-4535
Fax: (317)469-4508
Email: [EMAIL PROTECTED]
URL: http://www.joboptions.com
Quoting Rob Hines Jr. ([EMAIL PROTECTED]):
>
> I am running qmail on a Solaris system, and have had nothing but good
> luck with it. I installed Mrs. Brisby's smtp_auth patch, and all is good
> delivering to homedir Mailboxes. I am having a problem though.
> Occasionally users will retrieve their mail to find one message appended
> to the end of the previous one. I am at a loss as to why this might
> happen.
Ahem, you forget something: what pop3 server are you using? Since
qmail-pop3d only reads Maildirs, then you're using something else.
Indeed, since we know that qmail-local does write correctly to
mbox-format, then that would probably preclude qmail from being the
problem. Hence, you're almost off-topic :-)
In an mbox-style mailbox, each email is seperated by a newline then
"From " -- so if you're really using qmail-local for delivery, then
your POP3 server is misbehaving. OTOH, if you'are using something
else for delivery, like procmail for instance, then it might not be
writing properly. Perhaps, also, the mailbox isn't properly being
locked while another process is reading it, which can result in
corrupt mailboxes--a good argument for Maildir delivery. Since it
would appear to be infrequent, then the latter seems likely. Anyway,
I'm just guessing.
In short, more info is needed!
Aaron
One of my customers has concerns about an employee sending proprietary
info to a competitor, and has asked me to find a way to block or
intercept all e-mail destined for a specific address outside of our
domain. I know how to redirect all mail for that domain, but I can't
quite figure out how to do so for a single address within that domain.
Can I put a filter in front of qmail-remote that would test outgoing
addresses and decide whether to continue? If so, how would I insert this
filter into the pipeline? Or for an easier approach, can I use any
special characters in a .qmail-default file that would be replaced by
the original "To:" address? I'm kind of at a loss here.
D Mahoney
[EMAIL PROTECTED]
Hi,
Would someone point me to a decent resource on implementing SSL? I would
plan on using it with qmail + vpopmail + sqwebmail.
Thanks
David
http://www.openssl.org/ could be helpfull also they have mailing list
http://www.openssl.org/support/
Denis
-----Original Message-----
From: DG <[EMAIL PROTECTED]>
To: Qmail List <[EMAIL PROTECTED]>
Date: Friday, September 29, 2000 5:09 PM
Subject: SSL
>Hi,
>
>Would someone point me to a decent resource on implementing SSL? I would
>plan on using it with qmail + vpopmail + sqwebmail.
>
>Thanks
>
>David
>
>