Re: rss2email gives: Fatal error: could not connect to mail server



Todd Zullinger <tmz <at> pobox.com> writes:


Thufir wrote:
should I have some sort of server running?

The default config for the Fedora rss2email package tries to connect
to localhost via SMTP to send email. You can either:

a) run an SMTP server on your box
b) set SMTP_SEND=0* so /usr/sbin/sendmail is used to deliver mail
c) set SMTP_SERVER* to your ISP's SMTP server

Good luck,

* in ~/.rss2email/config.py


I installed sendmail with yum, but wonder if there might be an additional
configuration.

# Pine configuration file
#
# This file sets the configuration options used by Pine and PC-Pine. These
# options are usually set from within Pine or PC-Pine. There may be a
# system-wide configuration file which sets the defaults for some of the
# variables. On Unix, run pine -conf to see how system defaults have been set.
# For variables that accept multiple values, list elements are separated by
# commas. A line beginning with a space or tab is considered to be a
# continuation of the previous line. For a variable to be unset its value must
# be blank. To set a variable to the empty string its value should be "".
# You can override system defaults by setting a variable to the empty string.
# Lines beginning with "#" are comments, and ignored by Pine.

# Over-rides your full name from Unix password file. Required for PC-Pine.
personal-name=HAWAT.THUFIR

# Sets domain part of From: and local addresses in outgoing mail.
user-domain=GMAIL.COM

# List of SMTP servers for sending mail. If blank: Unix Pine uses sendmail.
smtp-server=smtp.gmail.com/user=hawat.thufir@xxxxxxxxx/ssl/novalidate-cert

# NNTP server for posting news. Also sets news-collections for news reading.
nntp-server=localhost

# Path of (local or remote) INBOX, e.g. ={mail.somewhere.edu}inbox
# Normal Unix default is the local INBOX (usually /usr/spool/mail/$USER).


[root@localhost .rss2email]#
[root@localhost .rss2email]# pwd
/root/.rss2email
[root@localhost .rss2email]#
[root@localhost .rss2email]# whoami
root
[root@localhost .rss2email]#
[root@localhost .rss2email]# set SMTP_SEND=0
[root@localhost .rss2email]# r2e run

Fatal error: could not connect to mail server "localhost"
[root@localhost .rss2email]#
[root@localhost .rss2email]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
#::1 localhost.localdomain localhost
[root@localhost .rss2email]#
[root@localhost .rss2email]# date
Sat Apr 14 09:43:33 BST 2007
[root@localhost .rss2email]#
[root@localhost .rss2email]#


thanks,

Thufir

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • DNS problem with Exchange 2000, I think
    ... I have a windows 2000 domain controller running exchange 2000. ... "A configuration error in the e-mail system caused the message to ... In virtual SMTP server I have configured forwarders for DNS and the ...
    (microsoft.public.exchange.setup)
  • Re: Command Line Question
    ... Is there anyway to put in the command line to use a different SMTP server? ... I'm using Pine, so I don't know anything about Alpine. ... you can set a different config file. ...
    (comp.mail.pine)
  • Re: Email problems
    ... this sort of error almost always happens due to the Relay ... configuration of the SMTP Server that CDO is sending the message to. ... Another possible issue involves the Authentication configuration of the SMTP ...
    (microsoft.public.frontpage.programming)
  • Pine and Yahoo! SMTP
    ... I tried to configure pine to use Yahoo! ... SMTP does not work, did a search and it seems related to a bug in the ... I could use another SMTP server, teh one of my ISP for instance, but it ...
    (comp.mail.pine)
  • Re: Command Line Question
    ... Tweaks and feature changes make it to where I like it even better that Pine. ... I issue the alpine command with "alpine -p.pinerc". ... This is nice because I have the same configuration no matter where I run Alpine from and I have the same address book. ... Granted, not a huge problem because it does work, but I do not like waiting while Alpine times out and then switches to the other "local" SMTP server. ...
    (comp.mail.pine)