LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-09-2004, 12:32 PM   #1
os2
Member
 
Registered: Dec 2003
Location: Canada
Distribution: openSUSE Tumbleweed
Posts: 209

Rep: Reputation: 30
problem to send email...


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?
 
Old 09-10-2004, 03:15 PM   #2
os2
Member
 
Registered: Dec 2003
Location: Canada
Distribution: openSUSE Tumbleweed
Posts: 209

Original Poster
Rep: Reputation: 30
in console mode when i do:

Code:
mail -v EngStud2@linux-sv1.val.goodyear.com
Subject: test
test
.
CC
i get:

Code:
) tail /var/log/mail/info
Sep 10 16:09:18 Linux-SV1 postfix/qmgr[10148]: 22B463005A: from=<root@linux-sv1.val.goodyear.com>, size=792, nrcpt=1 (queue active)
Sep 10 16:09:19 Linux-SV1 postfix/pickup[10927]: B0F0E3005B: uid=0 from=<root>
Sep 10 16:09:19 Linux-SV1 postfix/cleanup[12493]: B0F0E3005B: message-id=<20040910200919.B0F0E3005B@linux-sv1.val.goodyear.com>
Sep 10 16:09:19 Linux-SV1 postfix/qmgr[10148]: B0F0E3005B: from=<root@linux-sv1.val.goodyear.com>, size=788, nrcpt=1 (queue active)
Sep 10 16:09:20 Linux-SV1 postfix/pickup[10927]: 7ADA53005C: uid=0 from=<root>
Sep 10 16:09:20 Linux-SV1 postfix/cleanup[12512]: 7ADA53005C: message-id=<20040910200920.7ADA53005C@linux-sv1.val.goodyear.com>
Sep 10 16:09:20 Linux-SV1 postfix/qmgr[10148]: 7ADA53005C: from=<root@linux-sv1.val.goodyear.com>, size=792, nrcpt=1 (queue active)
Sep 10 16:09:34 Linux-SV1 postfix/pickup[10927]: 0668C3005D: uid=7257 from=<EngStud2>
Sep 10 16:09:34 Linux-SV1 postfix/cleanup[12493]: 0668C3005D: message-id=<20040910200934.0668C3005D@linux-sv1.val.goodyear.com>
Sep 10 16:09:34 Linux-SV1 postfix/qmgr[10148]: 0668C3005D: from=<EngStud2@linux-sv1.val.goodyear.com>, size=372, nrcpt=1 (queue active)
mail writed in console mode go to the mailq.... when i use kmail or mozilla, i don't see theses emails?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
email 'send' NO - email 'receive' YES..? captain skywave Linux - Wireless Networking 4 04-23-2005 03:35 AM
email 'send' YES - email 'receive' NO..? captain skywave Linux - Wireless Networking 1 04-22-2005 05:23 AM
slack store email problem. cant send to them. xushi Slackware 4 04-14-2004 02:25 PM
why I cant I send email? Brother Michael Linux - Newbie 5 12-19-2003 08:38 AM
Allowing an IP to send email using my email server... culprit Linux - Networking 7 09-09-2003 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration