Eric "Shubes" wrote:
Chris Marcellin wrote:
Eric "Shubes" wrote:
Chris Marcellin wrote:
Eric "Shubes" wrote:
Chris Marcellin wrote:
Chris Marcellin wrote:
Eric "Shubes" wrote:
Chris Marcellin wrote:
Hi;
I still haven't figured out my problem, for smtp-auth
connections for sending mail. When I try to send mail from
outside, I get the same problem as stated before, I attached
the error message with this email, but, the error states
"connecting to SMTP at my IP failed". I'm running the latest
qmailtoaster install, i have turned off Iptables on the mail
box, as well 25, 110, 143 and everything else needed for the
box is opened up on my firewall/gateway.
tcp.smtp file:
127.:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private"
:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPT
LIMIT="10",DKVERIFY="DEGIJKfh",QMAILQUEUE="/var/qmail/bin/simscan",DKQUEUE="/var
/qmail/bin/qmail-queue.orig",DKSIGN="/var/qmail/control/domainkeys/%/private"
Please help.
Thanx
Caution: The following debugging technique creates a *ton* of
log messages.
Change /var/qmail/supervise/smtp/run file, adding recordio line
as follows:
exec /usr/bin/softlimit -m 12000000 \
/usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/usr/bin/recordio \
$RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 2>&1
Stop qmail, start qmail.
Every detail of all smtp sessions will be logged in the smtp log.
Try sending something through the server and see what you get.
Remove recordio and stop/start qmail to stop logging of detail
once you get a sample.
as soon as i do that, and i tail, or cat
/var/log/qmail/smtp/current i get garble from the output, such as:
[EMAIL PROTECTED] ~]# tail /var/log/qmail/smtp/current
@4000000044f4c41f0ca82a6c 11156 > ???
|[EMAIL PROTECTED]
¶?M_????^2
B
[•????·4?O??0A!
@4???????44°4c41°?c?85564 11156 > ?!!??7[¥??O
@4???????44°4c41°?ceb26dc 11156 < ??? ?±
??=?)?~?d?-Eÿ?v3??!!+
@4000000044f4c41f0d0ab8e4 11156 > ??? ?öü ?i?o
Jw??_K¶dCrÇ(
[EMAIL PROTECTED]'?Jögn
n?Æf?-;
?$OK:????_µP°??~Ü?êéåUö
@4???????44°4c41°?d??e7c4 11156 > §?? od¡I43??V
@4???????44°4c41°?d??°764 11156 > ?H??_W??¼?h•c???Xû?
@4???????44°4c41°?d?b?7?4 11156 > [EOF]
@4???????44°4c41°?d?b12bc ?c?_e??e?: e?d 11156 _????_ ?
@4???????44°4c41°?d?b1e74 ?c?_e??e?: _????_: ?/1??
@4???????44°4c5?223c°6584 ?c?_e??e?: _????_: ?/1??
[EMAIL PROTECTED] •]#
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
also, this is a copy of my /var/log/qmail/authlib/current
@4000000044ea6bef1809406c INFO: modules="authshadow authvchkpw",
daemons=15
@4000000044ea6bef18120684 INFO: Installing libauthshadow
@4000000044ea6bef291766cc INFO: Installation complete: authshadow
@4000000044ea6bef291956e4 INFO: Installing libauthvchkpw
@4000000044ea6bf10319348c INFO: Installation complete: authvchkpw
@4000000044edd21508842724 INFO: stopping authdaemond children
@4000000044edd21a0bbc0d1c INFO: modules="authshadow authvchkpw",
daemons=15
@4000000044edd21a0bbe8dbc INFO: Installing libauthshadow
@4000000044edd21a0d2fdcb4 INFO: Installation complete: authshadow
@4000000044edd21a0d316354 INFO: Installing libauthvchkpw
@4000000044edd21a0e262b64 INFO: Installation complete: authvchkpw
@4000000044f4c20c18795ba4 INFO: stopping authdaemond children
@4000000044f4c212304dda34 INFO: modules="authshadow authvchkpw",
daemons=15
@4000000044f4c212305373cc INFO: Installing libauthshadow
@4000000044f4c212328e8b04 INFO: Installation complete: authshadow
@4000000044f4c212329011a4 INFO: Installing libauthvchkpw
@4000000044f4c212338ad10c INFO: Installation complete: authvchkpw
@4000000044f4c48c235163b4 INFO: stopping authdaemond children
@4000000044f4c5042e7d7764 INFO: modules="authshadow authvchkpw",
daemons=15
@4000000044f4c50434143104 INFO: Installing libauthshadow
@4000000044f4c50509acb51c INFO: Installation complete: authshadow
@4000000044f4c50509aed02c INFO: Installing libauthvchkpw
@4000000044f4c5062848187c INFO: Installation complete: authvchkpw
is this what it is suppose to look like?
Same as mine.
Note, if you pipe qmail logs through tai64nlocal you'll see
meaningful date-time stamps.
wow, how do i do that, i mean, how do i pipe them through tai64nlocal?
# cat current | tai64nlocal | less
# tail -f current | tai64nlocal
wow, that is so cool, thanx, is there any way that i can get my logs
to do this kind of logging, with out having to do all of those commands?
You can't change how they're created, but you can use some tools for
viewing them. See
http://wiki.qmailtoaster.com/index.php/Main_Page#Log_Files
Very nice. Beats my one line scripts for both smtp and pop. Thanks for
the link.
Ed
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]