Jump to content

fetchmail recommendations?


Recommended Posts

I have multiple email addresses that all end up in the same mailbox. I check this mailbox via POP3 with fetchmail and all the mail is then delivered to my account on my local machine (private IP on a private LAN) via Postfix.

I've been trying to set up the mailhost system, but it kept complaining about the host entry that fetchmail adds to the envelope. In this case the hostname isn't a real address, just the name of my computer with my domain name appended.

I tried changing that to "localhost", but now spamcop wants to try and verify "myuser[at]locallhost.comain".

I could probably set up a real DNS A record for <mymachinename>.<domain> that points to an IP address, but it wouldn't be pointing to my box's real IP address since it's a private IP.

What do you guys suggest? I have several more email addresses like this to apply for, and doing a waiver for all of them will be kind of a pain.

EDIT: Probably would be helpful to attach some output:

Return-Path: &lt;service[at]admin.spamcop.net&gt;
X-Original-To: rayvd[at]localhost
Delivered-To: rayvd[at]localhost.digitalpath.net
Received: from localhost (localhost [127.0.0.1])
	by keenpal.digitalpath.net (Postfix) with ESMTP id 7B78D45C430
	for &lt;rayvd[at]localhost&gt;; Mon, 20 Mar 2006 01:26:09 -0800 (PST)
Delivered-To: rayvd[at]digitalpath.net
Received: from mail.digitalpath.net [65.164.104.5]
	by localhost with POP3 (fetchmail-6.2.5.5)
	for rayvd[at]localhost (single-drop); Mon, 20 Mar 2006 01:26:09 -0800 (PST)
Received: (qmail 6360 invoked by uid 1546); 20 Mar 2006 09:25:59 -0000
Received: from 65.164.104.10 by pop (envelope-from &lt;service[at]admin.spamcop.net&gt;, uid 504) with qmail-scanner-1.25 
 (clamdscan: 0.87.1/1338.  
 Clear:RC:1(65.164.104.10):. 
 Processed in 0.02701 secs); 20 Mar 2006 09:25:59 -0000
Received: from chic01-gateway.digitalpath.net (HELO dpncorp.dpn.local) (65.164.104.10)
  by ns1.digitalpath.net with SMTP; 20 Mar 2006 09:25:59 -0000
Received: from chico-smtp1.digitalpath.net ([65.164.104.3]) by dpncorp.dpn.local with Microsoft SMTPSVC(6.0.3790.1830);
  Mon, 20 Mar 2006 01:25:58 -0800
Received: (qmail 6747 invoked by uid 7797); 20 Mar 2006 09:25:58 -0000
Received: from 204.15.82.22 by chico-smtp1.digitalpath.net (envelope-from &lt;service[at]admin.spamcop.net&gt;, uid 1542) with qmail-scanner-1.25 
 (clamdscan: 0.87.1/1337.  
 Clear:RC:0(204.15.82.22):. 
 Processed in 0.020791 secs); 20 Mar 2006 09:25:58 -0000
Received: from unknown (HELO spamcop.net) (204.15.82.22)
  by chico-smtp1.digitalpath.net with SMTP; 20 Mar 2006 09:25:58 -0000

This is for rayvd[at]corp.digitalpath.net.

corp addresses are on an Exchange server that hopefully will be retired so the config here is a bit odd.

Mail to rayvd[at]corp.digitalpath.net follows the following path:

Internet -> MX server for corp.digitalpath.net -> Exchange server -> Qmail server -> My local machine (via fetchmail, POP3 polled)

Link to comment
Share on other sites

  • 2 weeks later...
  • 6 months later...
I check this mailbox via POP3 with fetchmail and all the mail is then delivered to my account on my local machine (private IP on a private LAN) via Postfix.

I've been trying to set up the mailhost system, but it kept complaining about the host entry that fetchmail adds to the envelope. In this case the hostname isn't a real address, just the name of my computer with my domain name appended.

For starters, try using delivery by procmail specifying the "--invisible" option - this will keep you from adding headers for your fetchmail host.

Here is my crontab entry

*/10 * * * * /usr/bin/fetchmail -s --invisible MAIL-SERVER

Here is my ~/.fetchmailrc

skip MAIL-SERVER
 via pop3.DOMAIN.TLD proto POP3
 username "ThereName" password "There*Pass"
 here "HereName"
 fetchall
 no keep
 mimedecode
 mda "/usr/bin/procmail -d %T"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...