IMAP: Fallback-recipient for unknown users

Support knowledgebase (imap_default_recipient)
Applies to

SuSE IMAP-Server

Request:

The IMAP-server should accept mails, even if the recipient is unknown (e.g. a typing error or the like). The sender should not be informed about it ("User unknown")

Procedure:

IMAP-Server Version 1

Edit the file

/usr/cyrus/bin/xprocmail

change the last line from:

old:
exec /usr/cyrus/bin/deliver -e -q -F R -m "$EXT" "$USER"

new:
exec /usr/cyrus/bin/deliver -q -F R -m "$EXT" mailadmin

SuSE eMail Server Version 2

Edit the file

/etc/postfix/main.cf

Insert the line:

luser_relay = mailadmin@MYEMAILSERVER.NET

mailadmin is the user, who receives all the mail which was sent to unknown users.
MYEMAILSERVER.NET is to be replaced with your domain.

SuSE eMail Server Version 3

since eMail Server Version 3 mailadmin can't setup to receive mail for unknown users. But it's posible
to get a copy of each rejected mail. To make this posible you have to edit one configuration file.

Edit the file

/etc/postfix/main.cf

Insert following line:

notify_classes = bounce

Now mailadmin receives a copy from each mail that bounced back to sender.


Keywords: IMAP, MAIL, RELAY, UNKNOWN, POSTFIX, FETCHMAIL

Categories: Installation

SDB-imap_default_recipient, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 18. Mai 2001
SuSE Linux AG - Last generated: 12. Feb 2002 by rsimai (sdb_gen 1.40.0)