Hi all.

I've recently upgraded from 1.17 and have also upgraded the OS, & have one 
small issue re. sending of mail from scripts.

Using 1.22 on Debian Testing (Etch).

I have a filter (bash script) that replies to senders on some conditions.  
This script uses the mail utility and includes an extra header for the 
sender (see below):

begin ---
mail -s "Spam? / Request for mail access" -a "From: [EMAIL PROTECTED]"  
"$fromsender" < /var/MailRoot/filters/htmlreply.msg
end ---

On the new machine I receive many errors (old one no problems).  The errors 
show the sender of the original message as [EMAIL PROTECTED] (which I assume 
is from the Return-path: header) rather than the sender I have specified 
in the command.

And the bounces I get show that the recipient's server also sees 
[EMAIL PROTECTED] rather than the address I specify (see below).

begin ---
[<00>] XMail bounce: [EMAIL PROTECTED];Error=[501 Syntax 
error in parameters or arguments]


[<01>] Error sending message 
[1136437219344.2899659696.c5.merlin.auston.com] from [sing.auston.com].

ID:        <L117A08>
Mail From: <[EMAIL PROTECTED]>
Rcpt To:   <[EMAIL PROTECTED]>
Server:    <mta-v26.level3.mail.yahoo.com> [64.156.215.18]

[<02>] The reason of the delivery failure was:

501 Syntax error in parameters or arguments
end ---


Any thoughts?

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/
-
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]

Reply via email to