Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 31 Oct 2014, 14:51
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Xmail-1.22 mail server
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Wed 28 Jun 2006, 13:02    Post subject:  Xmail-1.22 mail server  

This is the Xmail mailserver, small and lightweight plus all in one. Provides pop, smtp, finger and a few other features, and sendmail compatible command line syntax. The dotpup Has a basic installation plus a simple graphical interface to start and stop the server or log in as the administrator. Also has a ROX wrapper in /usr/local/apps. Read the docs carefully, please, mail servers can be a security risk if not handled properly. The default installation will relay from localhost or for anyone with a valid mail account.

The graphical wizard requires gxmessage, available in dotpup form from the dotpup wiki page or via the downloader. Alternatively use 'xmail start' or 'xmail stop' from the command line.

Xmail is about the easiest to administer mail server there is for Unix. You can log into the server by using telnet on port 6017 and create or delete domains and users, plus a whole lot of other options. Anyone who has ever tried to set up Sendmail or Exim will be amazed at how much easier this is. I also recommend the program phpxmail if you have a webserver running with php, it works great and sets up really easily.

I had this posted in the cutting edge section but the latest dotpup I think is ready for more general usage. Download:
http://grafpup.com/packages/dotpups/network/xmail-1.22.pup
phpxmail:
http://phpxmail.sourceforge.net/

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
phpbbviet


Joined: 17 Aug 2006
Posts: 3

PostPosted: Fri 18 Aug 2006, 08:49    Post subject:  

yes, i love it.

i know xmail for ưindows, and easy config

thanks.
Back to top
View user's profile Send private message 
hendrikus

Joined: 08 May 2006
Posts: 59
Location: Indonesia

PostPosted: Mon 02 Oct 2006, 07:31    Post subject: Xmail error  

Hi,

In order to avoid installation of Courier-imap, Postfix, Fetchmail to create a simple mailserver, I tried to install xmail on puppy. On Slackware 10 and OpenSuSE 10 it works directly, but on my target OS Puppy there seems to be a strange error. I can't retreive the messages without any reporting in the errorlog.

I installed the Xmail 1.22.PUP and had the same problem

http://xmailforum.homelinux.net/index.php?showtopic=3423

Hendrikus
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Mon 02 Oct 2006, 10:27    Post subject:  

What Puppy version are you using and what is the error it is giving you?

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
hendrikus

Joined: 08 May 2006
Posts: 59
Location: Indonesia

PostPosted: Mon 02 Oct 2006, 18:40    Post subject:  

Nathan F wrote:
What Puppy version are you using and what is the error it is giving you?

Nathan


Hi Nathan,

I'm using Puppy 2.02, sorry replyed wrong on your message .... I got some problems with posting messages, this why I pointed to the xmail forum, when I use code I get a error when posting.

It seems that the filesystem unuonfs gives the error, when I'm coppying the mailroot to an ext3 filesystem it works fine. But this means I can't use it in the 'puppy way' I need to format a harddisk in ext3 first.

Regard's
Hendrikus
Back to top
View user's profile Send private message 
redrum

Joined: 02 Oct 2006
Posts: 56
Location: Athens , Grecce

PostPosted: Mon 02 Oct 2006, 18:47    Post subject:  

Just a question: When you say it's sendmail compatible does that mean that I use it for my server for the php instead of sendmail ?
I don't know how to make you understand what I am saying ! For example in my (LAMPP) server I have the php.ini which has the following setting
Code:
sendmail_from = myemail@whatever.com
; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail


Can I resolve this somehow and use xmail instead ?

Idea
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Mon 02 Oct 2006, 19:36    Post subject:  

Hendrickus -

That doesn't surprise me at all, really. Unionfs does some strange things occasionally. I'd suggest just mounting a partition on either /opt or on /var/mailroot and changing the xmail script to have the correct paths. If your intention was to keep it off the hard drive entirely you could perhaps use a tmpfs, if you don't know what that is I can probably help.

redrum -

Xmail is sendmail compatible in the sense that it includes a replacement for the sendmail binary, that is command line compatible with sendmail. This is the same strategy as used by Exim, for instance. However, I have no experience in running it this wayand was unsuccessful in getting any php scripts to work this way from my webserver. I'm sure the problems aren't insurmountable but you will probably have better support for things like this if you ask on the xmail forums.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
hendrikus

Joined: 08 May 2006
Posts: 59
Location: Indonesia

PostPosted: Mon 02 Oct 2006, 20:05    Post subject:  

Nathan F wrote:
Hendrickus -

That doesn't surprise me at all, really. Unionfs does some strange things occasionally. I'd suggest just mounting a partition on either /opt or on /var/mailroot and changing the xmail script to have the correct paths. If your intention was to keep it off the hard drive entirely you could perhaps use a tmpfs, if you don't know what that is I can probably help.

Nathan


Nathan,

Thanks for your reply..... maybe I indeed need your help a little bit..... I create a complete pupserver to promote applications like SugarCRM or Joomla DocMAN for SME's here in Indonesia, this as support for the ISO9001 certification programs they have to go trough. I don't want to install this programs on their systems bit just run it from FlashDisk or CD. Only creating a pup202.fs. This to let the trainer being able to run it. If they want to install the software later I have no problems installing it on ext3.

Till now we created a complete dns, dhcp, file, print, web- pupserver, only mail was the problem because the difficulties in installing courier-imap, postfix and fetchmail.... xmail seems a nice solution, with the phpxmail userinterface it becomes even userfriendly. But when it needs a complete differend way to start the plug&play server I would prefer to experiment with the other mail applications.

Maybe you could explain a bit more in detail how to install xmail on the solution I want to build. We use allready /var/mailroot because all aour data is in the /var/ directory, this to be able copy this directory later to a ext3 harddisk when they want to have this solution as live system.

Sorry for the long intro, but it explains my goalsetting.

Hendrikus
Back to top
View user's profile Send private message 
bongmaster


Joined: 18 Dec 2005
Posts: 50

PostPosted: Sun 08 Apr 2007, 14:57    Post subject:  

I have installed xmail and phpxmail on my puppy system. it seems to be running ok. but i dont know how to get my phpbb board to use it to send board mails

can anyone help?

_________________
*Under Renewal*
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Sun 08 Apr 2007, 16:51    Post subject:  

Let me update the package, they are now up to 1.24 anyway. The xmail package comes with a sendmail executable, but it has to be run with a wrapper script. Also the sendmail executable has to be installed suid root because normal users (Apache runs as "nobody") are not able to access the MailRoot directory and a few other permissions issues. I'm on a mini vacation right now so give it a couple days but I'll try and get it rebuilt sometime this week.

I'm using Xmail-1.24 with phpxmail and IlohaMail for a webmail service. I've also figured out a bit how to skin IlohaMail, and hacked the login page a bit. I'm really happy with how it all works right now.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
growler


Joined: 24 Mar 2008
Posts: 209
Location: Kapiti - New Zealand

PostPosted: Tue 29 Jul 2008, 00:50    Post subject: sendmail replacement for PHP mail function  

I think redrum is looking for a client email program to send email from PHP using the mail function. In *nix this requires a client email program to send the email and the path to it must be specified in the php.ini configuration file.
It is miserable to have to contemplate installing and configuring full sendmail we just want a small and light solution and a client command line email program that takes the standard input as an email message. The answer is mini_sendmail

http://www.acme.com/software/mini_sendmail/

I've compiled it and put the binary in /usr/mini_sendmail
then make the mods to your /etc/php.ini see extract below:

; mini_sendmail takes parameters:
; -f the from email address
; -s the smtp server to direct the email through - this allows a third party smtp server to be used
; if the -s parameter is ommmitted then the localhost is assumed to be the smtp server
; -t required for sendmail compatibility??
sendmail_path = /usr/bin/mini_sendmail -fyou@yourdomain.com -ssmtp.yourmailserverdomain.com -t
mini_sendmail.tar.gz
Description  mini_sendmail replacement for full sendmail for use with PHP mail function see notes in the message above
gz

 Download 
Filename  mini_sendmail.tar.gz 
Filesize  210.03 KB 
Downloaded  760 Time(s) 
Back to top
View user's profile Send private message 
enhu


Joined: 26 May 2009
Posts: 301

PostPosted: Mon 22 Mar 2010, 23:30    Post subject:  

is there a pet for puppy 431?
Back to top
View user's profile Send private message Visit poster's website 
Shep

Joined: 08 Nov 2008
Posts: 851
Location: GIRT-BY-SEA

PostPosted: Sat 23 Oct 2010, 19:24    Post subject: Re: sendmail replacement for PHP mail function  

growler wrote:

; mini_sendmail takes parameters:
; -f the from email address
; -s the smtp server to direct the email through - this allows a third party smtp server to be used

I can't see where it allows authentication of the third party server. Without a means for authentication, it is going to be of limited usefulness. Any means for AUTH function?

Just came across a linuxforum.org posting with a commandline mailer very similar, but written entirely in Perl, and which does allow authentication: http://caspian.dotconf.net/menu/Software/SendEmail/

Haven't tried it myself. See this thread for using sendEmail in puppy and for an alternative CLI mailer by trapster see the very last posting to that thread.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0937s ][ Queries: 12 (0.0115s) ][ GZIP on ]