#1  
Old 9th October 2006, 20:22
wmrwl wmrwl is offline
Member
 
Join Date: Sep 2006
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default Amavis Problems

Hi,

Debian Sarge 3.1: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAssassin, ClamAV)

I'm getting the following error in Amavis:

Code:
Oct  9 14:29:45 mail postfix/qmgr[2188]: warning: connect to transport amavis: No such file or directory
What could the problem be?

Everytime I restart Amavis I get the following:

Code:
mail:~# /etc/init.d/amavis restart
Stopping amavisd: (not running).
Starting amavisd: amavisd-new.
________
ROLL BLUNTS

Last edited by wmrwl; 30th March 2011 at 08:23.
Reply With Quote
Sponsored Links
  #2  
Old 10th October 2006, 14:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's the output of
Code:
netstat -tap
? What's in /etc/postfix/master.cf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 10th October 2006, 18:39
wmrwl wmrwl is offline
Member
 
Join Date: Sep 2006
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
What's the output of
Code:
netstat -tap
? What's in /etc/postfix/master.cf?
Netstat -tap:
Code:
mail:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:imaps                 *:*                     LISTEN     1983/couriertcpd
tcp        0      0 localhost:10025         *:*                     LISTEN     2181/master
tcp        0      0 localhost:mysql         *:*                     LISTEN     2047/mysqld
tcp        0      0 *:imap2                 *:*                     LISTEN     1968/couriertcpd
tcp        0      0 *:www                   *:*                     LISTEN     2217/apache
tcp        0      0 *:ssh                   *:*                     LISTEN     2202/sshd
tcp        0      0 *:smtp                  *:*                     LISTEN     2181/master
tcp        0      0 10.0.0.4:imap2          h-68-166-225-202.:62953 ESTABLISHED7175/imapd
tcp        0      0 10.0.0.4:imap2          h-68-166-225-202.:62954 ESTABLISHED7176/imapd
tcp        0    296 10.1.0.4:ssh            10.1.0.253:3612         ESTABLISHED7183/sshd: root@tty
tcp        0      0 10.0.0.4:59378          badfish.securitymin:www CLOSE_WAIT 1950/freshclam
master.cf:

Code:
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd
#submission inet n      -       -       -       -       smtpd
#       -o smtpd_etrn_restrictions=reject
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       -       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
#
# 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}
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender $recipient
scalemail-backend unix  -       n       n       -       2       pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}

# only used by postfix-tls
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
#smtps    inet  n       -       n       -       -       smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587      inet  n       -       n       -       -       smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
### Added by Rob on 10/9/2006 ###
127.0.0.1:10025 inet n - - - - smtpd
        -o content_filter=
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_client_restrictions=
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks=127.0.0.0/8
        -o strict_rfc821_envelopes=yes
        -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
        -o smtpd_bind_address=127.0.0.1
Reply With Quote
  #4  
Old 11th October 2006, 08:45
wmrwl wmrwl is offline
Member
 
Join Date: Sep 2006
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

OK I see now that I was missing

Code:
amavis unix - - - - 2 smtp
        -o smtp_data_done_timeout=1200
        -o smtp_send_xforward_command=yes
from master.cf so I added that. I also rebooted the machine and noticed that it said spamassassin was not able to start and to check /etc/default/spamassassin. I opened the file and saw
Code:
# Change to one to enable spamd
ENABLED=0
So I changed it to:

Code:
# Change to one to enable spamd
ENABLED=1
And I rebooted the machine again.

Now my mail.log says:

Code:
Oct 11 02:53:46 mail postfix/smtp[2477]: EC1ED19C42D: to=<admin@domain.com>, relay=none, delay=1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
I should also mention that I am technically running Debian testing etch, but my sources.list is:

Code:
deb http://ftp.debian.org/debian sarge main
I dont know if that makes a difference.
Reply With Quote
  #5  
Old 11th October 2006, 13:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by wmrwl
Now my mail.log says:

Code:
Oct 11 02:53:46 mail postfix/smtp[2477]: EC1ED19C42D: to=<admin@domain.com>, relay=none, delay=1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
What's the output of
Code:
netstat -tap
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 11th October 2006, 20:13
wmrwl wmrwl is offline
Member
 
Join Date: Sep 2006
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

netstat -tap:

Code:
mail:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:imaps                 *:*                     LISTEN     1985/couriertcpd
tcp        0      0 localhost:10025         *:*                     LISTEN     2183/master
tcp        0      0 localhost:mysql         *:*                     LISTEN     2049/mysqld
tcp        0      0 localhost:spamd         *:*                     LISTEN     3472/spamd child
tcp        0      0 *:imap2                 *:*                     LISTEN     1970/couriertcpd
tcp        0      0 *:www                   *:*                     LISTEN     2227/apache
tcp        0      0 *:ssh                   *:*                     LISTEN     2212/sshd
tcp        0      0 *:smtp                  *:*                     LISTEN     2183/master
tcp        0     52 10.1.0.4:ssh            10.1.0.253:1114         ESTABLISHED3

Last edited by wmrwl; 11th October 2006 at 20:18.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with groups/grpconv linuxfast General 28 21st April 2008 09:35
Amavis smtp Problems Wiesemarc Server Operation 3 14th September 2006 18:08
Mail issue with Postfix + Amavis + Spamassassin mhxy594 Server Operation 3 21st August 2006 06:50
Empty Recycle Bin jon335 General 40 6th May 2006 11:56
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 15:14


All times are GMT +2. The time now is 04:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.