email

Thomas Isenbarger <[email protected]>
Newsgroups gmane.os.netbsd.ports.hpcmips
Message-ID <[email protected]>
I am trying to get email set up using the NetBSD guide (Chapter 24.   
Mail and News).  I am stuck at one of the first steps, setting up  
postfix.

hostname yields "moby.mad.wi.charter.com", so I set up /etc/postfix/ 
generic like so:

[email protected]	[email protected]
[email protected]	[email protected]

(As an aside, I assume the domain information after "moby" will  
change when I am on another network.  How do I make the entries in / 
etc/postfix/generic work for any network? The "isen@moby" part will  
be the same.  I am thinking something like "isen@moby.*", but using  
whatever specific syntax the generic file needs to signify that.)

then I used postmap to create the db

I then edited /etc/postfix/main.cf to add the relayhost and  
smtp_generic_maps lines

I tried both

smtp_generic_maps = hash:/etc/postfix/generic

and

smtp_generic_maps = hash:/etc/postfix/generic.db

Now when I send a mail to 'isen' using sendmail, the received mail  
always says the mail is from '[email protected]', instead  
of substituting the '[email protected]' address from /etc/postfix/ 
generic.

Any help?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.