Jesse Norell wrote:
Hello,
Sounds like postfix isn't handing the mail off to dbmail;
the mail(1) program reads local mbox files, so if your mail
shows up there, then it's not in the dbmail's database.
This was another question to be asked. I had assumed that mailbox should
be empty,
and all mails directly saved in the database.
Since all my incoming mails sit in the mailbox, therefore I am in
trouble !:(.
Are you running a public mail server, eg. using a dynamic
dns service, and accepting mail for a domain? If so, postfix
should be setup with a dbmail transport (in transports file) for
that domain (see install file for specifics), and you need to
define that transport in master.cf. Also make sure you're using
the transports file (it may be commented out of main.cf by
default .. never used a Suse distro) and that you've run
"postmap transport".
I'm using a dynamic ip from dyndns.org, but my server is on my own
computer at home.
After Keith's message, I had re-checked master.cf, dbmail.conf, and main.cf.
Everything looks normal to me.
If you still don't have it working (and maybe have reviewed the
install instructions again), post the relative sections from your
postfix config files to the list here.
I think this will be a better method! I'll include the active parts of
the configuration files at
the end of this message.
Thanks a lot.
Jn
---- Original Message ----
From: Ahmet Aksoy <dbmail@dbmail.org>
To: dbmail@dbmail.org
Subject: [Dbmail] Cannot direct mails to db
Sent: Sat, 13 Nov 2004 10:31:39 +0200
Hi,
I'm new to the list, and dbmail.
I tried to configure my system with Suse 9.1, postfix, and mysql 4.0.18.
I have a dynamic ip address.
I followed the required steps in the INSTALL document.
Everything looks normal, but my incoming mails (both from local, and
remote)
don't go to the database.
I can reach them with mail or pine.
What should I do?
Ahmet Aksoy
# master.cf
# ==========================================================================
smtp inet n - n - 2 smtpd -o
content_filter=smtp:[localhost]:10024
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
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
smtp unix - - n - - smtp
relay unix - - n - - smtp
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
localhost:10025 inet n - n - - smtpd -o content_filter=
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m
${extension} ${user}
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=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc
${sender} ${recipient}
dbmail unix - n n - - pipe
flags= user=dbmail:dbmail argv=/usr/local/sbin/dbmail-smtp -d
$(recipient)
----------------------------------------
# main.cf
#
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = susak.axtel.dyndns.org
program_directory = /usr/lib/postfix
mydomain = axtel.dyndns.org
myorigin = $mydomain
mynetworks = 127.0.0.0/24, 192.168.0.0/24
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname,localhost.$mydomain,$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
content_filter = vscan:
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
-------------------------------------
# Server details
My domain name is: axtel.dyndns.org
Computer name is: susak
Testing user name : root