[Mailman-Users] Postfix, virtual domains, and mailman

Dan Wilder dan at ssc.com
Tue Oct 3 21:37:24 CEST 2000


On Tue, Oct 03, 2000 at 03:22:00PM -0400, Tim Harrison wrote:
> 
> Good afternoon.
> 
> I recently set up mailman-2.0b6 on an OpenBSD box, running Postfix
> 19991231-pl08.  The list that mailman is to manage is hosted on a
> virtual domain.  After messing around with the /etc/postfix/virtual
> file, and getting somewhere, I noticed two things:
> 
> 1.  Mailman refuses to accept that I want the potential subscriber to
> respond to listname-request at domain.tld, and not
> listname-request at host.domain.tld.  I grepped the heck out of everything
> I could find that referred to host.domain.tld in mailman's home
> directory, and below, and found only the reference in mm_cfg.py.  I
> edited this, but to no avail.

Is "host" of "host.domain.tld" the host Postfix is running on?

Which header is it that Postfix is mungeing?

In your postfix main.cf, try putting

myorigin = $mydomain

(it defaults to host.domain) and see if the result suits you better.
This is a global change; it will effect rewrites applied to other
mail headers, too.

Especially check mail with unqualified local "To:" and
"From:" in the headers at submit time.  When I'm working with
questions like this, I often keep test cases in a files that look
sort of like like

To: me
From: somebody

testing

(completely empty line between the "From: header and the body), then
use

/usr/sbin/sendmail -t file1
/usr/sbin/sendmail -t file2
...

(or wherever Postfix's "sendmail" lives) in a script to send my
batch of test cases.  Watch the appropriate syslog file with
"tail -f" to see what's happening, in real-time, to the test cases.

[ ... ]

-----------------------------------------------------------------
 Dan Wilder <dan at ssc.com>             Publishers of Linux Journal
 SSC, Inc. P.O. Box 55549             Phone:  206-782-7733 x123
 Seattle, WA  98155-0549              URL     http://www.ssc.com/
-----------------------------------------------------------------




More information about the Mailman-Users mailing list