Hi. I am trying to install Postfix in my Ubuntu 8.04. I want to install TikiWiki (TW) locally, hence my interest in Postfix. TW emails a new user right after registration.
This is my set-up:
o I do not have a registered domain name. I just made one up, for local use -- mydom.org.
o I have a unix user id, i.e myunixid.
o I also have an email account with my ISP:
myemacct@myISP.com.
I believe TW will be sending an email to the registering user as www-data@localhost. I say I believe because I haven't been able to send an email yet from TW. I wanted to to do something similar with sendmail before. Didn't get very far; so I gave up on sendmail.
This is hard -- rather like being thrown into the deep-end of a pool. So I'd appreciate very much any help you guys can give me.
What I want to happen is for TW to send an email to the newly registered user as:
myemacct@myISP.com.
Here's what's in my /etc/postfix/aliases:
--------------------------------
root: myunixid
clamav: root
--------------------------------
Should that be something like this:
--------------------------------
root: myemacct
www-data: myemacct
clamav: root
--------------------------------
Here's what's in my /etc/mailname: smtp.mydom.org
In my /etc/postfix/main.cf:
---------------------------
myorigin = mydom.org
relayhost = mail.myISP.com
# masquerade_domains = sub.domain.com !sub.dyndomain.com
# masquerade_exceptions = root
---------------------------
I feel I should uncomment masquerade_domains, but I am not exactly sure about the syntax and the parameters to use.
In the virtual_mailbox_maps, virtual_uid_maps, virtual_gid_maps, virtual_alias_maps, virtual_mailbox_domains I have a user=mail entry.
How does one test this? I have installed mutt. Can I test this setup with that? Where are the messages and the errors logged?
I am using this howto:
http://flurdy.com/docs/postfix/#editions
TIA