LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-03-2007, 07:25 AM   #1
beniwtv
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
fetchmail ignoring options


Hello,

I'm trying to configure fetchmail, to get e-mails from my server to my local box. Everything works fine, except that I don't want fetchmail to re-write my headers.


Here's my config (fake data):

Code:
poll mail.server.com protocol pop3 port 110 username "user@server" password "serverpass" keep no rewrite,
is root@server.com here and wants mda "/usr/local/bin/maildrop -V 5 /home/vmail/maildropcustembkp /home/vmail/xxxx/xxx/xxxxx/Maildir/"
All works well, but it just ignores the no rewrite option. I think the syntax I'm using is not correct. How must my poll line look like to get this working?

Any clue?

Thanks.
 
Old 07-04-2007, 12:02 AM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Try this:
Code:
poll mail.server.com protocol pop3 port 110 
user "user@server" there with password "serverpass" is 'root@server.com' here and wants mda "/usr/local/bin/maildrop -V 5 /home/vmail/maildropcustembkp /home/vmail/xxxx/xxx/xxxxx/Maildir/" options keep no rewrite
Some of it is in the wrong order. I'm not sure where the 'and wants...' bit should be but 'options keep no rewrite' come after the user info.

*Edit: I just had another look at my .fetchmailrc and made some changes here.

Last edited by dive; 07-04-2007 at 08:33 AM.
 
Old 07-04-2007, 02:26 AM   #3
beniwtv
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, this works now.

Now, there's another problem:

Fetchmail adds a header to the message (Received-From), something like this:

Code:
Received: from otherserver.com [xxx.xxx.xxx.xxx]    by server.com with POP3 (fetchmail-6.3.4)     for <root@server.com> (single-drop); Wed, 04 Jul 2007 09:27:48 +0200 (CEST)
Now, how can I disable this? It it possible to disable?

EDIT: Never mind - I found it out - just add the --invisible option

Last edited by beniwtv; 07-04-2007 at 02:41 AM.
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ignoring difference of { and } anandss2004 Programming 7 11-01-2005 07:11 PM
ignoring dependencies ergo_sum Linux - Newbie 1 04-03-2005 06:05 PM
xine-lib - configure ignoring options? lukebeales Linux - Software 4 05-28-2004 09:17 AM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 04:23 AM
up2date is ignoring me nattybumpo Linux - Networking 1 04-24-2003 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration