Forum Index Search Forum Register Log in

Current

7.0 Production
build 6 Mar '07


7.1 Beta 5
build 7 Oct '07



A donation makes a contribution towards the time and effort that's going in to running this site.

Steffen

Contact:
My mail address is
at the top of the paypal form :

Your donations will help to keep this site alive and well.

problem configuring outgoing mail

 
Post new topic   Reply to topic    Sambar Forum Index -> Lounge
View previous topic :: View next topic  
Author Message
sjouken



Joined: 11 Mar 2006
Posts: 6
Location: Netherlands

PostPosted: Wed 23 Dec '09 8:33    Post subject: problem configuring outgoing mail Reply with quote

I want to configure the sambar-server as internal mailserver and forward any mail to the internet.
I have an ISP which is receiving mail at the default port, so that's no issue.
I have NOT the possibility to create an MX-record for my local domain, this is configured as home.local.
I can send any mail internal to any user, but the outgoing mail doen't start Sad

I even tried to modify my primary and secondary DNS-records.

But as far as I can see my "problem", it's related to the external MX-record.

Is there anyone who can help me out,
Regards,
John
Back to top
View user's profile Visit poster's website
rgibson



Joined: 20 Oct 2009
Posts: 26

PostPosted: Wed 23 Dec '09 18:02    Post subject: Reply with quote

Hello John,

Several Things can be the cause.
Do you have the MTA turned on?
Routers and Firewalls configured to allow data transfer on the correct ports?
Is your ISP blocking Port 25 Traffic?
Do you have the domain you are sending mail as, Listed in the local Domains list?
What errors are showing in your SMTP and Router Logs?
If you cannot create an MX record, are you using a Dynamic IP?

Just for Starters

Randy
Back to top
View user's profile
Johannes
Moderator


Joined: 27 Nov 2005
Posts: 145
Location: SK,Canada

PostPosted: Wed 23 Dec '09 21:47    Post subject: Reply with quote

Hello John,

another question: are you planing to send mail out using your Sambar MTA or do you want to route (send) the mail via your ISP's MTA ?

For the latter you don't need to setup your own MX records. You just set your ISP's SMTP server in your config.ini

At the mail configuration Mail > configure > MTA configuration set "Use MTA" to false and in "local domains" set the domain name you want to send mail with, like *mydomain.com

As I am just configuring nearly the same setup, I encountered a problem with SMTP AUTH at Sambar and wasn't able to send out mails. Problem was, my usernames were starting with Upper case letters.

Usernames have to be all lowercase , at least in my case here.

Let us know if you need more help.

Johannes
Back to top
View user's profile Visit poster's website
sjouken



Joined: 11 Mar 2006
Posts: 6
Location: Netherlands

PostPosted: Sun 07 Feb '10 11:39    Post subject: Reply with quote

Let's start at the beginning:
When I try to:
Code:
telnet 127.0.0.1 25
I get:
Code:
220 maildoos.sjouken.local Sambar ESMTP Server 5.2 ready
quit
221 Goodbye

When I try:
Code:
telnet 192.168.1.13 25
Connecting To 192.168.1.13...Could not open connection to the host, on port 25: Connect failed

Code:
telnet maildoos.sjouken.local 25
Connecting To maildoos.sjouken.local...Could not open connection to the host, on port 25: Connect failed

The IP 192.168.1.13 is maildoos.sjouken.local
I got a MX-record at my DNS-server for maildoos.sjouken.local
Where do I connect the IP to the SMTP-server?

Regards,
John
Back to top
View user's profile Visit poster's website
Johannes
Moderator


Joined: 27 Nov 2005
Posts: 145
Location: SK,Canada

PostPosted: Sun 07 Feb '10 20:47    Post subject: Reply with quote

John,

as you can reach the smtp server at 127.0.0.1 but not at 192.168.1.13 you propably haven't set smbar to a fixed IP in config.ini

config.ini
[common]
....
Force IP bind = 192.168.1.13

That should do the trick.

Johannes

PS. your weblink isn't working
Back to top
View user's profile Visit poster's website
sjouken



Joined: 11 Mar 2006
Posts: 6
Location: Netherlands

PostPosted: Mon 08 Feb '10 13:26    Post subject: Reply with quote

Got it working now, in and outgoing webmail.
Now trying to run outlook or a simmilair program to run with SMTP and POP3

John

PS my weblink is working now
Back to top
View user's profile Visit poster's website

Post new topic   Reply to topic    Sambar Forum Index -> Lounge
Page 1 of 1