In the Groupware Server With Group-Office, Postfix, Dovecot And SpamAssassin On Debian Lenny (5.0) installation, I get as far as Create the transport db: # cd /etc/postfix # postmap transport on page 2 and get the postmap: fatal: open transport: No such file or directory error. Any ideas ?
I don't understand what that means. How, where and what file are you talking about? Can someone please explain?
In Postfix, transport is a file that lists how to reach destinations or addresses that are not local and not to be reached by standard DNS-resolving and sending over port 25 (also standard). If it doesn't exist, just create it: cd /etc/postfix touch transport postmap transport If you're lucky, you'll never need the transport file; currently, my only entry on my private server, is a forward to my ISP for one domain that doesn't accept email directly from what they think is a dynamic range. Paul
Thanks for a fast response. In my case, I'm wondering if I have a similar setup to you. I'm using DynDNS, so should I have something in my transport file like you?
transport is only for outgoing email. The fact that you use DynDNS could mean you have a dynamic IP, but not nescessarily. If you don't encounter blocked outgoing email (using SORBS DUL for example), I wouldn't take the effort. If you're uncertain about how to approach, have an unwilling ISP (that blocks port 25 outgoing for example), are blocked a lot or have a conterminated IP-range (ex-spammer or - too - cheap hosting), you could/should use a "relayhost=smtp.yourprovider.com" in /etc/postfix/main.cf. Paul
When I am setting up my debian base, it asks for the domain. Does that mean I should put my dyndns domain or the one from my isp? The answer to this question might help me understand smtp and pop3 settings better. I'm glad you told me about the relayhost key, but I don't know what it means from the way I setup the host. I put the DynDNS domain in when I went through the setup of the machine.
Your question is mostly about incoming mail. You are free to pick whatever name you choose, as long as the domain(s) you want to receive email for are listed in mydestination (of the file that it points to). Relayhost is for outgoing email. The hostname (and domain) you give, are not really used in SMTP (which is a pity, we could have had a lot less spam if they were). Postfix uses (can use) the myorigin and myhostname parameters, for respectively originating (outgoing) email and incoming email. Paul