report a bug |  advanced search |  statistics |  developer log in/out
Bug #51 Not all bounces honor 'relahost' or 'smtpport' tunables
Submitted: 2014-01-09 21:28 UTC Modified: 2014-01-10 05:23 UTC
From: guilhem at fripost dot org Assigned: maintainer at mlmmj dot org
Status: Closed
Mlmmj Version: 1.2.18.0 OS: Debian GNU/Linux
MTA: any MTA Version: -
 [2014-01-09 21:28 UTC] guilhem at fripost dot org
Description:
------------
From 1.2.10' changelog:

 o Make non list emails (subconf, moderation etc.) also honor relayhost
   and smtpport

However, this is currently not true when a mail from a non-subscribed address is bounced due to the 'modnonsubposts' or 'subonlypost' tunables being set.

Test script:
---------------
1/ Close port 25 on 127.0.0.1
2/ Create a new list without subscribers
3/ touch /path/to/list/control/subonlypost
4/ echo "another IP" > /path/to/list/control/relayhost
5/ Send an email to that list:

    /usr/bin/mlmmj-receive -L /path/to/list < /path/to/email

Expected result:
----------------
I expect the bounce to be sent to the relayhost I chose for that list.

Actual result:
--------------
From the syslog:

init_sockfd.c:56: Could not connect to 127.0.0.1: Connection refused