cam at ellisonpsychology.ca
2008-Apr-08 20:56 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
I have googled about this, asked questions on mozilla and dovecot lists, and get no answers. I am able to use Squirrelmail on my desktop, the various instances of "mail" in scripts all work as intended, and mail sent from my website works as well, but I cannot send from Thunderbird (or KMail, for that matter). The exim4 configuration (split) has not changed in some time. This is the setup: Exim4 set to "internet" delivers incoming mail to Dovecot IMAPS. That part works. For a while, it did not - Icedove would crash when an attempt was made to read a message, but sending worked. In desperation, I wiped Icedove and installed Thunderbird from the tar file (2.0.0.12). Now reading works, but sending does not. Outgoing mail is handled by SMTP on port 25. The system has a fixed IP address. Exim4 version is 4.69, and I''m running exim4-daemon-heavy. I have read through the changes implemented in the last 4 or 5 versions, but none of them seem to apply. What have I missed? Thank you Cam -- Cam Ellison, PhD RPsych (BC #01417) Cam Ellison & Associates Ltd. 3446 Beach Avenue Roberts Creek BC V0N 2W2 Phone 604.885.4806 Fax 694.885.4809 Cell 604.989.0635
Ross Boylan
2008-Apr-09 00:11 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
On Tue, 2008-04-08 at 13:56 -0700, cam at ellisonpsychology.ca wrote:> In desperation, I wiped > Icedove and installed Thunderbird from the tar file (2.0.0.12). Now > reading works, but sending does not.Though I have no great ideas what''s wrong, you''d probably have fewer bumps if you used the Debian packages of programs. The packaging is supposed to integrate things with the rest of the system. -- Ross Boylan wk: (415) 514-8146 185 Berry St #5700 ross at biostat.ucsf.edu Dept of Epidemiology and Biostatistics fax: (415) 514-8150 University of California, San Francisco San Francisco, CA 94107-1739 hm: (415) 550-1062
cam at ellisonpsychology.ca
2008-Apr-09 04:51 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
> Though I have no great ideas what''s wrong, you''d probably have fewer > bumps if you used the Debian packages of programs. The packaging is > supposed to integrate things with the rest of the system.Generally, that''s exactly what I do, and that''s also what led me into this mess: the Icedove package. Cam -- Cam Ellison, PhD RPsych (BC #01417) Cam Ellison & Associates Ltd. 3446 Beach Avenue Roberts Creek BC V0N 2W2 Phone 604.885.4806 Fax 694.885.4809 Cell 604.989.0635
Marc Haber
2008-Apr-09 20:12 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
On Tue, Apr 08, 2008 at 01:56:12PM -0700, cam at ellisonpsychology.ca wrote:> but I cannot send from Thunderbird (or > KMail, for that matter).What are the symptoms? Error messages, log entries, anything? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
David Baron
2008-Apr-09 20:25 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
On Wednesday 09 April 2008 23:12:45 Marc Haber wrote:> On Tue, Apr 08, 2008 at 01:56:12PM -0700, cam at ellisonpsychology.ca wrote: > > but I cannot send from Thunderbird (or > > KMail, for that matter). > > What are the symptoms? Error messages, log entries, anything?You need to configure your provider smtp as a "smarthost" rather then send to it directly. If you are using exim4, check its documentation. Note the type of authentication the provider requires, whether it is encrypted or plain text (less secure). My problem with this started when 012 began to require authentication to send (even if I were logged on). Once smarthost is configured, your kmail or icdove or whatever will sent to localhost and exim4 or its equivalent will do the rest.
cam at ellisonpsychology.ca
2008-Apr-09 21:30 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
> On Wednesday 09 April 2008 23:12:45 Marc Haber wrote: >> On Tue, Apr 08, 2008 at 01:56:12PM -0700, cam at ellisonpsychology.ca >> wrote: >> > but I cannot send from Thunderbird (or >> > KMail, for that matter). >> >> What are the symptoms? Error messages, log entries, anything?The error message is "An error occurred ... The mail server responded: Relay not permitted..." The log entry: 2008-04-09 13:33:51 H=h24-207-104-15.cst.dccnet.com [24.207.104.15] F=<cam at ellisonpsychology.ca> rejected RCPT <judi.ellison at dccnet.com>: relay not permitted> > You need to configure your provider smtp as a "smarthost" rather then send > to > it directly. If you are using exim4, check its documentation. Note the > type > of authentication the provider requires, whether it is encrypted or plain > text (less secure). My problem with this started when 012 began to require > authentication to send (even if I were logged on). > > Once smarthost is configured, your kmail or icdove or whatever will sent > to > localhost and exim4 or its equivalent will do the rest.Setting it to ''smarthost" has no effect. Importantly, the behaviour occurs with clients like Thunderbird, KMail, and Sylpheed; it does not occur with Squirrelmail (which I am using at the moment), nor with mail commands issued by php scripts that are part of my online assessment system. They just work. So does mutt. Squirrelmail sends as localhost, and that should be true of the php scripts. Sending with mutt produces this log entry: 2008-04-09 14:07:54 1JjhWM-0003K8-Ml <= cam at ellisonpsychology.ca U=cam P=local S=764 id=20080409210754.GA12299 at ellisonpsychology.ca 2008-04-09 14:07:57 1JjhWM-0003K8-Ml => judi.ellison at dccnet.com R=smarthost T=remote_smtp_smarthost H=mail.dccnet.com [24.207.1.253] 2008-04-09 14:07:57 1JjhWM-0003K8-Ml Completed There''s something about the output from the (tested) GUI-based clients that makes it look to exim4 like a relay. My questions remain: what is it, and what do I need to do with exim4.conf.conf to deal with this? Thank you both for responding Cam -- Cam Ellison, PhD RPsych (BC #01417) Cam Ellison & Associates Ltd. 3446 Beach Avenue Roberts Creek BC V0N 2W2 Phone 604.885.4806 Fax 694.885.4809 Cell 604.989.0635
Marc Haber
2008-Apr-09 21:39 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
On Wed, Apr 09, 2008 at 02:30:08PM -0700, cam at ellisonpsychology.ca wrote:> > On Wednesday 09 April 2008 23:12:45 Marc Haber wrote: > >> On Tue, Apr 08, 2008 at 01:56:12PM -0700, cam at ellisonpsychology.ca > >> wrote: > >> > but I cannot send from Thunderbird (or > >> > KMail, for that matter). > >> > >> What are the symptoms? Error messages, log entries, anything? > > The error message is "An error occurred ... The mail server responded: > Relay not permitted..." > The log entry: > 2008-04-09 13:33:51 H=h24-207-104-15.cst.dccnet.com [24.207.104.15] > F=<cam at ellisonpsychology.ca> rejected RCPT <judi.ellison at dccnet.com>: > relay not permittedIf 24.2078.104.15 is the IP address of the local box and the GUI client is running on the same machine as your exim, set the GUI client to use 127.0.0.1 as a server. If my assumption is false, I need more input. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
cam at ellisonpsychology.ca
2008-Apr-09 21:54 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
> > If 24.2078.104.15 is the IP address of the local box and the GUI > client is running on the same machine as your exim, set the GUI client > to use 127.0.0.1 as a server. > > If my assumption is false, I need more input.Interesting idea, but it did not work. I added 127.0.0.1 to the list of SMTP servers and set it as the default, but got the same result as before. What sort of input? My first hunch is you might want to see update-exim4.conf.conf: # /etc/exim4/update-exim4.conf.conf # # Edit this file and /etc/mailname by hand and execute update-exim4.conf # yourself or use ''dpkg-reconfigure exim4-config'' dc_eximconfig_configtype=''smarthost'' dc_other_hostnames=''localhost : ellisonpsychology.ca : ellisonet.ca : treehouse.ellisonet.ca : treehouse.ellisonpsychology.ca'' dc_local_interfaces=''0.0.0.0'' dc_readhost='''' dc_relay_domains='''' dc_minimaldns=''false'' dc_relay_nets=''192.168.10.0/24'' dc_localdelivery=''dovecot'' CFILEMODE=''644'' dc_use_split_config=''true'' dc_hide_mailname=''false'' dc_mailname_in_oh=''true'' dc_smarthost=''mail.dccnet.com'' What else? Thanks for the help Cam -- Cam Ellison, PhD RPsych (BC #01417) Cam Ellison & Associates Ltd. 3446 Beach Avenue Roberts Creek BC V0N 2W2 Phone 604.885.4806 Fax 694.885.4809 Cell 604.989.0635
Marc Haber
2008-Apr-10 06:39 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
On Wed, Apr 09, 2008 at 02:54:56PM -0700, cam at ellisonpsychology.ca wrote:> What sort of input?For example, how are the processes distributed over the boxes, who controls the exim, is it configured for SMTP AUTH, is your client configured for SMTP AUTH. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Marc Haber
2008-Apr-27 14:54 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
On Thu, Apr 10, 2008 at 07:26:02AM -0700, cam at ellisonpsychology.ca wrote:> > On Wed, Apr 09, 2008 at 02:54:56PM -0700, cam at ellisonpsychology.ca wrote: > >> What sort of input? > > > > For example, how are the processes distributed over the boxes, who > > controls the exim, is it configured for SMTP AUTH, is your client > > configured for SMTP AUTH. > > Everything is on the same box. Dovecot and Exim are set up the Debian > way, with Dovecot as the LDA.Curiostiy: Which advantages do you get by using Dovecot as the LDA as opposed to using the well-defined and tested Maildir interface between exim and dovecot?> Thunderbird is non-Debian, since I have trouble with reading > messages when Icedove is installed (reading causes Icedove to crash, > but it will send OK). I have not set up SMTP AUTH - had to check > that - and the client is not configured for it (have tried it both > ways).And h24-207-104-15.cst.dccnet.com [24.207.104.15] is your box, the one that runs Thunderbird, exim and dovecot, and the one that Thunderbird tries to deliver to by connecting to 127.0.0.1? I think it will help if you show full, unaltered logs, including all information that you might think is rubbish, of your thunderbird sending a message up to the error message you receive, and show the error message itself (if it''s a mail, full headers and corresponding log entries, if applicable) as well, please. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
Adi Kriegisch
2008-Apr-28 08:29 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
Hi!> Curiostiy: Which advantages do you get by using Dovecot as the LDA as > opposed to using the well-defined and tested Maildir interface between > exim and dovecot?Sieve support[1]. But I think this was not a reason in this case. -- Adi [1] http://wiki.dovecot.org/LDA/Sieve
Marc Haber
2008-Apr-28 11:03 UTC
[Pkg-exim4-users] Relay not permitted: thunderbird/icedove
On Mon, Apr 28, 2008 at 10:29:07AM +0200, Adi Kriegisch wrote:> > Curiostiy: Which advantages do you get by using Dovecot as the LDA as > > opposed to using the well-defined and tested Maildir interface between > > exim and dovecot? > Sieve support[1]. But I think this was not a reason in this case.Exim has sieve support as well. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190