hi i use
mandrake 10, Courier IMAP, spamassassin, Postfix version 2.1.1
i try to send message but it don't work
i able with a user to create folder.... with imap...
but not to send message.... i wait, wait.... but the message are never sending
many config file
postfix file
/etc/postfix/main.cf
Code:
readme_directory = /usr/share/doc/postfix-2.1.1/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.1/samples
html_directory = /usr/share/doc/postfix-2.1.1/html
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
# User configurable parameters
myhostname = localhost
mydestination = $myhostname, localhost.$mydomain, localhost $mydomain
#mynetworks = 134.200.170..
mynetworks_style = host
#inet_interfaces = localhost
home_mailbox = Maildir/
mail_spool_directory = /var/spool/mail
alias_maps = hash: /etc/postfix/aliases
mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
debug_peer_level = 1
sendmail_path = /usr/sbin/sendmail.postfix
delay_warning_time = 4h
mynetworks_style = host
delay_warning_time = 4h
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
smtpd_helo_required = yes
procmailrc file
/etc/procmailrc/
Code:
:0fw
| /usr/bin/spamassassin
:0
* ^X-Spam-Status: Yes
spam
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
VERBOSE=On
the aliases file
/etc/aliases
Code:
root: postfix
# Note to the user: You must create the alias above!
# The root alias *must* exist under postfix because
# postfix runs as a non-privileged user and cannot
# touch a spool file which is UID/GID root
# The mapping to the postfix user is to ensure that root's mail
# doesn't get lost on a system installed out of the box.
a358747: martin.fournier
EngStud2: stagiaire
spam: root
ham: root
i type newaliases
after i checked the size of aliases and aliases db
Code:
)) ls -s /etc/aliases.db
0 /etc/aliases.db@
)) ls -s /etc/aliases
0 /etc/aliases@
)) ls -s /etc/aliases
0 /etc/aliases@
)) ls -s /etc/aliases
0 /etc/aliases@
service who run
Code:
)) nmap localhost
Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-09-09 11:38 EDT
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1629 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
3/tcp open compressnet
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
53/tcp open domain
80/tcp open http
98/tcp open linuxconf
111/tcp open rpcbind
139/tcp open netbios-ssn
143/tcp open imap
389/tcp open ldap
445/tcp open microsoft-ds
512/tcp open exec
513/tcp open login
514/tcp open shell
515/tcp open printer
636/tcp open ldapssl
862/tcp open unknown
873/tcp open rsync
890/tcp open unknown
901/tcp open samba-swat
951/tcp open unknown
993/tcp open imaps
1521/tcp open oracle
2049/tcp open nfs
2401/tcp open cvspserver
3000/tcp open ppp
3306/tcp open mysql
10000/tcp open snet-sensor-mgmt
the log error
/var/log/mail/errors
Code:
Sep 9 11:30:04 Linux-SV1 postfix/local[22582]: fatal: open database .db: No such file or directory
Sep 9 11:30:08 Linux-SV1 postfix/smtpd[22594]: fatal: open database .db: No such file or directory
Sep 9 11:31:05 Linux-SV1 postfix/local[22605]: fatal: open database .db: No such file or directory
Sep 9 11:31:09 Linux-SV1 postfix/smtpd[22606]: fatal: open database .db: No such file or directory
Sep 9 11:32:06 Linux-SV1 postfix/local[22618]: fatal: open database .db: No such file or directory
Sep 9 11:32:10 Linux-SV1 postfix/smtpd[22619]: fatal: open database .db: No such file or directory
Sep 9 11:32:58 Linux-SV1 postfix[22629]: fatal: usage: postfix [-c config_dir] [-Dv] command
Sep 9 11:33:07 Linux-SV1 postfix/local[22632]: fatal: open database .db: No such file or directory
Sep 9 11:33:11 Linux-SV1 postfix/smtpd[22633]: fatal: open database .db: No such file or directory
Sep 9 11:34:08 Linux-SV1 postfix/local[22643]: fatal: open database .db: No such file or directory
Sep 9 11:34:12 Linux-SV1 postfix/smtpd[22644]: fatal: open database .db: No such file or directory
Sep 9 11:35:09 Linux-SV1 postfix/local[22728]: fatal: open database .db: No such file or directory
Sep 9 11:35:13 Linux-SV1 postfix/smtpd[22795]: fatal: open database .db: No such file or directory
Sep 9 11:36:10 Linux-SV1 postfix/local[22806]: fatal: open database .db: No such file or directory
Sep 9 11:36:14 Linux-SV1 postfix/smtpd[22807]: fatal: open database .db: No such file or directory
Sep 9 11:37:11 Linux-SV1 postfix/local[22822]: fatal: open database .db: No such file or directory
Sep 9 11:37:15 Linux-SV1 postfix/smtpd[22823]: fatal: open database .db: No such file or directory
Sep 9 11:38:12 Linux-SV1 postfix/local[22848]: fatal: open database .db: No such file or directory
Sep 9 11:38:16 Linux-SV1 postfix/smtpd[22849]: fatal: open database .db: No such file or directory
Sep 9 11:39:07 Linux-SV1 imapd: Failed to create cache file: maildirwatch (EngStud2)
Sep 9 11:39:07 Linux-SV1 imapd: Error: Input/output error
Sep 9 11:39:07 Linux-SV1 imapd: Check for proper operation and configuration
Sep 9 11:39:07 Linux-SV1 imapd: of the File Access Monitor daemon (famd).
Sep 9 11:39:13 Linux-SV1 postfix/local[22858]: fatal: open database .db: No such file or directory
Sep 9 11:39:17 Linux-SV1 postfix/smtpd[22860]: fatal: open database .db: No such file or directory
any idea?