setup TCPLOCALPORT=25

smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
/var/qmail/bin/qmail-smtpd TCPLOCALPORT 25

--
Flavio Alberto Sacchetin
System Administrator

M$ Windowz:
you have moved your mouse, please reboot to make this change take effect
(Linux rules!!)
-----Mensagem original-----
De: Tony Campisi <[EMAIL PROTECTED]>
Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Data: Sábado, 8 de Julho de 2000 14:20
Assunto: SMTP port 25 - cannot connect


>Hello all!
>I really want to thank Dave Sill for writing "Life with qmail." I realized
>that if you follow the directions EXACTLY, good things are bound to happen.
>After 2 previous failed attempts in installing qmail, I completely removed
>everything qmailish from my system. Sendmail was also pulled out by the
>roots. I carefully went step-by-step and when I was finished I only had to
>chown and chgrp some files that were left over from the previous attempts.
>This is the output of a ps right after the install.
>qmaild   /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 878 -g 602
0
>smtp /var/qmail/bin/qmail-smtpd
>qmaill    /usr/local/bin/multilog t /var/log/qmail
>qmaill    /usr/local/bin/multilog t /var/log/qmail/smtpd
>qmailq  qmail-clean
>qmailr   qmail-rspawn
>qmails  qmail-send
>root     supervise qmail-send
>root     supervise qmail-smtpd
>root     qmail-lspawn ./Maildir/
>
>/var/qmail/supervise/qmail-smtpd/run looks like this
>#!/bin/sh
>QMAILDUID=`id -u qmaild`
>NOFILESGID=`id -g qmaild`
>exec /usr/local/bin/softlimit -m 2000000 \
>    /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
>        -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
>
>This is where my problem begins. I cannot access port 25 on my mail server.
>I am accessing the machine from my home this weekend. When I 'telnet
>mailmachine2.companyname.com 25' I get 'Connect Failed - Could not open a
>connection....'. Inetd is not maintaining my POP3 and SMTP anymore,
>tcpserver is. There is NO mention of either POP or SMTP in the inet.conf
>file. This is where I usually get stumped. I will gladly post any output
you
>request. :)
>
>2- This is not a problem, I would just like to make sure I did this
>properly. I added this line to my /etc/rc.d/init.d/qmail startup file. My
>users will be checking their mail through Outlook Express and I want to use
>pop3d / checkpassword to do this.
>
>tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
>mailmachine2.companyname.com
>        /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 2>&1 | \
>        /var/qmail/bin/splogger pop3d &
>
>this is the output of ps after I added the above line
>
>qmaild   /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -u 878 -g 602
0
>smtp
>             /var/qmail/bin/qmail-smtpd
>qmaill   /usr/local/bin/multilog t /var/log/qmail/smtpd
>qmailq   qmail-clean
>qmailr   qmail-rspawn
>qmails   qmail-send
>root       tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup
>mailmachine2.companyname.com /bin/checkpassword
>root     /var/qmail/bin/splogger pop3d
>root     supervise qmail-send
>root     supervise qmail-smtpd
>root     qmail-lspawn ./Maildir/
>
>Once again, thanks for any help you can give me,
>tony.campisi
>
>

Reply via email to