1 |
On Sun, 04 Dec 2016 14:09:39 -0500, |
2 |
Harry Putnam wrote: |
3 |
> |
4 |
> After setting up the files for sendmail on my first attempt at |
5 |
> sending a msg I get this error as reported in the smtp conversation: |
6 |
> |
7 |
> Temporary system failure |
8 |
> |
9 |
> That is a new one to me, and doesn't give much to start on. |
10 |
> |
11 |
> It appears not to even get past the submit agent. |
12 |
> |
13 |
> (Running a little script that uses mailx in verbose mode to capture |
14 |
> the action .. Runs the mailx command as shown below: |
15 |
> |
16 |
> harry > tmail hputnam3@×××××.com |
17 |
> sending like this: |
18 |
> mailx -v -s "TEST 161204_134640 g0" hputnam3@×××××.com < /tmp/msg-161204_134640 |
19 |
> hputnam3@×××××.com... Connecting to [127.0.0.1] via relay... |
20 |
> 220 g0.local.lan ESMTP Sendmail 8.14.9/8.14.9; Sun, 4 Dec 2016 13:46:43 -0500 |
21 |
> >>> EHLO g0.local.lan |
22 |
> 250-g0.local.lan Hello g0.local.lan [127.0.0.1], pleased to meet you |
23 |
> 250 ENHANCEDSTATUSCODES |
24 |
> >>> MAIL From:<harry@××××××××.lan> |
25 |
> 451 4.3.0 Temporary system failure. Please try again later. |
26 |
> hputnam3@×××××.com... Deferred: 451 4.3.0 Temporary system failure. Please try again later. |
27 |
> Closing connection to [127.0.0.1] |
28 |
> >>> QUIT |
29 |
> 221 2.0.0 g0.local.lan closing connection |
30 |
> |
31 |
> sendmail.mc and submit.mc posted below: |
32 |
> |
33 |
> (Sorry about excessive data but seems necessary for this) |
34 |
> ------- ------- ---=--- ------- ------- |
35 |
> |
36 |
> sendmail.mc: |
37 |
> |
38 |
> divert(-1)dnl |
39 |
> #----------------------------------------------------------------------------- |
40 |
> # $Sendmail: debproto.mc,v 8.14.4 2010-11-03 22:42:40 cowboy Exp $ |
41 |
> # |
42 |
> # Copyright (c) 1998-2010 Richard Nelson. All Rights Reserved. |
43 |
> # |
44 |
> # cf/debian/sendmail.mc. Generated from sendmail.mc.in by configure. |
45 |
> # |
46 |
> # sendmail.mc prototype config file for building Sendmail 8.14.4 |
47 |
> # |
48 |
> # Note: the .in file supports 8.7.6 - 9.0.0, but the generated |
49 |
> # file is customized to the version noted above. |
50 |
> # |
51 |
> # This file is used to configure Sendmail for use with Debian systems. |
52 |
> # |
53 |
> # If you modify this file, you will have to regenerate /etc/mail/sendmail.cf |
54 |
> # by running this file through the m4 preprocessor via one of the following: |
55 |
> # * make (or make -C /etc/mail) |
56 |
> # * sendmailconfig |
57 |
> # * m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf |
58 |
> # The first two options are preferred as they will also update other files |
59 |
> # that depend upon the contents of this file. |
60 |
> # |
61 |
> # The best documentation for this .mc file is: |
62 |
> # /usr/share/doc/sendmail-doc/cf.README.gz |
63 |
> # |
64 |
> #----------------------------------------------------------------------------- |
65 |
> divert(0)dnl |
66 |
> # |
67 |
> # Copyright (c) 1998-2005 Richard Nelson. All Rights Reserved. |
68 |
> # |
69 |
> # This file is used to configure Sendmail for use with Debian systems. |
70 |
> # |
71 |
> dnl define(`_USE_ETC_MAIL_')dnl |
72 |
> include(`/usr/share/sendmail-cf/m4/cf.m4')dnl |
73 |
> |
74 |
> VERSIONID(`$Id: hp1.mc,v 1.20 2016/12/04 11:17:08 g0 Exp $') |
75 |
> dnl # [HP 161204_101845 OSTYPE(`debian')dnl |
76 |
> dnl # changed to gentoo |
77 |
> OSTYPE(`linux')dnl |
78 |
> dnl # ] |
79 |
> DOMAIN(`generic')dnl |
80 |
> dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE |
81 |
> dnl undefine(`confHOST_STATUS_DIRECTORY')dnl #DAEMON_HOSTSTATS= |
82 |
> dnl # Items controlled by /etc/mail/sendmail.conf - DO NOT TOUCH HERE |
83 |
> dnl # |
84 |
> dnl # General defines |
85 |
> dnl # |
86 |
> dnl # SAFE_FILE_ENV: [undefined] If set, sendmail will do a chroot() |
87 |
> dnl # into this directory before writing files. |
88 |
> dnl # If *all* your user accounts are under /home then use that |
89 |
> dnl # instead - it will prevent any writes outside of /home ! |
90 |
> dnl # define(`confSAFE_FILE_ENV', `')dnl |
91 |
> dnl # |
92 |
> dnl # Daemon options - restrict to servicing LOCALHOST ONLY !!! |
93 |
> dnl # Remove `, Addr=' clauses to receive from any interface |
94 |
> dnl # If you want to support IPv6, switch the commented/uncommentd lines |
95 |
> dnl # |
96 |
> define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl |
97 |
> dnl the next one doesn't need to be present for client auth |
98 |
> define(`confAUTH_MECHANISMS',`LOGIN PLAIN')dnl |
99 |
> FEATURE(`access_db',`hash -T<TMPF> /etc/mail/access.db')dnl |
100 |
> |
101 |
> FEATURE(`no_default_msa')dnl |
102 |
> dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl |
103 |
> DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl |
104 |
> dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, M=Ea, Addr=::1')dnl |
105 |
> DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, M=Ea')dnl |
106 |
> dnl LOCAL_DOMAIN('g0.local.lan')dnl |
107 |
> dnl # |
108 |
> dnl # Be somewhat anal in what we allow |
109 |
> dnl CK define(`confPRIVACY_FLAGS', `needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl |
110 |
> dnl # |
111 |
> dnl # Define connection throttling and window length |
112 |
> define(`confCONNECTION_RATE_THROTTLE', `15')dnl |
113 |
> define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl |
114 |
> dnl # |
115 |
> dnl # Features |
116 |
> dnl # |
117 |
> dnl # use /etc/mail/local-host-names |
118 |
> dnl # [HP 161204_101724 FEATURE(`use_cw_file')dnl |
119 |
> dnl # Stopped using cw until further notice ] |
120 |
> dnl # |
121 |
> dnl # The greet_pause feature stops some automail bots - but check the |
122 |
> dnl # provided access db for details on excluding localhosts... |
123 |
> FEATURE(`greet_pause', `1000')dnl 1 seconds |
124 |
> dnl # |
125 |
> dnl # Delay_checks allows sender<->recipient checking |
126 |
> FEATURE(`delay_checks', `friend', `n')dnl |
127 |
> dnl # |
128 |
> dnl # If we get too many bad recipients, slow things down... |
129 |
> dnl CK define(`confBAD_RCPT_THROTTLE',`3')dnl |
130 |
> dnl # |
131 |
> dnl # Stop connections that overflow our concurrent and time connection rates |
132 |
> FEATURE(`conncontrol', `nodelay', `terminate')dnl |
133 |
> FEATURE(`ratecontrol', `nodelay', `terminate')dnl |
134 |
> dnl # |
135 |
> dnl # If you're on a dialup link, you should enable this - so sendmail |
136 |
> dnl # will not bring up the link (it will queue mail for later) |
137 |
> dnl define(`confCON_EXPENSIVE',`True')dnl |
138 |
> dnl # |
139 |
> dnl # Dialup/LAN connection overrides |
140 |
> dnl # |
141 |
> dnl CK include(`/etc/mail/m4/dialup.m4')dnl |
142 |
> dnl # [HP 161204_115342 |
143 |
> dnl make install-cf fails to find provider.m4 and starttls.mv dnl |
144 |
> dnl NOT under /usr/share/sendmail-cf either |
145 |
> dnl dnl include(`/etc/mail/m4/provider.m4')dnl |
146 |
> dnl dnl include(`/etc/mail/tls/starttls.m4')dnl |
147 |
> dnl # ] |
148 |
> dnl dnl define(`confCACERT_PATH', `/etc/mail/tls/certs')dnl |
149 |
> dnl dnl define(`confCACERT', `/etc/mail/tls/certs/ca-bundle.crt')dnl |
150 |
> dnl dnl define(`confSERVER_CERT', `/etc/mail/tls/certs/sendmail.pem')dnl |
151 |
> dnl dnl define(`confSERVER_KEY', `/etc/mail/tls/certs/sendmail.pem')dnl |
152 |
> dnl # Masquerading options dnl |
153 |
> FEATURE(`always_add_domain')dnl |
154 |
> dnl MASQUERADE_AS(`fastmail.fm')dnl |
155 |
> MASQUERADE_AS(`newsguy.com')dnl |
156 |
> FEATURE(`allmasquerade')dnl |
157 |
> FEATURE(`masquerade_envelope')dnl |
158 |
> dnl # [HP 111006_211813 Testing local_no_masquerade #]dnl |
159 |
> FEATURE(`local_no_masquerade')dnl |
160 |
> dnl # [HP 161204_111030 dnl |
161 |
> dnl added from Sendmail Tips and Tricks dnl |
162 |
> dnl see evernote/applicaitons/sendmail/tips and tricks dnl |
163 |
> FEATURE(`smrsh')dnl |
164 |
> dnl # ] |
165 |
> dnl genericstable, `hash -o /etc/mail/genericstable')dnl |
166 |
> dnl GENERICS_DOMAIN_FILE(`/etc/mail/genericsdomain')dnl |
167 |
> |
168 |
> dnl # [HP 161204_111254 |
169 |
> dnl Removing EXPOSED_USER ... not sure what it does |
170 |
> dnl dnl # [HP 111006_212007 |
171 |
> dnl dnl EXPOSED_USER(`root')dnl |
172 |
> dnl dnl # ] |
173 |
> dnl # ] |
174 |
> dnl # Default Mailer setup |
175 |
> MAILER_DEFINITIONS |
176 |
> dnl define(`SMART_HOST',`smtp.comcast.net')dnl |
177 |
> dnl define(`SMART_HOST',`smtp.newsguy.com')dnl |
178 |
> define(`SMART_HOST',`smtp.gmail.com')dnl |
179 |
> define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl |
180 |
> define(`ESMTP_MAILER_ARGS', `TCP $h 587')dnl |
181 |
> FEATURE(`authinfo', `hash /etc/mail/authinfo')dnl |
182 |
> MAILER(`local')dnl |
183 |
> MAILER(procmail)dnl |
184 |
> MAILER(`smtp')dnl |
185 |
> |
186 |
> ------- ------- ---=--- ------- ------- |
187 |
> |
188 |
> submit.mc: |
189 |
> |
190 |
> include(`/usr/share/sendmail-cf/m4/cf.m4')dnl |
191 |
> divert(-1) |
192 |
> # |
193 |
> # Copyright (c) 2001-2003 Proofpoint, Inc. and its suppliers. |
194 |
> # All rights reserved. |
195 |
> # |
196 |
> # By using this file, you agree to the terms and conditions set |
197 |
> # forth in the LICENSE file which can be found at the top level of |
198 |
> # the sendmail distribution. |
199 |
> # |
200 |
> # |
201 |
> |
202 |
> # |
203 |
> # This is the prototype file for a set-group-ID sm-msp sendmail that |
204 |
> # acts as a initial mail submission program. |
205 |
> # |
206 |
> |
207 |
> divert(0)dnl |
208 |
> VERSIONID(`$Id: submit.mc,v 8.15 2013-11-22 20:51:08 ca Exp $') |
209 |
> define(`confCF_VERSION', `Submit')dnl |
210 |
> define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining |
211 |
> define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet |
212 |
> define(`confTIME_ZONE', `USE_TZ')dnl |
213 |
> define(`confDONT_INIT_GROUPS', `True')dnl |
214 |
> dnl |
215 |
> dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1] |
216 |
> FEATURE(`msp', `[127.0.0.1]')dnl |
217 |
> |
218 |
> |
219 |
|
220 |
|
221 |
I think you would get more information if you did one of the |
222 |
following, increased the loglevel of sendmail and/or use the -X option |
223 |
to record the conversation as well. |
224 |
|
225 |
-- |
226 |
Your life is like a penny. You're going to lose it. The question is: |
227 |
How do |
228 |
you spend it? |
229 |
|
230 |
John Covici |
231 |
covici@××××××××××.com |