I have a problem with chat and/or pppd. Run via "pon" on Debian 3.0, pppd
dials ok and then hangs up just after making the connection. If i change
the authentication from PAP to Chat, then it hangs up after logging in.
If i dial up with minicom, login manually and then run
"pppd /dev/modem noauth defaultroute", everything is fine. This suggests
that the hangup is occuring during the handover from chat to pppd.
Swapping the Dynalink 56k modem i was using for my trusty battery powered
14k4 which has the DTR line control the power revealed that pppd was
dropping the DTR line, causing the modem to hang up. So how do i stop it
doing this? Setting the "local" option on pppd (instead of "modem") had
no effect (other than it not noticing the modem had hung up), nor did
playing with the "close_delay" option of setserial. The serial ports on
this machine come from a Dolphin twin serial PCI card (currently on
clearance for $10 at DSE), if anyone is familar with them.
Lately I've noticed I've been getting a lot of these in my maillog:
Losing ./qfhB7AvXZ20553: savemail panic
SYSERR(root): savemail: cannot save rejected email anywhere
Sendmail mail logs make little sense to me.... Here is an example:
hB438B623222: to=oliver(a)deeper.co.nz, delay=3+07:49:20, xdelay=00:00:00,
mailer=cyrus, pri=121146, relay=localhost, dsn=5.6.0, stat=Service
hB438B623222: hB7AvXZ20553: DSN: Service unavailable hB7AvXZ20553:
to=<jimmiegodwinan(a)yahoo.com>, delay=00:00:01, xdelay=00:00:01,
mailer=esmtp, pri=30985, relay=mx1.mail.yahoo.com. [22.214.171.124],
dsn=5.0.0, stat=Service unavailable
hB7AvXZ20553: hB7AvXa20553: return to sender: Service unavailable
hB7AvXa20553: to=postmaster, delay=00:00:00, xdelay=00:00:00,
mailer=cyrus, pri=31085, relay=localhost [[UNIX:
/var/imap/socket/lmtp]], dsn=5.6.0, stat=Service unavailable
hB7AvXZ20553: Losing ./qfhB7AvXZ20553: savemail panic
hB7AvXZ20553: SYSERR(root): savemail: cannot save rejected email
>From what I can tell it all looks like spam bounces that are getting
bounced back and then getting lost for some reason. Or something. It
is just concerning me that maybe I'm loosing legitimate mail. I doubt
this but it is a worry.
I did a search on the web for error messages like this and they
indicated that I might not have a postmaster alias setup. Well I
don't. I have a "postmaster" mail account setup in cyrus so that spam
bounces didn't fill up my personal mailbox. I get enough spam as it
is. Which is why stuff like "to=postmaster, ... mailer=cyrus, ...
stat=Service unavailable" worries me.
If someone can help me identify what the fsck is wrong (if anything) and
make those worrisome message go away I'd be most grateful (ie gifts
would be dolled out).
Oliver Jones <oliver(a)deeper.co.nz>
Deeper Design Limited
I am running Red Hat 7, kernel 2.4.9. I am using KDE. I believe I am
using the bash shell. Recently I have set up a couple of extra
environment variables in the /etc/profile file. They all seem to work
fine except the one called LD_LIBRARY_PATH. When I login from the
initial login screen and subsequently start a shell the variable is
available in that environment. However, if from that shell I then type
"su" and become root, the LD_LIBRARY_PATH variable is not available in
the new environment, but all the other environment variables appear to
be. If I then logout completely and login as root from the initial
screen and start a shell then again the LD_LIBRARY_PATH variable is
available there. Here is a snippet of the /etc/profile file:
# Define the Optimizeit home directory.
# Set up the library path for Optimizeit
Can anyone please tell me why the LD_LIBRARY_PATH variable is not
universally available? Is LD_LIBRARY_PATH a reserved variable that
requires some extra configuration to make it universally available? Or
have I just done something silly?
Note OPTIMIZEIT_HOME was a new variable at the same time as
LD_LIBRARY_PATH and is available in all shells that I have tried. I
have also tried logging out and in and restarting numerous times.
Any pointers would be appreciated.
Thanks in anticipation