Search the web
Sign In
New User? Sign Up
postfix-users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: Maildir Delivery Problem   Message List  
Reply | Forward Message #186730 of 260491 |
Maildir Delivery Problem

Hi list,

I need any help with Maildir delivery process. When a message is received It
isn´t delivered to Maildir, but It is send back to sender and postfix log It
as success process. See the log below:

Nov 22 16:12:41 gaia postfix/smtp[12696]: 67C304C09C:
to=<sergio.ferreira@...>, relay=mx1.minc.gov.br[200.198.204.69],
delay=0,

status=sent (250 Requested mail action okay, completed.)

The message into (brackets) above should be "delivered to maildir" instead
of (250 .....)

I belive there is an configuration error with Postfix setup. I am guessing,
perhaps with the path of user Maildir. It is stored at LDAP directory in the
"mailMessageStore" attribute (/home/vmail/"username"/Maildir).

My setup involves Postfix + LDAP + Courier IMAP + Courier Maildrop + Virtual
Domains.

I pasted the main.cf below:

myhostname = localhost
mydomain = cultura.gov.br
mynetworks = 10.0.0.0, 127.0.0.0
inet_interfaces = all
alias_maps = ldap:ldapalias
recipient_delimiter = +
virtual_mailbox_base = /
virtual_mailbox_maps = ldap:ldapvirtual
virtual_uid_maps = static:10010
virtual_gid_maps = static:15000
virtual_minimum_uid = 10000
virtual_alias_maps = ldap:ldapalias
virtual_mailbox_domains = $mydomain monumenta.gov.br
ldapvirtual_server_host = $myhostname
ldapvirtual_server_port = 389
ldapvirtual_bind = yes
ldapvirtual_bind_dn = cn=admin,dc=cultura,dc=gov,dc=br
ldapvirtual_bind_pw = temppass
ldapvirtual_search_base = ou=Users,dc=cultura,dc=gov,dc=br
ldapvirtual_query_filter = (&(|(mail=%s)(mailAlternateAddress=%s)))
ldapvirtual_result_attribute = mailMessageStore
virtual_alias_domains = $virtual_alias_maps
virtual_maps = ldap:ldapalias
ldapalias_server_host = $myhostname
ldapalias_server_port = 389
ldapalias_bind = yes
ldapalias_bind_dn = cn=replica,dc=cultura,dc=gov,dc=br
ldapalias_bind_pw = temppass
ldapalias_search_base = ou=Users,dc=cultura,dc=gov,dc=br
ldapalias_query_filter = (&(|(mail=%s)(mailAlternateAddress=%s)))
ldapalias_result_attribute = mail
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
local_recipient_maps = $alias_maps
home_mailbox = Maildir/
mailbox_command = /usr/bin/maildrop
mailbox_transport = maildrop
fallback_transport = maildrop
virtual_transport = maildrop
maildrop_destination_recipient_limit = 1

and master.cf:


smtp inet n - - - - smtpd -v
pickup fifo n - - 60 1 pickup -v
cleanup unix n - - - 0 cleanup -v
qmgr fifo n - - 300 1 qmgr -v
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce -v
defer unix - - - - 0 bounce -v
trace unix - - - - 0 bounce -v
verify unix - - - - 1 verify -v
flush unix n - - 1000? 0 flush -v
proxymap unix - - n - - proxymap -v
smtp unix - - - - - smtp -v
relay unix - - - - - smtp -v
showq unix n - - - - showq -v
error unix - - - - - error -v
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
maildrop unix - n n - - pipe -v
flags=DRhu user=mailadmin argv=/usr/bin/maildrop -d ${user}@${nexthop}
${extension} ${recipient} ${user} ${nexthop}
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender
$recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
${nexthop} ${user} ${extension}


Thanks,

Sergio




Tue Nov 22, 2005 7:01 pm

sergio.ferreira@...
Send Email Send Email

Forward
Message #186730 of 260491 |
Expand Messages Author Sort by Date

On Tue, 22 Nov 2005 17:01:00 -0200 ... Try /home/vmail/"username"/Maildir/ - note the final '/'. -- Due to excessive spam as a result of archiving of this...
Keith Matthews
postfix@...
Send Email
Nov 22, 2005
7:11 pm

Hi list, I need any help with Maildir delivery process. When a message is received It isn´t delivered to Maildir, but It is send back to sender and postfix...
Sérgio Ferreira
sergio.ferreira@...
Send Email
Nov 22, 2005
7:27 pm

... Postfix doesn't work that way. Check your logs to see what happened with 67C304C09C Show complete logs for a delivery of a mail that should go to a local ...
Ralf Hildebrandt
Ralf.Hildebrandt@...
Send Email
Nov 22, 2005
7:32 pm

Hi Ralf, ... I thought that because I changed the transport either virtual or local and the output was like I wrote above. ... Below, It is the log concerning...
Sérgio Ferreira
sergio.ferreira@...
Send Email
Nov 22, 2005
7:53 pm

... There's your problem maildrop doesn't know the user. -- Ralf Hildebrandt (Ralf.Hildebrandt@...) spamtrap@... Postfix - Einrichtung,...
Ralf Hildebrandt
Ralf.Hildebrandt@...
Send Email
Nov 22, 2005
9:29 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help