Am Sonntag, 27. Juli 2003 20:12 schrieb richard bown:
> Hi Jack
>
> well a fair progress.
>
> I can send mail to myself routing it thru the mail redirectat
> freeparking, to dyndns and thru postfix on this machine , with evolution
> pulling the mail from /var/spool/mail.
>
> However there a small snag
>
>
> I send a mail from evolution to [EMAIL PROTECTED]
> thats sent to smtp.blueyonder.co.uk
> which sends it to freeparking
> which redirects it as [EMAIL PROTECTED]
> which sorta flys past dyndns to postfix on this machine.
>
> My hostname here is gb7tf.org.uk
> in /etc/postfix/aliases
>
> richard:        [EMAIL PROTECTED]
>
> in /etc/posfix/virtual
>
> [EMAIL PROTECTED]       richard
>
> in etc/postfix/main.cf
> mydestination = $myhostname, localhost.$mydomain
> rf-engineer.homelinux.com ##thats all 1 line

the domain/host rf-engineer.homelinux.com is either virtual or it is in 
mydestination but never both. Think of it. mydestination defines the 
domain/hostpart which postfix consider as final destination to himself.

>
> virtual_alias_maps = hash:/etc/postfix/virtual
> alias_database = hash:/etc/postfix/aliases
> myhostname = gb7tf.org.uk
> myorigin = $mydomain
> masquerade_domains = $mydomain
> virtual_maps = hash:/etc/postfix/virtual
> canonical_maps = hash:/etc/postfix/canonical
> relayhost = smtp.blueyonder.co.uk
>
> I did get some help with the mydestination line on the club site tnx
>
> so what happens is the mail arrives addressed to
> "[EMAIL PROTECTED]"
>
> BUT it arrives in evolution as "[EMAIL PROTECTED]" and thats also the reply
> address which is not so good.

You have to rewrite the recipient address (use the canonical map)

>
> At least I can send mail to myself and it takes a few 10's of seconds
> now , compared with up to 10 mins via my ISP's popserver, also their pop
> sever can take up to 30 mins to authenticate the password
> The marvels of microsoft !!!! :)
>
>
> Any ideas where where that missing part of the address is going on my
> system.
> The last time I played with mail servers was on NOS which is a clone of
> the NOS written by Phil Karn nearly 20 years ago.
> And then rewrite files were called rewrite files.
>
> TIA
> Richard
>

And, if you are in doublt what postfix is doing look in the logs.

Martin
-- 
------------------------------------------------------------
H E L I X Gesellschaft f�r Software & Engineering mbH
------------------------------------------------------------
Hanauer Landstrasse 52              Telefon (069) 4789 35-30
D-60314 Frankfurt am Main           Telefax (069) 4789 35-44
------------------------------------------------------------
http://www.helix-gmbh.net                [EMAIL PROTECTED]
------------------------------------------------------------

Attachment: pgp00000.pgp
Description: signature

Reply via email to