Hello, tro...@gmail.com wrote: |>Sorry, my fault. Try the diff below. |> |>Nathanael | |Yup, this works! Now I can filter by sender in smptd to use the right |SMTP server.
sorry for jumping in like that (i only get these message via a simple NNTP-to-MBOX fetcher), yet i want to point out that -F is taken by POSIX [1]: -f [UP] [Option Start] Read messages from the file named by the file operand instead of the system mailbox. (See also folder.) If no file operand is specified, read messages from mbox instead of the system mailbox. [Option End] -F [UP] [Option Start] Record the message in a file named after the first recipient. The name is the login-name portion of the address found first on the To: line in the mail header. Overrides the record variable, if set (see Internal Variables in mailx). [Option End] [1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/mailx.html I seem to recall that OpenBSD dropped -f in December (i don't know why), but clashing a POSIX argument doesn't seem to be a good idea. Heirloom mailx and S-nail use the -r option for the purpose in question, and i think it would be nice if the BSD Mails would agree in this respect. Thanks and Ciao, --steffen