Email Send Problems
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > Email Send Problems




Pages (2): [1] 2 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Email Send Problems  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-31-07 06:12 PM

I'm using kubuntu 7.04 (feisty fawn, amd 64)
I *am* able to send and receive email without problem using kmail.
However, I am *not* able to send mail from program scripts.
Example: Using Python smtplib, I get a "Connection unexpectedly closed"
error
Using rebol sendmail function, I get Access Error: Cannot connect to
<mailserver>

Using the same code, I can send mail without any problem from my slackware
machine, which is behind the same router and on the same network.

This suggests to me that there is some sort of firewall on this ubuntu
machine, which is being "avoided" by kmail, but not by the scripting
languages.

Any ideas?
Thanks
Tim





[ Post a follow-up to this message ]



    Re: Email Send Problems  
sk8r-365


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-01-07 12:13 AM

Tim Johnson said:
> I'm using kubuntu 7.04 (feisty fawn, amd 64)
> I *am* able to send and receive email without problem using kmail.
> However, I am *not* able to send mail from program scripts.
> Example: Using Python smtplib, I get a "Connection unexpectedly closed"
> error
> Using rebol sendmail function, I get Access Error: Cannot connect to
> <mailserver>
>
> Using the same code, I can send mail without any problem from my slackware
> machine, which is behind the same router and on the same network.
>
> This suggests to me that there is some sort of firewall on this ubuntu
> machine, which is being "avoided" by kmail, but not by the scripting
> languages.
>
> Any ideas?

Here's a WAG for ya - I'm not on Ubuntu - but what of
the file /etc/email-addresses?
Or "dpkg-reconfigure exim4" to create and edit (exim4)?

--
sk8r-365

http://goodbye-microsoft.com/





[ Post a follow-up to this message ]



    Re: Email Send Problems  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-01-07 12:13 AM

sk8r-365 wrote:
> Here's a WAG for ya - I'm not on Ubuntu - but what of
> the file /etc/email-addresses?
No file of that name.
Suggestions?

> Or "dpkg-reconfigure exim4" to create and edit (exim4)?
exim4 is not installed.
Am I correct that exim4 is the "new sendmail"?
If so, I should be able my ISP smtp server, just as I
do with kmail. In fact, I can do so from my slack machine.
But I would be happy to install exim4 if you so recommend.
thanks
tim








[ Post a follow-up to this message ]



    Re: Email Send Problems  
sk8r-365


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-01-07 12:13 AM

Tim Johnson said:
> sk8r-365 wrote: 
>   No file of that name.
>   Suggestions?

Sorry, no suggestions - it was WAG.

> 
>   exim4 is not installed.
>   Am I correct that exim4 is the "new sendmail"?

As I understand - it is. And I think this is the first use of it
within Debian ... is that right guys?

>   If so, I should be able my ISP smtp server, just as I
>   do with kmail. In fact, I can do so from my slack machine.
>   But I would be happy to install exim4 if you so recommend.
>

Let's wait to install it and see if using the current arrangement
suits; if that's OK with you.
I am only just now learning about exim4 having come from procmail,
mailx and the like. What servers are you currently using?
I am familiar with the other methods having come from Gentoo and Ubuntu.

--
sk8r-365

http://goodbye-microsoft.com/





[ Post a follow-up to this message ]



    Re: Email Send Problems  
Anton Ertl


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-01-07 12:13 AM

Tim Johnson <tim@johnsons-web.com> writes:
>  Am I correct that exim4 is the "new sendmail"?

exim4 is Debian's default MTA (how come it is not installed in your
installation?), so it has the role that sendmail has had in many other
systems.  However, sendmail still exists; but if you don't have a
special reason to use sendmail (e.g., an existing configuration),
exim4 is preferable.

- anton
--
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html





[ Post a follow-up to this message ]



    Re: Email Send Problems  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-01-07 12:13 AM

sk8r-365 wrote:

>
> Let's wait to install it and see if using the current arrangement
> suits; if that's OK with you.
> I am only just now learning about exim4 having come from procmail,
> mailx and the like. What servers are you currently using?
> I am familiar with the other methods having come from Gentoo and Ubuntu.
I installed exim4 and ran sudo dpkg-reconfigure exim4-config
really, really slick. I choose to use a smarthost, since my domain
hosting who is like a whole continent away - allows that with a static IP.
The Python script works fine, I can send without problem and receive
almost instantly.
The rebol script still fails. I think that is an interpreter problem,
i.e. a problem with the particular rebol config on this machine.
Thanks for the tip.
that did it.
tim






[ Post a follow-up to this message ]



    Re: Email Send Problems  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-01-07 12:13 AM

Anton Ertl wrote:

> Tim Johnson <tim@johnsons-web.com> writes: 
>
> exim4 is Debian's default MTA (how come it is not installed in your
> installation?),
Good for Debian. :-) I'm using ubuntu. Deb was my first choice, but
couldn't get it to work. Unresolvable network timeout.
thanks
tim






[ Post a follow-up to this message ]



    Re: Email Send Problems  
Tim Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-01-07 12:13 AM

Tim Johnson wrote:

>   The rebol script still fails. I think that is an interpreter problem,
>    i.e. a problem with the particular rebol config on this machine.
Well - now I have the rebol script working *if* I using the server IP
Address. Go figure.
tim






[ Post a follow-up to this message ]



    Re: Email Send Problems  
s. keeling


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-01-07 06:13 PM

Anton Ertl <anton@mips.complang.tuwien.ac.at>:
>
>  exim4 is Debian's default MTA (how come it is not installed in your

s/exim4/postfix/

>  exim4 is preferable.

Depends what you're using it for.  I'd believe the DDs when they
suggest postfix (industrial strength MTA), but I found exim more easily
configurable for what I use it for (personal workstation --> ISP's
Smarthost).

Now, however, I've gone to ssmtp, which is a lot easier than both of
them, but which would be entirely unsuitable for an industrial
strength MTA.


--
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling          Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.
Spammers! http://www.spots.ab.ca/~keeling/emails.html





[ Post a follow-up to this message ]



    Re: Email Send Problems  
Anton Ertl


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-01-07 06:13 PM

"s. keeling" <keeling@spots.ab.ca> writes:
>Anton Ertl <anton@mips.complang.tuwien.ac.at>: 
>
>s/exim4/postfix/

What Debian are you thinking of?  We have a bunch of Etch and Sarge
boxes, and my impression from the installation is that Exim4 is the
default.

- anton
--
M. Anton Ertl                    Some things have to be seen to be believed
anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
http://www.complang.tuwien.ac.at/anton/home.html





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:53 PM.      Post New Thread    Post A Reply      
Pages (2): [1] 2 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register