Skip to contentSkip to conversation

mlmlmj control files

DISCUSSION Benny Pedersen 4 participants 9 messages Jan 2, 2006 – Jan 5, 2006

lore
Share & tools
lore
#0 lore raw

can i set relayhost from a control file ?

i tryed to make a patch, but that failed :(

#1 lore raw
Quoted 3 lines · Benny Pedersen

can i set relayhost from a control file ?

i tryed to make a patch, but that failed :(

Quote from TUNABLES:

· relayhost (normal)

The host specified (IP address or hostname, both works) in this file will be used for relaying the mail sent to the list. Defaults to 127.0.0.1.

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                 -- A. P. J.
#2 lore raw
In reply to Benny Pedersen
Quoted 5 lines · Mads Martin Joergensen
Quoted 2 lines · Benny Pedersen

can i set relayhost from a control file ?
i tryed to make a patch, but that failed :(

Quote from TUNABLES:
· relayhost (normal)

i solved it by make an listner for smtpd on 127.0.0.1 in master.cf

with out any restricktions, now finaly mlmmj works here

#3 lore raw
In reply to Benny Pedersen

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Quoted 6 lines · Benny Pedersen
Quoted 2 lines

Quote from TUNABLES:
· relayhost (normal)

i solved it by make an listner for smtpd on 127.0.0.1 in master.cf

with out any restricktions, now finaly mlmmj works here

take care: when i played around with special smtpd ports for mlmmj i recognized that the value is ignored for all administration mails, means: subscribe, help etc ignores the port setting - dunno if it also ignores the relayhost for such mails... but mmj is informed and will fix it asap ;)

Regards,
Darkman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFDuVhzQoCguWUBzBwRAhnfAJ4uXRO+6JO3SEyAnWxne69k1cI4xgCfQYkv iiEgqRUzmTSIwLfPbrvtFd0=R4Y1
-----END PGP SIGNATURE-----

#4 lore raw
In reply to Benny Pedersen
Quoted 5 lines · Sven 'Darkman' Michels
Quoted 5 lines
Quoted 2 lines

Quote from TUNABLES:
· relayhost (normal)

i solved it by make an listner for smtpd on 127.0.0.1 in master.cf

Quoted 7 lines
Quoted 1 line

with out any restricktions, now finaly mlmmj works here

take care: when i played around with special smtpd ports for mlmmj i recognized that the value is ignored for all administration mails, means: subscribe, help etc ignores the port setting - dunno if it also ignores the relayhost for such mails... but mmj is informed and will fix it asap ;)

Relayhost has the same problem, and I really should fix it tomorrow on my last vacation day--it's a pretty ridiculous and annoying bug.

Problem is that in the case of administrative mails, there was no need to pass a list directory to mlmmj-send, and thus does there two files not get read.

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                 -- A. P. J.
#5 lore raw
In reply to Benny Pedersen
Quoted 6 lines · Mads Martin Joergensen

Relayhost has the same problem, and I really should fix it tomorrow on my last vacation day--it's a pretty ridiculous and annoying bug.

Problem is that in the case of administrative mails, there was no need to pass a list directory to mlmmj-send, and thus does there two files not get read.

So it wasn't tomorrow, but the day after tomorrow :-)

Please test--I might have forgotten a place.

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                 -- A. P. J.
ChangeLog +2 -0
@@ -1,3 +1,5 @@
+ o Make non list emails (subconf, moderation etc.) also honor relayhost
+   and smtpport
  o Add tunable to be able to close for subscription only (closedlistsub)
 1.2.9
  o Make find_email_adr() more robust (BSD, Neale Pickett)
mlmmj-maintd.c +2 -0
@@ -335,6 +335,7 @@
 			if(repto) {
 				execlp(mlmmjsend, mlmmjsend,
 						"-l", "1",
+						"-L", listdir,
 						"-m", mailname,
 						"-F", from,
 						"-T", to,
@@ -343,6 +344,7 @@
 			} else {
 				execlp(mlmmjsend, mlmmjsend,
 						"-l", "1",
+						"-L", listdir,
 						"-m", mailname,
 						"-F", from,
 						"-T", to,
mlmmj-process.c +3 -0
@@ -562,6 +562,7 @@
 					efromemails.emaillist[0]);
 			execlp(mlmmjsend, mlmmjsend,
 					"-l", "4",
+					"-L", listdir,
 					"-F", efromemails.emaillist[0],
 					"-s", owner,
 					"-a",
@@ -666,6 +667,7 @@
 		myfree(donemailname);
 		execlp(mlmmjsend, mlmmjsend,
 				"-l", "1",
+				"-L", listdir,
 				"-T", fromemails.emaillist[0],
 				"-F", fromaddr,
 				"-m", queuefilename, (char *)NULL);
@@ -755,6 +757,7 @@
 			myfree(randomstr);
 			execlp(mlmmjsend, mlmmjsend,
 					"-l", "1",
+					"-L", listdir,
 					"-T", fromemails.emaillist[0],
 					"-F", fromaddr,
 					"-m", queuefilename, (char *)NULL);
mlmmj-sub.c +4 -0
@@ -81,6 +81,7 @@
 
 	execlp(mlmmjsend, mlmmjsend,
 				"-l", "1",
+				"-L", listdir,
 				"-T", subaddr,
 				"-F", fromaddr,
 				"-m", queuefilename, (char *)NULL);
@@ -127,6 +128,7 @@
 	myfree(maildata[1]);
 	execlp(mlmmjsend, mlmmjsend,
 			"-l", "1",
+			"-L", listdir,
 			"-T", tostr,
 			"-F", fromaddr,
 			"-m", queuefilename, (char *)NULL);
@@ -217,6 +219,7 @@
 
 	execlp(mlmmjsend, mlmmjsend,
 				"-l", "1",
+				"-L", listdir,
 				"-T", subaddr,
 				"-F", fromaddr,
 				"-m", queuefilename, (char *)NULL);
@@ -266,6 +269,7 @@
 	
 	execlp(mlmmjsend, mlmmjsend,
 				"-l", "1",
+				"-L", listdir,
 				"-T", subaddr,
 				"-F", fromaddr,
 				"-m", queuefilename, (char *)NULL);
mlmmj-unsub.c +4 -0
@@ -81,6 +81,7 @@
 
 	execlp(mlmmjsend, mlmmjsend,
 				"-l", "1",
+				"-L", listdir,
 				"-T", subaddr,
 				"-F", fromaddr,
 				"-m", queuefilename, (char *)NULL);
@@ -129,6 +130,7 @@
 
 	execlp(mlmmjsend, mlmmjsend,
 			"-l", "1",
+			"-L", listdir,
 			"-T", tostr,
 			"-F", fromaddr,
 			"-m", queuefilename, (char *)NULL);
@@ -220,6 +222,7 @@
 
 	execlp(mlmmjsend, mlmmjsend,
 				"-l", "1",
+				"-L", listdir,
 				"-T", subaddr,
 				"-F", fromaddr,
 				"-m", queuefilename, (char *)NULL);
@@ -310,6 +313,7 @@
 
 	execlp(mlmmjsend, mlmmjsend,
 				"-l", "1",
+				"-L", listdir,
 				"-T", subaddr,
 				"-F", fromaddr,
 				"-m", queuefilename, (char *)NULL);
send_help.c +1 -0
@@ -69,6 +69,7 @@
 
 	execlp(mlmmjsend, mlmmjsend,
 				"-l", "1",
+				"-L", listdir,
 				"-T", emailaddr,
 				"-F", fromaddr,
 				"-m", queuefilename, (char *)NULL);
send_list.c +1 -0
@@ -115,6 +115,7 @@
 
 	execlp(mlmmjsend, mlmmjsend,
 				"-l", "1",
+				"-L", listdir,
 				"-T", emailaddr,
 				"-F", fromaddr,
 				"-m", queuefilename, (char *)NULL);
#6 lore raw
In reply to Benny Pedersen
Quoted 15 lines · Mads Martin Joergensen
Quoted 6 lines · Mads Martin Joergensen

Relayhost has the same problem, and I really should fix it tomorrow on my last vacation day--it's a pretty ridiculous and annoying bug.

Problem is that in the case of administrative mails, there was no need to pass a list directory to mlmmj-send, and thus does there two files not get read.

So it wasn't tomorrow, but the day after tomorrow :-)

Please test--I might have forgotten a place.

ChangeLog line 5

Quoted 5 lines
ChangeLog +2 -0
@@ -1,3 +1,5 @@
+ o Make non list emails (subconf, moderation etc.) also honor relayhost
+   and smtpport
  o Add tunable to be able to close for subscription only (closedlistsub)
 1.2.9
  o Make find_email_adr() more robust (BSD, Neale Pickett)

This hunk rejects, just delete it. It's the new TUNABLE in cvs which allows for a closed list which is only closed to subscription, not unsubscribing.

Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                 -- A. P. J.
#7 lore raw
In reply to Benny Pedersen

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Quoted 3 lines · Mads Martin Joergensen

So it wasn't tomorrow, but the day after tomorrow :-)

Please test--I might have forgotten a place.

so, for the records: i've tested the patch (with mmj, thanks :) and its working so far (at least it works like i expeceted and nothing else broke ;)

Regards,
Darkman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFDvCjTQoCguWUBzBwRArdNAJ9OFTwy4+IL5fR5Qgq5vcn0wxWD8QCfctJA YTlFHDyBnPx/L6l68OoAqkAëuA
-----END PGP SIGNATURE-----

#8 lore raw
In reply to Benny Pedersen
Quoted 14 lines · Mads Martin Joergensen
Quoted 11 lines · Mads Martin Joergensen
Quoted 8 lines · Mads Martin Joergensen

Relayhost has the same problem, and I really should fix it tomorrow on my last vacation day--it's a pretty ridiculous and annoying bug.

Problem is that in the case of administrative mails, there was no need to pass a list directory to mlmmj-send, and thus does there two files not get read.

Quoted 5 lines
Quoted 5 lines

So it wasn't tomorrow, but the day after tomorrow :-)

Please test--I might have forgotten a place.

Hello,

As said before, we have setup MLMMJ inside our GPL control panel. It's now a click and go, if your /etc/mailname and mydestination in postifx is setup correctly. Our setup include amavis + clamav + spamassassin (see http://www.gplhost.com/software-dtc.html). Virus as simply put in quarantine, and a warning message is sent. For spam, they are marked as spams, and when it's not a list, it's dropped inside a special IMAP folder for spams.

Would it be possible that MLMMJ handle the informations sent by both clamav and spamassassin, warn the owner of the list (maybe send the mail as attachment) and not send the mail to the subscribers? That would be a killer feature that would make people switch IMHO.

Regards,

Thomas Goirand