New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

How to configure Bubba for use as mail server

Got problems with Bubba? Then this forum is for you.
Locked
mountaindude
Posts: 57
Joined: 25 Aug 2007, 11:56

How to configure Bubba for use as mail server

Post by mountaindude »

Having trouble getting my Bubba to work as email server for a domain (let's call it abc123.se)

I have my MX records etc hosted at one ISP (Space2u), seems to be working ok.
Internet connection is from another ISP (Glocalnet).
Have opened TCP port 25 in my firewall to allow for SMTP traffic.

The server is set up to handle mail for domains "localdomain" and "abc123.se", by entering both strings (with space inbetween) in "Handle mail for domain" field on Mail config page.

Send/receive mail service is enabled, as is IMAP service.

Have tried with both empty "Sending Email" field on Mail config page, as well as the name of my ISP's (Glocalnet's) SMTP server.

Problem is, when I send email to a user at abc123.se, I get an error message:

Code: Select all

To: dude@abc123.se
Attachments: 0
Num parts: 0
Sending...
Adjusted to: dude@abc123.se

From: dude@abc123.se

Send FAILED

Same error when sending to user on local machine...

Code: Select all

To: dude@localdomain
Attachments: 0
Num parts: 0
Sending...
Adjusted to: dude@localdomain

From: dude@abc123.se

Send FAILED


I'm probably missing something obvious here... But I was under the impression that Bubba handled this scenario out of the box?

Thx
/MD
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Post by johannes »

mountaindude,

Just to understand better, what exactly do you wan't to achieve by adding "localdomain" to the host list? Bubba should handle mail sent to it locally (for instance to user@[bubbas local IP] or user@bubba without adding anything here, so you should be fine with only typing "abc123.se" in the "handle mail for domain" field.

Please try that and come back, hope it helps.
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Post by Cheeseboy »

Hi mountaindude,

I couldn't get it working at first because my ISP blocked port 25 (incoming and outgoing).
Had to buy a service called MailHop from DynDNS.com to re-rout all mails to my domain to another port on my bubba to get it working, and I still have to use my ISPs SMTP server for outgoing mail...

Cheers

Cheeseboy
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Post by Ubi »

Many ISPs block port 25 outgoing. However postfix can live with that by using the 'relayhost' setting. This means it will forward all outgoing mail via your ISP mail server. http://www.postfix.org/postconf.5.html#relayhost
Rawhead
Posts: 42
Joined: 18 Mar 2007, 07:10
Location: Infected mountain in Sweden
Contact:

Post by Rawhead »

Here you can find smtp servers that dont block port 25
http://www.bluerange.se/nav4413_7412F02 ... 279D43BBCB
ISP Telia also have a smtp server mailout.telia.com.
mountaindude
Posts: 57
Joined: 25 Aug 2007, 11:56

Post by mountaindude »

What if your ISPs SMTP server requires authentication?

When placing the ISPs SMTP server name in the Bubba's "SMTP Server" filed, and try to send an email to one of my other email addresses (Yahoo webmail), I get the following response:

Code: Select all

This is the Postfix program at host bubba.<my.own.domain>.

I'm sorry to have to inform you that your message could not be
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

			The Postfix program

<dummyname@yahoo.se>: host smtp.glocalnet.net[213.163.128.200] said: 550
    RCPT TO:<dummyname@yahoo.se> Relaying not allowed - please use SMTP AUTH
    (in reply to RCPT TO command)

I've tried NOT specifying the ISPs SMTP server as relay, to avoid the above problem. But then (for some recipient domains/SMTP servers), I get the following error:

Code: Select all

This is the Postfix program at host bubba.<my.own.domain>.

I'm sorry to have to inform you that your message could not be
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

			The Postfix program

<name@recipient-domain.se>: host aspmx.l.google.com[66.249.93.27] said: 550-5.7.1
    [81.225.105.74] The IP you're using to send email is not authorized
    550-5.7.1 to send email directly to our servers. Please use  550 5.7.1 the
    SMTP relay at your service provider instead. b35si857182ugd (in reply to
    end of DATA command)
I don't really care if I go through my ISP or not - I just want the email to be reliable..


Some research indicated that the second problem may be related to the Google server not being able to verify my Bubba as a valid email server. Would be a DNS problem I guess??

Thx.
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor »

Hi,

Authenticated smtp is unfortunately still a missing feature on Bubba. Its on the todo-list but not done yet :(

There is a thread on how to set this up here: http://excito.org/forum/viewtopic.php?t=354

/Tor
Co-founder OpenProducts and Ex Excito Developer
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Post by Ubi »


<name@recipient-domain.se>: host aspmx.l.google.com[66.249.93.27] said: 550-5.7.1
[81.225.105.74] The IP you're using to send email is not authorized
550-5.7.1 to send email directly to our servers. Please use 550 5.7.1 the
SMTP relay at your service provider instead. b35si857182ugd (in reply to
end of DATA command)

Now I've worked for many years with mail servers located on adsl lines and I've never met this error code. In fact I just telnetted to port 25 on that machine and the mail goes in fine. This machine is no more a "valid" mail server than your bubba. This is really bizarre. Do you get this with other ISPs as well??
Locked