>> I have postfix with email users configured in /etc/postfix/virtual. >> >> All works fine when receiving mail on port 25, but there are many >> mails in one single mailbox on the popserver of my isp left. >> >> I wish to fetch them and delivered to the users listed in virtual. >> >> Now if I start fetchmail I have no idea where the mails going to >> after fetching, well not in the users mailboxes... > > As far as I know, fetchmail delivers directly to the local smtpd, so > mail should end up exactly where it would if you send mail locally. > > You should check the mail log during a fetchmail run and see what happens. > >> >> Here is my .fetcmailrc and I hope someone can give me a hint on >> what's wrong: > > It looks bigger and more complex than needed. But I don't know too > much about what's needed for that ISP.. > > My working .fetchmailrc: > poll "pop.myisp.com" with proto POP3 user "info" password "kajhdbc" ssl > > This delived the mail to local smtp, the ssl-part can be skipped if > no ssl is available. >
After some testing I think the problem is not fetchmail, but postfix. Postfix is set up to use virtual domains where the domainname and users are defined, but they are not working when fetchmail drops the mail. /etc/postfix/virtual: domain.com domain [EMAIL PROTECTED] user1 [EMAIL PROTECTED] user1,user2 @domain.com user2 I tried to send mail with 'mail -s test [EMAIL PROTECTED] < /some/file' but the mail isn't accepted locally. It is send to the MX host of domain.com: pop.domain.com I put domain.com in main.cf as mydestination and now the mail is delivered to root. According to virtual it should be delivered to user2. So from the commandline postfix is not using my /etc/postfix/virtual at all. The same happens when fetchmail retrieves the mail from a popserver. Anyone please? -- Ariën Huisken _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
