From: John <fet...@je...> - 2006-07-28 00:36:46
|
Rob thanks for your suggestions. I decided to step back from the problem. I've taken a day or so to read the RFC material describing message formats and I have studied several incoming messages. I now realise I can not expect the header information to contain what I thought and have approached the problem from another angle. I now let a user's mail hit Postfix as that user and I have written a small script that scans the mail and makes a "best guess" at the intended recipient by parsing the "Received", "Envelope-to" and "X-Original-To" fields. I then deliver mail into a user folder from within Procmail by altering the argumets to the deliver script, delivering into Cyrus imap. Thanks for taking the time to respond to my query. -----Original Message----- From: fet...@li... [mailto:fet...@li...]On Behalf Of Rob MacGregor Sent: 24 July 2006 21:21 To: fet...@li... Subject: Re: [fetchmail-users] Simple fetch and forward |