Why is it that nas4free uses "localhost" for the HELO command when sending mail
and not the configured hostname with domain name?
I'm not open up my postfix server to reenable a lot of spammers, who use "localhost" as well (o;
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Correct HELO message
-
christopherve7alb
- NewUser

- Posts: 1
- Joined: 23 Jan 2013 06:55
- Status: Offline
Re: Correct HELO message
I would also really like this! I have the same issue with my postfix mail server rejecting email sent from my nas4free box
-
windkoek
- NewUser

- Posts: 1
- Joined: 17 Sep 2015 16:31
- Status: Offline
Re: Correct HELO message (fix)
Hi,
I know this thread is really old now, but this problem really bothered me.
There should really be a setting in the WebGUI for this - it's so easy to solve...
To fix it really dirty, adjust the settings using the WebGUI, then modify /var/etc/msmtp.conf and add this line:
where fqdn.example.com is of course whatever your FQDN is.
Then, protect this file from any further modifications (I don't know why, but nas4free sees the necessity to completely overwrite the file on every change or testmail, making it impossible to just simply add the missing line):
To be able to edit the file again:
This solutions kinda sucks, but it works.
Hope it's helpful for someone.
I know this thread is really old now, but this problem really bothered me.
There should really be a setting in the WebGUI for this - it's so easy to solve...
To fix it really dirty, adjust the settings using the WebGUI, then modify /var/etc/msmtp.conf and add this line:
Code: Select all
domain fqdn.example.comThen, protect this file from any further modifications (I don't know why, but nas4free sees the necessity to completely overwrite the file on every change or testmail, making it impossible to just simply add the missing line):
Code: Select all
~# chflags schg /var/etc/msmtp.confCode: Select all
~# chflags noschg /var/etc/msmtp.confThis solutions kinda sucks, but it works.
Hope it's helpful for someone.
-
seti
- NewUser

- Posts: 1
- Joined: 25 May 2016 08:28
- Status: Offline
Re: Correct HELO message
Hi,
I had the same problem,
to fix it I modified the script /etc/rc.d/msmtp, to add the domain field with the configured domain name:
I had the same problem,
to fix it I modified the script /etc/rc.d/msmtp, to add the domain field with the configured domain name:
Code: Select all
# diff -u /etc/rc.d/msmtp{.orig,}
--- /etc/rc.d/msmtp.orig 2016-05-25 08:33:07.613799000 +0200
+++ /etc/rc.d/msmtp 2016-05-25 06:26:12.248599000 +0200
@@ -27,6 +27,7 @@
# Create msmtp.conf configuration
/usr/local/bin/xml sel -t \
-o "account default" -n \
+ -v "concat('domain ',//system/domain)" -n \
-v "concat('host ',//system/email/server)" -n \
-v "concat('port ',//system/email/port)" -n \
-o "protocol smtp" -n \
- zoon01
- Developer

- Posts: 724
- Joined: 20 Jun 2012 21:06
- Location: Netherlands
- Contact:
- Status: Offline
Re: Correct HELO message
done for 10.3
System specs: XigmaNAS 11.2.0.4 -embedded on Samsung 860 EVO 256GB and Supermicro X10SL7-F w / Bios v3.2, IPMI v.03.86 / CPU E3-1241 v3 @ 3.50GHz - 32GB Crucial DDR3L 1600mhz ECC 1.35v , LSI 2308 on PH20.00.07.00 IT mode, Storage: 5x Western Digital Red (WD30EFRX) raidz
Development system is same system in virtualbox.
Development system is same system in virtualbox.