Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: ElFroggio on September 17, 2014, 04:23:13 PM

Title: nullmailer smtp: failed 550 relaying denied root@dodoite
Post by: ElFroggio 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
Title: Re: nullmailer smtp: failed 550 relaying denied root@dodoite
Post by: Stefano 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..
Title: Re: nullmailer smtp: failed 550 relaying denied root@dodoite
Post by: ReetP 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
Title: Re: nullmailer smtp: failed 550 relaying denied root@dodoite
Post by: CharlieBrady 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.
Title: Re: nullmailer smtp: failed 550 relaying denied root@dodoite
Post by: Daniel B. 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
Title: Re: nullmailer smtp: failed 550 relaying denied root@dodoite
Post by: CharlieBrady 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.
Title: [SOLVED] Re: nullmailer smtp: failed 550 relaying denied root@dodoite
Post by: ElFroggio 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>