On Thu, 26 Sep 2002, Laurent ALLUYN wrote:

> Hello devinfo,
> 
>   Is it possible to define another default replyu address than login
> 
> ex.  login: [EMAIL PROTECTED]
>      alias : [EMAIL PROTECTED]   this one is the default
> reply address
> 
> thx for your help

That's a mail client issue rather than an MTA issue. The Reply-To:
header is set by the mail client.

There is a way to override your From: address without changing your
mail client's configuration.

IF (and only if) you are logged into the SME Server, AND your mail
client calls one of the following to put the mail into the queue

    /usr/sbin/sendmail
    /usr/lib/sendmail
    /var/qmail/bin/sendmail
    /var/qmail/bin/datemail
    /var/qmail/bin/qmail-inject

(All of these end up calling qmail-inject, except qmail-inject itself
of course).

Then you can set up some environment variables.

Here's mine:

    QMAILNAME="Peter Samuel"
    QMAILUSER=Peter_Samuel
    QMAILHOST=mitel.com
    QMAILINJECT=f
    export QMAILNAME QMAILUSER QMAILHOST QMAILINJECT

See

    man -M /var/qmail/man qmail-inject

for more information.

If you mail client is NOT running on the SME Server, or it injects
mail into the queue via SMTP, then you'll need to consult the
documentation for your mail client.

-- 
Regards
Peter
----------
Peter Samuel, Senior Systems Administrator  [EMAIL PROTECTED]
http://www.e-smith.org (development)        http://www.mitel.com (corporate)
Phone: +1 613 592 2122                      Fax: +1 613 592 1175
Mitel Networks, 350 Legget Dr, Ottawa, ON K2K 2W7 Canada

"If you kill all your unhappy customers, you'll only have happy ones left"



--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org

Reply via email to