Discussion:
failure: This_message_is_looping
(too old to reply)
Vahid Moghaddasi
2004-12-28 17:21:31 UTC
Permalink
Hi all,
I have a simple qmail configuration with QUEUEEXTRA functionality, no
virtualdomain, my user "log" is a real user. I see this error in the
log:
"This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/"
only when I try to forward e-mail sent to "log" to another user on
another machine.
Here are some information: some domains are internal only!

cat ~log/.qmail
***@archive.digitalsafe.net

cat control/smtproutes
archive.digitalsafe.net:pp03spem40.ina.dev.com

cat control/me
inahsuxdsa02.ina.dev.com

cat control/locals
inahsuxdsa02
inahsuxdsa02.ina.dev.com

cat control/virtualdomains

I tried to use dot-forward as following but still the same problem:
cat ~log/.qmail
|/var/qmail/bin/dot-forward .forward

cat ~log/.forward
***@archive.digitalsafe.net

Here is the last few lines in sender machine inahsuxdsa02.ina.dev.com

2004-12-28 12:06:07.757277500 end msg 10551
2004-12-28 12:06:07.780696500 delivery 35: failure:
This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/
2004-12-28 12:06:07.808424500 status: local 0/20 remote 2/20
2004-12-28 12:06:07.908389500 delivery 36: success:
167.113.19.31_accepted_message./Remote_host_said:_250_ok_1104253554_qp_23796/
2004-12-28 12:06:07.922211500 status: local 0/20 remote 1/20
2004-12-28 12:06:07.922636500 triple bounce: discarding bounce/10547
2004-12-28 12:06:07.934096500 end msg 10547


Here is the last few lines in receiver machine
2004-12-28 12:06:07.653270500 info msg 10547: bytes 1981 from <#@[]> qp
22071 uid 30008
2004-12-28 12:06:07.730890500 starting delivery 35: msg 10547 to local
***@inahsuxdsa02.ina.dev.com
2004-12-28 12:06:07.731060500 status: local 2/20 remote 1/20
2004-12-28 12:06:07.731289500 starting delivery 36: msg 10547 to remote
***@archive.digitalsafe.net
2004-12-28 12:06:07.731450500 status: local 2/20 remote 2/20
2004-12-28 12:06:07.731712500 delivery 33: success:
dot-forward:_info:_qp_22071/did_0+0+1/

Thanks,
Vahid.
Dave Sill
2004-12-29 13:38:49 UTC
Permalink
Post by Vahid Moghaddasi
I have a simple qmail configuration with QUEUEEXTRA functionality, no
virtualdomain, my user "log" is a real user. I see this error in the
"This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/"
only when I try to forward e-mail sent to "log" to another user on
another machine.
Your "log" deliveries can't result in other deliveries that would have
to be logged or a loop will result.

If you must forward log deliveries elsewhere, save them to a maildir
and use maildirsmtp.
--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Vahid Moghaddasi
2005-01-03 03:46:12 UTC
Permalink
Post by Dave Sill
Post by Vahid Moghaddasi
I have a simple qmail configuration with QUEUEEXTRA functionality, no
virtualdomain, my user "log" is a real user. I see this error in the
"This_message_is_looping:_it_already_has_my_Delivered-To_line._(#5.4.6)/"
Post by Dave Sill
Post by Vahid Moghaddasi
only when I try to forward e-mail sent to "log" to another user on
another machine.
Your "log" deliveries can't result in other deliveries that would have
to be logged or a loop will result.
I was afraid you would say that. I had No problem compiling serialmail
on Solaris.
Post by Dave Sill
If you must forward log deliveries elsewhere, save them to a maildir
and use maildirsmtp.
Is there a script or cron entry out there which you recommend that I
can use to forward e-mail to another machine?

Thank you,
Vahid.
Post by Dave Sill
--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook
<http://web.infoave.net/~dsill>
Post by Dave Sill
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Dave Sill
2005-01-03 13:58:53 UTC
Permalink
Post by Vahid Moghaddasi
Is there a script or cron entry out there which you recommend that I
can use to forward e-mail to another machine?
It's pretty simple. Just create a script that runs maildirsmtp under
setlock, e.g.:

http://www.ornl.gov/lists/mailing-lists/qmail/2001/07/msg00907.html

and run it from cron whenever you want.
--
Dave Sill Oak Ridge National Lab, Workstation Support
Author, The qmail Handbook <http://web.infoave.net/~dsill>
<http://lifewithqmail.org/>: Almost everything you always wanted to know.
Vahid Moghaddasi
2005-01-05 22:58:44 UTC
Permalink
Thanks Dave, I will have to fiddle with virtualdomain and/or
users/assign files before I can get it to work.
Thanks again for the direction.

Vahid.

Loading...