Re: [Exim] Problems with exim and Cyrus

Página Inicial
Delete this message
Reply to this message
Autor: Peter Burggraef
Data:  
Para: Oliver Eikemeier, Exim Mailinglist
Assunto: Re: [Exim] Problems with exim and Cyrus
>
> > couldn't connect to lmtpd: No such file or directory
> > 421 4.3.0 deliver: couldn't connect to lmtpd
>
> This is not an exim error, deliver (from the Cyrus IMAPd distribution) is
> not working properly.
> Check your Cyrus IMAPd configuration:
>
> - does the lmtpd socket (defined as lmtpsocket: /var/imap/socket/lmtp in
> imapd.conf) exist? - is lmtpd running?


Yes, socket exists. And normally it works fine for some days. Could it be that
lmtpd crashes after some time and exim is not able to delivere via cyrus? But
I thought that exim tryies it several times? Is it possible to define an
alternative transport, which is used when lmtpd had crached?

Please have a look at my transport configuration. Perhaps you have some
improvements for me.

Thank you!!!
Peter


######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################


# This transport is used for local delivery to user mailboxes. On debian
# systems group mail is used so we can write to the /var/spool/mail
# directory. (The alternative, which most other unixes use, is to deliver
# as the user's own group, into a sticky-bitted directory)

#local_delivery:
# driver = appendfile
# group = mail
# mode = 0660
# mode_fail_narrower = false
# envelope_to_add = true
# return_path_add = true
# file = /var/spool/mail/${local_part}

#hier ist meine Zeile für Cyrus
local_delivery:
driver = pipe
command = "/usr/sbin/cyrdeliver -m peter peter"
return_path_add
return_output
prefix = ""
user = cyrus




# This transport is used for handling pipe addresses generated by
# alias or .forward files. If the pipe generates any standard output,
# it is returned to the sender of the message as a delivery error. Set
# return_fail_output instead if you want this to happen only when the
# pipe fails to complete normally.

address_pipe:
driver = pipe
path = /usr/bin:/bin:/usr/local/bin
return_output

# This transport is used for handling file addresses generated by alias
# or .forward files.

address_file:
driver = appendfile
envelope_to_add = true
return_path_add = true

# This transport is used for handling file addresses generated by alias
# or .forward files if the path ends in "/", which causes it to be treated
# as a directory name rather than a file name. Each message is then delivered
# to a unique file in the directory. If instead you want all such deliveries
to
# be in the "maildir" format that is used by some other mail software,
# uncomment the final option below. If this is done, the directory specified
# in the .forward or alias file is the base maildir directory.
#
# Should you want to be able to specify either maildir or non-maildir
# directory-style deliveries, then you must set up yet another transport,
# called address_directory2. This is used if the path ends in "//" so should
# be the one used for maildir, as the double slash suggests another level
# of directory. In the absence of address_directory2, paths ending in //
# are passed to address_directory.

address_directory:
driver = appendfile
no_from_hack
prefix = ""
suffix = ""
# maildir_format

# This transport is used for handling autoreplies generated by the filtering
# option of the forwardfile director.

address_reply:
driver = autoreply

# This transport is used for procmail

#procmail_pipe:
# driver = pipe
# command = "/usr/bin/procmail"
# return_path_add
# delivery_date_add
# envelope_to_add
# check_string = "From "
# escape_string = ">From "
# suffix = ""

#hier habe ich eine Zeile eingefuegt für den
#smtp server ich weiss nicht, ob es klappt

remote_smtp:
driver = smtp
authenticate_hosts = mail.gmx.net:mail.tal.de