January 4, 201214 yr Hi guys. I´ve recently bought and installed uRaid 4.7 plus on a HP Microserver N40L with 8Gb ram, 4x WDgreen 2TB, 1xWD Caviar Black 1TB cache disk. The OS resides on a 4GB Lexar flash. My intention is to use this as a media server and backup for my business files. So far everything seems to run fine, but being newbie to this OS I need some help with some questions, and hope to get it here. First; Should I upgrade to a later beta? Second; I installed ssmtp_2.62.orig.tar.gz via unMenu. It reinstalls at reboot but won´t send any emails. With this config: Forward "root" email to: [email protected] E-Mail Server: send.one.com Use TLS?(YES/NO): YES Mail ID: mail Mail Password: (I have a PW here) Mail Domain: kglarsson.se From Line Override (YES/NO): YES Re-Write Domain: [email protected] I get this when I try to send via unMenu: Mail being sent to root. With any luck, it will be forwarded properly. *** glibc detected *** send-mail: free(): invalid pointer: 0x08053f45 *** ======= Backtrace: ========= /lib/libc.so.6[0xb773b564] /lib/libc.so.6(cfree+0x90)[0xb773f010] send-mail[0x804b009] send-mail[0x804b9d7] send-mail[0x804c303] /lib/libc.so.6(__libc_start_main+0xe0)[0xb76e6390] send-mail[0x8049501] ======= Memory map: ======== 08048000-0804e000 r-xp 00000000 00:01 12572 /usr/sbin/sendmail 0804e000-0804f000 rw-p 00005000 00:01 12572 /usr/sbin/sendmail 0804f000-08074000 rw-p 00000000 00:00 0 [heap] b7400000-b7421000 rw-p 00000000 00:00 0 b7421000-b7500000 ---p 00000000 00:00 0 b7571000-b757b000 r-xp 00000000 00:01 4644 /usr/lib/libgcc_s.so.1 b757b000-b757c000 rw-p 00009000 00:01 4644 /usr/lib/libgcc_s.so.1 b7580000-b7589000 r-xp 00000000 00:01 10850 /lib/libnss_files-2.7.so b7589000-b758a000 r--p 00008000 00:01 10850 /lib/libnss_files-2.7.so b758a000-b758b000 rw-p 00009000 00:01 10850 /lib/libnss_files-2.7.so b758b000-b758d000 rw-p 00000000 00:00 0 b758d000-b758f000 r-xp 00000000 00:01 10821 /lib/libdl-2.7.so b758f000-b7590000 r--p 00001000 00:01 10821 /lib/libdl-2.7.so b7590000-b7591000 rw-p 00002000 00:01 10821 /lib/libdl-2.7.so b7591000-b76b8000 r-xp 00000000 00:01 1209 /usr/lib/libcrypto.so.0.9.8 b76b8000-b76cd000 rw-p 00126000 00:01 1209 /usr/lib/libcrypto.so.0.9.8 b76cd000-b76d0000 rw-p 00000000 00:00 0 b76d0000-b7815000 r-xp 00000000 00:01 10806 /lib/libc-2.7.so b7815000-b7816000 ---p 00145000 00:01 10806 /lib/libc-2.7.so b7816000-b7818000 r--p 00145000 00:01 10806 /lib/libc-2.7.so b7818000-b7819000 rw-p 00147000 00:01 10806 /lib/libc-2.7.so b7819000-b781c000 rw-p 00000000 00:00 0 b781c000-b7858000 r-xp 00000000 00:01 1132 /usr/lib/libssl.so.0.9.8 b7858000-b785c000 rw-p 0003b000 00:01 1132 /usr/lib/libssl.so.0.9.8 b785c000-b7870000 r-xp 00000000 00:01 10835 /lib/libnsl-2.7.so b7870000-b7871000 r--p 00013000 00:01 10835 /lib/libnsl-2.7.so b7871000-b7872000 rw-p 00014000 00:01 10835 /lib/libnsl-2.7.so b7872000-b7875000 rw-p 00000000 00:00 0 b7878000-b7879000 rw-p 00000000 00:00 0 b7879000-b787a000 r-xp 00000000 00:00 0 [vdso] b787a000-b7896000 r-xp 00000000 00:01 10791 /lib/ld-2.7.so b7896000-b7897000 r--p 0001b000 00:01 10791 /lib/ld-2.7.so b7897000-b7898000 rw-p 0001c000 00:01 10791 /lib/ld-2.7.so bf948000-bf94b000 rwxp 00000000 00:00 0 [stack] bf94b000-bf94c000 rw-p 00000000 00:00 0 Nothing seems to be sent. Please help. Regards Gunnar L.
January 4, 201214 yr I would stay at 4.7, unless you have a specific hardware need to upgrade. The mail package has worked with the proper configuration. I only use a simple gmail address so I can't specifically help with your config. I did find a bug report with 2.62 ssmtp that looks similar to your error: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519954
January 4, 201214 yr Author Thank´s for Your replies. I´m afraid I wouldn´t know what to do with that fix without some sort of "Howto". Could You elaborate, please? I do have a gmail adress indirectly i.e. [email protected] which is hosted and redirected by gmail. Would it help to use that? How did You config for gmail? Other packages from package manager inside unMenu: gcc-4.2.4-i486-1.tgz (installed, auto-reinstall on reboot) cxxlibs-6.0.9-i486-4.tgz (installed, not downloaded) hdparm-9.27-i486.tgz (Installed, Not Downloaded) lsof-4.78-i486-1.tgz (Installed, Not Downloaded) reiserfsprogs-3.6.21-i486-1.tgz (Installed, Not Downloaded) rsync-3.0.4-i486-1 (Installed, Not Downloaded) screen-4.0.3-i486-1 (Installed, auto-reinstall on reboot) smartmontools-5.38-i486-1 (Installed, Not Downloaded) and I´ve just installed Twonkymedia Server for testing (after error, which remains the same) That´s it I think. Don´t know if I need them all. Most seem to be default.
January 4, 201214 yr Author Forgot to mention that i tried a telnet to sen.one com:2525 and got this: 220 csmtp3.one.com ESMTP EHLO send.one.com gave me: 250 csmtp3.one.com ESMTP 250-PIPELINING 250-SIZE 104857600 250-VRFY 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCHEDSTATUSCODES 250-8BITTIME 250-DSN I then tried auth login and succeeded with the Base64 encoded user and PW.
January 4, 201214 yr rewritedomain, if set, should not contain an entire e-mail address. It should ONLY contain the mail domain. kglarsson.se not [email protected]
January 4, 201214 yr Author Thank´s Joe_L Tried that and got: Mail being sent to root. With any luck, it will be forwarded properly. send-mail: Authorization failed (535 5.7.8 Error: authentication failed: authentication failure) Changed TLS to NO and got: Mail being sent to root. With any luck, it will be forwarded properly. send-mail: Authorization failed (535 5.7.8 Error: authentication failed: authentication failure) Changed mail ID to include @domain.xx and got: Mail being sent to root. With any luck, it will be forwarded properly. send-mail: RCPT TO: (553 5.7.1 : Sender address rejected: not owned by user [email protected])
January 4, 201214 yr Thank´s Joe_L Tried that and got: Mail being sent to root. With any luck, it will be forwarded properly. send-mail: Authorization failed (535 5.7.8 Error: authentication failed: authentication failure) Changed TLS to NO and got: Mail being sent to root. With any luck, it will be forwarded properly. send-mail: Authorization failed (535 5.7.8 Error: authentication failed: authentication failure) Changed mail ID to include @domain.xx and got: Mail being sent to root. With any luck, it will be forwarded properly. send-mail: RCPT TO: (553 5.7.1 : Sender address rejected: not owned by user [email protected]) It seems to be saying you do not own the "[email protected]" account. It might be that you need to also set the "RevAliases" field to root:mail@kglarsson.se as described on the package manager settings page. (substituting your actual "email-address" for "mail")
January 5, 201214 yr Author Thank´s Joe, but being a newbie to ssmtp and Linux, a little more detail would be greatly appreciated. I cannot find a settings page or a description as to where I can change the RevAliases field. Not in my PkgManager nor on Your site. I took a look via telnet to my /usr/local/etc/ssmtp and found a ssmtp.conf. Tried to look at it/edit it with VI. Just to discover the fact that VI does not behave the same in a telnet session as via the console (yes, I have a console monitor and kb) took me an hour. Only in console VI made sense to me. Looking at various howto´s I suspect that any "traditional" changes won´t remain after a reboot, which is much preferred. Anyway, I then created a "[email protected]" mailaccount in my domain with forwarding to my regular mailaccount, edited the settings accordingly, and that now works. Not sure if that´s a proper way to go, so a little more info on changing the RevAliases field would be nice. Regards Gunnar_L
January 5, 201214 yr Thank´s Joe, but being a newbie to ssmtp and Linux, a little more detail would be greatly appreciated. I cannot find a settings page or a description as to where I can change the RevAliases field. Not in my PkgManager nor on Your site. I took a look via telnet to my /usr/local/etc/ssmtp and found a ssmtp.conf. Tried to look at it/edit it with VI. Just to discover the fact that VI does not behave the same in a telnet session as via the console (yes, I have a console monitor and kb) took me an hour. Only in console VI made sense to me. Looking at various howto´s I suspect that any "traditional" changes won´t remain after a reboot, which is much preferred. Anyway, I then created a "[email protected]" mailaccount in my domain with forwarding to my regular mailaccount, edited the settings accordingly, and that now works. Not sure if that´s a proper way to go, so a little more info on changing the RevAliases field would be nice. Regards Gunnar_L My package manager page looks like this. The RevAliases field is near the bottom. If yours does not, you need to update unMENU:
January 5, 201214 yr Author Aha! Thnks Downloaded unMENU updates, istalled them and restarted unMENU. - Mail being sent to root. With any luck, it will be forwarded properly. send-mail: RCPT TO: (553 5.7.1 : Sender address rejected: not owned by user [email protected]) Rebooted the server. -The same problem still remains.
January 5, 201214 yr Aha! Thnks Downloaded unMENU updates, istalled them and restarted unMENU. - Mail being sent to root. With any luck, it will be forwarded properly. send-mail: RCPT TO: (553 5.7.1 : Sender address rejected: not owned by user [email protected]) Rebooted the server. -The same problem still remains. Did you fill out the RevAliases field? For you it probably needs to be: root:[email protected] One more thing, the address you gave in the last output was "[email protected]" different than you originally used of "[email protected]" Was this a typo (an extra "." character)
January 5, 201214 yr Author I did fill out the RevAliases-field. It was a typo, but only in the preivious posting. The "not owned"-problem still remains.
January 7, 201214 yr Author Since no answer for a few days I´ll just sum this up. Apparently changing the Revaliases field had no effect in my case. Wether the problem is with my isp or something SW-related I don´t know. I still do not "own" my mailadress according to ssmtp. The workaround creating a "root@mydomain.com" on my isp and letting that account receive messages from unRaid and redirect them to my regular mailadress solves the problem for me though, so I´ll just leave it at that. No need to waste time on it anymore. Thank´s to all for Your input.
Archived
This topic is now archived and is closed to further replies.