Last night, Eric was kind enough to help me with my smtp-auth problem, as it turns out, i had no problem, lol, my friend who has been working in the IT field for about 15 years, couldn't figure out how to set up smtp-auth. Eric and I agree that it would be a good idea that we share our emails that we sent back and forth to each other last night, I'm going to try to keep them in the same order as they were mailed.
message from Eric:
[EMAIL PROTECTED] ~]$ ping -c2 canus.org
PING canus.org (206.248.143.18) 56(84) bytes of data.
>From canus.org (206.248.139.43) icmp_seq=1 Destination Port Unreachable
>From canus.org (206.248.139.43) icmp_seq=2 Destination Port Unreachable

--- canus.org ping statistics ---
2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 1000ms

[EMAIL PROTECTED] ~]$

Looks like a routing problem.
Look closely. Notice, the DNS resolves properly to 206.248.143.19.
The IP 206.248.143.19 gets translated to 206.248.139.43. I don't know where/why this happens, but your 206.248.139.43 address, like the message says, is Unreachable. Contact your ISP.

I replied:
ah yes, but, ping 206.248.143.19
that''ll work
or ping mail.canus.org

Eric replied:
Your server cannot be reached from the outside, so I didn't bother trying anything. It would be pointless. If you can't ping it, you're going nowhere (unless of course there's a firewall blocking the pings).

You can send ok because there is somehow appropriate routing set up for your local network. Just because you can route out doesn't mean you can route in.

Ask your ISP why, when someone on the outside pings 206.248.143.19, it gets routed to 206.248.139.43. I think that answer might lead to the fix.

and, I replied:
stupid question, i just pinged mail.canus.org from my local LAN of a 10.x.x.x network, and it doesn't resolve to 206.248.138.43. it just keeps the 206.248.143.19 address. my router is a smoothwall router, and i have the ports open for the mail server, but, some things are set automatically such as the pinging, and unfortunately, i can't change that, so, i was wondering, perhaps, it just won't allow pings to go through, and everything else that i set it to, aka 25,110 etc...
i guess what i'm saying, is that perhaps it's my router that's doing this, so, can you just give it a shot to see what happens, maybe just for pings it's not working
and asked Eric if he would mind to try the smtp-auth

Eric replied:
It ain't going to fly. It's not (just) the ping that gets re-routed, it's the 206.248.138.19 address being routed to 206.248.138.43. That's why it's failing. Do you have any idea where 206.248.138.43 comes from?

and Eric again replied with some great news thanx Eric:
Chris,
Please accept my apology. I don't know how or why, but thunderbird is working just fine.
I also checked out your webmail, and it's ok too. Skins look very nice.
--
Sorry about that. Yes, things are working find from here (except pings of course!)

I use the IPCop firewall distro. It's somehow related to smoothwall, but I don't recall the specifics. I highly recommend it. Web based admin, all sorts of bells and whistles. Solid as a rock.

I replied:, I asked Eric if he would like to see my Webmail, i'm not using squirrelmail, i'm using a theme, which is built from squirrelmail, it's from www.voxthemes.com,  this is Eric's reply to that:

Are these open source?

That last message I sent went from my server.
This time I'm configured for smtp on your box.

I replied:
can you send me some screenshots of how you have thunderbird set up, or outlook
my friend couldn't get connected
and thanx Eric, I really appreciate it

I forgot that I was supposed to be testing your smtp.
I configured it, it asked for the pw, and out it went.
Yes it works!

yeah, i'll check out that firewall, does it support 3 homed (ISP - LAN - DMZ)?

Yep. They call them red (outside), orange (dmz) and green (lan) interfaces. They even have a blue for wireless. Pretty sweet. Installation is a breeze. I have an old e-machines box I converted into a (headless) firewall w/ IPCop. Works like a charm. It even has VPN built in, along with the usual stuff (DHCP, hostnames, caching DNS, you name it).

may i ask how you set it up, thunderbird that is?, screen shots

I just set t-bird up with smtp.canus.org, port 25, user name [EMAIL PROTECTED]. You didn't forget to include the domain with the user name, did you?

I think the trick with outlook is to tell it to use authorization, or signin or something like that. Note, I configured t-bird to use *no* secure connection. Not TLS if available, not TLS, not SSL. Simply *no* secure connection.

regarding Voxthemes:
Are these open source?
yes, they are, but at a cost, very low cost, i believe somewhere in the neighborhood of 30 bucks,
i really like it

How can they be open source if there's a cost?

Jake and I are putting together a QT-Plus package (in very early development). It would have been nice to include it.

yahoo, as they say, i'm happier than pig in shit, here's the output of the smtp log:

@4000000044f50d0816ced824 tcpserver: end 9446 status 0
@4000000044f50d0816cef764 tcpserver: status: 0/100
@4000000044f50d1e1a7ab59c tcpserver: status: 1/100
@4000000044f50d1e1a7ad4dc tcpserver: pid 9470 from 130.13.157.174
@4000000044f50d1e1a7ae47c tcpserver: ok 9470 mail.canus.org:206.248.143.19:25 :1
30.13.157.174::39595
@4000000044f50d1f0e1c53dc CHKUSER accepted sender: from <[EMAIL PROTECTED]:toast
[EMAIL PROTECTED]:> remote <[192.168.70.31]:unknown:130.13.157.174> rcpt <> : sender
accepted
@4000000044f50d1f308326bc CHKUSER accepted rcpt: from <[EMAIL PROTECTED]:toaster
@canus.org:> remote <[192.168.70.31]:unknown:130.13.157.174> rcpt <[EMAIL PROTECTED]
rg> : found existing recipient
@4000000044f50d200d6a68fc simscan:[9470]:RELAYCLIENT:0.2328s:-:130.13.157.174:to
[EMAIL PROTECTED]:[EMAIL PROTECTED]

That should pretty much cover it, Eric, did i leave anything out?
And thanx again Eric, I appreciate it

Ed Morrison wrote:
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]



--------------------------------------------------------------------- QmailToaster hosted by: VR Hosted --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to