Re: [courier-users] Unable to get "From " line

This is a discussion on Re: [courier-users] Unable to get "From " line within the Courier-Imap forums, part of the Mail Servers and Related category; This is a MIME GnuPG-signed message. If you see this text, it means that your E-mail or Usenet ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-02-2005
Sam Varshavchik
 
Posts: n/a
Default Re: [courier-users] Unable to get "From " line

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.

--=_mimegpg-commodore.email-scan.com-5917-1123020947-0003
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Greg Earle writes:

> I'm having trouble with getting Horde/IMP's "Vacation" module
> working with Courier.
>
> My "courierd" entry for DEFAULTDELIVERY is
>
> DEFAULTDELIVERY="|| dotforward
> | /opt/courier/bin/preline /opt/procmail/bin/procmail"
>
> When I go into the Horde/IMP WebMail interface and enable
> Vacation messages, it creates the 4 .vacation.* files
> in my home directory and a ".forward" file, as expected.
> The ".forward" file contains
>
> \earle, "| /usr/ucb/vacation earle"
>
> However, when incoming mail comes in, I get this error:
>
> Aug 2 11:03:00 workcourier courierlocal: [ID 702911 mail.info] \
> id=00026B79.42EFB553.000013A1,from=<Greg@Earle.NAM E>,\
> addr=<earle@workcourier.my.do.main>: vacation: No initial From line


Of course, that's because you are invoking vacation without prepending the
From_ header.

Your invocation of preline is obviously used only to prepend the From_
header before the message is passed to procmail, and has nothing to do with
anything that happens as a result of invoking dot-forward.

In this case, the contents of your .forward file should probably be:

\earle, "| /opt/courier/bin/preline /usr/ucb/vacation earle"

> I thought for sure that given the "vacation: No initial From
> line" error, that I could simply change DEFAULTDELIVERY to
>
> DEFAULTDELIVERY="|| /opt/courier/bin/preline dotforward
> | /opt/courier/bin/preline /opt/procmail/bin/procmail"
>
> and get the needed initial "From " line added, but changing
> this had no effect - I still get the "vacation" error.


You need to review the description of the || operator, and dotforward.
dot-forward does not execute anything, so piping a message to dotfotward
accomplishes nothing. dotforward parses the contents of the .forward file,
reconciles it with the message's headers, and prints the forwarding
instructions on stdout, which the || operator then takes and re-interprets.


--=_mimegpg-commodore.email-scan.com-5917-1123020947-0003
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBC7/CTx9p3GYHlUOIRAoNFAJ43YRwBipgMBKXLePRYtsK4kOwQBgCe Icdp
g7UHG7qmSn1DVN/ULbPRn8o=
=6S9f
-----END PGP SIGNATURE-----

--=_mimegpg-commodore.email-scan.com-5917-1123020947-0003--


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0