Hi,
Rob said:
While I'm at it, what version of fetchmail are you playing with?
This is fetchmail release 6.2.1+RPA+NTLM+SDPS+SSL+NLS
I would also strongly suggest you make use of the --configdump
I have given the dump below.
I do not want a multidrop now. All mails to
shanky123(_at_)giaspn01(_dot_)vsnl(_dot_)net(_dot_)in are to be delivered to
user shanky123 on
my local machine.
I did,
#BEGIN
defaults proto pop3
set syslog
set postmaster "postmaster"
set no bouncemail
set no spambounce
poll giaspn01.vsnl.net.in with proto POP3
envelope Delivered-To
localdomains pn123.vsnl.net.in
user shanky123 with password xxxx
forcecr
to * here
#END
But then mails for shanky123(_at_)giaspn01(_dot_)vsnl(_dot_)net(_dot_)in are
getting
delivered as remote. I am not sure but I guess pn123.vsnl.net.in is a
CNAME for giasp01.vsnl.net.in and this is causing the problem.
About the next problem you said,
Well, of COURSE it'll fail on that one. There isn't any single
Delivered-To header, or anything beyond the To: header. What do you expect,
fetchmail to guess?
But what can I do? I had not send the mail, neither did I write the
headers. I want something as simple as all mails on
shanky123(_at_)giasp01(_dot_)vsnl(_dot_)net(_dot_)in to be in
/home/shanky123/Maildir/new
using fetchmail that's all. Not a single mail must be missed.
Please see log below.
Thanks and bye and please do mark a CC to me. It makes replying a lot
easier since I use digest mode.
With warm regards,
-Payal
# fetchmail -f .fetchmail --configdump
TRUE=1; FALSE=0
os_type = 'linux'
feature_options = ('pop3','imap','rpa','sdps','etrn','odmr','ssl',)
# Start of configuration initializer
fetchmailrc = {
'poll_interval':0,
"logfile":None,
"idfile":"/root/.fetchids",
"postmaster":"postmaster",
'bouncemail':FALSE,
'spambounce':FALSE,
"properties":None,
'invisible':FALSE,
'showdots':FALSE,
'syslog':TRUE,
# List of server entries begins here
'servers': [
# Entry for site `giaspn01.vsnl.net.in' begins:
{
"pollname":"giaspn01.vsnl.net.in",
'active':TRUE,
"via":None,
"protocol":"POP3",
'port':0,
'timeout':300,
'interval':0,
"envelope":"Delivered-To",
'envskip':0,
"qvirtual":None,
"auth":"any",
'dns':TRUE,
'uidl':FALSE,
"aka":[],
"localdomains":["pn123.vsnl.net.in"],
"interface":None,
"monitor":None,
"plugin":None,
"plugout":None,
"principal":None,
'tracepolls':FALSE,
'users': [
{
"remote":"shanky123",
"password":"xxxx",
'localnames':["root", '*'],
'fetchall':FALSE,
'keep':FALSE,
'flush':FALSE,
'rewrite':TRUE,
'stripcr':FALSE,
'forcecr':TRUE,
'pass8bits':FALSE,
'dropstatus':FALSE,
'dropdelivered':FALSE,
'mimedecode':FALSE,
'idle':FALSE,
"mda":None,
"bsmtp":None,
'lmtp':FALSE,
"preconnect":None,
"postconnect":None,
'limit':0,
'warnings':3600,
'fetchlimit':0,
'batchlimit':0,
'ssl':FALSE,
"sslkey":None,
"sslcert":None,
'warnings':3600,
'fetchlimit':0,
'batchlimit':0,
'ssl':FALSE,
"sslkey":None,
"sslcert":None,
"sslproto":None,
'sslcertck':FALSE,
"sslcertpath":None,
"sslfingerprint":None,
'expunge':0,
"properties":None,
"smtphunt":["localhost"],
"fetchdomains":[],
"smtpaddress":None,
"smtpname":None,
'antispam':'',
"mailboxes":[],
}
, ]
}
]
}
# End of initializer
--
"Visit GNU/Linux Success Stories"
http://payal.staticky.com
Guest-Book Section Updated.