yet another fetchmail config

3 Jun

yet another fetchmail config

Thanks to all for your tremendous help, its is all working now as expected.

Just to document for anybody that might have the same or a similar problem
in the future, here the working configuration.

1. ~/.fetchmailrc
set postmaster “postmaster”
set nobouncemail
set properties “”
poll pop3.iinet.net.au with proto POP3 envelope iinet.net.au
aka mydomain.com.au iinet.net.au localdomains mydomain.com.au
user ‘iinetmailboxname’ there with password ‘iinetmailboxpasswd’ is
user1 user2 user3 here warnings 3600
antispam 571 550 501 554

2. /etc/mail/mailertable
mail.iinet.net.au local:user1

3. /etc/mail/virtusertable
iinetmailboxname@iinet.net.au user1

So to summarise, removing no envelope from the header, iinet.net.au from
localdomains and adding envelope iinet.net.au to the poll in ~/.fetchmailrc
made fetchmail behave correctly.

adding iinet.net.au local:user1 in mailertable made sendmail beh
ave correctly.

Don’t forget to re-build the databases after changing mailertable and
virtusertable.