[toaster] weird thing happened

2003-06-27 Thread John Shireley

Hey all, I've experienced a weird mail anomaly that I was wondering if
anyone else has seen yet?  For reasons I can't explain, my boss wants us
to do "lists" by creating a username (e.g. saleslist), and filling its
.qmail file with |forwards to individual recipient's names.  Yes, its
stupid.  In any event, I created a new one, put in the people's names,
and sent a test message.  The message appeared to be stuck in the queue,
but was delivered multiple times to the recipients until I finally
removed it from the queue.  I did notice that I had forgotten to put
"|forward" in front of the last name in the list, is it possible that
caused this behavior?

-- 
John Shireley
IT Department
Cook Incorporated
812.339.2235 ext. 2027
jshireley @ cook-inc.com



Re: [toaster] weird thing happened

2003-06-27 Thread Tom Collins
On Friday, June 27, 2003, at 06:49  AM, John Shireley wrote:
Hey all, I've experienced a weird mail anomaly that I was wondering if
anyone else has seen yet?  For reasons I can't explain, my boss wants 
us
to do "lists" by creating a username (e.g. saleslist), and filling its
.qmail file with |forwards to individual recipient's names.
I hope you meant &forward instead of |forward.

In any case, email addresses that start with a letter or number don't 
need the & (it's probably a good idea to use it anyway).  You could use 
qmailadmin to set up a forward and add addresses to it.

Or, just set up an ezmlm mailing list.  It's not that hard, and would 
accomplish the same thing with some extra features.

--
Tom Collins
[EMAIL PROTECTED]


Re: [toaster] weird thing happened - forward kept forwarding

2003-06-27 Thread John Shireley
No, I meant the pipe symbol "|".  I'm not using any of the virt stuff,
its pretty much a straight /etc/passwd installation.  Oddly enough I've
been trying to duplicate this by just using my own address and can't
seem to get it to do it again, whereas my original group of usernames
received something like 30+ duplicate messages.  G...

On Fri, 2003-06-27 at 09:27, Tom Collins wrote:
> On Friday, June 27, 2003, at 06:49  AM, John Shireley wrote:
> > Hey all, I've experienced a weird mail anomaly that I was wondering if
> > anyone else has seen yet?  For reasons I can't explain, my boss wants 
> > us
> > to do "lists" by creating a username (e.g. saleslist), and filling its
> > .qmail file with |forwards to individual recipient's names.
> 
> I hope you meant &forward instead of |forward.
> 
> In any case, email addresses that start with a letter or number don't 
> need the & (it's probably a good idea to use it anyway).  You could use 
> qmailadmin to set up a forward and add addresses to it.
> 
> Or, just set up an ezmlm mailing list.  It's not that hard, and would 
> accomplish the same thing with some extra features.
> 
> --
> Tom Collins
> [EMAIL PROTECTED]
> 
> 
-- 
John Shireley
IT Department
Cook Incorporated
812.339.2235 ext. 2027
jshireley @ cook-inc.com



Re: [toaster] weird thing happened - forward kept forwarding

2003-06-27 Thread Tom Collins
On Friday, June 27, 2003, at 07:46  AM, John Shireley wrote:
No, I meant the pipe symbol "|".  I'm not using any of the virt stuff,
its pretty much a straight /etc/passwd installation.  Oddly enough I've
been trying to duplicate this by just using my own address and can't
seem to get it to do it again, whereas my original group of usernames
received something like 30+ duplicate messages.  G...
The pipe (|) indicates program delivery.  Ampersand (&) is used for 
forwarding address.

Take a look at `man dot-qmail` or, if the qmail man pages weren't 
installed (they weren't on my system), go into the qmail source 
directory and do `man ./dot-qmail.5`.

--
Tom Collins
[EMAIL PROTECTED]


Re: [toaster] weird thing happened - forward kept forwarding

2003-06-27 Thread John Shireley
I understand that, but for some reason this is the way we've always done
it.  It works, so I never questioned the practice.  Ok, testing this
again, it seems like if I only have one address in there it only
delivers the message once, correctly.  But if I have more than one addy
in there, the message somehow gets stuck in the queue and repeatedly
delivers itself.  What would cause that kind of behavior?

On Fri, 2003-06-27 at 10:09, Tom Collins wrote:
> On Friday, June 27, 2003, at 07:46  AM, John Shireley wrote:
> > No, I meant the pipe symbol "|".  I'm not using any of the virt stuff,
> > its pretty much a straight /etc/passwd installation.  Oddly enough I've
> > been trying to duplicate this by just using my own address and can't
> > seem to get it to do it again, whereas my original group of usernames
> > received something like 30+ duplicate messages.  G...
> 
> The pipe (|) indicates program delivery.  Ampersand (&) is used for 
> forwarding address.
> 
> Take a look at `man dot-qmail` or, if the qmail man pages weren't 
> installed (they weren't on my system), go into the qmail source 
> directory and do `man ./dot-qmail.5`.
> 
> --
> Tom Collins
> [EMAIL PROTECTED]
> 
> 
-- 
John Shireley
IT Department
Cook Incorporated
812.339.2235 ext. 2027
jshireley @ cook-inc.com



Re: [toaster] weird thing happened - forward kept forwarding

2003-06-27 Thread Tom Collins
On Friday, June 27, 2003, at 09:52  AM, John Shireley wrote:
I understand that, but for some reason this is the way we've always 
done
it.  It works, so I never questioned the practice.  Ok, testing this
again, it seems like if I only have one address in there it only
delivers the message once, correctly.  But if I have more than one addy
in there, the message somehow gets stuck in the queue and repeatedly
delivers itself.  What would cause that kind of behavior?
Until you switch from "|" to "&", I think that all bets are off.  
You'll have to look at the source code to qmail-local to see how it 
handles "|[EMAIL PROTECTED]", because it's undefined in the documentation.

Based on my understanding of how .qmail files are handled, if the exit 
code from a program execution (a line starting with "|") isn't 0, then 
it's classified as an unsuccessful delivery and will be requeued.

What happens if you use "&[EMAIL PROTECTED]" and all email accounts are 
valid?

--
Tom Collins
[EMAIL PROTECTED]


Re: [toaster] weird thing happened - forward kept forwarding

2003-06-27 Thread John Shireley

I see what you're saying.  Well, when I use an "&", I get an error
message kicked back of "no user by that name".  Also, I think I
mentioned this before, but we are currently using the pipe "|" and its
working with other usernames in their .qmail files for forwarding
functions.


On Fri, 2003-06-27 at 13:35, Tom Collins wrote:
> On Friday, June 27, 2003, at 09:52  AM, John Shireley wrote:
> > I understand that, but for some reason this is the way we've always 
> > done
> > it.  It works, so I never questioned the practice.  Ok, testing this
> > again, it seems like if I only have one address in there it only
> > delivers the message once, correctly.  But if I have more than one addy
> > in there, the message somehow gets stuck in the queue and repeatedly
> > delivers itself.  What would cause that kind of behavior?
> 
> Until you switch from "|" to "&", I think that all bets are off.  
> You'll have to look at the source code to qmail-local to see how it 
> handles "|[EMAIL PROTECTED]", because it's undefined in the documentation.
> 
> Based on my understanding of how .qmail files are handled, if the exit 
> code from a program execution (a line starting with "|") isn't 0, then 
> it's classified as an unsuccessful delivery and will be requeued.
> 
> What happens if you use "&[EMAIL PROTECTED]" and all email accounts are 
> valid?
> 
> --
> Tom Collins
> [EMAIL PROTECTED]
> 
> 
-- 
John Shireley
IT Department
Cook Incorporated
812.339.2235 ext. 2027
jshireley @ cook-inc.com