I've finally taken the plunge and put qmail on my personal system after
having used it on my server forever. I've got a rather strange mix
here and some odd errors...
This is what my log looks like when I send out a message:
@4000000039ac8fb70cda2b34 new msg 190666
@4000000039ac8fb70cdaa834 info msg 190666: bytes 773 from <[EMAIL PROTECTED]> qp
24619 uid 501
@4000000039ac8fb70dc7f24c starting delivery 229: msg 190666 to local
failure,[EMAIL PROTECTED]
@4000000039ac8fb70dc9cedc status: local 1/10 remote 0/20
@4000000039ac8fb70dcd12cc starting delivery 230: msg 190666 to remote
[EMAIL PROTECTED]
@4000000039ac8fb70dceb4c4 status: local 1/10 remote 1/20
@4000000039ac8fb70dd83274 starting delivery 231: msg 190666 to local [EMAIL PROTECTED]
@4000000039ac8fb70dda034c status: local 2/10 remote 1/20
@4000000039ac8fb70dddef34 starting delivery 232: msg 190666 to local
[EMAIL PROTECTED]
@4000000039ac8fb70ddfc7dc status: local 3/10 remote 1/20
@4000000039ac8fb70e2010e4 starting delivery 233: msg 190666 to local [EMAIL PROTECTED]
@4000000039ac8fb70e21f15c status: local 4/10 remote 1/20
@4000000039ac8fb70f958274 delivery 230: success:
209.115.163.67_accepted_message./Remote_host_said:_250_ok_967610148_qp_20216/
@4000000039ac8fb70f9e44a4 status: local 4/10 remote 0/20
@4000000039ac8fb71132a42c delivery 229: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@4000000039ac8fb7113985e4 status: local 3/10 remote 0/20
@4000000039ac8fb7113cc204 delivery 231: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@4000000039ac8fb71140679c status: local 2/10 remote 0/20
@4000000039ac8fb712bd33fc delivery 232: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@4000000039ac8fb712bd66c4 status: local 1/10 remote 0/20
@4000000039ac8fb712fa4c9c delivery 233: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@4000000039ac8fb712fa7794 status: local 0/10 remote 0/20
@4000000039ac8fb7148ee2d4 bounce msg 190666 qp 24630
@4000000039ac8fb7149445bc end msg 190666
The hostname on this machine is devel.danen.net, but I don't understand
where this "[EMAIL PROTECTED]" and "[EMAIL PROTECTED]" and "[EMAIL PROTECTED]"
stuff is coming from. Any ideas?
I'm calling qmail like this:
set sendmail="/var/qmail/bin/qmail-inject"
I'm specifying the Return-Path: header in every message that goes out.
I would use qmail-inject -f except that I write from about 3-4
different email accounts and I need to be able to send from each one
(which I use macros to setup).
I also have a problem delivering to my Maildirs. I use procmail and
have my .qmail look like this:
| preline /usr/bin/procmail
procmail works awesome... it filters everything like it used to, but it
still delivers to /var/spool/mail/vdanen. I need it to deliver to
~/Maildir/ or (at the very least) to ~/mail/inbox because I also use my
laptop mounted via nfs to this machine and I need to have everything
sitting in my home directory so that when I fire up mutt on the laptop
it doesn't try to look in /var/spool/mail/vdanen on that machine.
I tried using safecat with the following .procmailrc:
## Set to on when debugging
VERBOSE=on
## Set Procmail directory for logs, etc.
PMDIR=$HOME/Procmail
MAIL=$HOME/mail
## Set shell
SHELL=/bin/bash
## Set line buffer
LINEBUF=4096
## Set location for formail
FORMAIL=/usr/bin/formail
## Remove # when debugging; set to no if you want nothing logged
LOGABSTRACT=all
## Set logfile
LOGFILE=$PMDIR/log
## Replace $HOME/Msgs with your message directory
## mutt and elm use $HOME/Mail; pine uses $HOME/mail
MAILDIR=$HOME/mail
############# Recipies ##############################################
## Create backup cache of 100 most recent messages
#:0 c
#backup/.
# :0 ic
# | cd $MAIL/backup && rm -f dummy `ls -t msg.* | sed -e 1,100d`
## Nuke duplicate messages
:0 Wh: .msgid.lock
| formail -D 8192 .msgid.cache
## Regenerate "From" lines to make sure they are valid
:0 fhw
| formail -I "From " -a "From "
# Add a "Content-Type: application/pgp" header so Mutt will know the mail
# is encrypted
:0
* !^Content-Type: message/
* !^Content-Type: multipart/
* !^Content-Type: application/pgp
{
:0 fBw
* ^------BEGIN PGP MESSAGE------
* ^------END PGP MESSAGE------
| formail -i "Content-Type: application/pgp; format=text; x-action=encrypt"
:0 fBw
* ^------BEGIN PGP SIGNED MESSAGE------
* ^------BEGIN PGP SIGNATURE------
* ^------END PGP SIGNATURE------
| formail -i "Content-Type: application/pgp; format=text; x-action=sign"
}
############# Mailing Lists ########################################
## Linux Mandrake Cooker mailing list
:0:
* (^To.*|cc:.*)[EMAIL PROTECTED]
mdk-changelog
:0:
* (^Reply-To:.*|^TO_|cc:.*)[EMAIL PROTECTED]
mdk-cooker
## Linux Mandrake Expert mailing list
:0:
* (^Reply-To:.*|^TO_|cc:.*)[EMAIL PROTECTED]
mdk-expert
## Linux Mandrake Security Discussions mailing list
:0:
* (^Reply-To:.*|^TO_|cc:.*)[EMAIL PROTECTED]
mdk-security
## Linux Mandrake Security Announcements mailing list
:0:
* (^Reply-To:.*|^TO_|cc:.*)[EMAIL PROTECTED]
mdk-security
## Freezer Burn mdk-security mailing list
:0:
* (^Reply-To:.*|^TO_|cc:.*)[EMAIL PROTECTED]
mdk-security
## Internet Rex Beta mailing list
:0:
* (^Reply-To:.*|^TO_|cc:.*)[EMAIL PROTECTED]
irex-beta
## qmail mailing list (catch To: and CC:)
:0:
* (^Reply-To:.*|^TO_|cc:.*)[EMAIL PROTECTED]
qmail
## ELUG mailing list
:0:
* (^Reply-To:.*|^TO_|cc:.*)[EMAIL PROTECTED]
edm-linux
## mutt users mailing list
:0:
* (^Reply-To:.*|^TO_|cc:.*)[EMAIL PROTECTED]
mutt-users
## sawmill/sawfish mailing list
:0:
* (^Reply-To:.*|^TO_|cc:.*)[EMAIL PROTECTED]
sawfish
:0:
* (^TO:.*)[EMAIL PROTECTED]
sysmsgs
#:0
#|maildir MAILDIR
I tried using the last recipe which is something mentioned on the
safecat website. I assumed that since procmail works from top to
bottom, it would filter everything into the maildir. It doesn't seem
to be doing this.
I know this is a lot of questions all in one message but any help would
be appreciated. I can send mail fine (but I get those silly bounce
messages), and I can receive mail fine (just not in Maildirs).
Thanks a million in advance.
--
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
// Danen Consulting Services www.danen.net, www.freezer-burn.org
// MandrakeSoft, Inc. www.linux-mandrake.com
1024D/FE6F2AFD 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD
Current Linux uptime: 8 days 8 hours 12 minutes.