1247
1248
# note that if there's only 1 IP in the untrusted set, do NOT pop the
1248
1249
# list, since it'd remove that one, and a legit user is supposed to
1249
1250
# use their SMTP server (ie. have at least 1 more hop)!
1252
1256
# use the external IP set, instead of the trusted set; the user may have
1253
1257
# specified some third-party relays as trusted. Also, don't use
1254
1258
# @originating; those headers are added by a phase of relaying through
1255
1259
# a server like Hotmail, which is not going to be in dialup lists anyway.
1256
1260
@ips = $self->ip_list_uniq_and_strip_private(@fullexternal);
1259
1267
# If name is foo-firsttrusted, check only the Received header just
1260
1268
# after it enters our trusted networks; that's the only one we can