On Fri, Jan 14, 2011 at 02:55:02PM -0600, Will Fiveash wrote: > On Fri, Jan 14, 2011 at 11:48:16AM -0800, Dan Fandrich wrote: > > On Fri, Jan 14, 2011 at 01:39:32PM +0100, Luca Matteis wrote: > > > I am using an smtp server which requires authentication. The issue is > > > that the username must be provided in the form of domain/user. > > > I have this in my .muttrc: > > > > > > set smtp_url = "smtp://domain/user@xxxxxxxxxxxxxxxxxx:587/" > > > set smtp_pass = "xxxx" > > > > > > When I try sending an email through Mutt this is what I get: > > > > > > Could not find the host "domain" > > > > > > What's happening here? What's the correct syntax for this? > > > > The slash in the user name is terminating the host portion of the URL. It > > should work if you URL-encode is, like this: > > "smtp://domain%2fuser@xxxxxxxxxxxxxxxxxx:587/" > > It would be nice if "smtp://domain\/user@xxxxxxxxxxxxxxxxxx:587/" > or "smtp://'domain/user'@somesmtpserver.com:587/" > would work. Yuck. Nonstandard extensions that break the standard are yuck. RFC 1738 specifies that '/' MUST be encoded if it is being used as anything other than its reserved meaning in the context of URL syntax. -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail due to spam prevention. Sorry for the inconvenience.
Attachment:
pgphDMPP4OEyw.pgp
Description: PGP signature