[Sderby] Fetchmail / Postfix problem! Help gratefully received!

Matthew Humphreys sderby at mailman.lug.org.uk
Mon Jul 28 17:09:00 2003


Hi Guys,

Still having fun with Fetchmail and Postfix.

(been messing around since I left the meeting on Sunday!)

My set up:-

All the email to my domains is collected by a virtual server hosted
elsewhere.  This works fine! I am trying to connect to this server bu
fetchmail, from my local linux box, and distribute the email on the
local network.

My local box does not have a FQDN.

Sounds OK so far?

At the moment, fetchmail is connecting and pulling down the email:


fetchmail: 6.2.0 querying 193.110.88.221 (protocol POP3) at Sat Jul 26
11:13:58 2003: poll started
fetchmail: POP3< +OK POP3 vs221.ukvs.net v2000.69rh server ready
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows:
fetchmail: POP3< TOP
fetchmail: POP3< LOGIN-DELAY 180
fetchmail: POP3< UIDL
fetchmail: POP3< STLS
fetchmail: POP3< USER
fetchmail: POP3< SASL LOGIN
fetchmail: POP3< .
fetchmail: POP3> STLS
fetchmail: POP3< +OK STLS completed
fetchmail: Repoll immediately on mrh@193.110.88.221
fetchmail: POP3< +OK POP3 vs221.ukvs.net v2000.69rh server ready
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows:
fetchmail: POP3< TOP
fetchmail: POP3< LOGIN-DELAY 180
fetchmail: POP3< UIDL
fetchmail: POP3< STLS
fetchmail: POP3< USER
fetchmail: POP3< SASL LOGIN
fetchmail: POP3< .
fetchmail: POP3> USER mrh
fetchmail: POP3< +OK User name accepted, password please
fetchmail: POP3> PASS 
fetchmail: POP3< +OK Mailbox open, 1 messages
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 2549
1 message for mrh at 193.110.88.221 (2549 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK Mailbox scan listing follows
fetchmail: POP3< 1 2549
fetchmail: POP3< .
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 2549 octets
reading message mrh@193.110.88.221:1 of 1 (2549 octets)
fetchmail: SMTP< 220 emslocal ESMTP Postfix
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-emslocal
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 10240000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XVERP
fetchmail: SMTP< 250 8BITMIME
fetchmail: SMTP> MAIL FROM:<anna@71b-2e2229.38db.com> BODY=8BITMIME
SIZE=2549
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT TO:<postmaster@localhost>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#*******************************************.***************************
*****fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok: queued as 051419820B
 not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Sayonara
fetchmail: 6.2.0 querying 193.110.88.221 (protocol POP3) at Sat Jul 26
11:14:05 2003: poll completed
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye
fetchmail: normal termination, status 0

But it never appears in a users mailbox.  It just vanishes!

My postfix file is :


alias_maps = hash:/etc/postfix/aliases

debugger_command =
	 PATH=/usr/bin:/usr/X11R6/bin
	 xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix

newaliases_path = /usr/bin/newaliases.postfix

mailq_path = /usr/bin/mailq.postfix

setgid_group = postdrop

manpage_directory = /usr/share/man

sample_directory = /usr/share/doc/postfix-1.1.11/samples

readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
alias_database = hash:/etc/postfix/aliases
relayhost = mail.onetel.net
myorigin = emsolutions.co.uk
mydestination = localhost,localhost.localdomain,



However, I also get error messages from failed sent mail:

Return-Path: <matthew.humphreys@emsolutions.co.uk>
Received: from emslocal (213-78-98-231.friaco.onetel.net.uk
[213.78.98.231])
	by bb-md2.onetel.net.uk (Mirapoint Messaging Server MOS
3.2.2-GA)
	with ESMTP id AIF26815;
	Sat, 26 Jul 2003 11:19:33 +0100 (BST)
Received: from localhost (unknown [127.0.0.1])
	by emslocal (Postfix) with ESMTP id 8BD939820D
	for <postmaster@localhost>; Sat, 26 Jul 2003 11:20:12 +0100
(BST)
Received: from 193.110.88.221 [193.110.88.221]
	by localhost with POP3 (fetchmail-6.2.0)
	for postmaster@localhost (multi-drop); Sat, 26 Jul 2003 11:20:12
+0100 (BST)
Received: from locust.co.uk
(82-35-27-230.cable.ubr04.hari.blueyonder.co.uk [82.35.27.230])
	by vs221.ukvs.net (8.11.6/8.11.6) with ESMTP id h6QAHoK16402
	for <mrh@one-web.com>; Sat, 26 Jul 2003 11:17:50 +0100
X-Locust-via: from dawnraid.net (qmailr@ironfist.locust.net
[192.100.100.249])
	by locust.co.uk (8.11.4/8.11.4) with SMTP id h6QAJ7i11073
	for <mrh@lcs1.luno.net>; Sat, 26 Jul 2003 11:19:07 +0100
Received: (qmail 17945 invoked by uid 503); 26 Jul 2003 10:19:01 -0000
Received: from raft (HELO radium.luno.net) (192.100.100.88)
  by stealth with SMTP; 26 Jul 2003 10:19:01 -0000
Received: (qmail 15649 invoked by uid 514); 26 Jul 2003 09:50:09 -0000
Delivered-To: locust-mrh@locust.net
Received: (qmail 15645 invoked from network); 26 Jul 2003 09:50:09 -0000
Received: from titanium.luno.net (213.219.19.82)
  by radium.luno.net with SMTP; 26 Jul 2003 09:50:05 -0000
Received: (qmail 12383 invoked from network); 26 Jul 2003 10:08:43 -0000
Received: from matthew.humphreys@emsolutions.co.uk by titanium by uid
503 with qmail-scanner-1.15 
 (sweep: 2.10/3.63.   Clear:. 
 Processed in 2.368216 secs); 26 Jul 2003 10:08:43 -0000
Received: from unknown (HELO vs221.ukvs.net) (193.110.88.221)
  by titanium.luno.net with SMTP; 26 Jul 2003 10:08:41 -0000
Received: from EMSSVR02 ([213.78.98.231])
	(authenticated)
	by vs221.ukvs.net (8.11.6/8.11.6) with ESMTP id h6QAHeK16354;
	Sat, 26 Jul 2003 11:17:40 +0100
From: "Matthew Humphreys" <matthew.humphreys@emsolutions.co.uk>
To: <mrh@locust.net>
Cc: <mrhsms@one-web.com>
Subject: TEAST
Date: Sat, 26 Jul 2003 11:18:57 +0100
Message-ID: <00e301c3535f$53c7afe0$6700a8c0@EMSSVR02>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Spam-Status: No, hits=0.0 required=5.0
	tests=none
	version=2.55
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
X-Fetchmail-Warning: no recipient addresses matched declared local names


Reporting-MTA: dns; bb-md2.onetel.net.uk
Arrival-Date: Sat, 26 Jul 2003 11:19:33 +0100 (BST)

Final-Recipient: RFC822; postmaster@localhost.emslocal
Action: failed
Status: 5.1.2
Remote-MTA: DNS; localhost.emslocal
Last-Attempt-Date: Sat, 26 Jul 2003 11:19:42 +0100 (BST)

>From Mail Delivery Subsystem <MAILER-DAEMON@bb-md2.onetel.net.uk> 
To matthew.humphreys@emsolutions.co.uk 
Date Sat, 26 Jul 2003 11:19:42 +0100 (BST) 
Subject Returned mail: Host unknown 
 
The original message was received at Sat, 26 Jul 2003 11:19:33 +0100
(BST) from 213-78-98-231.friaco.onetel.net.uk [213.78.98.231]

   ----- The following addresses had permanent delivery errors -----
<postmaster@localhost.emslocal>



Can anyone shed any light on the problem?

Should I be using sendmail?

Can someone talk me through the necessary config?


Many thanks,


Matthew