Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4602194
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:56:45+00:00 2026-05-21T23:56:45+00:00

I recently had to move servers. On the old server, I had a Mailman

  • 0

I recently had to move servers. On the old server, I had a Mailman listserv distribution list, but since Mailman was not supported on the new server, I wrote up a PHP script to read messages from IMAP and resend via SMTP. The script is brittle (my fault) and complex (not my fault): I’m having to parse each message, find the bits that I can use (if it’s multi-part or HTML or it has attachments), and then reconstruct the message for SMTP so that each member except the sender gets a copy and the Reply-To is the distribution list address. The thing is, I know that the raw source of the message is fine as is. I just need to change/add a few headers.

On Windows servers, you can configure an email dropbox folder where you could save outgoing mail messages in their raw form. Is there anything similar on *nix? Is there any other method I should look at?

I know I can set up a forwarder address on the server, but I really like the behavior of listserv systems: senders don’t get a copy of their own message, the subject is identified with the list’s label and hitting “Reply” sends a message back to the distribution list, not the original sender.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:56:46+00:00Added an answer on May 21, 2026 at 11:56 pm

    In order to create your own bespoke list server system you’ll need to do the following:

    1. Configure your mail server to have an alias such as no-reply@yourdomain.com to redirect messages to black-hole or /dev/null or something like that, basically deleting any messages on arrival without returning NDR (non-delivery report) email messages to senders. This is the address your script will use in the To: header of your email messages when sending to the group.

    2. Write your PHP script section that sends to the group in such a way that: (a) first pulls all your subscribers out of a database (or securely stored data file) into an array, (b) next remove the message author’s address from the array, (c) then finally loop through all the remaining subscribers in the array in batches of about 15 recipients and send the message with the mail() function using To: "Your List Name" <no-reply@yourdomain.com and the BCC: (blind carbon copy) field to prevent receipients seeing who else is on the list.

    If you’re wanting to try out some of the existing solutions for this why not take a look at
    Majordomo.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I usually use Netbeans for PHP development, but have recently had to move to
I recently had to take a quick look at Adobe InDesign server. In this
We recently had a new requirement to use the phonon component of Qt, which
This task has already been asked/answered, but I recently had a job interview that
We have recently moved to a new web server (from IIS6 to IIS7.5) and
I have recently had to move my project from using the CPython 2.6 interpreter
I recently started to add the new noexcept specification to move constructors/assignments wherever possible.
I recently had to move my database from SQL Studio over to Oracle and
Recently I've been trying to restructure an old database that was not designed with
I recently had a program fail in a production server because the server was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.