Dear All,
fetchmail usually talks SMTP to localhost on port 25. However, I have an antivirus daemon running that intercepts all incoming mail on eth1 and passes it on to the MTA (exim, in this case).
Exim listens on localhost.
I want to configure fetchmail to talk to the external interface, not localhost so that inbound email fetched by fetchmail is also processed by my antivirus daemon.
Can anyone tell me if it's doable?
man hasn't been much help and I've been googling for an hour or two with no luck.
I think it's doable because `fetchmail --configdump` returns:
TRUE=1; FALSE=0
os_type = 'linux'
feature_options = ('pop3','imap','sdps','etrn','odmr',)
# Start of configuration initializer
fetchmailrc = {
'poll_interval':0,
"logfile":None,
"idfile":"/root/.fetchids",
"postmaster":"postmaster",
'bouncemail':TRUE,
'spambounce':FALSE,
"properties":None,
'invisible':FALSE,
'showdots':FALSE,
'syslog':FALSE,
'servers': []
}
the 'servers': [] line suggests that something can be inserted there though, for the life of me, I can't figure out the command to do it.
fetchmail usually talks SMTP to localhost on port 25. However, I have an antivirus daemon running that intercepts all incoming mail on eth1 and passes it on to the MTA (exim, in this case).
Exim listens on localhost.
I want to configure fetchmail to talk to the external interface, not localhost so that inbound email fetched by fetchmail is also processed by my antivirus daemon.
Can anyone tell me if it's doable?
man hasn't been much help and I've been googling for an hour or two with no luck.
I think it's doable because `fetchmail --configdump` returns:
TRUE=1; FALSE=0
os_type = 'linux'
feature_options = ('pop3','imap','sdps','etrn','odmr',)
# Start of configuration initializer
fetchmailrc = {
'poll_interval':0,
"logfile":None,
"idfile":"/root/.fetchids",
"postmaster":"postmaster",
'bouncemail':TRUE,
'spambounce':FALSE,
"properties":None,
'invisible':FALSE,
'showdots':FALSE,
'syslog':FALSE,
'servers': []
}
the 'servers': [] line suggests that something can be inserted there though, for the life of me, I can't figure out the command to do it.