Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TMDA mailserver problem!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
InVekz
n00b
n00b


Joined: 22 Mar 2003
Posts: 38

PostPosted: Sat Mar 22, 2003 8:39 am    Post subject: TMDA mailserver problem! Reply with quote

I have emerged tmda and done the things below but when someone sends me a mail they get another mail to confirm.

If i send remotely from invekz@roggentin.com to invekz@roggentin.com the mail sends away succesfully but never reaches invekz@roggentin.com thought when doing this i dont get any mail to confirm which i guess i shouldnt.

if you want to test just send a mail to invekz@roggentin.com

nano /etc/postfix/main.cf:
recipient_delimiter = +

tmda-keygen
mkdir /home/user/invekz/.tmda
nano /home/user/invekz/.tmda/crypt_key <-- i placed key in there
mkdir /home/user/invekz/.tmda/filters

nano /home/user/invekz/.tmda/filters/incoming ->
from-file /home/invekz/.tmda/lists/blacklist drop
from-file /home/invekz/.tmda/lists/whitelist_confirmed ok
from-file /home/invekz/.tmda/lists/whitelist ok

mkdir /home/invekz/.tmda/lists
their added so it looks like this
roggentin lists # ls
blacklist whitelist whitelist_confirmed
mkdir /home/invekz/.tmda/logs
now looks like:
roggentin .tmda # ls logs
debug incoming outgoing

cp ~/sample.conf /home/invekz/.tmda/config
nano /home/invekz/.tmda/config-->
MAIL_TRANSFER_AGENT = "postfix"
RECIPIENT_DELIMITER = "+"
DELIVERY = "/home/invekz/.maildir"
CONFIRM_APPEND = os.path.expanduser("~/.tmda/lists/whitelist_confirmed")
LOGFILE_DEBUG = os.path.expanduser("/home/invekz/.tmda/logs/debug")
LOGFILE_INCOMING = os.path.expanduser("/home/invekz/.tmda/logs/incoming")
LOGFILE_OUTGOING = os.path.expanduser("/home/invekz/.tmda/logs/outgoing")
FULLNAME = "Martin Roggentin"
HOSTNAME = "roggentin.com"

SMTPHOST="127.0.0.1"
FILTER_INCOMING = "/home/invekz/.tmda/filters/incoming"

nano /home/invekz/.forward ->
"| /usr/bin/tmda-filter"

_________
log example:
nano /home/invekz/.tmda/logs/incoming ->
Date: Sat Mar 22 01:05:38 CET 2003
From: Jens Vegeby <jens@vegeby.nu>
To: invekz@roggentin.com
Subj: Re: Please confirm your message
Actn: CONFIRM action_incoming (1612)

Date: Sat Mar 22 01:05:38 CET 2003
From: Jens Vegeby <jens@vegeby.nu>
To: invekz@roggentin.com
Subj: Re: Please confirm your message
Actn: CONFIRM pending 1048291538.28068.msg (1612)


a short copy of some entries from /var/log/mail/current

Mar 22 08:07:04 [postfix/smtpd] maps_find: 1048284263.26984.4972bc@roggentin.com: not found
Mar 22 08:07:04 [postfix/smtpd] dict_mysql_lookup using sql query: select destination from virtual where email = '1048284263.26984.4972bc'
Mar 22 08:07:04 [postfix/smtpd] dict_mysql: successful query from host unix:/var/run/mysqld/mysqld.sock
Mar 22 08:07:04 [postfix/smtpd] dict_mysql_lookup: retrieved 0 rows
Mar 22 08:07:04 [postfix/smtpd] maps_find: 1048284263.26984.4972bc: not found
Mar 22 08:07:04 [postfix/smtpd] dict_mysql_lookup using sql query: select destination from virtual where email = '@roggentin.com'
Mar 22 08:07:04 [postfix/smtpd] dict_mysql: successful query from host unix:/var/run/mysqld/mysqld.sock
Mar 22 08:07:04 [postfix/smtpd] dict_mysql_lookup: retrieved 0 rows
Mar 22 08:07:04 [postfix/smtpd] maps_find: @roggentin.com: not found
Mar 22 08:07:04 [postfix/smtpd] mail_addr_find: 1048284263.26984.4972bc@roggentin.com -> (not found)
Mar 22 08:07:04 [postfix/smtpd] dict_mysql_lookup using sql query: select destination from alias where alias = '1048284263.26984.4972bc@rog$
Mar 22 08:07:04 [postfix/smtpd] dict_mysql: attempting to connect to host unix:/var/run/mysqld/mysqld.sock
Mar 22 08:07:04 [postfix/smtpd] dict_mysql: successful connection to host unix:/var/run/mysqld/mysqld.sock
Mar 22 08:07:04 [postfix/smtpd] dict_mysql: successful query from host unix:/var/run/mysqld/mysqld.sock
Mar 22 08:07:04 [postfix/smtpd] dict_mysql_lookup: retrieved 0 rows
Mar 22 08:07:04 [postfix/smtpd] dict_mysql_lookup using sql query: select maildir from users where email = '1048284263.26984.4972bc@roggent$
Mar 22 08:07:04 [postfix/smtpd] dict_mysql: attempting to connect to host unix:/var/run/mysqld/mysqld.sock
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum