Re: Cannot understand maildrop...
Sam Varshavchik <[email protected]> Thu, 02 Apr 2026 17:12:48 -0400
| Newsgroups | gmane.mail.imap.courier.general |
|---|---|
| Message-ID | <[email protected]> |
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--===============8043841425392836910==
Content-Type: multipart/signed;
boundary="=_ripper.email-scan.com-1189651-1775164368-0001";
micalg=pgp-sha1; protocol="application/pgp-signature"
Content-Transfer-Encoding: 8bit
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--=_ripper.email-scan.com-1189651-1775164368-0001
Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Alessandro Vesely writes:
> Hi Sam,
>
> I created an alias, or rather two, one accented and one plain:
>
> [email protected]: [email protected]
> [email protected]: [email protected]
>
> This is the first extension I use for this account, so I added a .couri=
er-=20
> default which invokes maildrop, just like the regular .courier.
>
> Then in .maildrop I set:
>
> EXITCODE=3D0
> import EXT
> ...
> if ($EXT eq "cntb")
> {
> ...
>
> Messages arrive with a Delivered-To: [email protected], =
but =20
> on the "if" maildrop logs the following:
>
> ../.mailfilter(12): Evaluating IF condition.
> ../.mailfilter(12): Operation on: and cntb - string equal, result is 0
> ../.mailfilter(12): IF evaluated, result=3D0
>
> This log was obtained by running maildrop on the message just sent. (I=
t =20
> arrived, but the instructions in the if block were not executed.)
>
> It looks like $EXT was empty. How come? In my mailbox I have tons of =
ifs =20
> like that, which work perfectly.
>
> What am I missing?
The first thing to look into is exactly what's being delivered.
You want to find a log entry in syslog that records a delivery to the loc=
al =20
module, "module-local"
Apr 2 17:00:30 jack courierd[49676]: started,id=3D00000000005A07D1.00000=
00069CED8ED.0000C43B,from=3D<[email protected]=20
scan.com>,module=3Dlocal,host=3Dmrsam!mlm!1000!1000!/home/mrsam!!,addr=3D=
<mrsam>
"host" here specifies several values, the 2nd one, "mlm" in this case, wo=
uld =20
go into EXT. This message was sent to "mrsam-mlm". Here's one without an =20
extension:
Apr 2 17:07:17 jack courierd[49676]: started,id=3D00000000005A07D1.00000=
00069CEDA85.0000C56E,from=3D<[email protected]=20
scan.com>,module=3Dlocal,host=3Dmrsam!!1000!1000!/home/mrsam!!,addr=3D<mr=
sam>
--=_ripper.email-scan.com-1189651-1775164368-0001
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQRupkKLJP96aW75pIOKYPgoojZS4gUCac7b0AAKCRCKYPgoojZS
4qAFAQC7RyJTOPGdrylamY0e7nY+foEfbIV1KYoq5daTl1qhVQD/YAJXKixxdvHk
BMp/5PVGxDRF584vSjkk5WlRd0BOqg0=
=av7x
-----END PGP SIGNATURE-----
--=_ripper.email-scan.com-1189651-1775164368-0001--
--===============8043841425392836910==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============8043841425392836910==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
--===============8043841425392836910==--