XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> sendmail and local mails

Reply to this topicStart new topicStart Poll

> sendmail and local mails
radus
Posted: Mar 10 2004, 03:45 PM
Quote Post


Newbie
*

Group: Members
Posts: 17
Member No.: 944
Joined: 20-February 04



When scripts send local mails if it's called like

echo "To: root"; snort-stat -a < /var/log/snort/alert |sendmail -t

it returns
To: root
empty recipient list

Logwatch for example works, it sends through mailx

Is this a bug ?
PMEmail Poster
Top
hschneider
Posted: Mar 11 2004, 08:56 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



You are missing the MAIL FROM. Set
AllowNullSender 1
in server.tab and restart XMail.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
radus
Posted: Mar 15 2004, 10:34 PM
Quote Post


Newbie
*

Group: Members
Posts: 17
Member No.: 944
Joined: 20-February 04



Hello

Thanks for the post..
Ahm :

cat /var/lib/xmail/server.tab |grep Null
"AllowNullSender" "1"

xmail restarted

echo "To: root"; snort-stat -a < /var/log/snort/alert |sendmail -t
To: root
empty recipient list
PMEmail Poster
Top
hschneider
Posted: Mar 16 2004, 07:58 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Make sure, that sendmail was correctly replaced by XMail.


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
radus
Posted: Mar 16 2004, 09:39 AM
Quote Post


Newbie
*

Group: Members
Posts: 17
Member No.: 944
Joined: 20-February 04



Hello
I had no previous sendmail installation

lrwxrwxrwx 1 root root 9 Mar 13 21:49 /usr/bin/sendmail -> xsendmail

cat /usr/bin/xsendmail
--
if [ -z $MAIL_ROOT ]; then
export MAIL_ROOT=/var/lib/xmail
fi

exec /usr/bin/sendmail.xmail $*
--

also

sendmail.xmail -t --input-file /home/k9/ceva
empty recipient list

cat /home/k9/ceva
--
To: root

aiurea
--
PMEmail Poster
Top
atomant
Posted: Mar 16 2004, 10:02 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Don't forget to suid to root sendmail.xmail:
#chmod u+x sendmail.xmail


--------------------
Bye,
Sasa



-------------------------------------------------------------------

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
radus
Posted: Mar 16 2004, 03:30 PM
Quote Post


Newbie
*

Group: Members
Posts: 17
Member No.: 944
Joined: 20-February 04



i ran the abose as root
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Server | Next Newest »

Reply to this topicStart new topicStart Poll