Cyrus deliver command
How can a person set the Subject and X- headers in an email using deliver. Suppose I need to have an email as formatted below delivered to a users mailbox. Can I just cat a file containing this text and pipe it to deliver? Thx From: "Outlook Sync" <> Subject: Hidden synchronization message X-Priority: 3 X-Library: Bynari Insight Server 4.2 X-Bynari-Folder-Class: IPF.Appointment This message contains data necessary to synchronize this folder with Outlook. Please do not delete. NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
append_at_myorigin used too many times
Hello. I am using Postfix and Cyrus on Debian stable. When Postfix receives a message for my destination it will ask MySQL for a username. The username that MySQL returns is in the form user.domain.tld After that it seems that postfix appends @$myorigin and when asking Cyrus if this user exist, Cyrus says no. I guess I should put append_at_myorigin=no somewhere. Where should I put that, or is something else wrong? # == # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (50) # == smtp inet n - - - - smtpd # -o content_filter=smtp-amavis:[127.0.0.1]:10024 #628 inet n - - - - qmqpd pickupfifo n - - 60 1 pickup cleanup unix n - - - 0 cleanup qmgr fifo n - - 300 1 qmgr #qmgr fifo n - - 300 1 nqmgr rewrite unix - - - - - trivial-rewrite bounceunix - - - - 0 bounce defer unix - - - - 0 bounce flush unix n - - 1000? 0 flush smtp unix - - - - - smtp showq unix n - - - - showq error unix - - - - - error local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp # # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # The Cyrus deliver program has changed incompatibly. # cyrus unix - n n - - pipe flags= user=cyrus argv=/usr/sbin/cyrdeliver -r ${sender} -m ${extension} ${user} # flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmailunix - 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} # only used by postfix-tls #smtpsinet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes #587 inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes 127.0.0.1:10025 inetn - y - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes smtp-amavis unix- - y - 2 smtp -o smtp_data_done_timeout=1200 -o disable_dns_lookups=yes #smtp-amavis unix- - y - 2 lmtp # -o lmtp_data_done_timeout=1200 # -o lmtp_send_xforward_command=yes proxymap unix - - n - - proxymap trace unix - - - - 0 bounce verifyunix - - - - 1 verify #policy unix- n n - - spawn # user=nobody argv=/usr/bin/spfquery -sender=${sender} -helo= policy unix- n n - - spawn user=nobody argv=/usr/bin/perl /usr/lib/postfix/smtpd-policy.pl relay unix - - n - - smtp # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 # see /usr/share/postfix/main.cf.dist for a commented, fuller # version of this file. soft_bounce = yes # Do not change these directory settings - they are critical to Postfix # operation. command_directory = /usr/sbin daemon_directory = /usr/lib/postfix program_directory = /usr/lib/postfix smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) setgid_group = postdrop biff = no owner_request_special = no # appending .domain is the MUA's job. append_dot_mydomain = no #append_at_myorigin = no myhostname = mail.xxx.dk alias_maps = hash:/etc/aliases alias_database = $alias_maps #myorigin = /etc/mailname myorigin = $myhostname mydestination = localhost.
Re: Sieve authentication failure
On Mon, 2005-12-05 at 16:20 +0200, Paul-Erik Törrönen wrote: > But sivtest fails: > $ sivtest -a poltsi localhost > S: "IMPLEMENTATION" "Cyrus timsieved v2.2.12-Invoca-RPM-2.2.12-6.fc4" > S: "SASL" "PLAIN" > S: "SIEVE" "fileinto reject envelope vacation imapflags notify > subaddress relational comparator-i;ascii-numeric regex" > S: "STARTTLS" > S: OK > Please enter your password: > C: AUTHENTICATE "PLAIN" {28+} > > S: NO "Authentication Error" > > As do sieveshell: > > $ sieveshell -u poltsi -a poltsi localhost > connecting to localhost > Please enter your password: > unable to connect to server at /usr/bin/sieveshell line 169, > line 1. Ok, I've gotten a step further, the sivtest works when I give the full [EMAIL PROTECTED] in the -a parameter, but the same does not work with the sieveshell, it barfs with the same error as above. Any help? Poltsi Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html