Displaying 15 results from an estimated 15 matches for "modify_mailer_flags".
2010 Jul 12
3
deliver and root user
...this??
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
...
dnl ## Should I have "localhost.localdomain" here? It currently is not.
LOCAL_DOMAIN(`mydomain.com')
...
FEATURE(`local_procmail',
`/usr/libexec/dovecot/deliver',`/usr/libexec/dovecot/deliver -d $u')
MODIFY_MAILER_FLAGS(`LOCAL', `-f')
...
MAILER(smtp)
MAILER(procmail)
MAILER(local)
== END ==
== dovecot.conf ==
...
protocol lda {
??postmaster_address = postmaster at mydomain.com
??hostname = mydomain.com
}
== END ==
Any ideas, or do you need more information?
--
Thanks,
Brad Landis
2013 Aug 05
1
How to configure sendmail using dovecot lmtp
...I am particularly interested
on how to tell sendmail to ask dovecot to deliver the message to the user.
In the wiki for lda it says to add the following in the sendmail config:
FEATURE(`local_procmail',
`/usr/local/libexec/dovecot/deliver',`/usr/local/libexec/dovecot/deliver -d
$u')
MODIFY_MAILER_FLAGS(`LOCAL', `-f')
MAILER(procmail)
Is this the same for lmtp? If so how does it know when to use lda or lmtp?
Beside, is procmail playing any role in any of these? Can the I just replace
the whole thing as:
FEATURE(`local_lmtp',`/usr/local/libexec/dovecot/deliver',`/usr/local/libexec...
2011 Jun 27
1
Sendmail + dovecot-lda + LDAP
...orize through the client or web interface and get to my maildir.?
3. Now, i want my sendmail to accept mail for the account in LDAP database.
sendmail.mc:
++++++++++++++++++++++
FEATURE(`local_procmail', `/usr/local/libexec/dovecot/deliver',`/usr/local/libexec/dovecot/deliver -d $u')
MODIFY_MAILER_FLAGS(`LOCAL', `-f')
......................................
define(`confLDAP_DEFAULT_SPEC', `-h "localhost" -b "dc=mydomain,dc=ru" -d "cn=dovecot,ou=accounts,dc=mydomain,dc=ru" -MLDAP_AUTH_SIMPLE -P /etc/mail/ldap_pass')dnl
LDAPROUTE_DOMAIN(`mydomain.ru')...
2012 Dec 31
1
From Sendmail to Dovecot mdbox, what is missing.
...ied LMTP and dovecot-lda.
LMTP ? I could not see any difference with this added or not.
Dovecot-lda ? I have had issues getting it configured.
Thanks for any help!
Sendmail changes
FEATURE(`local_procmail', `/usr/libexec/dovecot/dovecot-lda',`/usr/libexec/dovecot/dovecot-lda -d $u')
MODIFY_MAILER_FLAGS(`LOCAL', `-f')
MAILER(procmail)dnl
Here is dovecot configuration
[root at nala mail]# dovecot -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-279.14.1.el6.x86_64 x86_64 Scientific Linux release 6.3 (Carbon)
auth_mechanisms = plain login
mail_gid = mail
mail_location = mdbox:~/mail...
2009 Feb 19
1
deliver
...this error
teststat deliver(usertest): net_connect(/var/run/dovecot/auth-master)
failed: Permission denied
stat=Deferred: local mailer (/usr/libexec/dovecot/deliver) exited with
EX_TEMPFAIL
on send mail I added
FEATURE(`local_procmail', `/usr/libexec/dovecot/deliver',`deliver -d $u')
MODIFY_MAILER_FLAGS(`LOCAL', `-f')
MAILER(procmail)dnl
I am using the nis, but I do not think that this is the problem since I am
able to login with imaps
# 1.0.5: /etc/dovecot.conf
protocols: imaps
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_location: maildir:/va...
2006 Jan 18
1
dovecot lda with sendmail
I'm trying to set up dovecot's deliver program as the lda for sendmail.
I seem to need a config file for it '/etc/dovecot-deliver.conf'. Is
there any documentation for this configuration file and it's contents?
sendmail will call it under the recipient's uid, and all it has to do is
drop the message into the proper maildir as defined in /etc/dovecot.conf
and update
2011 Jan 05
1
dovecot + sendmail, what LDA setup?
I have an existing setup with sendmail, dovecot, on debian.
I want to move LDA and move from using mbox to using
Maildir. I have only 'real' users and aliases, no virtual users.
What is a recommended, trouble free, LDA setup? procmail is
of course on possibility, but I'd be unlikely ever to use any of its
advanced features, just simple local mail delivery. I'd like to use
2007 Mar 30
2
Using Dovecot LDA with Sendmail
Hi all,
After looking at the LDA/Sendmail page in the dovecot wiki, I wanted
to contribute another method to easily configure Sendmail to use
deliver. Instead of adding a new mailer definition, as already
suggested, one can simply use the following line in their sendmail.mc
file instead:
FEATURE(`local_procmail', `/usr/libexec/dovecot/deliver', `deliver
-d $u',
2009 Jun 10
1
Sendmail + Deliver as an LDA
Need help with setup/config.
Current situation: (dovecot version : 1.1.7)
we have system users and virtual users. (with different domains)
Virtual users have procmail as LDA
Now we want "deliver" to become the LDA
I'm confused reading http://wiki.dovecot.org/LDA/Sendmail
sendmail.mc:
divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
2009 Feb 19
1
Sendmail + Deliver as an LDA probs
...-u testuser < testmail <-- he delivers my mail in
the correct mailbox as stated in my dovecot passdb file homedir.
So deliver is working fine !
----
I used the dovecot.m4 from wiki.dovecot.org/LDA/sendmail
sendmail.mc fragment (only lines affecting Local delivery) :
DOMAIN(`blaat')dnl
MODIFY_MAILER_FLAGS(`LOL', `-S')dnl
FEATURE(`local_procmail')dnl
define(`LOL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
dnl MAILER(`local')dnl
MAILER(`smtp')dnl
MAILER(`procmail')dnl
MAILER(`dovecot')dnl
dnl...
2011 Feb 14
1
Sendmail and Dovecot deliver (dovecot-lda)
Hi,
I have a Centos 5 system with sendmail running as my MTA.
Normally I note from sendmail logs that mails get delivered using the
'local' mailer.
I have therefore entered the following into my sendmail.mc file, from an
earlier post on this list:
define(`LOCAL_MAILER_PATH',`/usr/libexec/dovecot/deliver')
define(`LOCAL_MAILER_FLAGS',`DFMPhfnu9')
2015 Jan 18
2
sendmail not invoking dovecot-lda
.../Sendmail
also states that one could use these 3 statements in lieu of dovecot.m4
#
# this replaces sendmail.cf Mlocal P=mail.local with P=dovecot-lda
#
FEATURE(`local_procmail', `/usr/local/libexec/dovecot/dovecot-lda', \
`/usr/local/libexec/dovecot/dovecot-lda -d $u')
dnl MODIFY_MAILER_FLAGS(`LOCAL', `-f')
MAILER(procmail)
vi /etc/mail/mailertable
#
# cd /etc/mail && make && /etc/rc.d/sendmail restart
#
# make and restart sendmail after editing
#
virtualdomain.example.com vmail:vmail
# other options where sendmail still wasn't able to execute d...
2009 Oct 16
0
Sendmail and Dovecot Delivery to Virtual Users
...d
$u', `SPhnu9')dnl
FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
FEATURE(`accept_unresolvable_domains')dnl
LOCAL_DOMAIN(`mydomain.com')dnl
MODIFY_MAILER_FLAGS(`LOCAL', `-f')
MAILER(procmail)dnl
# 1.2.4: /etc/dovecot.conf
# OS: Linux 2.6.30.5-43.fc11.i586 i686 Fedora release 11 (Leonidas) ext4
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot-info.log
protocols: imap imaps
listen: localhost
login_dir: /var/run/dovecot/login
login_exe...
2007 Apr 14
3
LDA problem
...RE(`nouucp', `reject')dnl
FEATURE(`bestmx_is_local')dnl
FEATURE(`mailertable')dnl
FEATURE(`smrsh')dnl
FEATURE(`local_procmail',
`/usr/dovecot/libexec/dovecot/deliver',`deliver -d $u')
dnl # FEATURE(local_procmail)
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl
MODIFY_MAILER_FLAGS(`LOCAL', `-f')
MAILER(procmail)dnl
LOCAL_CONFIG
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
2015 Jan 26
0
sendmail not invoking dovecot-lda
...could use these 3 statements in lieu of dovecot.m4
>
> #
> # this replaces sendmail.cf Mlocal P=mail.local with P=dovecot-lda
> #
> FEATURE(`local_procmail', `/usr/local/libexec/dovecot/dovecot-lda', \
> `/usr/local/libexec/dovecot/dovecot-lda -d $u')
> dnl MODIFY_MAILER_FLAGS(`LOCAL', `-f')
> MAILER(procmail)
>
> vi /etc/mail/mailertable
> #
> # cd /etc/mail && make && /etc/rc.d/sendmail restart
> #
> # make and restart sendmail after editing
> #
> virtualdomain.example.com vmail:vmail
>
> # other optio...