Yes as Leonardo has stated I can use the sendmail command in XMail. However this will only work on the XMail machine; if I send a message from another server using the mail utility the problem still exists.
I've tested as completly as I can from several of my servers & the behaviour is the same no matter what server I mail from. In the past I was able to send e-mail using a script which utilised the mail command line mailer. This was done from a machine other than the mail server. The server in question has not been upgraded as was the mail server machine. This suggests to me there is some difference between XMail 1.17 and 1.22 in this regard, as with 1.17 I could use mail to send messages with no problems. With 1.22 many are rejected because the receiving SMTP server sees the address in the "Return-Path" line (see below) which is either [EMAIL PROTECTED] (if the message is generated on the XMail box) or [EMAIL PROTECTED] (if the message is sent from another server using the mail command. Two questions for Davide: 1. If I send a message from another machine which uses the XMail machine as a smart host, should the return path not be that of the originating machine, eg. [EMAIL PROTECTED] instead of [EMAIL PROTECTED] (see example msg below)? 2. Has there been a change in XMail since 1.17 that has changed the way the sender of a message is interpreted? ----- begin ----- Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] X-AuthUser: [EMAIL PROTECTED] Received: from buttons.sing.auston.com ([202.42.186.84]:45609) by sing.auston.com ([202.42.186.82]:25) with [XMail 1.22 ESMTP Server] id <S11860D> for <[EMAIL PROTECTED]> from <[EMAIL PROTECTED]>; Mon, 9 Jan 2006 15:25:59 +0800 Received: from root by buttons.sing.auston.com with local (Exim 3.36 #1 (Debian)) id 1EvrPi-0000Lp-00 for <[EMAIL PROTECTED]>; Mon, 09 Jan 2006 15:25:58 +0800 To: [EMAIL PROTECTED] Subject: Testing From: [EMAIL PROTECTED] Message-Id: <[EMAIL PROTECTED]> Date: Mon, 09 Jan 2006 15:25:58 +0800 Status: R X-Status: NC X-KMail-EncryptionState: X-KMail-SignatureState: X-KMail-MDN-Sent: This is a test. ----- end ----- Thanks Adrian Hicks -- MIS Manager Auston Institute of Management & Technology 45 Middle Rd, #01-00 Auston Unicentre Singapore Tel: 6339 7700 Fax: 6339 7600 Web: http://www.auston.edu.sg/ On 06 January 2006 20:46, Leonardo Fogel wrote: > --- Adrian Hicks wrote: > > The options are as follows: > > > > -a Specify additional header fields on the > > command line such as "X-Loop: [EMAIL PROTECTED]" etc. > > Hi. > (This option really doesn't exist in the mail v.8.1.1 > included in Fedora Core 4.) > The "From" _header_ field, which is part of the > message, isn't relevant to the MTA. (Novell's > GroupWise is one of the few exceptions to that rule.) > You need to set the Return-Path (MAIL FROM) _envelope_ > field, which is not part of the message and, > therefore, cannot be set with -a. Does the mail > utility have an option or environment variable to set > the Return-Path? > > I strongly recomend that you use XMail's sendmail. > > Regards. > > > > > > > > > > _______________________________________________________ > Yahoo! doce lar. Faça do Yahoo! sua homepage. > http://br.yahoo.com/homepageset.html > > - > To unsubscribe from this list: send the line "unsubscribe xmail" in > the body of a message to [EMAIL PROTECTED] > For general help: send the line "help" in the body of a message to > [EMAIL PROTECTED] > > --- > [This E-mail was scanned for viruses.] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]