Re: Fetchmail Smail Problems

1998-02-26 Thread Joel Klecker
At 03:19 +0100 1998-02-25, Marcus Brinkmann wrote:
On Wed, Feb 25, 1998 at 02:50:06AM +, Deniz Dogan wrote:
 Is there any other options to use as MDA? Preferably, how can I solve
 `connection
 refuse` problem?

Sorry, don't know. Try to look hard at the various files in /etc, as
/etc/hosts*, /etc/resolv.conf etc...

One possibility is that the smtp entry in /etc/inetd.conf is not enabled
(ISTR, that a certain version of the smail package didn't properly enable
this in its postinst script).

Running (as root):
  `update-inetd --enable smtp' (no quotes) should fix that (or else it'll
punt safely).

Also, if one wants smail to run standalone, one can edit /etc/init.d/smail
and comment out the exit 0 line near the top (IIRC, this may be necessary
for it to work at all with fetchmail. It will certainly make fetchmail
perform a bit better even if not required.).

--
Joel Espy KleckerDebian GNU/Linux Developermailto:[EMAIL PROTECTED]
http://espy.org/   ftp://ftp.espy.org/pub
God shows his contempt for wealth by the kind of person He selects to
receive it.  -- Austin O'Malley (1858-1952)



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Fetchmail Smail Problems

1998-02-25 Thread Deniz Dogan
Hi,

Marcus Brinkmann wrote:
 Welcome in the club, you are using smail 3.2.0.100-x, don't you?

No. 3.2.0.92-3. I`m using bo.

After trying some configurations with smailconfig I managed to sent
mail.
But ftechmail still doesn`t work, It`s a general problem I think, as I
wrote
in my previous post telneting to the localhost doesn`t work also.
Connection
is refused. Any ideas?

 looks ok. You can try to give fetchmail the dma option and use procmail. I

I tried that: (procmail 3.10.4-2)

$fetchmail -v -k -m /usr/bin/procmail

It worked but elm (2.4pl25ME+31-5) complained that the folder is
corrupted. Man
page says:

   If running suid root or  with  root  privileges,  procmail
   will  be able to perform as a functionally enhanced, backĀ­
   wards compatible mail delivery agent.

Isn`t it possible to run as a non-root user?

Is there any other options to use as MDA? Preferably, how can I solve
`connection
refuse` problem?

Thanks.
-- 
Deniz Dogan


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Fetchmail Smail Problems

1998-02-25 Thread Marcus Brinkmann
On Wed, Feb 25, 1998 at 02:50:06AM +, Deniz Dogan wrote:
 Hi,
 
 Marcus Brinkmann wrote:
  Welcome in the club, you are using smail 3.2.0.100-x, don't you?
 
 No. 3.2.0.92-3. I`m using bo.

Oh. It would have been soo easy to downgrade ;)
 
 After trying some configurations with smailconfig I managed to sent
 mail.

Good.

 But ftechmail still doesn`t work, It`s a general problem I think, as I
 wrote
 in my previous post telneting to the localhost doesn`t work also.
 Connection
 is refused. Any ideas?

This is really strange. Sorry, I'm no expert here...
 
  looks ok. You can try to give fetchmail the dma option and use procmail. I
 
 I tried that: (procmail 3.10.4-2)
 
 $fetchmail -v -k -m /usr/bin/procmail
 
 It worked but elm (2.4pl25ME+31-5) complained that the folder is
 corrupted. Man
 page says:
 
If running suid root or  with  root  privileges,  procmail
will  be able to perform as a functionally enhanced, backĀ­
wards compatible mail delivery agent.
 
 Isn`t it possible to run as a non-root user?

It has already the correct permissions, at least here:
flora$ ls -l 'which procmail'
-rwsr-sr-x   1 root mail56224 Jan 31 20:45 /usr/bin/procmail*

I have /usr/bin/procmail -f- as option to fetchmail, perhaps this helps?
 
 Is there any other options to use as MDA? Preferably, how can I solve
 `connection
 refuse` problem?

Sorry, don't know. Try to look hard at the various files in /etc, as
/etc/hosts*, /etc/resolv.conf etc...

Marcus

-- 
Rhubarb is no Egyptian god.Debian GNU/Linuxfinger brinkmd@ 
Marcus Brinkmann   http://www.debian.orgmaster.debian.org
[EMAIL PROTECTED]for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/   PGP Key ID 36E7CD09


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Fetchmail Smail Problems

1998-02-25 Thread Michael Beattie
On 24 Feb 1998, Martin Bialasinski wrote:

 Deniz Dogan [EMAIL PROTECTED] writes:
 
  fetchmail: SMTP connect to (null) failed
 
 Add smtphost localhost to your .fetchmailrc
 
 And als oadd localhost to the hostnames in /etc/smail/config 
 

I had the same problem, and this solved it quickly... here's what Deniz
means:

---~/.fetchmailrc
poll [ISP_mailhost] proto POP3
user [ISP_userid] with password [ISP_pass] is [LOCAL_userid] here
smtphost localhost- here
---=end=-

---/etc/smail/config-
[snip]
visible_name=mybox.com
-domains
hostnames=mybox.com:localhost   and here

max_load_ave=5
smtp_accept_max=20
[snip]
---=end=-

Hope that work for you

   Michael Beattie ([EMAIL PROTECTED])

---
   CONNECT 300...   Connect 300?!?!?! #%^# NO CARRIER
---
Debian GNU/Linux  Ooohh You are missing out!



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Fetchmail Smail Problems

1998-02-25 Thread Martin Bialasinski
Deniz Dogan [EMAIL PROTECTED] writes:

 But ftechmail still doesn`t work, It`s a general problem I think, as I
 wrote in my previous post telneting to the localhost doesn`t work also.
 Connection is refused. Any ideas?

Comment out any rule in /etc/hosts.deny and try again. If this works, then
reenable one rule at a time to find the problem.

Ciao,
Martin


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Fetchmail Smail Problems

1998-02-25 Thread Daniel Martin at cush
Martin Bialasinski [EMAIL PROTECTED] writes:

 Deniz Dogan [EMAIL PROTECTED] writes:
 
  But ftechmail still doesn`t work, It`s a general problem I think, as I
  wrote in my previous post telneting to the localhost doesn`t work also.
  Connection is refused. Any ideas?
 
 Comment out any rule in /etc/hosts.deny and try again. If this works, then
 reenable one rule at a time to find the problem.

This won't fix the problem, as a connection refused error won't be
given if something is being blocked by tcp wrappers - the connection
will still be accepted, but then dropped.

Two ideas:

- Your inetd may not be running; check if you can telnet to localhost
on any port (try especially 7, 9, 13 and 23).  If you always get
connection refused, there may be a problem with /etc/init.d/netbase -
at the top of /etc/init.d/netbase it checks for the existence of a
certain file (/usr/sbin/rpc.portmap); make certain you have that file.
If you don't, but do have /usr/sbin/portmap, then change the top of
/etc/init.d/netbase to check for the file you do have.

- Your inetd may be running but may not be set up to hand things off to
smail.  Check if there's a line in /etc/inetd.conf that says:
smtp  stream  tcp   nowait  root/usr/sbin/tcpd  /usr/sbin/in.smtpd 
and make certain it's not commented out - as I recall, the bo smail
package updated /etc/inetd.conf in a not-recommended manner, and that
may have broken during package install.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Fetchmail Smail Problems

1998-02-24 Thread Deniz Dogan
Hi,

I`m getting this error:

$fetchmail -k -v
[snip]
fetchmail: POP3 RETR 1
fetchmail: POP3 +OK 7064 octets
reading message 1 (7064 bytes)
fetchmail: SMTP connect to (null) failed
fetchmail: POP3 QUIT
fetchmail: POP3  ListProcessor 6.0
fetchmail: SMTP transaction error while fetching from
service.raksnet.com.tr
fetchmail: normal termination, status 9

And I can`t telnet to localhost.
My /etc/hosts.deny has the `ALL: ALL` line,
/etc/hosts.allow has `ALL: 127.0.0.1`.

I`m also having trouble with smail, configured as internet
site uses smarthost for all outgoing mail. In logs there is no
error, but I the mails sent are lost. Local delivery works.

Any help will greatly appreciated.
Thanks.
-- 
Deniz Dogan


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Fetchmail Smail Problems

1998-02-24 Thread Marcus Brinkmann
On Tue, Feb 24, 1998 at 11:21:42AM +, Deniz Dogan wrote:
 Hi,
 
 I`m getting this error:
 
 $fetchmail -k -v
 [snip]
 fetchmail: POP3 RETR 1
 fetchmail: POP3 +OK 7064 octets
 reading message 1 (7064 bytes)
 fetchmail: SMTP connect to (null) failed
 fetchmail: POP3 QUIT
 fetchmail: POP3  ListProcessor 6.0
 fetchmail: SMTP transaction error while fetching from
 service.raksnet.com.tr
 fetchmail: normal termination, status 9
 
 And I can`t telnet to localhost.
 My /etc/hosts.deny has the `ALL: ALL` line,
 /etc/hosts.allow has `ALL: 127.0.0.1`.
 
 I`m also having trouble with smail, configured as internet
 site uses smarthost for all outgoing mail. In logs there is no
 error, but I the mails sent are lost. Local delivery works.

Welcome in the club, you are using smail 3.2.0.100-x, don't you?

Downgrade. Smail is severly broken at the moment in hamm.Your configuration
looks ok. You can try to give fetchmail the dma option and use procmail. I
wonder why outbond mail does not work for you, it works for me with the same
configuration (and the new smail, yes, I'm brave).

If you send me your /etc/smail directory and your .fetchmailrc, I can give a
look (be sure to blend all passwords and usernames out). This could help the
development of smail in hamm.

Thank you,
Marcus


-- 
Rhubarb is no Egyptian god.Debian GNU/Linuxfinger brinkmd@ 
Marcus Brinkmann   http://www.debian.orgmaster.debian.org
[EMAIL PROTECTED]for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/   PGP Key ID 36E7CD09


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Fetchmail Smail Problems

1998-02-24 Thread Martin Bialasinski
Deniz Dogan [EMAIL PROTECTED] writes:

 fetchmail: SMTP connect to (null) failed

Add smtphost localhost to your .fetchmailrc

And als oadd localhost to the hostnames in /etc/smail/config 

Ciao,
Martin


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .