PlugPBX Forums
May 19, 2012, 02:12:40 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: PostFix problem with Authenticated SMTP from Rogers/Yahoo  (Read 1229 times)
snowtr
Newbie
*
Posts: 16


Email
« on: October 06, 2010, 07:17:25 PM »

Hello,

I'm trying to configure my PlugPBX using the components you provide and I will admit I used Sendmail before but not PostFix.

I am having now trouble with having my PlugPBX forward Emails to the Rogers/Yahoo SMTP server.  I did find the following articles which helped me get through the authentication problems:
http://fonality.com/trixbox/wiki/replacing-sendmail-postfix

After that however I now run into a problem because the Rogers/Yahoo SMTP relaying requires that my Emails state that they are From a valid Email account that is @rogers.com

I was able to go into Webmin -> Postfix Mail Server -> General Options, and change the 'Internet hostname of this mail system' and set that to 'rogers.com' so instead of sending Emails  as asterisk@PlugPBX.org it now sends them as asterisk@rogers.com but this is still not a valid one.

From what I can tell it's saying the username part is because it's sending it as the user on my PlugPBX called 'asterisk' and I need to change this to say my Email account so it looks like I'm logging in to send Emails as myself and this will fix the problem.

I am however not sure how to do this, short of making a new user on my plug called my Email account user and change everything to work under that.  I have tried to look up how to make it fake the address with either Address Rewriting or Masquerading but it seems that this was removed in older versions because it is not allowed my IEEE mail protocol.

Can anyone help me understand how I can change this or fake it?

Thanks in advance,
Logged
PlugPBX Admin
Administrator
Sr. Member
*****
Posts: 426



« Reply #1 on: October 07, 2010, 04:11:45 AM »

PostFix can be abit more work when setting up with mail provides like that. It's possible, I've done it.

If you google around, you'll find detailed how-to articles in getting postfix to work with Rogers, Bell, Google Gmail etc. Keep digging!

You can also cheat, remove postfix and install ssmtp

apt-get remove postfix
apt-get install ssmtp

Simple SMTP, has a 3 parameter configuration file and native supports all the fancy mail authentication schemes out of box ( I wish postfix would embrace such simplicity at times). It is not a real MTA, it just immediate delivers mail and acts like a local system MTA to applications. Works fine, you might prefer just to use it.

Google up SSMTP and have a read on this very simple Linux mail component! Others have used it here prior.
Logged

-Greg
PlugPBX Admin
Administrator
Sr. Member
*****
Posts: 426



« Reply #2 on: October 07, 2010, 04:17:23 AM »

Another suggestion.

Screw Rogers. Setup a GMAIL account and use them as your MTA, Its what i've done in the past. I have a system use a GMAIL account to xmit all messages to me Wink

Besides, when you tell rogers to take a hike and switch to TekSavvy Cable (provided by rogers last mile) - zero impact to your setup.

Making your internet ISP agnostic is good, change your provider, nothing changes. I don't like using ISP's email for just that reason. They are my IP transport only.

I'm sure there is a way to re-write the address, you'll have to dig more (or in the case of asterisk, dig into the php/script source and simply change that value). Use a text search tool (google how to do this on linux console) and find the code you have to 'patch' - or perhaps post in a freepbx forum)

Did I mention TekSavvy simply provides me a smtp relay that accepts mail from their internal IP range? No silly configuration pain points Wink

...how it should be.
Logged

-Greg
snowtr
Newbie
*
Posts: 16


Email
« Reply #3 on: October 29, 2010, 08:09:40 PM »

I was thinking about Tekksavvy but Rogers is currently providing me 9 Mbps down, 1 Mbps up.

I was also looking at their 25 Mbps down connection as I can always use more bandwidth.
Logged
PlugPBX Admin
Administrator
Sr. Member
*****
Posts: 426



« Reply #4 on: October 30, 2010, 04:43:40 AM »

Teksavvy is offering Cable Service (using rogers as a last mile provider) OR DSL ....... The prices are good, and they offer higher monthly transfers Wink

You might want to look into that perhaps?   Smiley
Logged

-Greg
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Install SimpleMachinesForum web hosting Valid XHTML 1.0! Valid CSS!