I'm trying to use a box (armagh.my.net) as qmail server. Everything except
sending mail to my IP works fine. As per the manual I have set up for a ppp
connection and mail to remote addresses does in fact end up in the
alias/pppdir/new directory. However when I try to do:

> /usr/local/bin/maildirsmtp ~alias/pppdir alias-ppp- 208.156.39.203
'armagh'

I get the following (example) message bounced to me:
(full message and config at the bottom of this page)
===========================================================================
Hi. This is the maildirbounce program at armagh.my.net.
I'm afraid I wasn't able to deliver your message to the following address.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
208.156.39.203 said: 550 User not local
============================================================================

I know that relaying problems are well discussed and I have read and tried
to understand the FAQ, the howtos, 'Life with...' and the archives, so try
to be patient with a newbie. I have at least got this far without bothering
the list;)

Is the 550 message coming from the IPs mailhost and then being passed to me
by my qmail system, or is it originating locally (ie on my qmail system)?

If it's the IPs mailhost that is rejecting me, in what way does it
differentiate between this messages and a similar message being sent from
windows+outlook+modem (ie without qmail at all)? Can I fake qmail->remote
messages to look similar to windows->remote messages (and thus not get
rejected)?

All help and useful comments most welcome and if you need any further info
to help me, please tell me.

Regards to the list.

====================== the command line  ===================================

> /usr/local/bin/maildirsmtp ~alias/pppdir alias-ppp- 208.156.39.203
'armagh'

====================== the command line message ============================

maildirserial: info: new/959327248.2327.armagh bounced: 208.156.39.203 said:
550 User not local
maildirserial: info: returned new/959327248.2327.armagh: qp 280

====================== the returned message ================================

Hi. This is the maildirbounce program at armagh.my.net.
I'm afraid I wasn't able to deliver your message to the following address.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
208.156.39.203 said: 550 User not local

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 1149 invoked from network); 26 May 2000 05:44:35 -0000
Received: from unknown (HELO antrim) (192.168.1.10)
  by 192.168.1.2 with SMTP; 26 May 2000 05:44:35 -0000
Reply-To: <[EMAIL PROTECTED]>
From: "Col Wilson" <[EMAIL PROTECTED]>
To: "My Hotmail Address" <[EMAIL PROTECTED]>
Subject:
Date: Fri, 26 May 2000 07:42:36 +0200
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

====================== qmail-send log =====================================

@40000000392e1f5c274638dc end msg 2778529
@40000000392e2c192bc51dc4 new msg 2778529
@40000000392e2c192edfee6c info msg 2778529: bytes 451 from
<[EMAIL PROTECTED]> qp 2324 uid 501
@40000000392e2c1a0128bae4 starting delivery 17: msg 2778529 to local
[EMAIL PROTECTED]
@40000000392e2c1a01295ef4 status: local 1/10 remote 0/20
@40000000392e2c1a1aa69be4 delivery 17: success: did_1+0+0/
@40000000392e2c1a1aa73ff4 status: local 0/10 remote 0/20
@40000000392e2c1a1aa78e14 end msg 2778529

====================== smtp log ============================================

@40000000392e2dc610634254 tcpserver: status: 1/40
@40000000392e2dc61296cfdc tcpserver: pid 2814 from 127.0.0.1
@40000000392e2dc62f14d94c tcpserver: ok 2814 localhost:127.0.0.1:25
:127.0.0.1:alias:1062
@40000000392e2dd235a066b4 tcpserver: end 2814 status 0
@40000000392e2dd235a2db9c tcpserver: status: 0/40
====================== /var/qmail/rc ======================================

#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" qmail-start "./Maildir/"

====================== qmail startup file (under supervise) ===============

#!/bin/sh
exec /var/qmail/rc

====================== smtp startup file (under supervise) ================

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 2000000 \
    /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
        -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1

====================== tcp.smtp file =======================================

192.168.1.:allow,RELAYCLIENT=""
:allow


Reply via email to