> When you use the "mail" command localy, postfix uses "smtp" to attempt
> deliver email to a local user. When incoming email arrives from network,
> the process called is "smtpd" - Take a look in master.cf
>
> Your fetchmail may cause problems due to the local delivery method used.
> If you want to use fetchmail and pass the email through "smtpd" with
> content filtering and virtual users, you have to tell fetchmail to use
> an SMTP connection for example :
>
> fetchmail --all --smtpaddress domain.com --smtphost 127.0.0.1
>
> Then fetchmail won't try to use the LMTP, but SMTP connects to Postfix
> and its "smtpd" process which follows the classic steps.
>
> Hope this help!

I have actually no idea what exactly went wrong, I changed many things 
the same time, but is works now with these settings (maybe it can help 
others):

/etc/postfix/main.cf
virtual_alias_maps = hash:/etc/postfix/virtual

/etc/postfix/virtual:
domain.com          domain
[EMAIL PROTECTED]  user1
@domain.com         otheruser

/etc/fetchmailrc:
set logfile = /var/log/mail/fetchmail.log
set daemon 300
poll pop.domain.com proto pop3
        no dns
        localdomains "domain.com"
        user "info"
        pass "lkwnd"
        is * here

All mail is fetched and sent through postfix/amavis and virtual table.
After all it could have been a typo error or so, don't know...
Thanks everyone for the suggestions.

--
Ariën Huisken


_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to