[Exim] Thanks to the list

Pàgina inicial
Delete this message
Reply to this message
Autor: Tomasz Kosinski
Data:  
A: exim-users
Assumpte: [Exim] Thanks to the list
Thanks to everyone who helped out...

I've temporarily gone to relaying my mail through my ISP's smtp server,
they wouldn't sell me a static IP address, and they wouldn't let me keep
my mailboxes only, so I might have used another ISP for dial-up access
and not tampered with email addresses. When I asked why they assign
blacklisted IP addresses, they said they no longer support dial-up
customers with their own mail servers, everything must be relayed
through them.

This seems to work fine, my first message was bounced back to me because I
didn't have authorization, but since then, outgoing mail is fine, though
I have no (client side) smtp auth in my exim.conf, and I keep expecting
to have to figure that out (I'll be back then).

One thing that puzzles me is that while my inability to transfer mail
out and the use of my machine to launch spam occurred at more or less
the same time, I don't think my messages were rejected because of being
blacklisted, because, for example, panix.com (where this message is
coming from, and to which I couldn't transfer mail) doesn't use any
blocking or filtering software. While my exim.config file remained
untouched from Sept, I still wonder if it wasn't a configuration problem
which caused the mails to fail (when I originally set up exim, I had a
lot of difficulty because my hostname contains uppercase characters, but
I eventually figured it out).

When my messages were failing, they would terminate in "connecting to
mailhost..." and then just hang until I manually killed the process. Is
this what happens when messages are rejected because of being
blacklisted? Following is a trace of a message and my old exim.conf
(prior to modification for relaying mail through my ISP, thank-you
Suresh). Just including this in case something similar happens to
someone else, no need to reply.

Thanks again,

Tomasz

***************trace**************************

SanMarco:~# exim -bpc
1
SanMarco:~# exiwhat
1928 delivering 175yfQ-0000V4-00 to mailhost.panix.com [166.84.1.72] (mickle@???)
SanMarco:~# exim -d9 -M 175yfQ-0000V4-00
Exim version 3.35 debug level 9 uid=0 gid=0
Berkeley DB: Sleepycat Software: Berkeley DB 2.7.7: (08/20/99)
localhost in local_domains? yes (matched localhost)
Unable to create IPv6 socket to find interface addresses:
error 22 Invalid argument
Trying for an IPv4 socket
Actual local interface address is 127.0.0.1 (lo)
Actual local interface address is 65.90.116.142 (ppp0)
Caller is an admin user
Caller is a trusted user
set_process_info: 1956 delivering specified messages
delivering message 175yfQ-0000V4-00
set_process_info: 1956 delivering 175yfQ-0000V4-00
Opened spool file 175yfQ-0000V4-00-H
user=tomasz uid=1001 gid=1001 sender=mickle@???
sender_local=1 resent=no ident=tomasz
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=1 message_linecount=13
Writing spool header file
Size of headers = 439
Delivery address list:
mickle@???
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>

Considering: mickle@???
panix.com in local_domains? no (end of list)
unique = mickle@???
dbfn_read: key=R:panix.com
dbfn_read: key=R:mickle@???
mickle@???: queued for routing
>>>>>>>>>>>>>>>>>>>>>>>>

After directing:
  Local deliveries:
  Remote deliveries:
  Failed addresses:
  Addresses to be routed:
    mickle@???
  Deferred addresses:

>>>>>>>>>>>>>>>>>>>>>>>>

routing mickle@???, domain panix.com
lookuphost router called for mickle@???
dns lookup: route_domain = panix.com
DNS lookup of panix.com (MX) succeeded
Unable to create IPv6 socket to find interface addresses:
error 22 Invalid argument
Trying for an IPv4 socket
Actual local interface address is 127.0.0.1 (lo)
Actual local interface address is 65.90.116.142 (ppp0)
fully qualified name = panix.com
host_find_bydns yield = HOST_FOUND (2); returned hosts:
mailhost.panix.com 166.84.1.72 150 15043
mailhost.panix.com 166.84.1.74 150 15091
mailhost-l2.panix.com 166.84.1.75 200 20041
queued for remote_smtp transport: local_part=mickle domain=panix.com
errors_to=NULL
domain_data=NULL local_part_data=NULL
routed by lookuphost router:
deliver to mickle@???
transport: remote_smtp
host mailhost.panix.com [166.84.1.72] MX=150
host mailhost.panix.com [166.84.1.74] MX=150
host mailhost-l2.panix.com [166.84.1.75] MX=200
search_tidyup called
>>>>>> Remote deliveries >>>>>>

remote_smtp transport entered
mickle@???
checking status of mailhost.panix.com
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
dbfn_read: key=T:mailhost.panix.com:166.84.1.72
dbfn_read: key=T:mailhost.panix.com:166.84.1.72:175yfQ-0000V4-00
no host retry record
no message retry record
mailhost.panix.com [166.84.1.72] status = usable
host in ? no (option unset)
delivering 175yfQ-0000V4-00 to mailhost.panix.com [166.84.1.72] (mickle@???)
set_process_info: 1956 delivering 175yfQ-0000V4-00 to mailhost.panix.com [166.84.1.72] (mickle@???)
Connecting to mailhost.panix.com [166.84.1.72.25] ...

*****************exim.conf*****************

qualify_domain = sanmarco
local_domains = localhost:sanmarco
local_domains_include_host = true
local_domains_include_host_literals = true
never_users = root
host_lookup = *
host_accept_relay = localhost
trusted_users = mail
smtp_verify = true
gecos_pattern = ^([^,:]*)
gecos_name = $1
smtp_accept_queue_per_connection = 100
freeze_tell_mailmaster = true
received_header_text = "Received: \
         ${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}\
         {${if def:sender_ident {from ${sender_ident} }}\
         ${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}\
         by ${primary_hostname} \
         ${if def:received_protocol {with ${received_protocol}}} \
         (Exim ${version_number} #${compile_number} (Debian))\n\t\
         id ${message_id}\
         ${if def:received_for {\n\tfor <$received_for>}}"
local_delivery:
  driver = appendfile
  group = mail
  mode = 0660
  mode_fail_narrower = false
  envelope_to_add = true
  file = /var/spool/mail/${local_part}
address_pipe:
  driver = pipe
  return_output
address_file:
  driver = appendfile
address_directory:
  driver = appendfile
  no_from_hack
  prefix = ""
  suffix = ""
address_reply:
  driver = autoreply
remote_smtp:
  driver = smtp
  headers_remove = "sender"


real_local:
prefix = real-
driver = localuser
transport = local_delivery
system_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
file = /etc/aliases
search_type = lsearch
userforward:
driver = forwardfile
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify
check_ancestor
file = .forward
modemask = 002
filter
localuser:
driver = localuser
transport = local_delivery

lookuphost:
driver = lookuphost
transport = remote_smtp
literal:
driver = ipliteral
transport = remote_smtp


*                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h


*@sanmarco    ${lookup{$1}lsearch{/etc/email-addresses}\
                        {$value}fail} bcfrF


# End of Exim configuration file