Hi all,
For the time being, I link the defaulthost to defaultdomain.
This could solve your problem.
ln -s /var/qmail/control/defaultdomain
/var/qmail/control/defaulthost.
KF
> On Thu, Jun 20, 2002 at 01:32:04PM +0100, Andrew McCall
> > wrote: On Thursday 20 June 2002 12:34 pm, you wrote:
> >
> > > > qmail-reply sends from UID @ hostname rather than
> > > > email address
> > > =====================================================
> > > > > The second problem I am having is that when a user
> > > > sets an auto reply message, it seems to send the
> > > > message from the UID @ hostname rather than the
> email address. Some of my users have the UID @ hostname as
> > > > a mail alternative address anyway, so they will
> > > recieve them, but most don't :( >
> > > > I managed to change the hostname to just display the
> > > > domain I want by putting the domain into defaulthost
> > > > , but the replies stull come from the UID. How do I
> > change this to be the email address? >
> > > Shouldn't be. The reply address is $RECIPIENT which is
> > > $LOCAL@$HOST. $LOCAL@$HOST is the recipient address
> > and should be correct.
> > Can you explain that a bit to me?
> >
> > Are you saying that if my mail server is called
> > saturn.oldham.gov.uk (a internal domain name) and that
> handles mail for oldham.gov.uk (a real FQDN) and someone
> mails [EMAIL PROTECTED] and I have a reply
> > set, they should recieve a reply from
> > [EMAIL PROTECTED] ?
> > What was happening is that they would receive a reply
> > from [EMAIL PROTECTED], when I put the
> > defaulthost in, they started receiving mail from
> > [EMAIL PROTECTED]
> > Here is an LDAP entry for a test user I have :
> >
> > dn: uid=marvin.smith,o=oldhammbc, c=UK
> > objectClass: top
> > objectClass: person
> > objectClass: organizationalPerson
> > objectClass: inetOrgPerson
> > objectClass: mailRecipient
> > objectClass: qmailuser
> > uid: marvin.smith
> > qmailGID: 507
> > qmailUID: 503
> > accountStatus: active
> > deliveryMode: reply
> > mail: [EMAIL PROTECTED]
> > userPassword::
> > e1NIQX1XNnBoNU1tNVB6OEdnaVVMYlBnekczN21qOWc9
> > mailMessageStore: marvin.smith cn: IT Marvin Smith
> > sn: IT
> > givenName: Marvin Smith
> > mailReplyText: Test test test vacations messages
> >
> > If I send a test message to it.marvin.smith I get a
> > reply *from* it.marvin.smith, but the reply path is set
> > to martin.smith (his uid) below is the source of the
> > reply message :
> > Return-Path: <[EMAIL PROTECTED]>
> > Delivered-To: [EMAIL PROTECTED]
> > Received: (qmail 19255 invoked from network); 20 Jun
> > 2002 12:30:03 -0000 Message-ID:
> > <[EMAIL PROTECTED]> Date:
> > 20 Jun 2002 13:30:03 +0100 Delivered-To:
> > [EMAIL PROTECTED] Precedence: junk
> > To: [EMAIL PROTECTED]
> > From: [EMAIL PROTECTED] (via the qmail-reply
> > program) Subject: [Auto-Reply] Test
> > Content-Type:
> > X-UID: 1448
> >
> > Test test test vacations messages
> >
>
> OK, I can see the problem. The Return-Path: is set to a
> wrong address. The problem comes from qmail-inject that
> rewrites the mail header. It seems that we need to reset
> the environment so that the Return-Path: is set
> correctly. I tried to write the Return-Path: into the
> reply but then qmail-injects his doamin which is even
> worse.
> Will have a look at it.
>
> --
> :wq Claudio
--------------------------------------
This Email Was brought to you by
WebMail
A Netwin Web Based EMail Client
http://netwinsite.com/webmail/tag.htm