Heinz Diehl wrote: >> Received: from localhost (alfred.gayleard.eu [127.0.0.1]) by >> alfred.gayleard.eu (Postfix) with ESMTP id BF4C622D57 for >> <tim@xxxxxxxxxxxxxxxxxxxxx>; Thu, 17 Apr 2014 14:15:24 +0200 (CEST) >> Received: from alfred.gayleard.eu ([127.0.0.1]) by localhost >> (alfred.gayleard.eu [127.0.0.1]) FrqMz92sTpCb for >> <tim@xxxxxxxxxxxxxxxxxxxxx>; Thu, 17 Apr 2014 14:15:02 +0200 (CEST) >> Received: from alfred.gayleard.eu (alfred.gayleard.eu [127.0.0.1]) by >> alfred.gayleard.eu (Postfix) with ESMTP id [5E6222A05A for <tim@localhost>; Thu, 17 Apr 2014 14:15:01 +0200 (CEST)] > >> Which of these describes where "mail is sent to"? > > None. This is why they are called "Received:". Thanks for sticking to this. But in an earlier posting you said ------------------------ > With mydestination you specify your local domain(s). Example: > > mydestination = fritha.org > > All mail handled by postfix which goes to .fritha.org will be > delivered locally. ------------------------ When I said "mail is sent to" above I should have said "which goes to" as I was simply quoting your explanation above. But I'm still puzzled by mydestination. In my case I've actually added everything postfix could possibly want: mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain But what is fritha.org in your case? Is that your domain? So could you equally well have written mydestination = $mydomain which you presumably defined earlier? >> I actually get all my email by fetchmail from various mail servers. >> None of my mail is addressed by the sender to "*.gayleard.eu". > > It's postfix which to you. Fetchmail > connects to it via localhost. Look here: > > Received: from localhost (alfred.gayleard.eu [127.0.0.1]) by > alfred.gayleard.eu (Postfix) with ESMTP id BF4C622D57 for > [....] [<tim@localhost>; Thu, 17 Apr 2014 14:15:01 +0200 (CEST)] Ok, I've added the missing line. Am I rignt in thinking that fetchmail actually passes the email on to postfix's sendmail-emulator? I'm not quite clear how localhost comes into this. > Your local machine which claims to be "alfred.gayleard.eu" and which > has the IP 127.0.0.1 has received mail for "for" (which your header > lacks - a simple c&p fail). > >> So it seems to me these headers must be added by postfix >> or possibly by fetchmail. > > It's postfix. Look again, it says "by alfred.gayleard.eu (Postfix)..." > >> But if postfix has added these headers it doesn't seem to make sense >> for postfix to ask if *.gayleard.eu is "mydestination". > > It makes perfect sense, because this is the domain your postfix is > the final destination for. Postfix will attempt to deliver all mail to > this domain locally. Ok, I think I see what you are saying. Postfix has delivered the email to alfred.gayleard.eu (which happens to be the hostname of the machine postfix is running on) because I specified this as mydestination - and then postfix has added one or two headers to say that it has done this? Actually, I wouldn't say that postfix "finally delivers these mails" to me, since I'm also running amavis and dovecot, and the mail finishes up on ~/maildir from which I collect it with KMail on my laptop. -- Timothy Murphy e-mail: gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin 2, Ireland -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org