On Thu, Apr 06, 2000 at 10:10:01AM +0800, [EMAIL PROTECTED] wrote:
> I can't speak for anyone else, but In my case, yes I am hurting. We
> maxed at 10k queued messages this morning, and it's eating up the
> concurrencyremote. 
> 
> Mail that's NOT for yahoo.com also gets stuck for several hours as
> well.

If you have a machine that could act as a "data storage" you might want
to do this:

If this machine "datastor.example.com" has qmail running, add to
/var/qmail/control/rcpthosts
    yahoo.com
    .yahoo.com
and (has the same problems as it has the same MX)
    yahoo.de
    .yahoo.de

Then add lines to /var/qmail/control/virtualhosts
    yahoo.com:yahoo.com
    .yahoo.com:yahoo.com
    yahoo.de:yahoo.com
    .yahoo.de:yahoo.com

and to /var/qmail/users/assign
    +yahoo.com-:dsmtp:UID:GID:/var/datastor/serialmail/yahoo.com:-::

If you don't have a /var/qmail/users/assign don't forget to add a line
with a "." (dot) as the last line of this file.

    # mkdir -p /var/datastor/serialmail/yahoo.com
    # echo './Maildir/' > /var/datastor/serialmail/yahoo.com/.qmail-default
    # /var/qmail/bin/maildirmake /var/datastor/serialmail/yahoo.com/Maildir
    # chmod -R go-w /var/datastor/serialmail/yahoo.com
    # chown -R UID:GID /var/datastor/serialmail/yahoo.com

After that do

    # /var/qmail/bin/qmail-newu
    # kill -HUP <pid of qmail-send>

The first line creates a new cdb from users/assign the second line
causes qmail-send to reread control/virtualdomains.

Now datastor.example.com should be ready to take all the emails for
yahoo.com (and yahoo.de) and store them into a Maildir from where you
can send it on later, when the yahoo mailservers are functional again
via the serialmail package.

Now on your mailserver add lines to /var/qmail/control/smtproutes
    yahoo.com:datastor.example.com
    .yahoo.com:datastor.example.com
    yahoo.de:datastor.example.com
    .yahoo.de:datastor.example.com

This causes qmail to bypass MX delivery and use "datastor.example.com"
as a relay for the yahoo domains.

This should help you get rid of the yahoo mails in your queue. If you
want to speed this up, you do a
    # kill -ALRM <pid of qmail-send>
on your mailserver.

Of course you can configure this on your mailserver as well (without using
a datastor.examaple.com") and loop all the mails one internal hop.
In that case on your mailserver add lines to /var/qmail/control/smtproutes
    yahoo.com:mailserver.example.com
    .yahoo.com:mailserver.example.com
    yahoo.de:mailserver.example.com
    .yahoo.de:mailserver.example.com

No guarantee for correctness or missing typos ;-))
but thats a way it should work.

HTH,
        \Maex

-- 
SpaceNet GmbH             |   http://www.Space.Net/   | Stress is when you wake
Research & Development    | mailto:[EMAIL PROTECTED] | up screaming and you
Joseph-Dollinger-Bogen 14 |  Tel: +49 (89) 32356-0    | realize you haven't
D-80807 Muenchen          |  Fax: +49 (89) 32356-299  | fallen asleep yet.

Reply via email to