Re: [exim] /path/to/exim -oem -oi seems to be shot

Góra strony
Delete this message
Reply to this message
Autor: Todd Lyons
Data:  
Dla: The Doctor, 3328-138 Ave Edmonton AB T5Y 1M4, 669-2000, 473-4587
CC: exim-users
Temat: Re: [exim] /path/to/exim -oem -oi seems to be shot
All I can say is that the default mutt sendmail command for calling
exim is this:

set sendmail='/bin/bash -c bash /usr/sbin/sendmail -oem -oi -t'

A Linux Gazette article had this but it looks weird to me:

set sendmail='/bin/bash -c $1$IFS$2$IFS$3$IFS$4 bash
/usr/sbin/sendmail -oem -oi -t'

If it's not working for you the way you have it, then remove that -X
part and just try the default. You made the command complicated by
escaping the double quotes around the filename, when you could have
just used the single quote that would not require escaping, or no
quotes at all since there are no spaces.

...Todd


On Sun, May 4, 2014 at 10:51 AM, The Doctor,3328-138 Ave Edmonton AB
T5Y 1M4,669-2000,473-4587 <doctor@???> wrote:
>>
>> When I try to run that command from the commandline while cat'ing a
>> plain email to it, it simply fails. Add "-t" to that commandline,
>> then exim knows that you are passing the message to it on STDIN.
>>
>> ...Todd
>>
>>
>> On Sun, May 4, 2014 at 6:14 AM, The Doctor, 3328-138 Ave Edmonton AB
>> T5Y 1M4, 669-2000, 473-4587 <doctor@???> wrote:
>> >>
>> >> On 2014-05-02, The Doctor, 3328-138 Ave Edmonton AB T5Y 1M4, 669-2000, 473-4587 <doctor@???> wrote:
>> >>
>> >> > To debug mutt I used
>> >> >
>> >> > set sendmail="/usr/sbin/sendmail -oem -oi -d+all -X \"/var/log/sendmaildebug.log\" "
>> >> >
>> >> > in the Mutt.
>> >>
>> >> you'd need to be root to run that.
>> >>
>> >
>> > I was in root when that happened.
>> >
>> >> --
>> >> umop apisdn
>> >>
>> >>
>> >> --
>> >> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
>> >> ## Exim details at http://www.exim.org/
>> >> ## Please use the Wiki with this list - http://wiki.exim.org/
>> >>
>> >
>> >
>> > --
>> > ## List details at https://lists.exim.org/mailman/listinfo/exim-users
>> > ## Exim details at http://www.exim.org/
>> > ## Please use the Wiki with this list - http://wiki.exim.org/
>>
>
> And that still gives us
>
> 11:46:06  4788 Exim version 4.82 uid=0 gid=0 pid=4788 D=fffdffff
> Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
> Support for: crypteq iconv() use_setclassresources Expand_dlfunc OpenSSL
> +Content_Scanning DKIM Experimental_SPF Experimental_SRS Experimental_DMARC
> +Experimental_PRDR Experimental_TPDA
> Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz
> +dbmnz dnsdb dsearch passwd
> Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa
> Routers: accept dnslookup ipliteral manualroute queryprogram redirect
> Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
> Fixed never_users: 0
> Size of off_t: 8
> Compiler: GCC [3.2.2]
> Library version: OpenSSL: Compile: OpenSSL 1.0.2-beta2-dev xx XXX xxxx
>                           Runtime: OpenSSL 1.0.2-beta2-dev xx XXX xxxx
> Library version: Cyrus SASL: Compile: 2.1.26
>                              Runtime: 2.1.23 [Cyrus SASL]
> Library version: PCRE: Compile: 8.33
>                        Runtime: 8.32 2012-11-30
> 11:46:06  4788 Total 12 lookups
> WHITELIST_D_MACROS: "TLS:SPOOL"
> TRUSTED_CONFIG_LIST: "/usr/exim/trusted_configs"
> 11:46:06  4788 changed uid/gid: forcing real = effective
> 11:46:06  4788   uid=0 gid=0 pid=4788
> 11:46:06  4788   auxiliary group list: 0
> 11:46:06  4788 seeking password data for user "exim": cache not available
> 11:46:06  4788 getpwnam() succeeded uid=42 gid=42
> 11:46:06  4788 seeking password data for user "majordomo": cache not available
> 11:46:06  4788 getpwnam() succeeded uid=60 gid=1
> 11:46:06  4788 seeking password data for user "root": cache not available
> 11:46:06  4788 getpwnam() succeeded uid=0 gid=0
> 11:46:06  4791 changed uid/gid: calling tls_validate_require_cipher
> 11:46:06  4791   uid=42 gid=42 pid=4791
> 11:46:06  4791   auxiliary group list: 42
> 11:46:06  4791 tls_require_ciphers expands to "ALL : !SSLv2 : !LOW : !aNULL :
> +!eNULL : !3DES : @STRENGTH"

>>
>>
>> --
>> The total budget at all receivers for solving senders' problems is $0.
>> If you want them to accept your mail and manage it the way you want,
>> send it the way the spec says to. --John Levine
>>
>




--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine