Relaying remote networks

This is a discussion on Relaying remote networks within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; I have postfix working fine but I want to be able to send mail from my mobile phone. My phone ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2005
Matt Lemon
 
Posts: n/a
Default Relaying remote networks

I have postfix working fine but I want to be able to send mail from my
mobile phone. My phone provider doesn't have an SMTP server so I asked them
for the IP range that they assign to mobile phones so that I could configure
postfix to relay from that range of addresses too.

I'm using Postfix 2.0.18 and main.cf I put the line :

mynetworks = 212.129.64.128/27, 10.2.15.64/27

10.2.15.x being the local network and 212.129.64.x being the IP's given to
the mobile phones. However, after doing this, the server won't relay for
either of these two subnet's.

Am I missing something obvious? I'm new to postfix and it worked right from
install until I wanted to do this. I use it with OpenWebmail and have been
for a year with no problems.

TIA,

Matt Lemon.



Reply With Quote
  #2 (permalink)  
Old 03-01-2005
Bioperler
 
Posts: n/a
Default Re: Relaying remote networks

Matt Lemon wrote:
> I have postfix working fine but I want to be able to send mail from my
> mobile phone. My phone provider doesn't have an SMTP server so I asked them
> for the IP range that they assign to mobile phones so that I could configure
> postfix to relay from that range of addresses too.
>
> I'm using Postfix 2.0.18 and main.cf I put the line :
>
> mynetworks = 212.129.64.128/27, 10.2.15.64/27
>
> 10.2.15.x being the local network and 212.129.64.x being the IP's given to
> the mobile phones. However, after doing this, the server won't relay for
> either of these two subnet's.
>
> Am I missing something obvious? I'm new to postfix and it worked right from
> install until I wanted to do this. I use it with OpenWebmail and have been
> for a year with no problems.

Try this:
smtpd_recipient_restrictions = permit_mynetworks

But I definitely wouldn't do it this way! I mean: Keep in mind - every
user within that ip range is able to relay mails over your server
without further authentication!!
What about smtp-auth? Is it supported by your mobile phone? Another
possibility could be pop-before-smtp (if pop3 is supported by your
mobile phone).
Reply With Quote
  #3 (permalink)  
Old 03-01-2005
Matt Lemon
 
Posts: n/a
Default Re: Relaying remote networks


"Bioperler" <usenet@ts-cs.de> wrote in message
news:38j3tiF5neinqU1@individual.net...
> Try this:
> smtpd_recipient_restrictions = permit_mynetworks
>
> But I definitely wouldn't do it this way! I mean: Keep in mind - every
> user within that ip range is able to relay mails over your server
> without further authentication!!
> What about smtp-auth? Is it supported by your mobile phone? Another
> possibility could be pop-before-smtp (if pop3 is supported by your
> mobile phone).


I appreciate the security concerns but the chances of anyone else on the
same mobile network trying to use my SMTP server are very slim.

Anway, When I add that line to the main.cf file it still refuses to relay.
Before I used to get a message saying that relaying was denied but now it
just hangs.

Matt


Reply With Quote
  #4 (permalink)  
Old 03-01-2005
Dan Swartzendruber
 
Posts: n/a
Default Re: Relaying remote networks

In article <d01n7a$tqr$1@reader01.news.esat.net>, matthew@jacklemon.com
says...
>
> "Bioperler" <usenet@ts-cs.de> wrote in message
> news:38j3tiF5neinqU1@individual.net...
> > Try this:
> > smtpd_recipient_restrictions = permit_mynetworks
> >
> > But I definitely wouldn't do it this way! I mean: Keep in mind - every
> > user within that ip range is able to relay mails over your server
> > without further authentication!!
> > What about smtp-auth? Is it supported by your mobile phone? Another
> > possibility could be pop-before-smtp (if pop3 is supported by your
> > mobile phone).

>
> I appreciate the security concerns but the chances of anyone else on the
> same mobile network trying to use my SMTP server are very slim.
>
> Anway, When I add that line to the main.cf file it still refuses to relay.
> Before I used to get a message saying that relaying was denied but now it
> just hangs.


I'd need to see your main.cf file. It's possible you messed up the
syntax somewhere (postfix can be picky about that.) The smtpd
restrictions line should have already been there I'd have thought...
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:37 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0