|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: [Postfix-Users] Junk & Draft Directory
From: Num ber (number_85_
hotmail.com)
Date: Tue Mar 21 2006 - 01:58:36 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have seen on the config file they have fallback_transport,
virtual_transport and mailbox_command
i have this on my config file :
postconf -n
_____________________________________
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
local_destination_concurrency_limit = 1
local_header_rewrite_clients = permit_inet_interfaces
mail_owner = postfix
mailbox_command = maildrop
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = soez.be
myhostname = mail.soez.be
mynetworks = 127.0.0.0/8, 192.168.1.0/24
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
relay_domains = $mydestination
relayhost = smtp.tele2.be
sample_directory = /etc/postfix
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_recipient_restrictions = permit_mynetworks,reject_non_fqdn_recipient,
check_client_access hash:/etc/postfix/pop-before-smtp,
reject_unauth_destination
transport_maps = mysql:/etc/postfix/transport.cf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/virtual.cf
virtual_gid_maps = mysql:/etc/postfix/gids.cf
virtual_mailbox_base = /
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virt.cf
virtual_transport = maildrop
virtual_uid_maps = mysql:/etc/postfix/uids.cf
______________________________________________
But on no mail was receive by maildrop...
It's a problem from postfix or maildrop ??
I'm going to school good morning
>>The "standard" way is to use maildrop or procmail.
>
>I try to use MailDrop and i have do this:
>
>in /etc/postfix/main.cf :
>
>maildrop_destination_recipient_limit=1
>mailbox_command = maildrop
>virtual_transport = maildrop
>
>in /etc/postfix/master.cf
>maildrop unix - n n - - pipe
> flags=Ru user=vmail argv=/usr/local/bin/maildrop -d vmail ${user}
>
>i have create a maildroprc file with this :
>
>__________________________________________________________
>maildirmake=/usr/local/bin/maildirmake
>MAILDIR=$DEFAULT
>JUNK_FOLDER=.Junk
>
>_JUNK_DEST=$MAILDIR/$JUNK_FOLDER/
>
>#automatically create the Junk folder
>`test -d $_JUNK_DEST`
>if ($RETURNCODE != 0 )
>{
> `$maildirmake $_JUNK_DEST`
> # auto subscribe. the following works for courier-imap
> #`echo INBOX.Junk >> $MAILDIR/courierimapsubscribed`
>}
>...
>if (/^X-Spam-Flag:\s*YES/)
>{
> exception {
> to "$_JUNK_DEST";
> }
>}
>
>if (/^X-Sender: test
soez.be/)
>{
> exception {
> to "$MAILDIR/.Trash";
> }
>}
>__________________________________________________________
>
>But i don't see anything on /var/log/maillog (About Maildrop) :
>__________________________________________________________
>Mar 20 12:15:41 numberfixe postfix/master[10642]: reload configuration
>/etc/postfix
>Mar 20 12:15:59 numberfixe postfix/smtpd[10672]: connect from
>bay109-f2.bay109.hotmail.com[64.4.19.12]
>Mar 20 12:16:00 numberfixe postfix/smtpd[10672]: A04C849DCD7:
>client=bay109-f2.bay109.hotmail.com[64.4.19.12]
>Mar 20 12:16:01 numberfixe postfix/cleanup[10680]: A04C849DCD7:
>message-id=<BAY109-F295D4DA40025F1C7E73AAC1DB0
phx.gbl>
>Mar 20 12:16:01 numberfixe postfix/qmgr[10652]: A04C849DCD7:
>from=<number_85_(at)hotmail.com>, size=1078, nrcpt=1 (queue active)
>Mar 20 12:16:01 numberfixe postfix/smtpd[10672]: disconnect from
>bay109-f2.bay109.hotmail.com[64.4.19.12]
>Mar 20 12:16:03 numberfixe postfix/cleanup[10680]: 61E2749DD00:
>message-id=<BAY109-F295D4DA40025F1C7E73AAC1DB0
phx.gbl>
>Mar 20 12:16:03 numberfixe postfix/qmgr[10652]: 61E2749DD00:
>from=<number_85_(at)hotmail.com>, size=1706, nrcpt=1 (queue active)
>Mar 20 12:16:03 numberfixe amavis[27607]: (27607-10) Passed CLEAN,
>[64.4.19.12] [64.4.19.200] <number_85_(at)hotmail.com> ->
><number(at)soez.be>, Message-ID:
><BAY109-F295D4DA40025F1C7E73AAC1DB0
phx.gbl>, mail_id: 6Kh1pogM+gb5, Hits:
>1.691, 2365 ms
>Mar 20 12:16:03 numberfixe postfix/smtpd[10693]: disconnect from
>numberfixe[127.0.0.1]
>Mar 20 12:16:03 numberfixe postfix/smtp[10682]: A04C849DCD7:
>to=<number(at)soez.be>, relay=127.0.0.1[127.0.0.1], delay=3, status=sent
>(250 2.6.0 Ok, id=27607-10, from MTA([127.0.0.1]:10025): 250 Ok: queued as
>61E2749DD00)
>Mar 20 12:16:03 numberfixe postfix/qmgr[10652]: A04C849DCD7: removed
>Mar 20 12:16:03 numberfixe postfix/virtual[10694]: 61E2749DD00:
>to=<number(at)soez.be>, relay=virtual, delay=0, status=sent (delivered to
>maildir)
>Mar 20 12:16:03 numberfixe postfix/qmgr[10652]: 61E2749DD00: removed
>__________________________________________________________
>
>I'm have Amavisd with postfix..
>The mail was receive by Postfix, send to amavisd, and return to postfix..
>Could you say-me why postfix don't use Maildrop ?
>
>Thanks
_________________________________________________________________
Protégez votre boîte de réception: Phishing : comment l'identifier, le
signaler et l'empêcher http://www.fr.msn.be/security/phishing/
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]