Roy Britten wrote:

So, changing from Thunderbird to Mutt has resulted in my posts to this list
being blocked. Zane suggests, and I'm inclined to concur, that the list server
is blocking my mail because my Return-Path header differs from the From
header, which is the subscribed address. (Thunderbird, which I'm using for
this email, uses an SMTP server; Mutt uses, presumably, sendmail locally).

My box has no sendmail.cf file.


Are you sure you're running sendmail? Most seem to be running exim these days. You need some kind of config file - is there anything in /etc/mail? You really need to start at semdmail.mc and move on.

What I'd like to do is rewrite the Return-Path header. Its current value (when
composing within Mutt) complies with the RFC and is an address that is only
reachable from within our WAN ([EMAIL PROTECTED]).

Are there good reasons why this would not be a good idea? How have others
overcome this problem? Pointers to references? man sendmail is not especially
helpful, and O'Reilly's "sendmail" is verbose but challenging.


Although a wonderful book, it is also a great cure for insomnia (:

Cheers,
Roy.



This should get you started ( change greengecko.co.nz to your own domain. As you can see, this is for debian
The three lines that start with dnl ( destructive new line ) are commented out - you may or may not need them.
Save this as /etc/mail/sendmail.mc, and run 'make' in that directory.


Cheers,

Steve

include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.12.11-5 2004-04-22 15:43:34 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl

LOCAL_CONFIG
FEATURE(`masquerade_envelope')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`local_no_masquerade')dnl
LOCAL_CONFIG
Cwgreengecko.co.nz
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`smrsh')dnl
dnl FEATURE(`local_procmail')dnl
dnl FEATURE(`virtusertable')dnl
dnl VIRTUSER_DOMAIN_FILE(`/etc/mail/virthosts')dnl

include(`/etc/mail/dialup.m4')dnl
include(`/etc/mail/provider.m4')dnl
include(`/etc/mail/tls/starttls.m4')dnl

MAILER_DEFINITIONS

MAILER(local)dnl
MAILER(smtp)dnl





Reply via email to