Discussion:
[TCLUG] Qmail mailer-daemon mail
rotbau at squishnet.com ()
2005-01-17 18:53:02 UTC
Permalink
Hello all,

I have recently set up qmail and I have a question regarding the mailer-daemon
mail. I am new to qmail (used to run sendmail) so this may be a easy/dumb
question.

I get a fair number of bounces when qmail sends out a delivery failure notice
for non existent user or user that has been deleted. Of course most of the
bounces are caused by spam so the failure notice from qmail gets bounced back
to qmail which then notifies me via the mailer-daemon address of the failure.

I know that qmail uses the .qmail files to deliver alaises. Originally the
.qmail alias for mailer-daemon was a simlink to the .qmail postmaster file
which contains the user I want to receive system mail I removed the simlink
and made the .qmail file for mailer-daemon try to send mail to /dev/null hoping
this might stop the messages from clogging up my inbox. No luck. I still get
them.

Anyone have any suggestions how to stop/control/configure messages from
mailer-daemon or the qmail mta in general? Thanks.

regards, rotbau

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-***@mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list
Adam Maloney
2005-01-17 18:53:02 UTC
Permalink
If you just want to stop these particular messages, try googling around
for qmail and "double bounce", which is the sendmail nomenclature for the
bounce-of-a-bounce message.

grep -B 1 -i doublebounce /etc/mail/sendmail.cf:
# where do errors that occur when sending errors get sent?
#O DoubleBounceAddress=postmaster
Post by rotbau at squishnet.com ()
Hello all,
I have recently set up qmail and I have a question regarding the mailer-daemon
mail. I am new to qmail (used to run sendmail) so this may be a easy/dumb
question.
I get a fair number of bounces when qmail sends out a delivery failure notice
for non existent user or user that has been deleted. Of course most of the
bounces are caused by spam so the failure notice from qmail gets bounced back
to qmail which then notifies me via the mailer-daemon address of the failure.
I know that qmail uses the .qmail files to deliver alaises. Originally the
.qmail alias for mailer-daemon was a simlink to the .qmail postmaster file
which contains the user I want to receive system mail I removed the simlink
and made the .qmail file for mailer-daemon try to send mail to /dev/null hoping
this might stop the messages from clogging up my inbox. No luck. I still get
them.
Anyone have any suggestions how to stop/control/configure messages from
mailer-daemon or the qmail mta in general? Thanks.
regards, rotbau
_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
https://mailman.real-time.com/mailman/listinfo/tclug-list
_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-***@mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list
David Phillips
2005-01-17 18:53:02 UTC
Permalink
Post by rotbau at squishnet.com ()
I removed the simlink
and made the .qmail file for mailer-daemon try to send mail to /dev/null hoping
this might stop the messages from clogging up my inbox. No luck. I still get
them.
You probably have a .qmail-default file in ~/alias that is delivering
mail to you. Create a .qmail-mailer-daemon file in ~/alias with a
single #.
--
David Phillips <***@acz.org>
http://david.acz.org/

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-***@mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list
nate at refried.org ()
2005-01-17 18:53:02 UTC
Permalink
Post by rotbau at squishnet.com ()
I have recently set up qmail and I have a question regarding the mailer-daemon
mail. I am new to qmail (used to run sendmail) so this may be a easy/dumb
question.
Congratulations. Are you enjoying Qmail thus far?
Post by rotbau at squishnet.com ()
I get a fair number of bounces when qmail sends out a delivery failure notice
for non existent user or user that has been deleted. Of course most of the
bounces are caused by spam so the failure notice from qmail gets bounced back
to qmail which then notifies me via the mailer-daemon address of the failure.
I ended up getting a lot of these too. What I did was replace
qmail-smtpd with qpsmtpd. It's a replacement that works pretty well and
has lots of plugins for dealing with spam at the smtp conversation
level. I think it's the best thing since spamassassin.

http://smtpd.develooper.com/

Nate

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-***@mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list
rotbau at squishnet.com ()
2005-01-17 18:53:03 UTC
Permalink
Post by David Phillips
You probably have a .qmail-default file in ~/alias that is delivering
mail to you. Create a .qmail-mailer-daemon file in ~/alias with a
single #.
Thanks I will check and see if the is a .qmail-default because even when I
removed the mailer-daemon file I still got the mail. I will also try the
single #.

regards.
rotbau

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-***@mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list
rotbau at squishnet.com ()
2005-01-17 18:53:03 UTC
Permalink
Post by nate at refried.org ()
Congratulations. Are you enjoying Qmail thus far?
Thanks. I do like it so far, that is once I got the qmail-smtpd patched to work
with checkpassword and got imap/pop/horde working. I like the .qmail files and
the ease of aliasing. I am still working to get the mysql lookup for users
going (but that's for another post).
Post by nate at refried.org ()
What I did was replace
qmail-smtpd with qpsmtpd. It's a replacement that works pretty well and
has lots of plugins for dealing with spam at the smtp conversation
level. I think it's the best thing since spamassassin.
http://smtpd.develooper.com/
Nate
I will take a look at this, it sounds great. Thanks.



_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-***@mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list
Josh Trutwin
2005-01-17 18:53:03 UTC
Permalink
On Wed, 1 Sep 2004 16:01:31 -0500
Post by rotbau at squishnet.com ()
Post by nate at refried.org ()
What I did was replace
qmail-smtpd with qpsmtpd. It's a replacement that works pretty
well and has lots of plugins for dealing with spam at the smtp
conversation level. I think it's the best thing since
spamassassin.
http://smtpd.develooper.com/
Nate
I will take a look at this, it sounds great. Thanks.
My personal favorite is mailfront - http://untroubled.org/mailfront/ - probably doesn't work with qpsmtpd though. If you want to do effective POP-after-SMTP use relay-ctrl - http://untroubled.org/relay-ctrl/

http://untroubled.org/ contains lots of useful software.

Josh

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-***@mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list
rotbau at squishnet.com ()
2005-01-17 18:53:05 UTC
Permalink
Post by David Phillips
You probably have a .qmail-default file in ~/alias that is delivering
mail to you. Create a .qmail-mailer-daemon file in ~/alias with a
single #.
Alright, I tried this last night. I do not have a .qmail-default in my alias
directory. I changed the .qmail-mailer-daemon file in alias to be just a
single #
but that didn't work either. I have also tried /dev/null in that file but same
results. By the way I have restarted qmail after each change so I don't think
that is the problem.
Post by David Phillips
If you just want to stop these particular messages, try googling around
for qmail and "double bounce", which is the sendmail nomenclature for the
bounce-of-a-bounce message.
I googled for bounce bounce and found reference to a /qmail/control/doublebounce
file. It suggests putting a name in that file (exaple used doublebounce)which
references a .qmail file (for example doublebounce). Create the .qmail file
.qmail-doublebounce and either add a use that you want the mail to go to or
leave it completely blank for qmail to drop them completely. I haven't had a
chance to try it yet but it sounds promising. I'll let you know. Thanks.

regards
rotbau



_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-***@mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list

Continue reading on narkive:
Loading...