Re: Help, please. Mail distribution doesn't work...

The Butterfly <[email protected]> Mon, 03 Nov 2003 05:26:38 -0800
Newsgroups gmane.mail.smartlist.user
Organization Evolutionary Acceleration, Inc.
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In article <[email protected]> you write:
>Hello all,
>
>I tried to install Smartlist 3.15 on my Linux box but
>I cannot get it worked properly.
>
>When I subscribe e-mails everything works fine. One letter comes to
>subscriber and one multigram letter arrives to mailbox of maintainer.
>Showdist command shows correct values too.
>
>When I send message to [email protected], nobody gets messages except
>maintainer.
>
>I tried to use listname-dist alias in sendmail aliases.db but it doesn't
>work too.
>
>To make clean output I made new "t" mailing list and subscribe two new
>addresses.
>Than I sent test message to [email protected]. Message was received by
>maintainer only ([email protected]).
>
>Here is the dist file, aliases and logfile.
>
>
>DIST FILE:
>(Only addresses below this line can be automatically removed)
>[email protected]
>[email protected]
>
>ALIASES:
>t: "|exec /home/slist/.bin/flist t"
>t-request: "|exec /home/slist/.bin/flist t-request"
>
>
	I suspect it's your aliases. Very likely a sendmail config problem,
not a SmartList problem. Every sendmail for at least the last 4-5 years
comes by default configured to use 'smrsh', the sendmail restricted shell.
So you need to make links to your SmartList binaries where sendmail is
looking for them, and change your alias format slightly, since it no longer
needs/uses paths. (It only looks in one dir.)

	Here is my /etc/smrsh directory:

(5:16am)l /etc/smrsh/
lrwxrwxrwx    1 root  root   21 Oct  3  1999 flist -> /home/list/.bin/flist
lrwxrwxrwx    1 root  root   17 Oct  3  1999 procmail -> /usr/bin/procmail
lrwxrwxrwx    1 root  root   19 Jul  8  2000 slocal -> /usr/lib/nmh/slocal
lrwxrwxrwx    1 root  root   23 Feb 28  2003 spamtrap -> /usr/local/bin/spamtrap


	And here are some sample config lines. Note the shorter format,
since we dropped the path info:

autopilot: 		"| flist autopilot"
autopilot-request: 	"| flist autopilot-request"
autopilot-dist:  	:include:/home/list/autopilot/dist



	Hope this helps! :-)

Pat
	   ___________________Think For Yourself____________________
	 Patrick G. Salsbury - http://reality.sculptors.com/~salsbury/
     The Design Science Wiki is at http://www.designsciencecommunity.org/
	   ---------------------------------------------------------
	       We ARE as gods and might as well get good at it.
				-- Stewart Brand, Whole Earth Catalog

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.2
Comment: Don't know what PGP is? Check http://www.pgpi.org/

iQA/AwUBP6ZXgoJkhJBJYtPQEQL38ACeLlFcWMUqaErOrNTA+3DKnjh6siEAn3Em
oql5b0Xgo5csNQAHLXQXiDt6
=hYw/
-----END PGP SIGNATURE-----