Date: Tue, 06 Feb 2024 09:28:50 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Gary Aitken <freebsd@dreamchaser.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: newaliases changed? Message-ID: <44fry5sm3h.fsf@be-well.ilk.org> In-Reply-To: <ab06a7d5-e7e7-40e6-8393-00780136f6a2@dreamchaser.org> (Gary Aitken's message of "Mon, 5 Feb 2024 16:45:20 -0700") References: <32601639-0a4e-4bb0-b87d-9bcbae1c7945@dreamchaser.org> <ZcFt5yshbZ%2B9Jr4v@pol-server.leissner.se> <ab06a7d5-e7e7-40e6-8393-00780136f6a2@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Gary Aitken <freebsd@dreamchaser.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44fry5sm3h.fsf>