Page 2 of 2
Re: SMTP question
Posted: 28 Feb 2010, 08:14
by LudwigVan
6feet5 wrote:Now I'm a bit confused. You're using the external IP address, does this mean you're trying to allow users on the outside (internet) to send mail via your bubba? Are you trying this on the same network as your bubba?
Yes. I want to use my e-mail client from outside to use bubba as mail server including smtp. This should work according the manual. It says to put in the external IP / user / pswd. However it does not work
By the way, I noticed you wrote "bubba.local" in a previous post. I think this is for Mac only, so try removing the ".local" part.
/Johan
Well, as I am using linux, only bubba.local works (Mac=Unix ubuntu =linux Unix>=linux

).
L.
Re: SMTP question
Posted: 28 Feb 2010, 08:23
by LudwigVan
ok now I got into main.cf - thanks for that. However there is no user. This confuses me because the web-frontent still gives the old user.
Anyway I tried to use bubba instead of bubba.local - it's the same result.
L
Re: SMTP question
Posted: 28 Feb 2010, 08:49
by 6feet5
Are you on the same network as your bubba? If not, make sure it is working from the local network first. It will be alot easier to try and solve this step by step.
A stupid question, but is the mail service enabled?
Try the following steps and see what happen. First, connect to your bubba using ssh and type
Your should see a line similar to
Code: Select all
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
which mean there is a listening server on port 25.
To verify it is a mail server, type (still on your bubba with ssh)
You may have to install netcat (nc), I can't remember if it is installed by default.
Well, as I am using linux, only bubba.local works (Mac=Unix ubuntu =linux Unix>=linux

).
That's weird, I'm using linux as well and I can't use ".local". But never mind that, use what ever is working for you
ok now I got into main.cf - thanks for that. However there is no user. This confuses me because the web-frontent still gives the old user.
Could it be that it is your browser that put the text there? That is, bubba has no user name, but your browser has cached a previous entry. Try using a different browser and see if the name is still there.
/Johan
Re: SMTP question
Posted: 28 Feb 2010, 10:20
by LudwigVan
Maybe we should use the phone, that's much easyer

. However, thanks for your patience.
Yes I am on the same network. The mail service is checked. I tried for smtp the IP, "bubba", "bubba.local" and "bubba.localhost" - connecting through IMAP works on all except for the IP.
So here we are:
Code: Select all
netstat -ln | grep ':25'
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
and
EDIT:
Code: Select all
nc localhost 25
220 bubba.localdomain ESMTP Postfix (Debian/GNU)
421 4.4.2 bubba.localdomain Error: timeout exceeded
It does not matter, which browser I use. The user field is still filled. Well, that's funny, eh?
L.
Re: SMTP question
Posted: 28 Feb 2010, 14:00
by 6feet5
Ok, judging by the output there is a mail server up and running on your bubba.
Yes I am on the same network. The mail service is checked. I tried for smtp the IP, "bubba", "bubba.local" and "bubba.localhost" - connecting through IMAP works on all except for the IP.
Could you describe your network setup (which scenario in BubbaTwo Users Manual/Network Setup Options do you use).
As for the user name.... stupid me, I just tried to enter a user name and password in my configuration too and now I can't get rid of it either

. Anyway, I think it is safe as long as you don't check the "Use authentication" checkbox. I can still send mail so I guess I'm happy. Anyway, now I know the user name and password ends up in "/etc/postfix/sasl_passwd" not the "main.cf" I mentioned.
/Johan
Re: SMTP question
Posted: 28 Feb 2010, 15:05
by LudwigVan
6feet5 wrote:
Could you describe your network setup (which scenario in BubbaTwo Users Manual/Network Setup Options do you use).
/Johan
I its Scenario 5, without media devices:
- printer on usb up and running
- switch 8 port up and running
- wireless AP on switch up and running
- connection to internet via old router/ADSL-modem up and running
L.
Re: SMTP question
Posted: 01 Mar 2010, 06:16
by tor
Hi LudwigVan and 6feet5,
Am i correct that you can access Imap both via name on lan and via IP from internet?
And that you can't send any emails, SMTP, at all regardless of how you address bubba? What happens if you enter "bubba.local" in evolutions "Sending email" settings? Without checking "Server requires authentication" or entering any user info.
6feet5 is right start by getting things working on LAN. When that works we can go on enable this in wan as well. A note on using postfix, the smtp server, for sending email on WAN. This is not supported by the UI atm, unfortunately that is not explicitly mentioned in the manual
/Tor
Re: SMTP question
Posted: 02 Mar 2010, 16:20
by LudwigVan
tor wrote:Hi LudwigVan and 6feet5,
Am i correct that you can access Imap both via name on lan and via IP from internet?
And that you can't send any emails, SMTP, at all regardless of how you address bubba? What happens if you enter "bubba.local" in evolutions "Sending email" settings? Without checking "Server requires authentication" or entering any user info.
(EDIT)
Tor, thanks. PA already put my attention on:
http://forum.excito.net/viewtopic.php?f ... elay#p7611
So what I did was the following:
1) enabeling Port 25 on Bubba|2
2) putting the following similar line into main.cf
Code: Select all
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 , 192.168.10.0/24
using my IP-range in Bubba|2.
But, first I thought it would work, but it does not. My mail-client simply used the smtp of another activated account. When I try in Horde it won't work either.
6feet5 is right start by getting things working on LAN. When that works we can go on enable this in wan as well. A note on using postfix, the smtp server, for sending email on WAN. This is not supported by the UI atm, unfortunately that is not explicitly mentioned in the manual
/Tor
Yes, this should be put into the manual.
L.