10 msgMy Virtual users can't send messages to their o...
7 msgAND parameters of Postfix question ?
2 msgPx messing plain mail addresses, group members
4 msgno logs
8 msgmyhostname
1 msghow to manage destination status cache

Temporary failure with Postfix and Cyrus
\ Joerg Wicker (27 May 2007)
. \ Magnus Bäck (27 May 2007)

21 msg/usr/lib/sasl2 failed to open directory
1 msgCyrus and Postfix
3 msgreject_unknown_sender_domain problem
6 msgAutomatic message
14 msgmailbox_command prepends a 'From ' ?
3 msgvirtual and lmtp for virtual hosting
10 msgStill problems..
4 msgDouble transport
2 msgMUA with SSL/TLS Client Certificate support (SO...
3 msgRegarding S/MIME Messages
17 msgaddress_verify_sender
10 msgQuestion about Logs
9 msgproblem with bad syntax and Outlook 2007
Subject:Temporary failure with Postfix and Cyrus
Group:Postfix-users
From:Joerg Wicker
Date:27 May 2007


 
Hi everybody,

a friend of mine asked me to look at his mail server as he is on
holiday at the moment. The users don't receive emails at the moment,
postfix returns temporary failure when trying to deliver. He told me
everything worked correctly until cyrus went out of disk space. This
seems to happen frequently on this server, a new server is already
ordered. He cleaned up the disk and restarted postfix and cyrus but
this time the mails are not delievered any more. Postfix says "mail
deferred" and "temporary failure". I searched the last few days but
couln't find anything that helped.

Below are the log messages and configuration. Hope I didn't forget
anything. Any ideas?

Thanks for your help,

Joerg


The log messages:

/var/log/mail:

May 24 09:35:38 cleopatra postfix/qmgr[9550]: C23486D6:
from=<abc>, size=11516, nrcpt=1 (queue
active)
May 24 09:35:38 cleopatra postfix/pipe[9580]: AC50E620:
to=<abc>, relay=cyrus, delay=141980,
status=deferred (temporary failure)

and so on.

/var/log/cyrus-imap/imapd.log:

May 24 09:35:48 cleopatra lmtpd[9816]: lmtp connection preauth'd as
postman
May 24 09:35:48 cleopatra lmtpd[9734]: accepted connection

repeated thousand times.

The config:


/etc/postfix/master.cf

smtp inet n - n - - smtpd
pickup unix n n n 60 1 pickup
cleanup unix - - n - 0 cleanup
qmgr unix n - n 300 1 qmgr
tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix - - n 1000? 0 flush
smtp unix - - n - - smtp
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
lmtp unix - - n - - lmtp
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/cyrus/bin/deliver -e -m ${extension}
${user} uucp unix - n n - - pipe
flags=F 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=F. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient vscan unix - n n - - pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=cyrus argv=/usr/bin/procmail -t -m USER=${user}
EXT=${extension} /etc/procmailrc


/etc/postfix/main.cf

queue_directory = /var/spool/postfix
program_directory = /usr/lib/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
default_privs = nobody
myhostname = [domain]
mydomain = [domain]
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, $mydomain,
[domain] canonical_maps = hash:/etc/postfix/canonical
transport_maps = hash:/etc/postfix/transport
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mailbox_transport = cyrus
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10
debug_peer_level = 2
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
message_size_limit = 10240000
mail_spool_directory = /var/mail
mail_name = Postfix on linux 7.3 (i386)
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
smtpd_sender_restrictions = hash:/etc/postfix/access
masquerade_exceptions = root
defer_transports =
disable_dns_lookups = no
relayhost =
masquerade_domains = [domain]


/etc/cyrus.conf

START {
mboxlist cmd="ctl_mboxlist -r"
deliver cmd="ctl_deliver -r"
}
SERVICES {
imap cmd="imapd" listen="imap" prefork=0
lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1
}
EVENTS {
checkpoint cmd="ctl_mboxlist -c" period=30
delprune cmd="ctl_deliver -E 3" period=1440
}






© 2004-2008 readlist.com