Re: [xmail] sendmail -io -t not working

2011-07-26 Thread Sabahattin Gucukoglu
On 21 Jul 2011, at 06:52, Marin, Patricia wrote:
 When I am using sendmail -io -t on a perl script or command line, the mail 
 never get send but when I add -femail email is send.  The  configuration I 
 have is windows with apache2triad from 2006.

XMail's sendmail interface is a bit different than most others; check the docs. 
 Also check that your script is giving the mail in on stdin; I know for a fact 
that Win32 does not handle pipes with grace.  It may be easier to just convert 
to the use of SMTP on localhost:25.

Cheers,
Sabahattin
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


[xmail] sendmail -io -t not working

2011-07-20 Thread Marin, Patricia
Hi all,

When I am using sendmail -io -t on a perl script or command line, the mail 
never get send but when I add -femail email is send.  The  configuration I 
have is windows with apache2triad from 2006.

Thanks,

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Sendmail

2010-10-05 Thread Sergio C.
Ops!!!
It's works.
Thank you very much and sorry about my silly question.
Bye.
Sergio bh

2010/10/4 Ivo Smits i...@ufo-net.nl

  Try this:
 bin/sendmail -fFROM_MAIL_ADDRESS --xinput-file /tmp/test
 TO_MAIL_ADDRESS
 (input, not imput - it will not understand and try to read the email from
 the console)

 Ivo

 Op 4-10-2010 17:55, Sergio C. schreef:

 I'm having a trouble with xmail sendmail program.
 After exporting MAIL_ROOT, I running this command from MAIL_ROOT directory:
 bin/sendmail -fFROM_MAIL_ADDRESS --ximput-file /tmp/test
 TO_MAIL_ADDRESS
 At this point the shell is hold.
 If I digit . (dot) and return, the prompt become ok but no message is sent.
 The xmail debug output is (after . imput):
 
 ErrCode   = -55
 ErrString = Invalid spool file
 Unable to load spool file
 /var/MailRoot/spool/1/7/mess/1286201189044.ad452b90.2f19.2b.gordian
 SMTP-Error = 554 Error loading spool file
 
 
 ErrCode   = -55
 ErrString = Invalid spool file
 Unable to load spool file
 /var/MailRoot/spool/14/10/mess/1286201189032.ad452b90.2f19.2a.gordian
 SMTP-Error = 554 Error loading spool file
 
 LMAIL [00] file processed:
 /var/MailRoot/spool/local/1286201187000.12102.gordian
 Filter run: Sender = FROM_MAIL_ADDRESS Recipient = TO_MAIL_ADDRESS
 Filter = /var/MailRoot/filters/av_filter/av_filter.sh Retcode = 0
 SMAIL SMTP-Send MX = SMTP_SERVER. SMTP = telsey.out From =
 FROM_MAIL_ADDRESSt To = TO_MAIL_ADDRESS

 My environment is:
 Ubuntu server: 9.04
 XMail server: 1.27

 Thank you
 Bye.
 Sergio bh

 --

 Io uso formati 
 standardhttp://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=43485ed
 aperti http://www.odfalliance.org/.

 Per piacere, non obbligarmi ad usare formati proprietari come Microsoft
 Word od Excel.®

 Per leggere gli eventuali allegati: 
 www.openoffice.orghttp://it.openoffice.org/

 Per gli utenti di Microsoft Office® clicca 
 quihttp://sourceforge.net/projects/odf-converter/


 ___
 xmail mailing 
 listxm...@xmailserver.orghttp://xmailserver.org/mailman/listinfo/xmail


 ___
 xmail mailing list
 xmail@xmailserver.org
 http://xmailserver.org/mailman/listinfo/xmail




-- 

Io uso formati 
standardhttp://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=43485ed
aperti http://www.odfalliance.org/.

Per piacere, non obbligarmi ad usare formati proprietari come Microsoft Word
od Excel.®

Per leggere gli eventuali allegati:
www.openoffice.orghttp://it.openoffice.org/

Per gli utenti di Microsoft Office® clicca
quihttp://sourceforge.net/projects/odf-converter/
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


[xmail] Sendmail

2010-10-04 Thread Sergio C.
I'm having a trouble with xmail sendmail program.
After exporting MAIL_ROOT, I running this command from MAIL_ROOT directory:
bin/sendmail -fFROM_MAIL_ADDRESS --ximput-file /tmp/test TO_MAIL_ADDRESS
At this point the shell is hold.
If I digit . (dot) and return, the prompt become ok but no message is sent.
The xmail debug output is (after . imput):

ErrCode   = -55
ErrString = Invalid spool file
Unable to load spool file
/var/MailRoot/spool/1/7/mess/1286201189044.ad452b90.2f19.2b.gordian
SMTP-Error = 554 Error loading spool file


ErrCode   = -55
ErrString = Invalid spool file
Unable to load spool file
/var/MailRoot/spool/14/10/mess/1286201189032.ad452b90.2f19.2a.gordian
SMTP-Error = 554 Error loading spool file

LMAIL [00] file processed:
/var/MailRoot/spool/local/1286201187000.12102.gordian
Filter run: Sender = FROM_MAIL_ADDRESS Recipient = TO_MAIL_ADDRESS
Filter = /var/MailRoot/filters/av_filter/av_filter.sh Retcode = 0
SMAIL SMTP-Send MX = SMTP_SERVER. SMTP = telsey.out From =
FROM_MAIL_ADDRESSt To = TO_MAIL_ADDRESS

My environment is:
Ubuntu server: 9.04
XMail server: 1.27

Thank you
Bye.
Sergio bh

-- 

Io uso formati 
standardhttp://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=43485ed
aperti http://www.odfalliance.org/.

Per piacere, non obbligarmi ad usare formati proprietari come Microsoft Word
od Excel.®

Per leggere gli eventuali allegati:
www.openoffice.orghttp://it.openoffice.org/

Per gli utenti di Microsoft Office® clicca
quihttp://sourceforge.net/projects/odf-converter/
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Sendmail

2010-10-04 Thread Ivo Smits

 Try this:
bin/sendmail -fFROM_MAIL_ADDRESS --xinput-file /tmp/test TO_MAIL_ADDRESS
(input, not imput - it will not understand and try to read the email 
from the console)


Ivo

Op 4-10-2010 17:55, Sergio C. schreef:

I'm having a trouble with xmail sendmail program.
After exporting MAIL_ROOT, I running this command from MAIL_ROOT 
directory:
bin/sendmail -fFROM_MAIL_ADDRESS --ximput-file /tmp/test 
TO_MAIL_ADDRESS

At this point the shell is hold.
If I digit . (dot) and return, the prompt become ok but no message is 
sent.

The xmail debug output is (after . imput):

ErrCode   = -55
ErrString = Invalid spool file
Unable to load spool file 
/var/MailRoot/spool/1/7/mess/1286201189044.ad452b90.2f19.2b.gordian

SMTP-Error = 554 Error loading spool file


ErrCode   = -55
ErrString = Invalid spool file
Unable to load spool file 
/var/MailRoot/spool/14/10/mess/1286201189032.ad452b90.2f19.2a.gordian

SMTP-Error = 554 Error loading spool file

LMAIL [00] file processed: 
/var/MailRoot/spool/local/1286201187000.12102.gordian
Filter run: Sender = FROM_MAIL_ADDRESS Recipient = TO_MAIL_ADDRESS 
Filter = /var/MailRoot/filters/av_filter/av_filter.sh Retcode = 0
SMAIL SMTP-Send MX = SMTP_SERVER. SMTP = telsey.out From = 
FROM_MAIL_ADDRESSt To = TO_MAIL_ADDRESS


My environment is:
Ubuntu server: 9.04
XMail server: 1.27

Thank you
Bye.
Sergio bh

--

Io uso formati standard 
http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=43485 
ed aperti http://www.odfalliance.org/.


Per piacere, non obbligarmi ad usare formati proprietari come 
Microsoft Word od Excel.®


Per leggere gli eventuali allegati: www.openoffice.org 
http://it.openoffice.org/


Per gli utenti di Microsoft Office® clicca qui 
http://sourceforge.net/projects/odf-converter/




___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] sendmail wrapper, -oi option

2010-03-08 Thread Sabahattin Gucukoglu
On 9 Mar 2010, at 01:34, Davide Libenzi wrote:
On Sun, 7 Mar 2010, Davide Libenzi wrote:
 On Sun, 7 Mar 2010, Sabahattin Gucukoglu wrote:
 What does -F control in XMail?  If used will it override what is already 
 in the From: field?  -f should only change the envelope sender otherwise 
 unless From: doesn't exist, in which case create it.  Sendmail (the real 
 thing) also added Date: and Message-ID, if not present.
 
 Did you actually tried it, before posting this?

TMDA doesn't give control over sendmail's arguments, but actually I tried using 
all options together, and it broke the wrapper:
sendmail -...@somewhere.invalid -F'Real Name' m...@sabahattin-gucukoglu.com

For me this creates a file in spool/temp that is empty, and doesn't move it.  
When I lose the -F, it works just fine.

I didn't try it before asking though because ...

 OTOH I noticed that the documentation about XMail's `sendmail` is quite 
 outdated.  Need to be sync with the implementation.

I checked the sources and the TMDA scripts in the end to work what was 
happening.  Here is the excellent manual page for Courier's sendmail wrapper 
that gives you an idea why I need so many answers:
http://www.courier-mta.org/sendmail.html

Cheers,
Sabahattin

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


[xmail] sendmail wrapper, -oi option

2010-03-07 Thread Sabahattin Gucukoglu
Please can we have the sendmail wrapper know -oi to be synonymous with -i?  
In practice I don't know any program that uses the sendmail SMTP-style 
end-of-message indicator; you could probably get by just supporting -t and -f.  
In the real sendmail, -oi means -O IgnoreDots=True.

What does -F control in XMail?  If used will it override what is already in the 
From: field?  -f should only change the envelope sender otherwise unless From: 
doesn't exist, in which case create it.  Sendmail (the real thing) also added 
Date: and Message-ID, if not present.

Cheers,
Sabahattin



smime.p7s
Description: S/MIME cryptographic signature
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] sendmail wrapper, -oi option

2010-03-07 Thread Davide Libenzi
On Sun, 7 Mar 2010, Sabahattin Gucukoglu wrote:

 Please can we have the sendmail wrapper know -oi to be synonymous with 
 -i?  In practice I don't know any program that uses the sendmail 
 SMTP-style end-of-message indicator; you could probably get by just 
 supporting -t and -f.  In the real sendmail, -oi means -O 
 IgnoreDots=True.

The -i and -oi are already synonymous, and -f is already supported.


 What does -F control in XMail?  If used will it override what is already 
 in the From: field?  -f should only change the envelope sender otherwise 
 unless From: doesn't exist, in which case create it.  Sendmail (the real 
 thing) also added Date: and Message-ID, if not present.

Did you actually tried it, before posting this?
XMail adds the Date field, if missing. The MessageID is added 
automatically by LMAIL.
The -F allows to set the envelope and SMTP from (the former if 
missing).


- Davide


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


[xmail] Re: xmail sendmail, php and shared webhosting

2005-10-16 Thread Dick van der Kaaden

On Saturday 15 October 2005 22:18, Davide Libenzi wrote:
 On Sat, 15 Oct 2005, Dick van der Kaaden wrote:
  What you think about a version of sendmail that has an option to use the
  Fr= om:=20
  header address as smtp mail from. Do you envision any problems with this?
 
  The thing is that the current behavior does not work well in the
  shared=20 hosting environment that we operate for our customers. Most of
  the these=20 sites use php and the php mail function. This function does
  not allow you t= o=20
  set the smtp mail from and it simply calls xmail's sendmail.=20
 
  Sendmail's default behavior is to use [EMAIL PROTECTED] as mail from. This 
  is
  n= ot=20
  very usefull! It will not allow our customers to receive bounces. Setting
  t= he=20
  domain in a virtualhost definition does not help either, since you cannot
  s= et=20
  the username. Asking our customers to create an [EMAIL PROTECTED]
  email=20 address to receive bounces is not very user friendly. Forcing
  them to use a= n=20
  smtp mailer is also not user friendly.=20
 
  I looked at sendmail and worked out how a way to implement this.=20
 
  =2D All rcpt to's are stored in a new temporary file.=20
  =2D No output is sent to szmailfile before having read all email
  headers.=20 =2D While reading thru the headers I set the szmailfrom to
  the address on t= he=20
  =46rom line.=20
  =2D If there is no From line or the From line contains an invalid
  address=20 (according to AddressFromAtPtr) then nothing gets set and
  sendmail will use= =20
  szmailfrom as previously setup in SysGetUserAddress.=20
  =2D After reading the headers, dump the mail from and rcpt to lines.
 
  If you are interested in the code them let me know.

 Dick, isn't it possible to do something on the PHP side?


Sure, you can use all sorts of libraries to send mail via smtp with php. The 
thing is, I cannot prevent my customers from using the php mail function. 

Basically, the change you made, setting the smtp mail from, has an unwanted 
side effect in case the mail bounces. This just generates useless extra mail 
traffic, since I am not at all interested in these bounces. The bounce is 
only usefull for my customer (e.g. the From: header).

All in all it is not a big issue, but having more control over the smtp mail 
from address would be usefull for webserver environments. I do not know if 
many people are using xmail in a setup like ours. 

Dick

 - Davide


 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: xmail sendmail, php and shared webhosting

2005-10-16 Thread Sönke Ruempler

On 15.10.2005 13:50, Dick van der Kaaden wrote:
 Davide,
 
 What you think about a version of sendmail that has an option to use the 
 From: 
 header address as smtp mail from. Do you envision any problems with this?
 
 The thing is that the current behavior does not work well in the shared 
 hosting environment that we operate for our customers. Most of the these 
 sites use php and the php mail function. This function does not allow you to 
 set the smtp mail from and it simply calls xmail's sendmail. 

It does, if you don't use PHP's safe_mode - see here:

http://php.speedbone.de/manual/en/function.mail.php

Description
bool mail ( string to, string subject, string message [, string
additional_headers [, string additional_parameters]] )


additional_parameters (optional)

The additional_parameters parameter can be used to pass an
additional parameter to the program configured to use when sending mail
using the sendmail_path configuration setting. For example, this can be
used to set the envelope sender address when using sendmail with the -f
sendmail option.

The user that the webserver runs as should be added as a trusted
user to the sendmail configuration to prevent a 'X-Warning' header from
being added to the message when the envelope sender (-f) is set using
this method. For sendmail users, this file is /etc/mail/trusted-users.



So you can use the fifth parameter and [EMAIL PROTECTED] and it's
becoming the Return Path / MAIL_FROM.
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: xmail sendmail, php and shared webhosting

2005-10-16 Thread Dick van der Kaaden

On Sunday 16 October 2005 17:44, Sönke Ruempler wrote:
 On 15.10.2005 13:50, Dick van der Kaaden wrote:
  Davide,
 
  What you think about a version of sendmail that has an option to use the
  From: header address as smtp mail from. Do you envision any problems with
  this?
 
  The thing is that the current behavior does not work well in the shared
  hosting environment that we operate for our customers. Most of the these
  sites use php and the php mail function. This function does not allow you
  to set the smtp mail from and it simply calls xmail's sendmail.

 It does, if you don't use PHP's safe_mode - see here:

 http://php.speedbone.de/manual/en/function.mail.php


I must admit that I had not RTFM and did not realize it was possible under 
normal operation. Unfortunately, we do use safe mode for our virtual hosts. 
Most of our customers run standard php scripts that occasionally have 
security issues.

Reading the php manual I realized that my change does have a security impact. 
Allowing an arbitrary mail from address from an untrusted source is not a 
good thing. I think it will be better to limit the domain part of the smtp 
mail from to the virtualhost servername. The user part must be configurable. 
I will have to think about this a little longer

Dick

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] xmail sendmail, php and shared webhosting

2005-10-15 Thread Dick van der Kaaden

Davide,

What you think about a version of sendmail that has an option to use the From: 
header address as smtp mail from. Do you envision any problems with this?

The thing is that the current behavior does not work well in the shared 
hosting environment that we operate for our customers. Most of the these 
sites use php and the php mail function. This function does not allow you to 
set the smtp mail from and it simply calls xmail's sendmail. 

Sendmail's default behavior is to use [EMAIL PROTECTED] as mail from. This is 
not 
very usefull! It will not allow our customers to receive bounces. Setting the 
domain in a virtualhost definition does not help either, since you cannot set 
the username. Asking our customers to create an [EMAIL PROTECTED] email 
address to receive bounces is not very user friendly. Forcing them to use an 
smtp mailer is also not user friendly. 

I looked at sendmail and worked out how a way to implement this. 

- All rcpt to's are stored in a new temporary file. 
- No output is sent to szmailfile before having read all email headers. 
- While reading thru the headers I set the szmailfrom to the address on the 
From line. 
- If there is no From line or the From line contains an invalid address 
(according to AddressFromAtPtr) then nothing gets set and sendmail will use 
szmailfrom as previously setup in SysGetUserAddress. 
- After reading the headers, dump the mail from and rcpt to lines.

If you are interested in the code them let me know.

Regards,
Dick
-- 
Netrex internet solutions
Achterstraat 8b
3441 EH  Woerden
Tel: 0348-433886
Fax: 0348-433723
email: [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: xmail sendmail, php and shared webhosting

2005-10-15 Thread Yiannis Mavroukakis

Dick van der Kaaden wrote:

Davide,

What you think about a version of sendmail that has an option to use the From: 
header address as smtp mail from. Do you envision any problems with this?

The thing is that the current behavior does not work well in the shared 
hosting environment that we operate for our customers. Most of the these 
sites use php and the php mail function. This function does not allow you to 
set the smtp mail from and it simply calls xmail's sendmail. 

Sendmail's default behavior is to use [EMAIL PROTECTED] as mail from. This is 
not 
very usefull! It will not allow our customers to receive bounces. Setting the 
domain in a virtualhost definition does not help either, since you cannot set 
the username. Asking our customers to create an [EMAIL PROTECTED] email 
address to receive bounces is not very user friendly. Forcing them to use an 
smtp mailer is also not user friendly. 

I looked at sendmail and worked out how a way to implement this. 

- All rcpt to's are stored in a new temporary file. 
- No output is sent to szmailfile before having read all email headers. 
- While reading thru the headers I set the szmailfrom to the address on the 
From line. 
- If there is no From line or the From line contains an invalid address 
(according to AddressFromAtPtr) then nothing gets set and sendmail will use 
szmailfrom as previously setup in SysGetUserAddress. 
- After reading the headers, dump the mail from and rcpt to lines.

If you are interested in the code them let me know.

Regards,
Dick
  

IMHO, this is a PHP problem, not Xmail since this falls in PHP's
domain..wouldn't you be better server adding this in PHP
instead of Xmail? The argument could of course be, that many other PHP
applications don't support this, but then again this
PHP's braindeath...
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: xmail sendmail, php and shared webhosting

2005-10-15 Thread Davide Libenzi

On Sat, 15 Oct 2005, Dick van der Kaaden wrote:

 What you think about a version of sendmail that has an option to use the Fr=
 om:=20
 header address as smtp mail from. Do you envision any problems with this?

 The thing is that the current behavior does not work well in the shared=20
 hosting environment that we operate for our customers. Most of the these=20
 sites use php and the php mail function. This function does not allow you t=
 o=20
 set the smtp mail from and it simply calls xmail's sendmail.=20

 Sendmail's default behavior is to use [EMAIL PROTECTED] as mail from. This is 
 n=
 ot=20
 very usefull! It will not allow our customers to receive bounces. Setting t=
 he=20
 domain in a virtualhost definition does not help either, since you cannot s=
 et=20
 the username. Asking our customers to create an [EMAIL PROTECTED] email=20
 address to receive bounces is not very user friendly. Forcing them to use a=
 n=20
 smtp mailer is also not user friendly.=20

 I looked at sendmail and worked out how a way to implement this.=20

 =2D All rcpt to's are stored in a new temporary file.=20
 =2D No output is sent to szmailfile before having read all email headers.=20
 =2D While reading thru the headers I set the szmailfrom to the address on t=
 he=20
 =46rom line.=20
 =2D If there is no From line or the From line contains an invalid address=20
 (according to AddressFromAtPtr) then nothing gets set and sendmail will use=
 =20
 szmailfrom as previously setup in SysGetUserAddress.=20
 =2D After reading the headers, dump the mail from and rcpt to lines.

 If you are interested in the code them let me know.

Dick, isn't it possible to do something on the PHP side?


- Davide


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] sendmail error in Xmail 1.21

2005-01-05 Thread Sönke Ruempler
Hi Davide,

if I try to execute:

sendmail [EMAIL PROTECTED],[EMAIL PROTECTED]

it is getting bounced by Xmail 1.21:

[01] Error sending message [...].

ID:L26CBF4
Mail From: ...
Rcpt To:   [EMAIL PROTECTED]:[EMAIL PROTECTED]

I think that's a bug.

--

soenke
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] sendmail and cron

2004-11-24 Thread Kevin Williams
I'm currently running Vixie-Cron 4.1, which was upgraded from 3.x about 
11/2. I have not received a single mail from cron since. I know the 
sendmail that XMail builds doesn't handle all the command-line arguments 
that the Sendmail or Postfix version does, but I thought it would ignore 
the ones it doesn't know. I'm tempted to switch to dcron, but it still 
uses non-XMail arguments for sendmail.

Has anyone else solved this problem on their servers? Should I hack some 
kind of wrapper for sendmail, or should I hack the arguments in 
Vixie-Cron and re-compile? Or should I switch to Postfix? ;)

Thanks in advance,

Kevin
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] sendmail cron problems

2004-09-22 Thread Охитин Руслан
Hello!

I nave a cron script that uses xmail's sendmail to
 send me some info.

When I start this script from shell all works fine 
but when it started by cron - it sends nothing.

Setting MAIL_ROOT=/path/to/xmail/root in script don't help.

Please help me!

--
Ruslan Ohitin

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] sendmail -oem -oi functionality

2004-08-19 Thread Radu Spineanu
Hello


A lot of UNIX programs use the '-oem -oi' flag when calling sendmail.
2 very used programs that do this are cron and mutt .

-oi functionality is there, and for debian i made a little hack for it 
to work, and -oem shouldn't take such a long time.

Will you consider it ?


Radu
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] sendmail and php (ISAPI) problem

2004-06-13 Thread Rosario Pingaro
I'm using xmail 1.20 and UMPL 2.11 for the administration and webmail. My platform is 
windows 2003 and IIS 6.0
They work very fine. But I have a problem sending mail using the PHP based UMPL.

Configuring php to work in CGI mode UMPL and others php script using mail() function 
do their job. But in this mode I can't authenticate the access to the root directory 
leaving it unprotected.

So I am tring to use the ISAPI version of the PHP (4.3.7), in this flavor the 
authentication works fine. But I'm not able to send mail using UMPL or from a simple 
mail() test page.

Does someone has some similar experience using ISAPI???
Does ISAPI want a different authorization to execute sendmail.php or to access some 
other xmaildirectory?

thanks
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Sendmail differences? (sorry for the resend)

2004-05-01 Thread RaveRod
I'm sorry about resending this but my av filter went nuts today and has
been, I guess, deleting all emails as they come in (didn't actually realise
until now) :(
 

Can you please repost and responses to this question.

 



I was just wondering what are the differences between Linux Sendmail and
XMail's Sendmail?

 

Eg. Are the command parameters different or email message are different?

I also want to know if you MUST replace the sendmail program (I've tried
once before but I was getting errors in some scripts I was using)?



-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] sendmail + permissions

2003-10-07 Thread Newsmirror

hello list

How do you guys deal with XMail's sendmail replacement and file/dir permissions.
If I want my sendmail to be world executable and have /var/MailRoot drwx-- ,
what is best approach. Currently I have applied the following narrow passthrough
into the spool required by sendmail. Is there a better approach ?

cd /var
chown root.root -R  MailRoot
chmod go=-R  MailRoot
chmod o+x  MailRoot  MailRoot/spool
chmod o+wx   MailRoot/spool/temp   MailRoot/spool/local

/thomas.

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] sendmail

2003-09-25 Thread [EMAIL PROTECTED]

I'm attempting to use the sendmail program that comes with Xmail with
nagios's monitoring software.  It requires that it needs to use one line to
send out an email, and I haven't beenable to figure out a single line way of
doing this that doesn't require me to put a . to end sending the message.

su-2.05b# sendmail [EMAIL PROTECTED] hey now
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] sendmail -t

2002-10-04 Thread Paul Heijman


L.S.

Not being up to date with the history of the 'original' sendmail I was
wondering why there is a switch to read the recipients from the mail
file ('-t'), but not for extracting the sender...
I still have to supply the '-f sender' although there is a 'From:' line
in the message...

It is not really a problem just a wondering... ;-)

TIA,

Paul


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




[xmail] sendmail

2002-05-15 Thread WeSDeC


Sendmail works fine, but I always have to give the command
 export MAIL_R00T=/var/MailRoot

So if i call sendmail from php it does work, how can i solve that?


Maarten

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]