From: Matthias Wimmer [mailto:[EMAIL PROTECTED] > > Bowie Bailey schrieb am 2005-01-20 12:36:25: > > > You can log into the Courier server and issue the mailq command. > > > This will list everything in the queue. You'll notice message > > > IDs. > > > You can then issue the command cancelmsg /messageid/ (omit the > > > slashes, and instead put the actual message ID in) > > > > Actually, my problem is that this method is not working. If I use > > the cancelmsg command to cancel the message, Courier sends a > > cancellation notice to postmaster. When this notice is forwarded > > to my account on Exchange, it is rejected and becomes stuck in the > > queue. When I try to cancel that message, the same routine is > > repeated. > > As the first bounce gets rewritten to have an empty sender address, > your second cancelmsg will generate a double bounce which should not > be delivered to your other mailserver but to the postmaster account > on your courier server. > > I don't know if you forward this account, but you shouldn't as > double-bounces normally cannot be forwarded due to their special > sender address - and this is intentional to prevent loops. Even if > you have forwarded your postmaster account ... you can temporarily > redirect this forward to a local account where the message will be > delivered and therefore disappear from the queue.
From: Sam Varshavchik [mailto:[EMAIL PROTECTED] > > Set up a temporary alias to redirect that address to a local > maildir. Run makealiases, then 'courier restart'. Then cancel the > message. That should get rid of the bounce. This worked. I just removed the forward and let it deliver locally. In my setup, postmaster is aliased to my local account and my local account is forwarded to my account on the Exchange server via maildrop. Thanks to both Matt and Sam for the suggestion. I don't know why I didn't think of that myself! :) Bowie ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
