[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[msmtp-users] Revert to Default Account If Specified Is Not Found? (fwd)




I'm trying this post one, more time!  It didn't seem to go the first try.

---------- Forwarded message ----------
Hi all;

I'm a new msmmtp user and I'm trying to use it to resolve a unique routing problem I have sometimes.

In the msmtp pan page (under USAGE) is says that if the specified option is not found then the "default" is used. This isn't what happens. The command aborts with an "account not found" failure.

I want to use a default command string with the address as the --account=id option and if the "id" exists then use that "account", otherwise use the default.

Is this possible?

If not, can someone suggest a patch that will allow it?
Maybe even a command flag that will enable this functionality?

The reason fro this is that I want to allow special handling for some "recipient" email address to:
- verify a specific smtp server
- provide a no-fault delivery method
- while still using my default From: address

If anyone things this feature is useful I can provide the details of the issue I'm having.

Thanks in advance.

--
------------------------------------------------
  Doug Mitton - 'City of the Thousand Islands'
  Amateur Radio: VE3DMZ        (ve3dmz@...207...)
           http://mitton-ca.com/
------------------------------------------------