This is a discussion on fetchmail, postfix, luser_relay and not existing local user within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi all, we get our mail from fetchmail. fetchmail gives it to postfix and postfix uses procmail for delivering. All ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
we get our mail from fetchmail. fetchmail gives it to postfix and postfix uses procmail for delivering. All is fine, except mail to non-existing users. They should be delivered to a special account. I thougt this is what "luser_relay" is for. But still i get these errors when fetchmail is fetching mail: fetchmail: SMTP< 450 <nonexist@our_site.de>: User unknown in local recipient table fetchmail: SMTP error: 450 <nonexist@our_site.de>: User unknown in local recipient table my .fetchmailrc: ---------------------- poll myprovider no dns localdomains our_site.de protocol pop3 username dontsay password aword is * here postconnect "/usr/sbin/sendmail -q" fetchall forcecr output from postconf -n: ----------------------- alias_maps = hash:/etc/mail/aliases command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix content_filter = vscan: daemon_directory = /usr/local/libexec/postfix debug_peer_level = 2 defer_transports = smtp luser_relay = special_user mail_owner = postfix mailbox_command = /usr/local/bin/procmail -a "$EXTENSION" mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man message_size_limit = 5242880 mydestination = $myhostname, localhost.$mydomain, $mydomain, our_site.de mydomain = my-domain myhostname = host.my-domain myorigin = our_site.de newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no relayhost = 62.245.150.229 sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop unknown_local_recipient_reject_code = 450 Any tipps? Thanks in advance! Alexander |
|
|||
|
Alexander Reil wrote:
> Hi all, > > we get our mail from fetchmail. fetchmail gives it to postfix and > postfix uses procmail for delivering. > > All is fine, except mail to non-existing users. They should be delivered > to a special account. [...] I don't know how it's possible to get emails via fetchmail that aren't adressed to/for your system. Fetchmail polls emails from defined accounts and every accounts "points" (in your fetchmail-conf) to a local user. So...?!??! Or did I get you wrong? |
|
|||
|
Torsten Stauder wrote:
> [...] > > I don't know how it's possible to get emails via fetchmail that aren't > adressed to/for your system. Fetchmail polls emails from defined > accounts and every accounts "points" (in your fetchmail-conf) to a local > user. So...?!??! > Hi, sorry, i forgot to tell you that we use a so called multidrop mailbox. "evererything@our_site.de" is fetched and should be delivered. Greetings Alexander Reil |
|
|||
|
Hi,
the problem is solved: Had to delete "unknown_local_recipient_reject_code = 450" from main.cf. Thanks, Alexander Reil Alexander Reil wrote: > Hi all, > > we get our mail from fetchmail. fetchmail gives it to postfix and > postfix uses procmail for delivering. > > All is fine, except mail to non-existing users. They should be delivered > to a special account. > > I thougt this is what "luser_relay" is for. But still i get these errors > when fetchmail is fetching mail: > > fetchmail: SMTP< 450 <nonexist@our_site.de>: User unknown in local > recipient table > fetchmail: SMTP error: 450 <nonexist@our_site.de>: User unknown in local > recipient table > > my .fetchmailrc: > ---------------------- > poll myprovider > no dns > localdomains our_site.de > protocol pop3 > username dontsay > password aword > is * here > postconnect "/usr/sbin/sendmail -q" > fetchall > forcecr > > output from postconf -n: > ----------------------- > alias_maps = hash:/etc/mail/aliases > command_directory = /usr/local/sbin > config_directory = /usr/local/etc/postfix > content_filter = vscan: > daemon_directory = /usr/local/libexec/postfix > debug_peer_level = 2 > defer_transports = smtp > luser_relay = special_user > mail_owner = postfix > mailbox_command = /usr/local/bin/procmail -a "$EXTENSION" > mailq_path = /usr/local/bin/mailq > manpage_directory = /usr/local/man > message_size_limit = 5242880 > mydestination = $myhostname, localhost.$mydomain, $mydomain, our_site.de > mydomain = my-domain > myhostname = host.my-domain > myorigin = our_site.de > newaliases_path = /usr/local/bin/newaliases > queue_directory = /var/spool/postfix > readme_directory = no > relayhost = 62.245.150.229 > sample_directory = /usr/local/etc/postfix > sendmail_path = /usr/local/sbin/sendmail > setgid_group = maildrop > unknown_local_recipient_reject_code = 450 > > > Any tipps? Thanks in advance! > > > Alexander > |