fetchmail with two envelope options

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications fetchmail with two envelope options
# 1  
Old 04-25-2011
fetchmail with two envelope options

Dear All,

Is it possible to using 2 envelope options on fetchmail ?

Here is fetchmailrc configuration :

envelope "Envelope-To"
envelope "X-Apparently-To"



Thx Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Troubles inside an envelope function

Hi all! I have a function (named "orig") that analyze web sites given from an argument, it works very well when by itself: #!/bin/bash chain="$1" echo chain $chain curl "$chaine" -o prop.txt ... and then it perform some analysis on the prop.txt It works flawlessly if I type: orig... (2 Replies)
Discussion started by: Zephyr
2 Replies

2. Red Hat

Fetchmail Error

Hello All, I am using fecthmail on RHEL 5.fetchmail: fetchmail 6.3.6-1.1.el5.3.1 getting the below error. ################# Installation check passed Fetching email ... mail box file name is ....mailbox.2011051614 /usr/bin/fetchmail --all --timeout 3000 --nokeep --bsmtp... (0 Replies)
Discussion started by: ajaincv
0 Replies

3. Linux

Fetchmail Help

Hello there Unix & Linux Guru's and Gifted ones, Can anyone help me configure fetchmail on my redhat 9.0 This sounds to be silly but really I'm new to linux. I really need step by step installation and configuration on our company's required Redhat 9.0 (shrike) OS. Thank you and God... (2 Replies)
Discussion started by: struggled_boy
2 Replies

4. Linux

Fetchmail Ate my inbox!

Hello All. I was messing around with Fetchmail on a Test Email account. Here's what my fetchmailrc file looks like: poll imap.gmail.com proto IMAP fetchall ssl When I ran this, it removed all the test emails from my Google Account. There were a few emails that I needed, however, I... (3 Replies)
Discussion started by: drewrockshard
3 Replies

5. UNIX for Dummies Questions & Answers

fetchmail taking long time to fetchmail...

Hi peeps, We are having around 60 users. The time set to retrieve the mail is 300 sec. But it's taking around 1 hour to deliver mails. I am using debian sarge 3.1. any clues? And how it will affect if I decrease the time? My machine has got 1 p4 3.0 GHZ processor and 1 GB ram. The home... (2 Replies)
Discussion started by: squid04
2 Replies

6. IP Networking

fetchmail with pop3

once i used kmail (or sometimes outlook express) for my e-mail client. i had no problem with that. now being with unix console, i want to retrieve pop3 mails, using fetchmail. (where i can browse my mailbox(es) later) and it seems something i'm missing or do not understand. assuming my e-mail... (2 Replies)
Discussion started by: jaguar
2 Replies

7. UNIX for Dummies Questions & Answers

fetchmail suitable for this task?

Hi all. I'm currently building my own webmail server but I will need to collect my mail from several different account scattered around the 'Net. I know fetchmail can do this. The problem I have is that my main POP3 mailbox at my ISP lumps all users' e-mails into one box. This means that... (0 Replies)
Discussion started by: DraconianTimes
0 Replies
Login or Register to Ask a Question
envelopes(5)							File Formats Manual						      envelopes(5)

NAME
envelopes - sender/recipient lists attached to messages INTRODUCTION
Electronic mail messages are delivered in envelopes. An envelope lists a sender and one or more recipients. Usually these envelope addresses are the same as the addresses listed in the mes- sage header: (envelope) from djb to root From: djb To: root In more complicated situations, though, the envelope addresses may differ from the header addresses. ENVELOPE EXAMPLES
When a message is delivered to several people at different locations, it is first photocopied and placed into several envelopes: (envelope) from djb to root From: djb Copy #1 of message To: root, god@brl.mil (envelope) from djb to god@brl.mil From: djb Copy #2 of message To: root, god@brl.mil When a message is delivered to several people at the same location, the sender doesn't have to photocopy it. He can instead stuff it into one envelope with several addresses; the recipients will make the photocopy: (envelope) from djb to god@brl.mil, angel@brl.mil From: djb To: god@brl.mil, angel@brl.mil, joe, frde Bounced mail is sent back to the envelope sender address. The bounced mail doesn't list an envelope sender, so bounce loops are impossi- ble: (envelope) from <> to djb From: MAILER-DAEMON To: djb Subject: unknown user frde The recipient of a message may make another copy and forward it in a new envelope: (envelope) from djb to joe From: djb Original message To: joe (envelope) from joe to fred From: djb Forwarded message To: joe A mailing list works almost the same way: (envelope) from djb to sos-list From: djb Original message To: sos-list (envelope) from sos-owner to god@brl.mil From: djb Forwarded message To: sos-list to recipient #1 (envelope) from sos-owner to frde From: djb Forwarded message To: sos-list to recipient #2 Notice that the mailing list is set up to replace the envelope sender with something new, sos-owner. So bounces will come back to sos- owner: (envelope) from <> to sos-owner From: MAILER-DAEMON To: sos-owner Subject: unknown user frde It's a good idea to set up an extra address, sos-owner, like this: the original envelope sender (djb) has no way to fix bad sos-list addresses, and of course bounces must not be sent to sos-list itself. HOW ENVELOPE ADDRESSES ARE STORED
Envelope sender and envelope recipient addresses are transmitted and recorded in several ways. When a user injects mail through qmail-inject, he can supply a Return-Path line or a -f option for the envelope sender; by default the envelope sender is his login name. The envelope recipient addresses can be taken from the command line or from various header fields, depending on the options to qmail-inject. Similar comments apply to sendmail. When a message is transferred from one machine to another through SMTP, the envelope sender is given in a MAIL FROM command, the envelope recipients are given in RCPT TO commands, and the message is supplied separately by a DATA command. When a message is delivered by qmail to a single local recipient, qmail-local records the recipient in Delivered-To and the envelope sender in Return-Path. It uses Delivered-To to detect mail forwarding loops. sendmail normally records the envelope sender in Return-Path. It does not record envelope recipient addresses, on the theory that they are redundant: you received the mail, so you must have been one of the envelope recipients. Note that, if the header doesn't have any recipient addresses, sendmail will move envelope recipient addresses back into the header. This situation occurs if all addresses were originally listed as Bcc, since Bcc is automatically removed. When sendmail sees this, it creates a new Apparently-To header field with the envelope recipient addresses. This has the strange effect that each blind-carbon-copy recipient will see a list of all recipients on the same machine. When a message is stored in mbox format, the envelope sender is recorded at the top of the message as a UUCP-style From (no colon) line. Note that this line is less reliable than the Return-Path line added by qmail-local or sendmail. SEE ALSO
qmail-header(5), qmail-local(8), qmail-inject(8) envelopes(5)