Hi Ward, the Ubuntu installation instructions in your blog ask the Ubuntu be installed with:
- LAMP
- mail
- OpenSSH
http://nerdvittles.com/?p=25930
So I have done so and this installs the default PostFix MTA.
I configured it and was able to send mails to my account:
# echo "masquerade" | mail -s test
[email protected]
WOOwho! It works Cheese is thirst dog gamut!
Then I installed IncrediblePBX and now the above doesn't work any more.
Looking at the logs it seems that IncrediblePBX installed Sendmail alongside PostFix?
BUT it also looks from the log the message did deliver?!?! yet I don't see it in my inbox.
Aug 19 13:50:09 coms sendmail[2362]: w7JKo9m3002362:
[email protected],
[email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30166, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (w7JKo9IG002519 Message accepted for delivery)
I know the MTA's can emulate and use each others components... so my questions R:
(1) Did IncrediblePBX -completly- replace PostFix with Sendmail or is it just using parts?
(2) Do I need to configure Sendmail, or is it using the Sendmail emulation built into PostFix?
In the meantime I'm going to try to configure SendMail but would rather avoid that hazing.
Many thanks
Stepan
<EDIT>: Got it working after configuring both PostFix and Sendmail, both with masquerade to a .local FQDN to prevent rejection of messages by the Shaw (ISP) relay:
/etc/postfix/main.cf contains
myhostname = coms
relayhost = mail.shaw.ca
sender_canonical_maps = static:
[email protected]
/etc/mail/sendmail.mc contains
define(`SMART_HOST', mail.shaw.ca)dnl
MASQUERADE_AS(`ipbx.local')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`always_add_domain')dnl