[CentOS] crontab problem

2009-11-21 Thread Susan Day
Hi;
I have the following in crontab -eu root:
@daily /usr/local/bin/mysql-backup-
daily.sh
@weekly /usr/local/bin/mysql-backup-weekly.sh
@monthly /usr/local/bin/mysql-backup-monthly.sh

[r...@13gems globalsolutionsgroup.vi]# ls /usr/local/bin/mysql-*
/usr/local/bin/mysql-daily.sh  /usr/local/bin/mysql-monthly.sh
/usr/local/bin/mysql-weekly.sh

These scripts worked on another server. The daily writes to:
/usr/backup/database/mysql-backups/mysql-backup-dailys/
However, a day later, nothing is there. Please advise.
TIA,
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] crontab problem

2009-11-21 Thread Susan Day
On Sat, Nov 21, 2009 at 9:26 AM, Eero Volotinen wrote:

> Check that scripts are marked as executable (rx set).
>

Thought I'd done that, but no...
Thanks,
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Recommend Mail Server

2009-11-23 Thread Susan Day
Hi;
I don't want sendmail. What's a good secure email server that I can yum? I
really only need smtp right now, but who knows what the future will bring?
TIA,
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommend Mail Server

2009-11-23 Thread Susan Day
On Mon, Nov 23, 2009 at 11:55 AM, John R Pierce  wrote:

> Susan Day wrote:
> > Hi;
> > I don't want sendmail. What's a good secure email server that I can
> > yum? I really only need smtp right now, but who knows what the future
> > will bring?
>
> SMTP only provides for relaying mail.a mail server typically needs
> a  MTA (message transfer agent, smtp such as sendmail, postfix), a MDA
> (message delivery agent, such as procmail), and a MUA (message user
> agent, such as POP, IMAP, and various local unix mail readers).
>
> any mail server is only as secure as you configure it. the usual
> alternative to sendmail is postfix, which many people find simpler to
> configure than sendmail.
>

Thanks!
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommend Mail Server

2009-11-23 Thread Susan Day
On Mon, Nov 23, 2009 at 1:23 PM, Craig White  wrote:

> yum install postfix system-switch-mail
> # edit /etc/postfix/main.conf
> system-switch-mail # choose postfix, confirm
> # done
>

Craig, I stopped qmail, which I had installed outside of yum, turning off
sendmail first, then I just did a yum install postfix and (I believe)
/etc/init.d/postfix start or some such and it's sending email. All well, or
should I do a yum remove postfix and then your commands?
TIA,
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommend Mail Server

2009-11-23 Thread Susan Day
On Mon, Nov 23, 2009 at 1:46 PM, Craig White  wrote:

> No but you need to do this then...
>
> chkconfig postfix on
> chkconfig sendmail off
>
> and if there is some mechanism for starting qmail on startup, you will
> have to disable it...perhaps there is a sysv initscript that you can
> discover here...
>
> chkconfig --list
>

Thanks!
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Signing In Other than Root

2010-01-05 Thread Susan Day
Hi;
How do I make it so that it's impossible to SSH into the server directly as
root? That is, make it necessary to SSH in as an ordinary user and then su
to root?
TIA,
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] IUD Number

2010-01-05 Thread Susan Day
Hello;
How do I get the IUD number for a user?
TIA,
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IUD Number

2010-01-05 Thread Susan Day
On Tue, Jan 5, 2010 at 4:01 PM, Thomas Harold wrote:

> On 1/5/2010 3:53 PM, Susan Day wrote:
> > Hello;
> > How do I get the IUD number for a user?
>
> "id" command (see also the "groups" command)
>
> $ id -u thomas
> 999
>
> $ id -G thomas
> (prints a list of all group numbers that I belong to)
>

Thanks!
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Signing In Other than Root

2010-01-06 Thread Susan Day
On Tue, Jan 5, 2010 at 9:16 AM, Max Hetrick  wrote:

> Susan Day wrote:
> > Hi;
> > How do I make it so that it's impossible to SSH into the server directly
> > as root? That is, make it necessary to SSH in as an ordinary user and
> > then su to root?
> > TIA,
> > Suzie
>
> # vim /etc/ssh/sshd_config
>
> Uncomment the following line:
>
> #PermitRootLogin yes
> PermitRootLogin no
>
> # service sshd restart
>

Thanks!
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OT TTW Email Interface

2010-01-15 Thread Susan Day
Hi;
I don't know what these things are called so that I can look for an OS
solution. I want to install an email server interface like Hotmail where
people can check their email TTW. What is this called? Any recommendations?
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT TTW Email Interface

2010-01-15 Thread Susan Day
On Fri, Jan 15, 2010 at 2:34 PM,  wrote:

> > Hi;
> > I don't know what these things are called so that I can look for an OS
> > solution. I want to install an email server interface like Hotmail where
> > people can check their email TTW. What is this called? Any
> > recommendations?
>
> My hosting provider gives me squirrelmain, horde, and something else I
> disremember.
>

Thanks.
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] tcpserver on port 25

2010-02-24 Thread Susan Day
Hi;
[r...@13gems beno]# netstat -ltnup
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State   PID/Program name
tcp0  0 0.0.0.0:33060.0.0.0:*
LISTEN  24560/mysqld
tcp0  0 0.0.0.0:110 0.0.0.0:*
LISTEN  27762/tcpserver
tcp0  0 0.0.0.0:25  0.0.0.0:*
LISTEN  27758/tcpserver
tcp0  0 :::80   :::*
 LISTEN  1598/httpd
tcp0  0 :::22   :::*
 LISTEN  11453/sshd

No wonder my email server is broken! How do I move tcpserver off of port 25?
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] tcpserver on port 25

2010-02-24 Thread Susan Day
On Wed, Feb 24, 2010 at 9:18 AM, Chan Chung Hang Christopher <
christopher.c...@bradbury.edu.hk> wrote:

> Eero Volotinen wrote:
> > 2010/2/24 Susan Day :
> >> Hi;
> >> [r...@13gems beno]# netstat -ltnup
> >> Active Internet connections (only servers)
> >> Proto Recv-Q Send-Q Local Address   Foreign Address
> >> State   PID/Program name
> >> tcp0  0 0.0.0.0:33060.0.0.0:*
> >> LISTEN  24560/mysqld
> >> tcp0  0 0.0.0.0:110 0.0.0.0:*
> >> LISTEN  27762/tcpserver
> >> tcp0  0 0.0.0.0:25  0.0.0.0:*
> >> LISTEN  27758/tcpserver
> >> tcp0  0 :::80   :::*
> >>  LISTEN  1598/httpd
> >> tcp0  0 :::22   :::*
> >>  LISTEN  11453/sshd
> >> No wonder my email server is broken! How do I move tcpserver off of port
> 25?
> >
> > If you are using qmail, then tcpserver is part of it.
> >
> > Usually tcpserver is running under supervise, so you must stop supervised
> qmail.
>
> Er...i think NOT.
>
> Susan, is qmail-send running? tcpserver is used to run qmail-smtpd to
> accept emails but qmail-send does the actual queue processing and delivery.
>

[r...@13gems]# ps wax|grep qmail
 7759 ?S  0:00 supervise qmail-send
 7761 ?S  0:00 supervise qmail-pop3d
 7763 ?S  0:00 supervise qmail-smtpd
27755 ?S  0:00 multilog t s10 n20 /var/log/qmail/qmail-send
27756 ?S  0:00 qmail-send
27758 ?S  0:00 /usr/local/bin/tcpserver -v -R -l
mail.13gems.com-x /etc/tcp.smtp.cdb -c 30 -u 508 -g 503 0 smtp
/var/qmail/bin/qmail-smtpd
mail.13gems.com /home/vpopmail/bin/vchkpw /usr/bin/true
27759 ?S  0:00 multilog t s10 n20 /var/log/qmail/qmail-smtpd
27762 ?S  0:00 tcpserver -H -R -v -c100 0 110 qmail-popup
mail.13gems.com /home/vpopmail/bin/vchkpw qmail-pop3d Maildir
27763 ?S  0:00 multilog t s10 n20 /var/log/qmail/qmail-pop3d
27771 ?S  0:00 qmail-lspawn ./Maildir
27772 ?S  0:00 qmail-rspawn
27773 ?S  0:00 qmail-clean
27817 pts/0S+ 0:00 grep qmail

>
> Do you also use publicfile for serving webpages?
>

No.
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] tcpserver on port 25

2010-02-24 Thread Susan Day
On Wed, Feb 24, 2010 at 9:53 AM, Chan Chung Hang Christopher <
christopher.c...@bradbury.edu.hk> wrote:

>
> >> Susan, is qmail-send running? tcpserver is used to run qmail-smtpd to
> >> accept emails but qmail-send does the actual queue processing and
> delivery.
> >>
> > 27755 ?S  0:00 multilog t s10 n20
> /var/log/qmail/qmail-send
>
> Susan, why do you say the email server is broken?
>
> 'tail -f /var/log/qmail/qmail-send/current'
>

 [r...@13gems]# tail -f /var/log/qmail/qmail-send/current
@40004b84dc8c015fc4bc starting delivery 2: msg 97881076 to remote
soan...@gmail.com
@40004b84dc8c015fcc8c status: local 1/10 remote 1/255
@40004b84dc8c015fd074 delivery 1: success: did_0+1+0/qp_20363/
@40004b84dc8c01607c54 status: local 0/10 remote 1/255
@40004b84dc8c01659cd4 end msg 97881075
@40004b84dc8d16ec280c delivery 2: success:
209.85.223.90_accepted_message./Remote_host_said:_250_2.0.0_OK_1266998403_30si3933455iwn.66/
@40004b84dc8d16eea0dc status: local 0/10 remote 0/255
@40004b84dc8d16efba1c end msg 97881076
@40004b851dcf27826334 status: exiting
@40004b851dd005c3af64 status: local 0/10 remote 0/255

Hey, that's true! I did get an email from my server today and didn't even
think about it! So the problem is elsewhere, with a script I'm trying to run
apparently. Thanks!
Susan

> That should indicate activity of qmail in processing and delivering email.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] getaddrinfo problem

2010-02-25 Thread Susan Day
Hi;

A problem occurred in a Python script. Here is the sequence of function
calls leading up to the error, in the order they occurred.

 /var/www/html/mysite.com/simplemail/mail2.py
   40 
   41 '''
   42 my_mail()
   43 print '''
   44 
my_mail = 
 /var/www/html/mysite.com/simplemail/mail2.py in my_mail()
   27   to_address = ourEmail,
   28   subject = subject,
   29   message = message
   30   ).send()
   31   print 'Thank you, %s, we will get back to you shortly!' %
(name)
message = 'Name: beno -\nMessage: test'
 /var/www/html/mysite.com/simplemail/simplemail.py in
send(self=)
  344 smtp = smtplib.SMTP()
  345 if self.smtp_server:
  346 smtp.connect(self.smtp_server)
  347 else:
  348 smtp.connect()
smtp = , smtp.connect = >, self = , self.smtp_server
= 'localhost'
 /usr/lib64/python2.4/smtplib.py in connect(self=,
host='localhost', port=25)
  305 if not self.sock:
  306 raise socket.error, msg
  307 (code, msg) = self.getreply()
  308 if self.debuglevel > 0: print>>stderr, "connect:", msg
  309 return (code, msg)
code undefined, msg = 'getaddrinfo returns an empty list', self =
, self.getreply = >
 /usr/lib64/python2.4/smtplib.py in getreply(self=)
  349 if line == '':
  350 self.close()
  351 raise SMTPServerDisconnected("Connection unexpectedly
closed")
  352 if self.debuglevel > 0: print>>stderr, 'reply:',
repr(line)
  353 resp.append(line[4:].strip())
global SMTPServerDisconnected = 
SMTPServerDisconnected: Connection unexpectedly closed
  args = ('Connection unexpectedly closed',)

Notice that line:

code undefined, msg = 'getaddrinfo returns an empty list',

What up? How do I get an address to return?
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] getaddrinfo problem

2010-02-25 Thread Susan Day
On Thu, Feb 25, 2010 at 8:14 AM, Alexander Dalloz

> wrote:

> Am 25.02.2010 12:53, schrieb Susan Day:
> > Hi;
>
> [ ... ]
>
> > Notice that line:
> >
> > code undefined, msg = 'getaddrinfo returns an empty list',
> >
> > What up? How do I get an address to return?
> > TIA,
> > Susan
>
> By chance, did you break /etc/hosts file by deleting the localhost mapping?
>

I see nothing amiss in this file.
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Email Problem

2010-02-26 Thread Susan Day
Hi;
The following message appears to have been sent, but in fact never does
reach their destination:

[root qmail-send]# tail current

@40004b87b3d3392cbddc new msg 97881462

@40004b87b3d3392cc5ac info msg 97881462: bytes 531 from <
suzieprogram...@gmail.com> qp 23629 uid 508

@40004b87b3d33b7f700c starting delivery 4: msg 97881462 to remote
suzieprogram...@gmail.com

@40004b87b3d33b7f7bc4 status: local 0/10 remote 1/255

@40004b87b3d4338aec64 delivery 4: success:
209.85.216.35_accepted_message./Remote_host_said:_250_2.0.0_OK_1267184586_6si3416200pxi.53/

@40004b87b3d4338af434 status: local 0/10 remote 0/255

@40004b87b3d4338d4dc4 end msg 97881462

[root qmail-send]# tail lock

[root  qmail-send]# tail state

[root  qmail-send]# ps wax|grep qmail

 7759 ?S  0:00 supervise qmail-send

 7761 ?S  0:00 supervise qmail-pop3d

 7763 ?S  0:00 supervise qmail-smtpd

 8011 pts/0S+ 0:00 grep qmail

21589 ?S  0:00 qmail-send

21590 ?S  0:00 tcpserver -H -R -v -c100 0 110 qmail-popup
mail.13gems.com /home/vpopmail/bin/vchkpw qmail-pop3d Maildir

21591 ?S  0:00 multilog t s10 n20 /var/log/qmail/qmail-pop3d

21593 ?S  0:00 /usr/local/bin/tcpserver -v -R -l
mail.13gems.com-x /etc/tcp.smtp.cdb -c 30 -u 508 -g 503 0 smtp
/var/qmail/bin/qmail-smtpd
mail.13gems.com /home/vpopmail/bin/vchkpw /usr/bin/true

21595 ?S  0:00 multilog t s10 n20 /var/log/qmail/qmail-smtpd

21596 ?S  0:00 multilog t s10 n20 /var/log/qmail/qmail-send

21597 ?S  0:00 qmail-lspawn ./Maildir

21598 ?S  0:00 qmail-rspawn

21601 ?S  0:00 qmail-clean

[root  qmail-send]# qmailctl stat

/service/qmail-send: up (pid 21589) 60864 seconds

/service/qmail-send/log: up (pid 21596) 60864 seconds

/service/qmail-smtpd: up (pid 21593) 60864 seconds

/service/qmail-smtpd/log: up (pid 21595) 60864 seconds

/service/qmail-pop3d: up (pid 21590) 60864 seconds

/service/qmail-pop3d/log: up (pid 21591) 60864 seconds

messages in queue: 0

messages in queue but not yet preprocessed: 0

Why?
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Email Problem

2010-02-26 Thread Susan Day
On Fri, Feb 26, 2010 at 8:29 AM, Eero Volotinen wrote:

> 2010/2/26 Susan Day :
> > Hi;
> > The following message appears to have been sent, but in fact never does
> > reach their destination:
> >
> > [root qmail-send]# tail current
> >
> > @40004b87b3d3392cbddc new msg 97881462
> >
> > @40004b87b3d3392cc5ac info msg 97881462: bytes 531 from
> >  qp 23629 uid 508
> >
> > @40004b87b3d33b7f700c starting delivery 4: msg 97881462 to remote
> > suzieprogram...@gmail.com
> >
> > @40004b87b3d33b7f7bc4 status: local 0/10 remote 1/255
> >
> > @40004b87b3d4338aec64 delivery 4: success:
> >
> 209.85.216.35_accepted_message./Remote_host_said:_250_2.0.0_OK_1267184586_6si3416200pxi.53/
>
> remote end accepted message.
>
> > messages in queue but not yet preprocessed: 0
> >
> > Why?
>
>
> Remote smtp server is not working correctly or spamfilter on it kills
> message?
>

No.

>
> Note that it can take a bit time until gmail delivers it to mailbox.
>

Gmail's very quick and it's been an hour now. Usually takes a second.
Another very strange thing about this is that the contact page refreshes to
itself when I try to email (through the form elt). If I pull the email send
stuff out of the script where the form goes,  it doesn't refresh to itself;
rather, it prints what is written in the script to print.

With respect to Kai's suggestion I find a qmail list, I'm sorry to say there
don't appear to be ANY discussion lists for ANY email servers that are
active. I'm desperate to get this working.
TIA,
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Email Problem

2010-02-26 Thread Susan Day
On Fri, Feb 26, 2010 at 9:09 AM, Eero Volotinen wrote:

>
> qmail is very old and not under development anymore. You should
> migrate your system to postfix.
>

postfix isn't supported either. At least I have some experience with qmail.
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Email Problem

2010-02-26 Thread Susan Day
On Fri, Feb 26, 2010 at 9:16 AM, Jeff  wrote:

> On Fri, Feb 26, 2010 at 7:12 AM, Susan Day 
> wrote:
> > On Fri, Feb 26, 2010 at 9:09 AM, Eero Volotinen 
> > wrote:
> >>
> >> qmail is very old and not under development anymore. You should
> >> migrate your system to postfix.
> >
> > postfix isn't supported either. At least I have some experience with
> qmail.
>
> postfix has a very active mailing list -- the originator and primary
> developer, Wietse Venema,responds to posts quite often, as well as
> many other postfix experts.
>
> http://www.postfix.org/lists.html


Sorry, but this has NOT been my experience. I just tried that list
__last_week__ and __no__ responses, no activity, either. Same with cr.yp.to's
list. No. If they worked I'd be there. Here's my question again:

The following message appears to have been sent, but in fact never does
reach their destination:

[root qmail-send]# tail current

@40004b87b3d3392cbddc new msg 97881462

@40004b87b3d3392cc5ac info msg 97881462: bytes 531 from <
suzieprogram...@gmail.com> qp 23629 uid 508

@40004b87b3d33b7f700c starting delivery 4: msg 97881462 to remote
suzieprogram...@gmail.com

@40004b87b3d33b7f7bc4 status: local 0/10 remote 1/255

@40004b87b3d4338aec64 delivery 4: success:
209.85.216.35_accepted_message./Remote_host_said:_250_2.0.0_OK_1267184586_6si3416200pxi.53/

@40004b87b3d4338af434 status: local 0/10 remote 0/255

@40004b87b3d4338d4dc4 end msg 97881462

[root qmail-send]# tail lock

[root  qmail-send]# tail state

[root  qmail-send]# ps wax|grep qmail

 7759 ?S  0:00 supervise qmail-send

 7761 ?S  0:00 supervise qmail-pop3d

 7763 ?S  0:00 supervise qmail-smtpd

 8011 pts/0S+ 0:00 grep qmail

21589 ?S  0:00 qmail-send

21590 ?S  0:00 tcpserver -H -R -v -c100 0 110 qmail-popup
mail.13gems.com/home/vpopmail/bin/vchkpw qmail-pop3d Maildir

21591 ?S  0:00 multilog t s10 n20 /var/log/qmail/qmail-pop3d

21593 ?S  0:00 /usr/local/bin/tcpserver -v -R -l mail.13gems.com -x
/etc/tcp.smtp.cdb -c 30 -u 508 -g 503 0 smtp /var/qmail/bin/qmail-smtpd
mail.13gems.com /home/vpopmail/bin/vchkpw /usr/bin/true

21595 ?S  0:00 multilog t s10 n20 /var/log/qmail/qmail-smtpd

21596 ?S  0:00 multilog t s10 n20 /var/log/qmail/qmail-send

21597 ?S  0:00 qmail-lspawn ./Maildir

21598 ?S  0:00 qmail-rspawn

21601 ?S  0:00 qmail-clean

[root  qmail-send]# qmailctl stat

/service/qmail-send: up (pid 21589) 60864 seconds

/service/qmail-send/log: up (pid 21596) 60864 seconds

/service/qmail-smtpd: up (pid 21593) 60864 seconds

/service/qmail-smtpd/log: up (pid 21595) 60864 seconds

/service/qmail-pop3d: up (pid 21590) 60864 seconds

/service/qmail-pop3d/log: up (pid 21591) 60864 seconds

messages in queue: 0

messages in queue but not yet preprocessed: 0

Why?
TIA,
Susan


>
>
>
> > Susan
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Email Problem

2010-02-26 Thread Susan Day
On Fri, Feb 26, 2010 at 9:51 AM, Simon Billis  wrote:

> > Why?
>
> That is a good question - I "guess" that google's email system thinks
> you're
> sending them spam. If you want your mail to be accepted you may need to
> have
> implemented SPF and domainkeys.


Oh, lovely. As if I didn't have enough work to do...Thanks, google.


> You can also try to send mail to your google address by hand i.e. telnet to
> google's mail platform on port 25 and mimic the smtp conversation by hand
> to
> see if you can get any further
>

I've not done this before. Here's what I did. Please see if this looks
correct:

[root]# telnet mail.mydomain.com 25
Trying 209.216.9.56...
Connected to mail.mydomain.com.
Escape character is '^]'.
220 mail.mydomain.com ESMTP
HELO mail.mydomain.com
250 mail.mydomain.com
MAIL FROM su...@mydomain.com
250 ok
RCPT TO suzieprogram...@gmail.com
250 ok
DATA testing
354 go ahead
.
250 ok 1267194591 qp 11432
quit
221 mail.mydomain.com
Connection closed by foreign host.
[root]#

I didn't receive any message. Time for domainkeys?
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Email Problem

2010-02-26 Thread Susan Day
On Fri, Feb 26, 2010 at 10:34 AM, Susan Day wrote:

> On Fri, Feb 26, 2010 at 9:51 AM, Simon Billis  wrote:
>
>> > Why?
>>
>> That is a good question - I "guess" that google's email system thinks
>> you're
>> sending them spam. If you want your mail to be accepted you may need to
>> have
>> implemented SPF and domainkeys.
>
>
> Oh, lovely. As if I didn't have enough work to do...Thanks, google.
>
>
>> You can also try to send mail to your google address by hand i.e. telnet
>> to
>> google's mail platform on port 25 and mimic the smtp conversation by hand
>> to
>> see if you can get any further
>>
>
> I've not done this before. Here's what I did. Please see if this looks
> correct:
>
> [root]# telnet mail.mydomain.com 25
> Trying 209.216.9.56...
> Connected to mail.mydomain.com.
> Escape character is '^]'.
> 220 mail.mydomain.com ESMTP
> HELO mail.mydomain.com
> 250 mail.mydomain.com
> MAIL FROM su...@mydomain.com
> 250 ok
> RCPT TO suzieprogram...@gmail.com
> 250 ok
> DATA testing
> 354 go ahead
> .
> 250 ok 1267194591 qp 11432
> quit
> 221 mail.mydomain.com
> Connection closed by foreign host.
> [root]#
>
> I didn't receive any message. Time for domainkeys?
> TIA,
> Susan
>

PS. These emails never reach my spam box, either!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Email Problem

2010-02-26 Thread Susan Day
On Fri, Feb 26, 2010 at 10:57 AM,  wrote:

> > On Fri, Feb 26, 2010 at 10:34 AM, Susan Day
> > wrote:
> >
> >> On Fri, Feb 26, 2010 at 9:51 AM, Simon Billis  wrote:
> >>
> >>> > Why?
> >>>
> >>> That is a good question - I "guess" that google's email system thinks
> >>> you're sending them spam. If you want your mail to be accepted you may
> >>> need to have implemented SPF and domainkeys.
> >>
> >> Oh, lovely. As if I didn't have enough work to do...Thanks, google.
> >>
> >>> You can also try to send mail to your google address by hand i.e.
> >>> telnet to google's mail platform on port 25 and mimic the smtp
> >>> conversation by hand to see if you can get any further
> >>
> >> I've not done this before. Here's what I did. Please see if this looks
> >> correct:
> >>
> 
> > PS. These emails never reach my spam box, either!
>
> I'm not really up on it, but it looks good to me. At this point, it
> *looks* like it's in google's ballpark, Suzie. Time to contact their
> support, and ask wtfo.
>

Thanks, all
Suzie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Email Problem

2010-02-26 Thread Susan Day
On Fri, Feb 26, 2010 at 11:22 AM, Ross Walker  wrote:

> On Feb 26, 2010, at 9:34 AM, Susan Day  wrote:
>
>
> I've not done this before. Here's what I did. Please see if this looks
> correct:
>
> [root]# telnet <http://mail.mydomain.com>mail.mydomain.com 25
> Trying 209.216.9.56...
> Connected to <http://mail.mydomain.com>mail.mydomain.com.
> Escape character is '^]'.
> 220 <http://mail.mydomain.com>mail.mydomain.com ESMTP
> HELO <http://mail.mydomain.com>mail.mydomain.com
> 250 <http://mail.mydomain.com>mail.mydomain.com
> MAIL FROM su...@mydomain.com
> 250 ok
> RCPT TO suzieprogram...@gmail.com
> 250 ok
> DATA testing
> 354 go ahead
> .
> 250 ok 1267194591 qp 11432
> quit
> 221 <http://mail.mydomain.com>mail.mydomain.com
> Connection closed by foreign host.
> [root]#
>
>
> You didn't create a body to your email!
>
> The proper way to send an email through SMTP is:
>
> DATA
> 354 go ahead
> From: "Susan Day" 
> To: "Susan Day" 
> Subject: Test
>
> This is a test only a test.
> .
> 250 ok 1267194591 qp 11432
> quit
>

Well I tried again and no it didn't come through.
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Upgrading Python with Yum

2010-03-22 Thread Susan Day
Hi;
I have an old version of Python (2.4.3) and I'm trying to upgrade (to 2.6);
however, when I try
yum upgrade python
it tells me that it's already got the latest and greatest...presumably of
2.4.3. I've tried
yum list python
and it only gives me the 2.4.3. Are there no others? Do I have to build from
a tarball? I'm surprised I don't find a version of Python 3 either. In what
folder are the rpms kept?
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrading Python with Yum

2010-03-22 Thread Susan Day
On Mon, Mar 22, 2010 at 10:08 AM, Akemi Yagi  wrote:

> On Mon, Mar 22, 2010 at 6:51 AM, Susan Day 
> wrote:
> > Hi;
> > I have an old version of Python (2.4.3) and I'm trying to upgrade (to
> 2.6);
> > however, when I try
> > yum upgrade python
> > it tells me that it's already got the latest and greatest...presumably of
> > 2.4.3. I've tried
> > yum list python
> > and it only gives me the 2.4.3. Are there no others? Do I have to build
> from
> > a tarball? I'm surprised I don't find a version of Python 3 either. In
> what
> > folder are the rpms kept?
>
> You might want to read this FAQ:
>
> "Where can I get the latest version of XyZ.rpm for CentOS? I cannot
> find it anywhere."
> (
> http://wiki.centos.org/FAQ/General#head-472ce8446ebcfc82ca1800f775ba0e629ac835c7
> )
>

Well that states that the latest "stable version" is supported by CentOS,
not the "cutting edge" version. Fine; however, according to python.org:
The current production versions are Python
2.6.5<http://python.org/download/releases/2.6.5/>and Python
3.1.2 <http://python.org/download/releases/3.1.2/>.
So, if "production version" == "stable version", as I believe it should,
there's a serious disconnect between the thinking of the folks at python and
CentOS. I believe 2.4.6 has been stable for about 5 years, if I'm not
mistaken, and that's an advance over what CentOS is packaging. Needless to
say, I don't want to run software that's antique, and I think that's what
CentOS is promoting, I'm sorry to say. So, am I stuck with tarballs?
TIA,
Susan

>
> Cheers,
> Akemi
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrading Python with Yum

2010-03-22 Thread Susan Day
On Mon, Mar 22, 2010 at 10:47 AM, Akemi Yagi  wrote:

> In a package-based distro like CentOS, installing from tarballs is
> strongly discouraged. Please also take a look at:
>
> http://wiki.centos.org/PackageManagement/SourceInstalls
>
> Yeah I know. Thanks for the link. I've tried this:

yum --enablerepo=centosplus upgrade python

but that just told me everything was ok with the current installation, not
what I'm after. So I think I should try c5-testing, but all I get is this:

[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

How do I incorporate this and where? Next I'll try building an rpm if I
must.
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrading Python with Yum

2010-03-23 Thread Susan Day
On Mon, Mar 22, 2010 at 9:11 PM, Jim Perrin  wrote:

> On Mon, Mar 22, 2010 at 7:31 PM, John R Pierce 
> wrote:
>
> > If you absolutely have to have 2.6 for some user application, I would
> > compile and install it to run somewhere else, like /usr/local/python26
> > or /opt/mystuff/python26
>
> The IUS Community repository has a newer version of python,
> installable via yum which is located in /opt and doesn't conflict with
> the default python. They've done a pretty good job of packaging this
> in my opinion, and it's basically the best way to get a newer python
> without horribly breaking things.
>

Thank you. This will probably suit my needs.
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OT: Strange Email Problem

2010-05-21 Thread Susan Day
Hi;
I have an email form that worked fine until now. For some reason, if I send
an email to an email address at a domain that I control, I can receive the
email TTW no problem. However, if I try and push it to, for example, this
gmail account, I never get it. It's not even in the spam filter. What could
this be?
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Strange Email Problem

2010-05-21 Thread Susan Day
Replies to all replies:

Richard asks:

> is the "domain you control" on the same machine as the form
> submission site?

Yes.

> was this machine recently upgraded to 5.5?
>  [the 5.5 upgrade included sendmail and as a
>   result could have had an impact on your sendmail.cf
>   (depending on what your sendmail.mc looked like).]

No.

> In general, the place to start is the maillog on the site with the
> form.

Here are what the logs have to say:

@40004bf6cfc4383bc65c delivery 6217: deferral:
CNAME_lookup_failed_temporarily._(#4.4.3)/
@40004bf6cfc4383c5eb4 status: local 0/10 remote 0/255
@40004bf6d51e34d61d8c starting delivery 6218: msg 97881531 to remote
suzieprogram...@gmail.com
@40004bf6d51e34d6449c status: local 0/10 remote 1/255
@40004bf6d51e37303e14 starting delivery 6219: msg 97881555 to remote
suzieprogram...@gmail.com
@40004bf6d51e373078ac status: local 0/10 remote 2/255
@40004bf6d51e373143cc delivery 6218: deferral:
CNAME_lookup_failed_temporarily._(#4.4.3)/
@40004bf6d51e373241b4 status: local 0/10 remote 1/255
@40004bf6d51e37807d0c delivery 6219: deferral:
CNAME_lookup_failed_temporarily._(#4.4.3)/
@40004bf6d51e3780bf74 status: local 0/10 remote 0/255

Mark asks:

> Sounds like your MTA isn't getting out to the 'Net. Could a firewall rule
> have been changed somewhere?

No. I've been able to get email to the account I control through the same
firewall.

> Do try to telnet to port 25 for google mail, and see if it'll talk to you,
> or if you can get through at all.

I've never been able to successfully do that, but the same form gets the
email to the address I control.

Whit asks:

> Do you know that it's going out with valid headers, a "legal" helo
address,
> and the like? Many mail systems will use these as reasons to reject
> connections when they're wrong. In the case of bad helo values, often it
> won't get as far as the spam filter, since that's sent through before the
> message.

Yes. It goes through qmail, and everything worked before.

> If stuff worked before but now doesn't, another question is whether your
> sending IP is in a range recently blacklisted, if your ISP has been
hosting
> spammers.

I checked the blacklists and all looks well.

Akemi asks:

> Which MTA are you using? sendmail, postfix, ...

qmail

Mr. Gabriel asks:

> Also, do you use srv records? Has anything here changed?

Don't use srv

TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Strange Email Problem

2010-05-22 Thread Susan Day
With regard to Richard's comments, I will get in touch with my server farm
(or garden, small company) that handles the same.

Regarding Simon's comments, these DNS packets have got to be teeny tiny.
This is plain text and very little of that. Your response was full of terms
I didn't understand and of course can look up and will if necessary, but I
think you're seeing a size that isn't merited. I'll await your response
before proceeding.
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Strange Email Problem

2010-05-25 Thread Susan Day
On Sat, May 22, 2010 at 1:02 PM, Bart Schaefer wrote:

> On Sat, May 22, 2010 at 6:42 AM, Chris Geldenhuis
>  wrote:
> >
> > The records that Richard was talking about was not that of your actual
> > mail, but the Domain Name Service (DNS) records required to find the
> > destination server and for that server to look up your server to verify
> > that the mail comes from a valid address.
>
> Right so far ...
>
> > I recall a discussion earlier
> > this month about the root DNS servers being updated to a new version of
> > DNS software that would increase the size of the DNS records. This would
> > then take a while to filter through the "tree" of DNS servers and
> > eventually software that could not handle these larger records would
> fail.
>
> You're thinking of the DNSSEC changes to add security information to
> the packets.  That should only affect software that actually asks for
> DNSSEC packets, which presumably excludes any software that isn't
> prepared to handle those responses.
>
> I'm not familiar with the qmail bug that was previously mentioned, but
> from the description it appears to be related to CNAME records, not to
> DNSSEC.
>
>
> Oops.Forgot to clean this up. The problem was that named shut down and I
didn't catch it.
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Upgrading MySQLdb

2010-06-26 Thread Susan Day
Hi;
I've got MySQLdb installed (bridge to Python) and I can't figure out how to
upgrade it. I did a find and got these paths:

/usr/lib/python2.6/site-packages/SQLAlchemy-0.6beta2-py2.6.egg/sqlalchemy/dialects/mysql/mysqldb.py
/usr/lib/python2.6/site-packages/SQLAlchemy-0.6beta2-py2.6.egg/sqlalchemy/dialects/mysql/mysqldb.pyc

I don't have mysql-devel installed, so it wasn't that. Please advise.
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Upgrading MySQL

2010-06-28 Thread Susan Day
Hi;
I'm trying to install django and got this error:

django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is
required; you have 1.2.1

So then I tried yum upgrade mysql and got this:

No Packages marked for Update

Please advise.
TIA,
Susan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos