LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   fetchmailrc configuration to receive email for 2 domains (https://www.linuxquestions.org/questions/linux-software-2/fetchmailrc-configuration-to-receive-email-for-2-domains-161269/)

chillout 03-23-2004 03:41 AM

fetchmailrc configuration to receive email for 2 domains
 
My .fetchmailrc looks like the following:

set logfile "/var/log/fetchmail"
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
poll vmail.myprovider.com with proto POP3 envelope Delivered-To qvirtual mydomain1.com-
localdomains mydomain1.com,mydomain2.com
user 'postmaster' there with password 'password' to * here


On the "vmail.myprovider.com" server I receive email for two domains. How can I add the second domain on the fetchmailrc? When I add a second poll like: "poll vmail.myprovider.com with proto POP3 envelope Delivered-To qvirtual mydomain2.com-" after the first poll, when I run fetchmail all the mail for 'mydomain2.com' is flushed when the first poll runs and as a result I lose all the mail for mydomain2.com


I am not very experienced in working with Linux, so any help is greatly appreciated.

Thank you.


All times are GMT -5. The time now is 02:11 PM.