Amavis + warning: connect to transport smtp-amavis: No such

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
sosy
Posts: 67
Joined: 2002-09-30 21:07

Amavis + warning: connect to transport smtp-amavis: No such

Post by sosy » 2004-03-29 09:45

Hi,

ich habe ein problem mit amavis, und zwar sehe ich im mail.info das amavis gestartet wurde aber irgendwie klappt es doch nicht..
Mar 29 09:38:25 p15153084 amavis[20527]: starting. amavisd at p15153084 amavisd-new-20030616-p5, Unicode aware
Mar 29 09:38:25 p15153084 amavis[20527]: Perl version 5.008001
Mar 29 09:38:25 p15153084 amavis[20527]: Module Amavis::Conf 1.15
Mar 29 09:38:25 p15153084 amavis[20527]: Module Archive::Tar 0.23
Mar 29 09:38:25 p15153084 amavis[20527]: Module Archive::Zip 1.05
Mar 29 09:38:25 p15153084 amavis[20527]: Module Compress::Zlib 1.16
Mar 29 09:38:25 p15153084 amavis[20527]: Module Convert::TNEF 0.17
Mar 29 09:38:25 p15153084 amavis[20527]: Module Convert::UUlib 0.31
Mar 29 09:38:25 p15153084 amavis[20527]: Module MIME::Entity 5.404
Mar 29 09:38:25 p15153084 amavis[20527]: Module MIME::Parser 5.406
Mar 29 09:38:25 p15153084 amavis[20527]: Module MIME::Tools 5.411
Mar 29 09:38:25 p15153084 amavis[20527]: Module Mail::Header 1.58
Mar 29 09:38:25 p15153084 amavis[20527]: Module Mail::Internet 1.58
Mar 29 09:38:25 p15153084 amavis[20527]: Module Mail::SpamAssassin 2.55
Mar 29 09:38:25 p15153084 amavis[20527]: Module Net::Cmd 2.24
Mar 29 09:38:25 p15153084 amavis[20527]: Module Net::DNS 0.38
Mar 29 09:38:25 p15153084 amavis[20527]: Module Net::SMTP 2.26
Mar 29 09:38:25 p15153084 amavis[20527]: Module Net::Server 0.85
Mar 29 09:38:25 p15153084 amavis[20527]: Module Time::HiRes 1.51
Mar 29 09:38:25 p15153084 amavis[20527]: Module Unix::Syslog 0.98
Mar 29 09:38:25 p15153084 amavis[20527]: Found myself: /usr/sbin/amavisd -c /etc/amavisd.conf
Mar 29 09:38:25 p15153084 amavis[20527]: Lookup::SQL code NOT loaded
Mar 29 09:38:25 p15153084 amavis[20527]: Lookup::LDAP code NOT loaded
Mar 29 09:38:25 p15153084 amavis[20527]: AMCL-in protocol code loaded
Mar 29 09:38:25 p15153084 amavis[20527]: SMTP-in protocol code loaded
Mar 29 09:38:25 p15153084 amavis[20527]: ANTI-VIRUS code loaded
Mar 29 09:38:25 p15153084 amavis[20527]: ANTI-SPAM code loaded
Mar 29 09:38:25 p15153084 amavis[20528]: Net::Server: Process Backgrounded
Mar 29 09:38:25 p15153084 amavis[20528]: Net::Server: 2004/03/29-09:38:25 Amavis (type Net::Server::PreForkSimple) starting! pid(20528)
Mar 29 09:38:25 p15153084 amavis[20528]: Net::Server: Binding to UNIX socket file /var/spool/amavis/amavisd.sock using SOCK_STREAM
Mar 29 09:38:25 p15153084 amavis[20528]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
Mar 29 09:38:25 p15153084 amavis[20528]: Net::Server: Setting gid to "1001 1001"
Mar 29 09:38:25 p15153084 amavis[20528]: Net::Server: Setting uid to "710"
Mar 29 09:38:25 p15153084 amavis[20528]: Net::Server: Couldn't POSIX::setuid to "710" [Illegal seek]
Mar 29 09:38:25 p15153084 amavis[20528]: Found $file at /usr/bin/file
Mar 29 09:38:25 p15153084 amavis[20528]: Found $arc at /usr/bin/arc
Mar 29 09:38:25 p15153084 amavis[20528]: Found $gzip at /usr/bin/gzip
Mar 29 09:38:25 p15153084 amavis[20528]: Found $bzip2 at /usr/bin/bzip2
Mar 29 09:38:25 p15153084 amavis[20528]: No $lzop, not using it
Mar 29 09:38:25 p15153084 amavis[20528]: Found $lha at /usr/bin/lha
Mar 29 09:38:25 p15153084 amavis[20528]: Found $unarj at /usr/bin/unarj
Mar 29 09:38:25 p15153084 amavis[20528]: Found $uncompress at /usr/bin/uncompress
Mar 29 09:38:25 p15153084 amavis[20528]: No $unfreeze, not using it
Mar 29 09:38:25 p15153084 amavis[20528]: Found $unrar at /usr/bin/unrar
Mar 29 09:38:25 p15153084 amavis[20528]: Found $zoo at /usr/bin/zoo
Mar 29 09:38:25 p15153084 amavis[20528]: Found $cpio at /usr/bin/cpio
Mar 29 09:38:25 p15153084 amavis[20528]: Using internal av scanner code for (primary) Clam Antivirus-clamd
Mar 29 09:38:25 p15153084 amavis[20528]: Found secondary av scanner Clam Antivirus - clamscan at /usr/local/bin/clamscan
Mar 29 09:38:47 p15153084 postfix/qmgr[12768]: warning: connect to transport smtp-amavis: No such file or directory
Kann mir jemanden auf die sprünge helfen...???

Was habe ich hier übersehen...

regards
:Sosy

captaincrunch
Userprojekt
Userprojekt
Posts: 7225
Joined: 2002-10-09 14:30
Location: Dorsten

Re: Amavis + warning: connect to transport smtp-amavis: No such

Post by captaincrunch » 2004-03-29 09:48

cat /etc/postfix/master.cf
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc

sosy
Posts: 67
Joined: 2002-09-30 21:07

Re: Amavis + warning: connect to transport smtp-amavis: No such

Post by sosy » 2004-03-29 10:50

Thnx! Hier ist sie
# DO NOT SHARE THE POSTFIX QUEUE BETWEEN MULTIPLE POSTFIX INSTANCES.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
#relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
#localhost:10025 inet n - n - - smtpd -o content_filter=
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# 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}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
#procmail unix - n n - - pipe
# flags=R user=cyrus argv=/usr/bin/procmail -t -m USER=${user} EXT=${extension} /etc/procmailrc
127.0.0.1:10025 inet n - y - - smtpd
-o content_filter=
-o local_recipient_maps=
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject_unauth_destination
-o mynetworks=127.0.0.0/8

smtp_amavis unix - - y - 2 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes
:?:

mcdoogle
Posts: 178
Joined: 2003-07-15 13:36

Re: Amavis + warning: connect to transport smtp-amavis: No such

Post by mcdoogle » 2004-03-29 13:14

Wenn ich die master.cf richtig interpretiere, dann laeuft Dein Postfix NICHT in einer chroot Umgebung. Aber 127.0.0.1 und smtp_amavis sollen als chroot laufen. Soweit ich weiss kann man da nix mischen.
Ich denke mal das ist ein config Fehler! Aender doch einfach mal in den beiden Zeilen das y zu einem n.
Also:

Code: Select all

127.0.0.1:10025 inet n - y - - smtpd
zu

Code: Select all

127.0.0.1:10025 inet n - n - - smtpd
und

Code: Select all

smtp_amavis unix - - y - 2 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes
wird zu

Code: Select all

smtp_amavis unix - - n - 2 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes

sosy
Posts: 67
Joined: 2002-09-30 21:07

Re: Amavis + warning: connect to transport smtp-amavis: No such

Post by sosy » 2004-03-29 13:26

@mcdoogle,

leider nein, es hilft nix, ich habe erstmal die main.cf und master.cf geändert und das ganze nun ohne amavis laufen. Ich habe wahrscheinlich bei der install etwas übersehen und werde das ganz evt. neu aufsetzen. Allerdings bin ich gerade auf das proggie von Kaspersky gestossen und schaue mir gerade die handleitung an, vielleicht spiel ich das wohl ein...

Dennoch vielen lieben dank.. Falls ich doch mit Amavis weiterkomme werde ich umgehend wieder posten damit auch andere von meine fehler lernen können...

mmg-media
RSAC
Posts: 100
Joined: 2003-06-23 12:40

Re: Amavis + warning: connect to transport smtp-amavis: No such

Post by mmg-media » 2004-03-29 14:42

ich will ja nix sagen, aber kanns vielleicht daran liegen weil einmal
smtp_amavis

und einmal

smtp-amavis

verwendet wird ;)

sosy
Posts: 67
Joined: 2002-09-30 21:07

Re: Amavis + warning: connect to transport smtp-amavis: No such

Post by sosy » 2004-03-29 15:31

@MMG-Media

aaaaaaaaaaahhhhrrrrrggggg.... das kann doch nicht wahr sein oder..

Ich suche mich doof, einfach nur blind... :oops: :oops: :oops:

Wirds gleich anders einstellen...