Re: sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- On Tue, 7/8/08, Tim <ignored_mailbox@xxxxxxxxxxxx> wrote:

> From: Tim <ignored_mailbox@xxxxxxxxxxxx>
> Subject: Re: sendmail
> To: "For users of Fedora" <fedora-list@xxxxxxxxxx>
> Date: Tuesday, July 8, 2008, 9:28 PM
> On Tue, 2008-07-08 at 22:50 -0400, William Case wrote:
> I'd agree with that.  Likewise for other services,
> particularly if you
> have a configuration to listen to all interfaces, without
> specifying
> addresses for them.
> Though, what will happen with the various services if the
> network goes
> down and up again?  (As it can.)  Will they stall, will
> they recover
> automatically?
> 
> A network can go down (especially if you're on dialup
> or wireless), and
> DHCP servers can change IPs on you.
> 
> -- 

/*  I apologize ahead of time, this is not a hijacking but a related problem with sendmail, if anyone feels offended, I'll start a new thread upon request */ 

I have had some problems trying to update a machine with sendmail.  I have applied your script but changed the ntpd service to sendmail. 

I have NetworkManager running, but it does not do anything.  I use dialup to connect and technically do not use it.  I ran the modified script with sendmail in place of ntpd and I got

[root@localhost Documents]# ./sendmail-script 
./sendmail-script: line 14: [: ==: unary operator expected
./sendmail-script: line 26: [: ==: unary operator expected

I tried to edit it to find what I did wrong, but 

[root@localhost Documents]# gedit sendmail-script &
[1] 15012

I could not find where or what was wrong.  So I manually checked the status of sendmail and I got the following: 

[root@localhost Documents]# service sendmail status
sendmail (pid  21862) is running...
sm-client (pid  21871) is running...
[1]+  Done                    gedit sendmail-script
[root@localhost Documents]# service sendmail restart
Shutting down sm-client:                                   [  OK  ]
Shutting down sendmail:                                    [  OK  ]
Starting sendmail:                                         [  OK  ]
Starting sm-client:                                        [  OK  ]
[root@localhost Documents]# service sendmail status
sendmail (pid  15092) is running...
sm-client (pid  15101) is running...


 I now try to update the machine to linux counter and I get:

[olivares@localhost Documents]$ ./machine-update -i
/bin/df: `/home/olivares/.gvfs': Transport endpoint is not connected
Here you can specify some info that the script can't know for itself
Your Linux Counter reg#, if any [381662]:
Your machine's counter reg#, if any [382519]:
--------------------------------------------------------
This is what will be sent to the Linux Counter if you
run the program with the -m switch. Now, NOTHING IS SENT
--------------------------------------------------------
< snip removed to save space >

[olivares@localhost Documents]$ ./machine-update -m
/bin/df: `/home/olivares/.gvfs': Transport endpoint is not connected

I tried the machine-update-beta script from linux counter and I got:

[olivares@localhost Documents]$ chmod +x machine-update-beta 
[olivares@localhost Documents]$ ./machine-update-beta -i
Can't locate Mail/Sendmail.pm in @INC (@INC contains: /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at ./machine-update-beta line 16.
BEGIN failed--compilation aborted at ./machine-update-beta line 16.

I have checked the queue and I got 

[root@localhost ~]# mailq
		/var/spool/mqueue (5 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
m695ImTl015224     4997 Wed Jul  9 00:18 <olivares@xxxxxxxxxxxxxxxxxxxxx>
                 (Deferred: Connection timed out with beth.counter.li.org.)
					 <machine-registration@xxxxxxxxxxxxxx>
m652mvBl022327*      50 Fri Jul  4 21:48 <olivares@xxxxxxxxxxxxxxxxxxxxx>
                 (host map: lookup (gmail.com): deferred)
					 <olivares14031@xxxxxxxxx>
m652PGXN021917     5094 Fri Jul  4 21:25 <olivares@xxxxxxxxxxxxxxxxxxxxx>
                 (host map: lookup (counter.li.org): deferred)
					 <machine-registration@xxxxxxxxxxxxxx>
m652nEUF022367     5094 Fri Jul  4 21:49 <olivares@xxxxxxxxxxxxxxxxxxxxx>
                 (host map: lookup (counter.li.org): deferred)
					 <machine-registration@xxxxxxxxxxxxxx>
m652ikWX022255       15 Fri Jul  4 21:44 <olivares@xxxxxxxxxxxxxxxxxxxxx>
                 (host map: lookup (gmail.com): deferred)
					 <olivares14031@xxxxxxxxx>
					 <olivares14031@xxxxxxxxx>
		Total requests: 5


I tried to send sample mail to my yahoo mail(this one) and the one at gmail and the message(s) did not get through.  

I have known that at certain times the linux counter site is down or does not accept incoming mail.  But I have not been successfull for a while to update either of my machines and I wanted to successfully update the machines and update the latest one that I have.   

TIA,

Antonio 


      

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

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux