|
|
|
|
|
|
| Author |
Message |
Jean-Gabriel Duquesnoy *nix forums beginner
Joined: 18 Jul 2006
Posts: 1
|
Posted: Tue Jul 18, 2006 6:11 pm Post subject:
Postfix - Amavis - Cyrus communication fails between the components
|
|
|
Hi,
I have instaled Postfix, Cyrus, MySQL, Amavis, Web-Cyradm, PAM_MySQL as described in the
HOWTO from Lus de Louw, but I must have missed something as Postfix does not seem to be able
to communication with Amavis, as can be seen from the logfile, see below:
Jul 18 19:11:22 mail postfix/qmgr[16971]: event_request_timer: set 0x80003e85 0x800156b8 60
Jul 18 19:11:22 mail postfix/qmgr[16971]: event_loop: time left 60 for 0x80003e85 0x800156b8
Jul 18 19:11:22 mail postfix/qmgr[16971]: event_loop: time left 245 for 0x800029f2 0x0
Jul 18 19:11:22 mail postfix/qmgr[16971]: event_loop: time left 245 for 0x80004272 0x8001b400
Jul 18 19:11:22 mail postfix/qmgr[16971]: event_loop: select_delay 60
Jul 18 19:12:07 mail postfix/qmgr[16971]: event_loop: read 6 0xb7f66118 0x6
Jul 18 19:12:07 mail postfix/qmgr[16971]: trigger_server_accept_fifo: trigger arrived
Jul 18 19:12:07 mail postfix/qmgr[16971]: master_notify: status 0
Jul 18 19:12:07 mail postfix/qmgr[16971]: request: 87 (W)
Jul 18 19:12:07 mail postfix/qmgr[16971]: qmgr_scan_start: start incoming queue scan
Jul 18 19:12:07 mail postfix/qmgr[16971]: scan_dir_push: open incoming
Jul 18 19:12:07 mail postfix/qmgr[16971]: master_notify: status 1
Jul 18 19:12:07 mail postfix/qmgr[16971]: watchdog_start: 0x800150b0
Jul 18 19:12:07 mail postfix/qmgr[16971]: scan_dir_next: skip .
Jul 18 19:12:07 mail postfix/qmgr[16971]: scan_dir_next: skip ..
Jul 18 19:12:07 mail postfix/qmgr[16971]: scan_dir_pop: close incoming
Jul 18 19:12:07 mail postfix/qmgr[16971]: done incoming queue scan
Jul 18 19:12:07 mail postfix/qmgr[16971]: event_loop: time left 15 for 0x80003e85 0x800156b8
Jul 18 19:12:07 mail postfix/qmgr[16971]: event_loop: time left 200 for 0x800029f2 0x0
Jul 18 19:12:07 mail postfix/qmgr[16971]: event_loop: time left 200 for 0x80004272 0x8001b400
Jul 18 19:12:07 mail postfix/qmgr[16971]: event_loop: select_delay 15
Jul 18 19:12:22 mail postfix/qmgr[16971]: event_loop: timer 0x80003e85 0x800156b8
Jul 18 19:12:22 mail postfix/qmgr[16971]: qmgr_transport_unthrottle: transport smtp-amavis
Jul 18 19:12:22 mail postfix/qmgr[16971]: event_cancel_timer: 0x80003e85 0x800156b8 -1
Jul 18 19:12:22 mail postfix/qmgr[16971]: watchdog_start: 0x800150b0
Jul 18 19:12:22 mail postfix/qmgr[16971]: qmgr_transport_select: smtp-amavis
Jul 18 19:12:22 mail postfix/qmgr[16971]: qmgr_active_drain: allocate smtp-amavis
Jul 18 19:12:22 mail postfix/qmgr[16971]: connect to subsystem private/smtp-amavis: Operation not permitted
Jul 18 19:12:22 mail postfix/qmgr[16971]: warning: connect to transport smtp-amavis: Operation not permitted
Jul 18 19:12:22 mail postfix/qmgr[16971]: qmgr_transport_throttle: transport smtp-amavis: reason: transport is unavailable
I have checked the listening ports:
mail:/var/log # netstat -an | grep LISTEN
tcp 0 0 0.0.0.0:6051 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 192.168.0.5:143 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 192.168.0.5:2000 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:2544 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN
tcp 0 0 :::110 :::* LISTEN
tcp 0 0 :::80 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
tcp 0 0 :::25 :::* LISTEN
tcp 0 0 :::443 :::* LISTEN
and which process is listening on port 10025 and port 10024, everything seems to be OK:
mail:/etc/postfix # lsof -i tcp:10025
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
master 3187 root 72u IPv4 87988 TCP localhost:10025 (LISTEN)
mail:/var/log # lsof -i tcp:10024
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
amavisd 9672 amavis 6u IPv4 257965 TCP localhost:10024 (LISTEN)
amavisd 9673 amavis 6u IPv4 257965 TCP localhost:10024 (LISTEN)
amavisd 9674 amavis 6u IPv4 257965 TCP localhost:10024 (LISTEN)
Anyone an Idea what could be wrong there? I think I have checked everything, but obviously
some rights or anything else is still not correctly setup which causes the issue which is blocking
me.
Any help would be greatly appreciated.
--
Jean-Gabriel Duquesnoy |
|
| Back to top |
|
 |
Sandy Drobic *nix forums Guru
Joined: 30 Apr 2005
Posts: 322
|
Posted: Tue Jul 18, 2006 6:32 pm Post subject:
Re: Postfix - Amavis - Cyrus communication fails between the components
|
|
|
Jean-Gabriel Duquesnoy wrote:
| Quote: | Hi,
I have instaled Postfix, Cyrus, MySQL, Amavis, Web-Cyradm, PAM_MySQL as described in the
HOWTO from Lus de Louw, but I must have missed something as Postfix does not seem to be able
to communication with Amavis, as can be seen from the logfile, see below:
Jul 18 19:12:22 mail postfix/qmgr[16971]: qmgr_transport_select: smtp-amavis
Jul 18 19:12:22 mail postfix/qmgr[16971]: qmgr_active_drain: allocate smtp-amavis
Jul 18 19:12:22 mail postfix/qmgr[16971]: connect to subsystem private/smtp-amavis: Operation not permitted
Jul 18 19:12:22 mail postfix/qmgr[16971]: warning: connect to transport smtp-amavis: Operation not permitted
|
These error messages are typical for Suse 10.x with active AppArmor.
Either deactivate AppArmor or configure AppArmor to include smtp-amavis.
If this is not a Suse system I suggest you check your file system.
Please do NOT post the output of "postconf", show output of "postconf -n".
Sandy |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 6:42 am | All times are GMT
|
|
Debt Help | Loans | Myspace Layouts | Home Improvement | Credit Cards
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|