Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
Postfix question
View previous topic :: View next topic  
Author Message
mlk
Junior Member


Joined: 09 Jan 2011
Posts: 3

PostPosted: Sun Jan 09, 2011 3:16 pm    Post subject: Postfix question Reply with quote

Hello all!

Have been playing around with sms and I'm finding it a great distro!

I've configured most of it, but I've hit some problems with Postfix.

The problem is understanding how to get the emails through to my mail server (emails going out are relayed via my isp's mail server and are fine).

I have setup dyndns - created sms.dyndns.com (via dyndns FREE) and have forwarded ports 80 and 25 at this stage to my sms box (sms.local).

I can telnet to sms.dyndns.com 25 and I can confirm it connects.

I've registered an info domain, say mysite.info, so if I created a user say bob@sms.local, and I email bob@mysite.info (via an external work email) it should ultimately reach bob@sms.local - and this is where things are failing.

In mysite.info configuration am I right in that I should do the following:

Change MX to point to sms.dyndns.com so if I have the format as 'Priority Host Point to' it should be '0 @ sms.dyndns.com' ?

The A record is labelled as '@ 65.xxx.xxx.xxx' in case it helps.

At present I have a CNAME 'mail' that points to 'sms.dyndns.com'. This is where I hit a dead end because I am not getting any connection attempts via maillog or my firewall to the sms.local server (ip. 192.168.123.80).

My firewall is just a smoothwall box one network card (192.168.1.2) to the modem, other network card (192.168.123.1) as a dhcp server for ranges 192.168.123.80 -> 84.

If anyone can just pinpoint where I have gone wrong in the process it would be muchly appreciated!
Back to top
View user's profile Send private message
internetonly
Junior Member


Joined: 25 Jul 2010
Posts: 4

PostPosted: Sun Jan 09, 2011 4:18 pm    Post subject: Reply with quote

- Firstly, for DNS debugging, go to http://dnsstuff.fastnext.com/ and in DomainTools / DNSreport section, input your mysite.info domain to begin a DNS analysis... (DNS parent, NS, SOA, MX, MAIL, WWW).
- Secondly, come back here, to this forum, to report your next problem...
Back to top
View user's profile Send private message Send e-mail
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Sun Jan 09, 2011 9:11 pm    Post subject: Reply with quote

At first try to set your sms box to mysite.info instead of sms.local since mailserver authenticate users@hostname.domain e.g. (hostname -f).
As far as I know dyndns.org don't offer MX service in free package.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
mlk
Junior Member


Joined: 09 Jan 2011
Posts: 3

PostPosted: Mon Jan 10, 2011 1:22 pm    Post subject: Reply with quote

Hi all,

I've attached some files to see if anyone can guide me towards the correct settings.

They're all just images of the settings, hopefully it should be self explanatory!

I am aware I'm missing a backup mx listing in the modified.jpg just so you know Very Happy

Many thanks!



errors.jpg
 Description:
Errors from DNSreport
 Filesize:  60.34 KB
 Viewed:  11464 Time(s)

errors.jpg



modified.jpg
 Description:
Modified Settings
 Filesize:  51.88 KB
 Viewed:  11464 Time(s)

modified.jpg



original.jpg
 Description:
Original Settings
 Filesize:  60.99 KB
 Viewed:  11464 Time(s)

original.jpg


Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Mon Jan 10, 2011 8:38 pm    Post subject: Reply with quote

You need an MX record in order your mail to work via internet.
if you do a
dig mysite.info mx
you got no answer, so the mail servers don't know where to send the message, unless you force them e.g. through a transport map for postfix,
But it may worked even without an MX record.
When you send an email to your sms server what /var/log/maillog says? does it connect?

Another issue you may have is, that many ISPs block dynamic addresses from sending mails.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
mlk
Junior Member


Joined: 09 Jan 2011
Posts: 3

PostPosted: Tue Jan 11, 2011 10:25 am    Post subject: Reply with quote

gerasimos_h wrote:

When you send an email to your sms server what /var/log/maillog says? does it connect?
gerasimos_h


I have no problems sending mail out, got problems trying to receive it. Maillog confirms the emails are ok going out. I can telnet to the mail server, so if I create a cname 'test' and point it to 'sms.dynds-*******.com' at port 25, it will connect to the mail server and maillog will show the connection.

It could be a dynDNS, but from what I understand, given I have an info domain, I should be able adjust the settings on it, and point it all traffic through my dydnDNS address (which works for http), but it just doesn't work for mail.

Anyway, I'm still working on it!
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Tue Jan 11, 2011 1:50 pm    Post subject: Reply with quote

When you try to receive what /var/log/maillog says?
Send an email from your office and look the logs.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional