Richard Michael writes:

Hi List,

I'd like to be sure I understand the following delivery mechanism:

Given:

$HOME/.courier as:

|| dotforward
./Maildir

and

$HOME/.forward as:

"|/usr/bin/vacation testuser"
\testuser

and /usr/bin/vacation is broken, since the messages lack a From_ line.



Reading maillog, it appears that dotforward is called, which then reads
.forward, generating .courier style delivery instructions.  The call to
vacation returns (presumably) non-zero due to no From_ line; I see this
in the maillog.  The dotforward delivery attempt to "|/usr/bin/vacation
testuser" generates backscatter suppression for "[EMAIL PROTECTED]".

Continuing, how does dotforward handle the "\testuser" line in .forward?

I understand that it removes the "\", but does it then write the message
directly to testuser's Maildir?

No.  As the dot-forward man page indicates, backslashes are stripped off
without any further processing.

                                Or does it deliver via courier since
"testuser" doesn't match the DTLINE, since DTLINE is
"[EMAIL PROTECTED]"?

Almost.  dot-forward prints the recipient address on standard output.  Now,
unwind things a bit and review what the || operator does.  The end result is
that the message is delivered via courier to “testuser”, for the reason you
just stated, but it's not dot-forward that will actually do that.

                         If it *does* deliver via courier, why doesn't
courier generate an "556 Address unavailable." due to the backscatter
suppression which just occurred due to vacation?

Well, _this_ delivery will fail, and the original address being delivered to
should end up getting blacklisted.  So the _next_ delivery attempt to this
address will get blown off.

those I have available in .mailfilter files.  Also, how can I see what
.courier style delivery instructions dotforward generates?  "cat

Just read the .forward file.  dot-forward merely reads the delivery
addresses out of .forward, deletes all the addresses it thinks are dupes
(based on the UFLINE, and Delivered-To: headers), and prints the rest to
standard output.


Attachment: pgpor9W2GUg2V.pgp
Description: PGP signature

Reply via email to