From nobody Tue Feb 06 14:28:50 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TTlxC55sBz59LtM for ; Tue, 6 Feb 2024 14:29:03 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 4TTlxB46CTz4b0X for ; Tue, 6 Feb 2024 14:29:02 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=ilk.org; spf=pass (mx1.freebsd.org: domain of freebsd-questions-local@be-well.ilk.org designates 23.30.133.173 as permitted sender) smtp.mailfrom=freebsd-questions-local@be-well.ilk.org Received: from lowell-Ubuntu.lan (lowell-Ubuntu.lan [172.30.250.95]) by be-well.ilk.org (Postfix) with ESMTP id 46E9C35B2B; Tue, 6 Feb 2024 09:28:51 -0500 (EST) Received: by lowell-Ubuntu.lan (Postfix, from userid 1147) id 0394D1080429; Tue, 6 Feb 2024 09:28:50 -0500 (EST) From: Lowell Gilbert To: Gary Aitken Cc: FreeBSD Mailing List Subject: Re: newaliases changed? In-Reply-To: (Gary Aitken's message of "Mon, 5 Feb 2024 16:45:20 -0700") References: <32601639-0a4e-4bb0-b87d-9bcbae1c7945@dreamchaser.org> Reply-To: FreeBSD Mailing List Date: Tue, 06 Feb 2024 09:28:50 -0500 Message-ID: <44fry5sm3h.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; DMARC_POLICY_ALLOW(-0.50)[ilk.org,none]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:7922, ipnet:23.30.0.0/15, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org] X-Rspamd-Queue-Id: 4TTlxB46CTz4b0X Gary Aitken writes: > On 2/5/24 16:23, Peter wrote: >> Hello! >> On Mon, Feb 05, 2024 at 04:15:02PM -0700, Gary Aitken wrote: >>> Recently upgraded from 12.4 to 13.2 >>> When I run newaliases, I get a bunch of complaints for things that >>> used to work fine: >>> /etc/mail/aliases: line 88: goodfriends: ... missing value for alias >>> /etc/mail/aliases: line 89: Non-continuation line starts with space >>> >>> The entries in question look like this: >>> >>> #friends: (bad addrs) >>> # foo@bentley.unco.edu, # bentley.unco.edu: host not found >>> # baz@kcs.keene.k12.ny.us >>> >>> goodfriends: >>> foo1@blackfoot.net, \ >>> foo2@comcast.net, \ >>> foo3@aol.com, \ >>> foo4@fatquailfarm.com, \ >>> foo5@sbcglobal.net, \ >>> foo6@blackfoot.net, \ >>> foo7@tnc.org, \ >>> foo8@aol.com, \ >>> foo9@hotmail.com, \ >>> foo10@blackfoot.net >>> >>> This is a cut and paste, obviously; the whitespace is all blanks. >>> huh? >>> Thanks for any tips. > >> I don't know the proper syntax, but based on the errors >> I think that a " \" after "goodfriends:" could work. > > My fault, I was trying things out and put it back without the '\' > Adding one doesn't help. Well, it was certainly necessary, so you're ahead of where you were. Make sure there's no whitespace after the backslashes, although I suspect that would give you a different error. Check whether you are using the correct newaliases program. Some mail software (e.g., postfix) will install their own. ["which -a newaliases"] Good luck.