(The `lines' figures total .c, .h, .l, and .y files under version control.)
------------------------------------------------------------------------------
-fetchmail-5.6.0 (Sun Nov 26 13:20:45 EST 2000), 19625 lines:
+fetchmail-5.6.0 (Sun Nov 26 22:11:09 EST 2000), 19625 lines:
* Updated FAQ on IPv6 operation.
* Enabled showdots to work from the command line.
* Fixed a bug in fetchmailconf's handling of the `principal' option.
+* smtpname processing fixed.
There are 288 people on fetchmail-friends and 575 on fetchmail-announce.
stringdump("properties", ctl->properties);
listdump("smtphunt", ctl->smtphunt);
stringdump("smtpaddress", ctl->smtpaddress);
+ stringdump("smtpname", ctl->smtpname);
indent('\0');
fprintf(stdout, "'antispam':'");
memset(&def_opts, '\0', sizeof(struct query));
def_opts.smtp_socket = -1;
def_opts.smtpaddress = (char *)0;
+ def_opts.smtpname = (char *)0;
#define ANTISPAM(n) save_str(&def_opts.antispam, STRING_DUMMY, 0)->val.status.num = (n)
ANTISPAM(571); /* sendmail */
ANTISPAM(550); /* old exim */
if (ctl->smtpaddress)
printf(_(" Host part of MAIL FROM line will be %s\n"),
ctl->smtpaddress);
+ if (ctl->smtpname)
+ printf(_(" Address to be put in RCPT TO lines shipped to SMTP will be %s\n"),
+ ctl->smtpname);
}
if (ctl->server.protocol != P_ETRN)
{
# by Eric S. Raymond, <esr@snark.thyrsus.com>.
# Requires Python with Tkinter, and the following OS-dependent services:
# posix, posixpath, socket
-version = "1.31"
+version = "1.32"
from Tkinter import *
from Dialog import *
('password', 'String'),
# Leave out smtphunt
('smtpaddress', 'String'),
+ ('smtpname', 'String'),
('preconnect', 'String'),
('postconnect', 'String'),
('mda', 'String'),
for x in self.mailboxes:
res = res + " " + x
res = res + "\n"
- for fld in ('smtpaddress', 'preconnect', 'postconnect', 'mda', 'bsmtp', 'properties'):
+ for fld in ('smtpaddress', 'smtpname', 'preconnect', 'postconnect', 'mda', 'bsmtp', 'properties'):
if getattr(self, fld):
res = res + " %s %s\n" % (fld, `getattr(self, fld)`)
if self.lmtp != UserDefaults.lmtp:
self.user.smtphunt, None, None, targwin, None)
LabeledEntry(targwin, 'Append to MAIL FROM line:',
self.smtpaddress, '26').pack(side=TOP, fill=X)
+ LabeledEntry(targwin, 'Set RCPT To address:',
+ self.smtpname, '26').pack(side=TOP, fill=X)
LabeledEntry(targwin, 'Connection setup command:',
self.preconnect, '26').pack(side=TOP, fill=X)
LabeledEntry(targwin, 'Connection wrapup command:',
folder(s)? { return FOLDER; }
smtp(host)? { return SMTPHOST; }
smtpaddress { return SMTPADDRESS; }
+smtpname { return SMTPNAME; }
antispam { return SPAMRESPONSE; }
mda { return MDA; }
bsmtp { return BSMTP; }
%token DEFAULTS POLL SKIP VIA AKA LOCALDOMAINS PROTOCOL
%token PREAUTHENTICATE TIMEOUT KPOP SDPS KERBEROS4 KERBEROS5 KERBEROS SSH
%token ENVELOPE QVIRTUAL USERNAME PASSWORD FOLDER SMTPHOST MDA BSMTP LMTP
-%token SMTPADDRESS SPAMRESPONSE PRECONNECT POSTCONNECT LIMIT WARNINGS
+%token SMTPADDRESS SMTPNAME SPAMRESPONSE PRECONNECT POSTCONNECT LIMIT WARNINGS
%token NETSEC INTERFACE MONITOR PLUGIN PLUGOUT
%token IS HERE THERE TO MAP WILDCARD
%token BATCHLIMIT FETCHLIMIT EXPUNGE PROPERTIES
| FOLDER folder_list
| SMTPHOST smtp_list
| SMTPADDRESS STRING {current.smtpaddress = xstrdup($2);}
+ | SMTPNAME STRING {current.smtpname = xstrdup($2);}
| SPAMRESPONSE num_list
| MDA STRING {current.mda = xstrdup($2);}
| BSMTP STRING {current.bsmtp = xstrdup($2);}