Im trying using this module; it works fine, but I've a problem that I cant figure out how solve.

When a user of my website sends a subscribe request to the list, the message is correctly sent to the mailman server - and it works, it correctly subscribe the user. But, the message that mailman module send has my website's address as sender, not the subscriber. Something like this:
----------
from: manager@mywebsite.xxx
to: mylist-request@somewhere.xxx
[...]
ubscribe zzaassaa nodigest address=user.of@mywebsite.xxx
----------------

So, the mailman server correctly subscribe "user.of@mywebsite.xxx" to the "mylist". The confirmation message is sent to "user.of@mywebsite.xxx" (and it's ok), but it also send some message ("results of your command") to manager@mywebsite.xxx.
How can I avoid it? How can I tell to mailman module to use the "user.of@mywebsite" address also in the "from:" header, so mailman server wouldn't send lot of messages to the manager@ address? Is it possible?

Comments

arturoramos’s picture

Assigned: Unassigned » arturoramos
Status: Active » Closed (works as designed)

This feature is by design so the manager@mywebsite.xxx is notified whenever there are new subscriptions.

If you would like to turn this feature off, you can comment out the relevant line that sends the message to the manager address upon subscription.

This is line 612 in the module:

//$mailsuccess = drupal_mail ('mailman-manager', $commandaddress, '', $command, variable_get('site_mail', ini_get('sendmail_from')), $headers);

It appears that the module also checks to see if an admin (manager) address was specified for the given list before attempting to send such messages so you can try to leave the admin address blank for the given list and see if that solves your problem before hacking the code.

francoud’s picture

I see :) thank you!