|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: postfix not delivering to cyrus
From: Andreas Winkelmann (ml
awinkelmann.de)
Date: Sun Jun 25 2006 - 04:26:32 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am Sunday 25 June 2006 10:59 schrieb Ignacio Garcia:
> I am in the process of setting up a server with postfix and cyrus (+SASL)
> under SuSE 10.1 (we already have another one with SuSE 9.0 and works
> great). It's been 2 days and still delivering to cyrus does not work, it
> only delivers to /var/spool/mail using standard local delivery
Please show Logs. Grep for the QueueId in /var/log/mail.
> method/format. I have used both this entries
> mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
> mailbox_transport = cyrus
> and none has worked.
>
> I'm posting my main.cf and master.cf files in the hopes that someone could
> help me find the problem, because right now I just don't know what to do
> next...
>
> TIA
>
> Ignacio
>
> main.cf file:
Next time "postconf -n" instead.
> queue_directory = /var/spool/postfix
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> mail_owner = postfix
> default_privs = nobody
> myhostname = isp1.anfitrion.net
> mydomain = anfitrion.net
> myorigin = $mydomain
> inet_interfaces = all
> mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
> mail.$mydomain, www.$mydomain, ftp.$mydomain
> /etc/postfix/destinations
> mynetworks_style = class
> relay_domains = $mydomain, $myhostname, localhost.$mydomain,
> /etc/postfix/destinations
> mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
> #mailbox_transport = cyrus
> smtpd_banner = $myhostname ESMTP
> debugger_command =
> PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
> xxgdb $daemon_directory/$process_name $process_id & sleep 5
> sendmail_path = /usr/sbin/sendmail
> newaliases_path = /usr/bin/newaliases
> mailq_path = /usr/bin/mailq
> setgid_group = maildrop
> html_directory = /usr/share/doc/packages/postfix/html
> manpage_directory = /usr/share/man
> sample_directory = /usr/share/doc/packages/postfix/samples
> readme_directory = /usr/share/doc/packages/postfix/README_FILES
> inet_protocols = all
> biff = no
> mail_spool_directory = /var/mail
> canonical_maps = hash:/etc/postfix/canonical
> virtual_maps = hash:/etc/postfix/virtual
> relocated_maps = hash:/etc/postfix/relocated
> transport_maps = hash:/etc/postfix/transport
> sender_canonical_maps = hash:/etc/postfix/sender_canonical
> masquerade_exceptions = root
> masquerade_classes = envelope_sender, header_sender, header_recipient
> program_directory = /usr/lib/postfix
> masquerade_domains =
> defer_transports =
> disable_dns_lookups = no
> relayhost =
> mailbox_command =
> smtpd_client_restrictions =
> smtpd_helo_required = yes
> smtpd_helo_restrictions =
> strict_rfc821_envelopes = no
> maps_rbl_domains = relays.ordb.org, opm.blitzed.org, list.dsbl.org,
> sbl-xbl.spamhaus.org, cbl.abuseat.org, bl.spamcop.net
> smtpd_recipient_restrictions = permit_mynetworks, check_client_access,
> permit_sasl_authenticated, reject_maps_rbl, reject_unauth_destination
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_security_options = noanonymous
> broken_sasl_auth_clients = yes
> smtpd_use_tls = no
> smtp_use_tls = no
> alias_maps = hash:/etc/aliases
> mailbox_size_limit = 0
> message_size_limit = 20240000
> virtual_alias_maps = hash:/etc/virtusertable
> virtual_alias_domains = $virtual_alias_maps
> maildrop_destination_recipient_limit=1
>
>
> master.cf file:
>
> smtp inet n - n - - smtpd
> pickup fifo n - n 60 1 pickup
> cleanup unix n - n - 0 cleanup
> qmgr fifo n - n 300 1 qmgr
> rewrite unix - - n - - trivial-rewrite
> bounce unix - - n - 0 bounce
> defer unix - - n - 0 bounce
> trace unix - - n - 0 bounce
> verify unix - - n - 1 verify
> flush unix n - n 1000? 0 flush
> proxymap unix - - n - - proxymap
> smtp unix - - n - - smtp
> relay unix - - n - - smtp
> -o fallback_relay=
> showq unix n - n - - showq
> error unix - - n - - error
> discard unix - - n - - discard
> local unix - n n - - local
> virtual unix - n n - - virtual
> lmtp unix - - n - - lmtp
> anvil unix - - n - 1 anvil
> scache unix - - n - 1 scache
> maildrop unix - n n - - pipe
> flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
> cyrus unix - n n - - pipe
> user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m
> ${extension} ${user}
> 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=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
> $recipient
> procmail unix - n n - - pipe
> flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc
> ${sender} ${recipient}
--
Andreas
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]