On Thu, Jun 29, 2000 at 01:19:06AM -0400, S.Salman Ahmed wrote:

> But then how come sending email to [EMAIL PROTECTED] sends it correctly
> to my local user account ? Why should [EMAIL PROTECTED] be treated/relayed
> any differently than [EMAIL PROTECTED] ?

Postfix does alias database rewrites at the local delivery stage.  What
is happening is that Postfix sees "[EMAIL PROTECTED]" and tries to deliver
it locally.  If the account is just an account (as for your user
account) all is well.  If the account is an alias then Postfix replaces
the destination address with the address or addresses on the right hand
side of the alias and starts delivering them.  The problem is that your
aliases have no domain part so Postfix puts a default in but isn't
configured to deliver this default locally.

What are the values of mydestination, myorigin, myhostname and mydomain?  
What is the output of "hostname"?

A quick hack that should work around the problem would be to change your 
alias database to have right hand sides in [EMAIL PROTECTED] form.

> But if I remove the relayhost line from /etc/main.cf, how will I be able
> to send email to any other internet users e.g. this list, etc. ?

Removing the relayhost won't help at all.  By the time Postfix looks at
the relayhost it has already decided to try to deliver the mail
remotely.

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
            http://www.tardis.ed.ac.uk/~broonie/
EUFS        http://www.eusa.ed.ac.uk/societies/filmsoc/

Attachment: pgpzHOfm6kcbH.pgp
Description: PGP signature

Reply via email to