Well, I fixed my own problem.  I'm posting this for archival
purposes.  Here's what I did to enable handing off mail to my ISP for
delivery.

First, after trying to get D. L. Vander Woude's instructions working,
I went a completely different route.  The only control files I have
are as follows with their contents:

me:
localhost.localdomain

virtualdomains:
[EMAIL PROTECTED]

locals:
localhost.localdomain

smtproutes:
:mail.mindspring.com

The key file is the smtproutes file.  It contains the server that the
mail should be handed off to.  Additionally, I removed my
~alias/.qmail-default file which told qmail to use the pppdir alias.
I restarted qmail and all my tests, including local-remote worked
perfectly.

Now on to Gnus.  I found the solution in Deja archives.  There are
already predefined variables in Gnus for handing mail off to
qmail-inject.  It was simply a matter of adding these to my .gnus
file.  Here are the additions:

(setq message-send-mail-function 'message-send-mail-with-qmail)
(setq message-qmail-inject-program "/var/qmail/bin/qmail-inject") 

Hope someone gets some use out of this.

Aaron Ginn 


[EMAIL PROTECTED] writes:

> I'm trying to set up qmail with my dial-up account and I have a few
> questions about automating the process of handing off mail for
> delivery with maildirsmtp.
> 
> I can deliver mail locally and remotely as specified in TEST.deliver
> and D. L. Vander Woude mailqueue instructions.  I don't understand
> how to automate the handing off of mail for delivery.  It seems
> from the instructions that the mail has to sit in a queue until
> qmail is restarted again.  Is there a daemon that can be run to 
> automatically deliver mail immediately after it is composed?  I
> don't want to have to keep restarting qmail every time I want to
> send an email.  I must be missing something here.
> 
> Also, is anyone using Gnus for mail?  I can send mail with mutt but
> not Gnus.  I understand Gnus has a problem with Maildirs.  Here's
> my output from /var/log/maillog when I try to send mail that has
> been composed with Gnus:
> 
> maildirserial: info: new/940026984.5660.localhost.localdomain failed 
> temporarily: 207.69.200.246 said: 450 <[EMAIL PROTECTED]>... 
> Sender domain not compliant with RFC 822, section 6.2.7
> 
> 
> BTW, I'm using Mandrake Linux 6.0.
> 
> TIA,
> Aaron Ginn
> 
> 

Reply via email to