fetchmail, postfix, luser_relay and not existing local user

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 ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-25-2003
Alexander Reil
 
Posts: n/a
Default fetchmail, postfix, luser_relay and not existing local user

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

Reply With Quote
  #2 (permalink)  
Old 11-25-2003
Torsten Stauder
 
Posts: n/a
Default Re: fetchmail, postfix, luser_relay and not existing local user

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?


Reply With Quote
  #3 (permalink)  
Old 11-26-2003
Alexander Reil
 
Posts: n/a
Default Re: fetchmail, postfix, luser_relay and not existing local user

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



Reply With Quote
  #4 (permalink)  
Old 11-26-2003
Alexander Reil
 
Posts: n/a
Default Re: fetchmail, postfix, luser_relay and not existing local user

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
>


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:15 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0