|
[solved] Fetchmail with Postfix Downloading Duplicates
Hello all,
Long time since I've posted on here.
Here is my issue at present, I've looked around but can't seem to find a solution or even if there is one.
The problem is I have just setup a server to be an email and webmail server, however the domain it is serving email for has its emails delivered to a POP server and as this server is going to be on a dynamic IP address I'd prefer it to stay that way.
So I've setup fetchmail to download this domains emails and drop them into postfix which is installed on the server, however, until I roll the server out I need to ensure I don't make any mistakes so I'm keeping the emails on the POP server too when fetchmail downloads them, however on next poll of fetchmail it downloads them all again.
I'd prefer to keep the emails on the server so the setup is as follows:
[ POP SERVER ] --fetchmail-- [ MAIL SERVER ]
I just wondered if anyone was aware of a way to keep the emails on the server and also not have them duplicate on the system.
The fetchmail settings are:
options flush
# Check mail every X seconds
set daemon 120
set syslog
set postmaster {admin user}
set bouncemail
poll {POPSERVER} with proto POP3 and options no dns
user {pop_user} there with pass {pop_password} is {mail_user} here options ssl
smtphost localhost
Any assistance would be greatly appreciated.
Last edited by Lee_Ball; 01-09-2009 at 06:39 AM.
|