Subject: post canonical mappings not working
To: None <netbsd-help@netbsd.org>
From: None <stefan@binarchy.net>
List: netbsd-help
Date: 07/15/2004 01:17:44
Hi,
I am trying to set up postfix on my laptop (netbsd-1.6.2/i386).
I am basically using the same configuration as on my desktop machine (gentoo linux),
where everything works just fine (I am sending this mail from the gentoo box).
On my laptop, canonical mapping does not work though...
I have created /etc/postfix/canonical, it contains:
stsp stefan@binarchy.net
In main.cf I have:
canonical_maps = hash:/etc/postfix/canonical
I have created the canonical.db via postmap(1).
I have restarted postfix several times.
My ISP still bounces all mails I send back to me because the sender's domain is
not resolveable via dns.
The sender's address is my login name (stsp) and, surprise, seeling33.de, the fictional domain name
of my local lan, so canonical mapping apparently never actually happens...
I have found this via google:
http://kimmo.suominen.com/2004/05/24/postfix-canonical-rewriting/
Does this mean canonical rewriting is now off by default in netbsd?
If so, how can I re-enable it? This does not seem to be documented in
the docs yet...
here ist the output of postconf -n:
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_dns_lookups = yes
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost, localhost.$mydomain, $mydomain
mydomain = seeling33.de
myhostname = stud.seeling33.de
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/examples/postfix
relay_domains =
relayhost = [mail.vr.in-berlin.de]
sample_directory = /usr/share/examples/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
thanks
stefan
--
Imagine a science-fiction device that allows any sort of food or
physical object to be infinitely duplicated. If somebody then tried
to sell you a tire for your car, why in the world would you buy it?
- from "Open Source Development with CVS" (Fogel, Bar)