forwarding using mail -F protocol (or how to setup a local mailing list).

forwarding using mail -F protocol (or how to setup a local mailing list).

Post by Chris Schmi » Tue, 28 Feb 1995 21:49:54

Here's the situation: Solarix X86 2.1. I'm trying to setup a local
mailing list. I've got everything working just right except...

When someone sends to the list, their name, not the list name, is used
as the return address. No problem, I say. I'll just create a user
called adsnet-l (the name of the list) and put a .forward file together
that will pipe the incoming mail message to sendmail. My .forward file
looks thusly:

"|/usr/lib/sendmail -f adsnet-l adsnet-alias"

Works great, except the "-f" flag, which is supposed to force a return
address doesn't work, *even though the adsnet-l user is a trusted user

Try it interactively, it works just fine.

So, I think to myself, "Hmmm....maybe there's something with the daemon
that sendmail doesn't like to mess with."

I read up on mail. mail has a -F command that allows you to set a
forwarding address. Supposedly, it will execute the forwarding command
as though it were interactive. It's supposed to put a line in the mail
file that says something like "Forward to "|/usr/lib/sendmail -f
adsnet-l adsnet-alias".

The problem is, it doesn't. I can force that line in, and even get a
response back from mailx saying that my mail is being forwarded, but
it's just ignored by sendmail/mail.

Anybody got any help? Basically, I want a local list that will have as
the return address the local list name.




1. LOCAL/MAILING-LIST: Mailing list for Greek Linux Users


There is a new mailing list served by :

for Greek Users of Linux. The URL is :

The list is open for everyone who is interesting.

Version: 2.6.3i
Charset: noconv


This article has been digitally signed by the moderator, using PGP. has PGP key for validating signature.

PLEASE remember a short description of the software and the LOCATION.
This group is archived at

2. How to check if I compiled my kernel with scsi support?

3. very slow parallel read performance

4. mail forwarding undr SCO mmdf - mailing lists?

5. Installed SuSE 7.2 won't boot

6. Local Mail (using "mail") Does Not Get Delivered?

7. Setup Linux as Router To Internet

8. MAILING-LIST: Linuxisp Mailing list

9. MAILING LIST: Internet mailing list managers

10. E-mailing list: Is using .forward an alternative to Listserv?

11. MAILING-LIST: new Cyclades Users mailing list

12. MAILING-LIST: Frontpage/Linux Mailing List