Bonjour à tous,
Voila, j'ai une fc11 a jour. Et j'ai installé postfix dovecot et spamassassin. Je n'arrive pas a passer avec procmail.
Des que je met :
mailbox_command = /sbin/procmail
dans main.cf
la conf de /home/toto/.procmailrc n'est pas pris en compte.
ci joint :
main.cf
pour voir sir c'est pris en compte je fais juste une redirection et cela ne fonctionne pas.
Merci de m'aider ce serait sympas de votre part !
Evelyne.
Voila, j'ai une fc11 a jour. Et j'ai installé postfix dovecot et spamassassin. Je n'arrive pas a passer avec procmail.
Des que je met :
mailbox_command = /sbin/procmail
dans main.cf
la conf de /home/toto/.procmailrc n'est pas pris en compte.
ci joint :
main.cf
[root@toto ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailbox_command = /sbin/procmail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, toto.test,
mydomain = toto.test
myhostname = www.toto.test
mynetworks = 192.168.1.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.5.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
master.cfsmtp inet n - n - - smtpd
#smtp inet n - - - - smtpd -o content_filter=spamassassin
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 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
spamassassin unix - n n - - pipe
user=nobody argv=/usr/bin/spamc -f -e /usr/sbin/sendmail.postfix -oi -f ${sender} ${recipient}
.procmailrc dans /home/totopour voir sir c'est pris en compte je fais juste une redirection et cela ne fonctionne pas.
:0
! tata@domaine2.test
ai-je oublier qq chose ou est-ce mal configurer ????Merci de m'aider ce serait sympas de votre part !
Evelyne.