VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: 20111201 sendmail-8.14.4 [VL7.0]  (Read 2147 times)

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
20111201 sendmail-8.14.4 [VL7.0]
« on: December 01, 2011, 10:20:14 pm »

hata_ph has built a new Sendmail package for VectorLinux 7.0.
   
      
   
Code: [Select]
sendmail: sendmail (mail transfer agent)
sendmail:
sendmail: Eric Allman's mail transport agent. The _Unix System Administration
sendmail: Handbook_ calls sendmail 'The most complex and complete mail delivery
sendmail: system in common use...'
sendmail: Ready-made configuration files are included for systems connected by
sendmail: TCP/IP (with or without a nameserver) and for systems using UUCP.
sendmail: The procmail package is required to handle local mail delivery.
sendmail:
sendmail: License: Refer to LICENSE
sendmail: Authors: http://www.sendmail.com/sm/open_source/
sendmail: Website: http://www.sendmail.com/sm/open_source/
   
   After testing this package please stop back here and let us know how it works for you.
   
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: 20111201 sendmail-8.14.4 [VL7.0]
« Reply #1 on: December 03, 2011, 01:07:22 am »

hata_ph I've had to drop sendmail down to the testing level.  Seen a couple reports in odd spots on the forum.
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Pita

  • Vectorian
  • ****
  • Posts: 1332
Re: 20111201 sendmail-8.14.4 [VL7.0]
« Reply #2 on: December 03, 2011, 06:37:47 pm »

Installed sendmail, testing it I get the following error:

 /usr/sbin/sendmail: Exec format error
"/home/user/dead.letter" 9/211
. . . message not sent.

ls -l /usr/sbin/sendmail
-r-xr-sr-x 1 root smmsp 0 Dec  2 11:10 /usr/sbin/sendmail*

Uninstalled, reinstalled, same error.

Code: [Select]
/etc/rc.d/init.d
root:# ./sendmail start
Starting Sendmail...........                                         [  OK  ]
/etc/rc.d/init.d
root:# ./sendmail status
sendmail is not running

It can't run since /usr/sbin/sendmail has 0 size.
« Last Edit: December 03, 2011, 06:42:21 pm by Pita »
Logged

hata_ph

  • Moderator
  • Vectorian
  • *****
  • Posts: 3261
  • -- Just being myself --
Re: 20111201 sendmail-8.14.4 [VL7.0]
« Reply #3 on: December 03, 2011, 08:27:40 pm »

Ok...it seem the slackbuild that I based on slackware-current's own slackbuild is not working in VL7.
I have build sendmail-8.14.5 which i get it from archlinux...pls try it once it is available in the testing repo....
Logged

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: 20111201 sendmail-8.14.4 [VL7.0]
« Reply #4 on: December 03, 2011, 09:19:48 pm »

thanks hata_ph
Old sendmail deleted and new one added to the testing repo.
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

vincent2

  • Vectorite
  • ***
  • Posts: 412
Re: 20111201 sendmail-8.14.4 [VL7.0]
« Reply #5 on: December 03, 2011, 11:20:08 pm »

just tested, mail wasn't received yet , here's log:
---------------------------
cat /var/log/maillog
Dec  4 14:23:01 vector sendmail[5430]: pB4KN1Sa005430: from=vl7stdgold, size=217, class=0, nrcpts=1, msgid=<201112042023.pB4KN1Sa005430@vector.Linux.net>, relay=vl7stdgold@localhost
Dec  4 14:23:01 vector sendmail[5430]: pB4KN1Sa005430: to=gensax@operamail.com, ctladdr=vl7stdgold (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30217, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
---------------------------

where did it go wrong?is it config not correct?
Logged

hata_ph

  • Moderator
  • Vectorian
  • *****
  • Posts: 3261
  • -- Just being myself --
Re: 20111201 sendmail-8.14.4 [VL7.0]
« Reply #6 on: December 03, 2011, 11:23:35 pm »

which version of sendmail u using?
Logged

Pita

  • Vectorian
  • ****
  • Posts: 1332
Re: 20111201 sendmail-8.14.4 [VL7.0]
« Reply #7 on: December 04, 2011, 12:26:05 am »

Installed the new sendmail and basically it is working except the mail will not go out:  ???

Code: [Select]
cat /var/log/maillog
..../....
Dec  4 16:23:19 smartbro sendmail[2993]: pB48NIRW002993: to=maonot@operamail.com, ctladdr=heisspf (1000/1000), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30257, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (pB48NIKY002994 Message accepted for delivery)
Dec  4 16:23:58 smartbro sendmail[3006]: gethostbyaddr(192.168.*.***) failed: 1
Dec  4 16:29:34 smartbro sendmail[3118]: gethostbyaddr(192.168.*.***) failed: 1

Will try to figure that one. Status=sent yet it failed. Another ???  or :D.
That's not funny at all. ;)
Logged

vincent2

  • Vectorite
  • ***
  • Posts: 412
Re: 20111201 sendmail-8.14.4 [VL7.0]
« Reply #8 on: December 04, 2011, 01:21:02 am »

Quote
which version of sendmail u using?
i'm testing on the latest version from /test repo.
pls.instruct me how to make it wrok properly, need change defaulty config file?
Logged

hata_ph

  • Moderator
  • Vectorian
  • *****
  • Posts: 3261
  • -- Just being myself --
Re: 20111201 sendmail-8.14.4 [VL7.0]
« Reply #9 on: December 04, 2011, 10:22:12 pm »

Ok...me no good in sendmail so I may need some time in testing how to use it...let u know once i got any update :P

EDIT...

Ok...make sendmail-8.14.4 v2 (follow the slackware way) and it work with mailx out of the box...
but you need to make /etc/rc.d/rc.sendmail executable first by running chmod +x /etc/rc.d/rc.sendmail as root...then follow below way to use mailx

Quote
Type "mailx -s Subject email@address.com" (without quotes, replacing "Subject" with the message subject and "email@address.com" with the email address).
Press "Enter." Then type your message.
Press "Ctrl"+"D" to send your email.

you can double check /var/log/maillog to see the sendmail message log...

PS: if you are using the sendmail-8.14.5 that i build, pls removepkg it and installpkg sendmail-8.14.4 v2

EDIT: There is no more sendmail-8.14.4 v2...just install sendmail-8.14.4 v1 from gslapt/slapt-get...for those who already install my previous build...pls remove all the sendmail and reinstall it again from gslapt/slapt-get...sorry for the confusion...
« Last Edit: December 07, 2011, 12:39:41 am by hata_ph »
Logged