Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix crashes *update: mail hangs in mailq
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nasher
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2003
Posts: 125

PostPosted: Tue Oct 14, 2003 2:19 pm    Post subject: postfix crashes *update: mail hangs in mailq Reply with quote

i tried to install spamassassin with post fix

config :
master.cf :

# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
-smtp inet n - n - - smtpd -v
+smtp inet n - n - - smtpd -o content_filter=filter


#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes


# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}

filter unix - n n - - pipe
user=filter argv=/usr/local/bin/filter.sh -f ${sender} -- ${recipient}

#
# The Cyrus deliver program has changed incompatibly, multiple times.


i tried the howto at :
https://forums.gentoo.org/viewtopic.php?t=89036&highlight=assassin

but when i do that postfix wont start :(


Last edited by nasher on Wed Oct 15, 2003 1:59 pm; edited 3 times in total
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Tue Oct 14, 2003 8:09 pm    Post subject: Reply with quote

And the log files says what when you try and start Postfix?

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
aroedl
n00b
n00b


Joined: 14 Oct 2003
Posts: 7
Location: Berlin

PostPosted: Tue Oct 14, 2003 10:48 pm    Post subject: Reply with quote

Please install amavisd-new! You should be able to emerge it.

http://www.ijs.si/software/amavisd/#features

Its quite easy to install, is daemonized (speed), works with virus scanners, SPAMAssassin and offers logging to syslog.

Andi
Back to top
View user's profile Send private message
nasher
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2003
Posts: 125

PostPosted: Wed Oct 15, 2003 6:30 am    Post subject: Reply with quote

hm
1) i cant get the funciton of the program,
it's an interface between:
postfix <amavisd-new> spamassassin?
postfix <amavisd-new> antivirus ?


2) postfix isnt crashing anymore when i put this line in master.cf

--------------
smtp inet n - n - - smtpd -o content_filter=filter

and

filter unix - n n - - pipe
user=filter argv=/usr/local/bin/filter.sh -f ${sender} -- ${recipient}
----------------

BUT:P, i can sent mails and receive, but without any message / subject

any id ?

mail properties:

Return-Path: <nasher@gentoo.domain>
X-Original-To: nash@gentoo.domain
Delivered-To: nash@gentoo.domain
Received: by gentoo.domainl (Postfix, from userid 2001)
id 7CA5647967; Wed, 15 Oct 2003 10:38:03 +0200 (CEST)
Message-Id: <20031015083803.7CA5647967@gentoo.domain>
Date: Wed, 15 Oct 2003 10:38:03 +0200 (CEST)
From: nasher@gentoo.domain
To: undisclosed-recipients:;
Back to top
View user's profile Send private message
nasher
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2003
Posts: 125

PostPosted: Wed Oct 15, 2003 8:23 am    Post subject: Reply with quote

hm
when i sent a msg

echo "TEST2" | sendmail nash@localhost

i get :
gentoo postfix # cat /home/nash/.maildir/new/*
Return-Path: <root@gentoo.domain>
X-Original-To: nash@localhost
Delivered-To: nash@gentoo.domain
Received: by gentoo.goor.bauhuis.nl (Postfix, from userid 0)
id 1195747966; Wed, 15 Oct 2003 12:33:17 +0200 (CEST)
Message-Id: <20031015103317.1195747966@gentoo.domain>
Date: Wed, 15 Oct 2003 12:33:17 +0200 (CEST)
From: root@gentoo.domain (root)
To: undisclosed-recipients:;

TEST2


so i guess its sendmail :|
?!#$ i dont get it anym0re :(
Back to top
View user's profile Send private message
nasher
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2003
Posts: 125

PostPosted: Wed Oct 15, 2003 2:02 pm    Post subject: Reply with quote

ok:p :oops:

i've installed the shit as :
http://freshmeat.net/articles/view/857/

but, when i tried to send an email it hangs in mailq

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

4A3C447974 657 Wed Oct 15 17:15:03 nash@gentoo.domain
(Name service error for name=localhost type=MX: Host not found, try again)
nash@gentoo.domain

-- 21 Kbytes in 15 Requests.

------------------------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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