All of lore.kernel.org
 help / color / mirror / Atom feed
* mlmlmj control files
@ 2006-01-02  9:30 Benny Pedersen
  2006-01-02 10:07 ` Mads Martin Joergensen
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Benny Pedersen @ 2006-01-02  9:30 UTC (permalink / raw)
  To: mlmmj

can i set relayhost from a control file ?

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: mlmlmj control files
  2006-01-02  9:30 mlmlmj control files Benny Pedersen
@ 2006-01-02 10:07 ` Mads Martin Joergensen
  2006-01-02 10:59 ` Benny Pedersen
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Mads Martin Joergensen @ 2006-01-02 10:07 UTC (permalink / raw)
  To: mlmmj

* Benny Pedersen <me@junc.org> [Jan 02. 2006 10:26]:
> 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.

-- 
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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: mlmlmj control files
  2006-01-02  9:30 mlmlmj control files Benny Pedersen
  2006-01-02 10:07 ` Mads Martin Joergensen
@ 2006-01-02 10:59 ` Benny Pedersen
  2006-01-02 16:44 ` Sven 'Darkman' Michels
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Benny Pedersen @ 2006-01-02 10:59 UTC (permalink / raw)
  To: mlmmj

On Mon, January 2, 2006 11:07, Mads Martin Joergensen wrote:
> * Benny Pedersen <me@junc.org> [Jan 02. 2006 10:26]:
>> 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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: mlmlmj control files
  2006-01-02  9:30 mlmlmj control files Benny Pedersen
  2006-01-02 10:07 ` Mads Martin Joergensen
  2006-01-02 10:59 ` Benny Pedersen
@ 2006-01-02 16:44 ` Sven 'Darkman' Michels
  2006-01-02 16:49 ` Mads Martin Joergensen
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Sven 'Darkman' Michels @ 2006-01-02 16:44 UTC (permalink / raw)
  To: mlmmj

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

Hi,

Benny Pedersen wrote:
>> 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-----

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: mlmlmj control files
  2006-01-02  9:30 mlmlmj control files Benny Pedersen
                   ` (2 preceding siblings ...)
  2006-01-02 16:44 ` Sven 'Darkman' Michels
@ 2006-01-02 16:49 ` Mads Martin Joergensen
  2006-01-04 19:30 ` Mads Martin Joergensen
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Mads Martin Joergensen @ 2006-01-02 16:49 UTC (permalink / raw)
  To: mlmmj

* Sven 'Darkman' Michels <sven@darkman.de> [Jan 02. 2006 17:42]:
> >> 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 ;)

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.

-- 
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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: mlmlmj control files
  2006-01-02  9:30 mlmlmj control files Benny Pedersen
                   ` (3 preceding siblings ...)
  2006-01-02 16:49 ` Mads Martin Joergensen
@ 2006-01-04 19:30 ` Mads Martin Joergensen
  2006-01-04 19:38 ` Mads Martin Joergensen
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Mads Martin Joergensen @ 2006-01-04 19:30 UTC (permalink / raw)
  To: mlmmj

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

* Mads Martin Joergensen <mmj@mmj.dk> [Jan 02. 2006 17:49]:
> 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.

-- 
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.

[-- Attachment #2: smtpport-relayhost.diff --]
[-- Type: text/plain, Size: 3603 bytes --]

--- ChangeLog	4 Jan 2006 19:10:36 -0000	1.144
+++ ChangeLog	4 Jan 2006 19:26:53 -0000
@@ -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)
--- src/mlmmj-maintd.c	20 Jun 2005 13:23:55 -0000	1.55
+++ src/mlmmj-maintd.c	4 Jan 2006 19:26:53 -0000
@@ -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,
--- src/mlmmj-process.c	15 Nov 2005 21:46:52 -0000	1.70
+++ src/mlmmj-process.c	4 Jan 2006 19:26:53 -0000
@@ -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);
--- src/mlmmj-sub.c	9 Oct 2005 14:17:52 -0000	1.44
+++ src/mlmmj-sub.c	4 Jan 2006 19:26:53 -0000
@@ -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);
--- src/mlmmj-unsub.c	9 Oct 2005 14:17:52 -0000	1.41
+++ src/mlmmj-unsub.c	4 Jan 2006 19:26:53 -0000
@@ -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);
--- src/send_help.c	9 Oct 2005 14:17:52 -0000	1.18
+++ src/send_help.c	4 Jan 2006 19:26:53 -0000
@@ -69,6 +69,7 @@
 
 	execlp(mlmmjsend, mlmmjsend,
 				"-l", "1",
+				"-L", listdir,
 				"-T", emailaddr,
 				"-F", fromaddr,
 				"-m", queuefilename, (char *)NULL);
--- src/send_list.c	9 Oct 2005 14:17:52 -0000	1.4
+++ src/send_list.c	4 Jan 2006 19:26:53 -0000
@@ -115,6 +115,7 @@
 
 	execlp(mlmmjsend, mlmmjsend,
 				"-l", "1",
+				"-L", listdir,
 				"-T", emailaddr,
 				"-F", fromaddr,
 				"-m", queuefilename, (char *)NULL);

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: mlmlmj control files
  2006-01-02  9:30 mlmlmj control files Benny Pedersen
                   ` (4 preceding siblings ...)
  2006-01-04 19:30 ` Mads Martin Joergensen
@ 2006-01-04 19:38 ` Mads Martin Joergensen
  2006-01-04 19:58 ` Sven 'Darkman' Michels
  2006-01-05  3:12 ` Thomas Goirand
  7 siblings, 0 replies; 9+ messages in thread
From: Mads Martin Joergensen @ 2006-01-04 19:38 UTC (permalink / raw)
  To: mlmmj

* Mads Martin Joergensen <mmj@mmj.dk> [Jan 04. 2006 20:30]:
> * Mads Martin Joergensen <mmj@mmj.dk> [Jan 02. 2006 17:49]:
> > 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	4 Jan 2006 19:10:36 -0000	1.144
> +++ ChangeLog	4 Jan 2006 19:26:53 -0000
> @@ -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.

-- 
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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: mlmlmj control files
  2006-01-02  9:30 mlmlmj control files Benny Pedersen
                   ` (5 preceding siblings ...)
  2006-01-04 19:38 ` Mads Martin Joergensen
@ 2006-01-04 19:58 ` Sven 'Darkman' Michels
  2006-01-05  3:12 ` Thomas Goirand
  7 siblings, 0 replies; 9+ messages in thread
From: Sven 'Darkman' Michels @ 2006-01-04 19:58 UTC (permalink / raw)
  To: mlmmj

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

Hi,

Mads Martin Joergensen wrote:
> 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-----

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: mlmlmj control files
  2006-01-02  9:30 mlmlmj control files Benny Pedersen
                   ` (6 preceding siblings ...)
  2006-01-04 19:58 ` Sven 'Darkman' Michels
@ 2006-01-05  3:12 ` Thomas Goirand
  7 siblings, 0 replies; 9+ messages in thread
From: Thomas Goirand @ 2006-01-05  3:12 UTC (permalink / raw)
  To: mlmmj



Mads Martin Joergensen wrote:

>* Mads Martin Joergensen <mmj@mmj.dk> [Jan 04. 2006 20:30]:
>  
>
>>* Mads Martin Joergensen <mmj@mmj.dk> [Jan 02. 2006 17:49]:
>>    
>>
>>>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.
>>    
>>
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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-01-05  3:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-02  9:30 mlmlmj control files Benny Pedersen
2006-01-02 10:07 ` Mads Martin Joergensen
2006-01-02 10:59 ` Benny Pedersen
2006-01-02 16:44 ` Sven 'Darkman' Michels
2006-01-02 16:49 ` Mads Martin Joergensen
2006-01-04 19:30 ` Mads Martin Joergensen
2006-01-04 19:38 ` Mads Martin Joergensen
2006-01-04 19:58 ` Sven 'Darkman' Michels
2006-01-05  3:12 ` Thomas Goirand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.