[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SMTP library problem
From: |
David |
Subject: |
Re: SMTP library problem |
Date: |
Sat, 08 Mar 2008 15:47:54 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Stephen Berman <Stephen.Berman@gmx.net> writes:
> Ok, I set smtpmail-default-smtp-server to "localhost" and
> smtpmail-auth-credentials to '(("localhost" 2000 "myusername"
> "mypassword")), and indeed it did work -- almost. Since the mail goes
> through localhost, it gets picked up by the postfix server running on my
> system.
You local postfix listens on another port (25), so it should not pick up
the mail. You must have done something wrong in your smtpmail.el
configuration. Here's how it should work:
(setq smtpmail-default-smtp-server "localhost")
(setq smtpmail-smtp-service 2000)
(require 'smtpmail)
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-debug-info t)
(setq smtpmail-auth-credentials
'(("localhost" 2000 "name" "pass")))
Note that smtp-server and smtp-service are set before the 'require'
(though I'm not sure if this is still necessary).
> I have postfix configured to relay mail from localhost to
> another server (mail.gmx.net), which is what I use for most of my
> email.
I guess you could configure postfix to use different smart hosts
dependent on the sender address, but I don't know postfix and it's
OT here anyway.
> Unfortunately I don't know what adaptations to smtpmail.el would be
> needed nor how to implement them. If you want to try to do it, I would
> be grateful (as I am for the help you've already given me).
Sorry, I'm afraid I won't have the time to do it. Additionally, I
consider ssmtp to be broken and mail servers usually only support it
because of MS Outlook anyway, so I see no reason to support
this. SMTP+STARTTLS is the right thing to do.
-David
- SMTP library problem, James Long, 2008/03/04
- Re: SMTP library problem, Stephen Berman, 2008/03/05
- Re: SMTP library problem, David, 2008/03/05
- Re: SMTP library problem, Stephen Berman, 2008/03/05
- Re: SMTP library problem, David, 2008/03/05
- Re: SMTP library problem, Stephen Berman, 2008/03/05
- Re: SMTP library problem, David, 2008/03/06
- Re: SMTP library problem, Stephen Berman, 2008/03/07
- Re: SMTP library problem, David, 2008/03/07
- Re: SMTP library problem, Stephen Berman, 2008/03/07
- Re: SMTP library problem,
David <=
- Re: SMTP library problem, Stephen Berman, 2008/03/08
- Re: SMTP library problem, David, 2008/03/09
- Re: SMTP library problem, Stephen Berman, 2008/03/09
- Message not available
- Re: SMTP library problem, Richard G Riley, 2008/03/09
- Re: SMTP library problem [RESOLVED], Stephen Berman, 2008/03/12