Koozali.org: home of the SME Server

nullmailer smtp: failed 550 relaying denied root@dodoite

Offline ElFroggio

  • *
  • 262
  • +0/-0
nullmailer smtp: failed 550 relaying denied root@dodoite
« on: September 17, 2014, 04:23:13 PM »
Hi,

I have a workstation running Ubuntu 14.04. And there's nullmailer trying to send emails (we are talking hundreds per day) that the sme8.1 is refusing. Then I kill the nullmailer on the workstation. I thought that sending emails as an interprocess to the various users/services of the workstation is an "essential" service.

1. I have no idea what is nullmailer is trying to send
2. Shouldn't the SME8.1 accept the message since it's from the inside network (even if it's from the root of the workstation) and therefore not a relay?

Any idea what I can do to stop it?

Thanks

Syv

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: nullmailer smtp: failed 550 relaying denied root@dodoite
« Reply #1 on: September 17, 2014, 09:56:13 PM »
I have no idea of what nullmailer is.. and no, I have no time to search with google..

in any case, SME needs smtp auth even from lan side..

Offline ReetP

  • *
  • 3,952
  • +6/-0
Re: nullmailer smtp: failed 550 relaying denied root@dodoite
« Reply #2 on: September 18, 2014, 04:59:53 AM »
I have a workstation running Ubuntu 14.04. And there's nullmailer trying to send emails (we are talking hundreds per day) that the sme8.1 is refusing. Then I kill the nullmailer on the workstation. I thought that sending emails as an interprocess to the various users/services of the workstation is an "essential" service.

1. I have no idea what is nullmailer is trying to send

Nope, nor do we !

http://wiki.linuxquestions.org/wiki/Nullmailer

Bit of a contradiction there somewhere if you don't actually know what nullmailer is trying to send :-)   

 "Interprocess" ?  Who can tell. You need to find why it is installed and what it is doing.

Quote
2. Shouldn't the SME8.1 accept the message since it's from the inside network (even if it's from the root of the workstation) and therefore not a relay?

As per Stefano.

http://ubuntuforums.org/showthread.php?t=1488079 #1 Gives some details on auth, though you could have had a look yourself :-)

Quote
Any idea what I can do to stop it?

Stop what ? nullmailer ? Whatever process that is generating huge amounts of emails ? SME refusing mails ?

You need to go back to square one and have a think through things a little more logically and provide some more detailed information after you have fully investigated.

Who installed nullmailer, and why ?  Why are there 'hundreds of emails per day' and where are they going ? How do you know SME is refusing mails ?

Also remember there are a lot of SME users here, but no guarantees on how many use Ubuntu on the desktop. I do use Xubuntu 12.0x myself but have never heard of nullmailer until this came up. It sounds like the problem isn't with SME but your desktop.

HTH

B. Rgds
John
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: nullmailer smtp: failed 550 relaying denied root@dodoite
« Reply #3 on: September 18, 2014, 02:28:51 PM »
2. Shouldn't the SME8.1 accept the message since it's from the inside network (even if it's from the root of the workstation) and therefore not a relay?

It's an attempt to relay unless the destination email address is local to the SME server.

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: nullmailer smtp: failed 550 relaying denied root@dodoite
« Reply #4 on: September 18, 2014, 02:41:18 PM »
You either need to configure your mailer to auth against SME's smtp (and to auth, you'll need either TLS on port 25 or SSL on port 465), or, you can disable auth in order to relay from the internal network (not recommanded though). Check: http://wiki.contribs.org/Email#Allow_SMTP_relay_of_mail_without_encryption.2Fauthentication
C'est la fin du monde !!! :lol:

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: nullmailer smtp: failed 550 relaying denied root@dodoite
« Reply #5 on: September 18, 2014, 11:08:48 PM »
You either need to configure your mailer to auth against SME's smtp (and to auth, you'll need either TLS on port 25 or SSL on port 465), or, you can disable auth in order to relay from the internal network (not recommanded though).

A third alternative is to send mail via a different SMTP server, e.g. the ISP's SMTP server. That too will likely require authentication.

This is a Unbuntu/nullmailer problem rather than anything SME server specific.
« Last Edit: September 18, 2014, 11:11:44 PM by CharlieBrady »

Offline ElFroggio

  • *
  • 262
  • +0/-0
[SOLVED] Re: nullmailer smtp: failed 550 relaying denied root@dodoite
« Reply #6 on: March 19, 2015, 07:27:10 PM »
Hi,

This is for people with similar problem. It was a nullmailer configuration problem with /etc/nullmailer/remotes:

Code: [Select]
<fully.qualified.mailer-server.com> smtp --port=25 --starttls --auth-login --user=<username on mail server> --pass=<password on mail server>

  • do not use the brackets
  • type your info at the brackets