Copy Undeliverable Mail To / luser_relay no worky?

Hi everyone,
I know it's a despised feature, but I just need it working until I'm confident everything has been migrated well. I'm of course referring to "Copy Undeliverable Mail To:". When I first turned it on, and tested in, mail was still bouncing:
Jun 7 14:07:23 server postfix/pipe[2354]: DDD381CA53F: to=<[email protected]>, relay=dovecot, delay=2180, delays=2180/0/0/0.01, dsn=4.1.1, status=SOFTBOUNCE (user unknown)
I assumed that Server Admin was just enabling luser_relay in /etc/postfix/main.cf, but it was not, Rather, it was changing /etc/MailServicesOther.plist:
<key>lmtpluserrelay</key>
<string>catchalluser</string>
<key>lmtpluser_relayenabled</key>
<true/>
I disabled it there and tried manually setting luser_relay in /etc/postfix/main.cf.
Neither solution seemed to work. Anyone successfully have this working?

OK. I can see your problem.
Well, at least users are forced to fix the faulty address immediately. By getting a bounce later most users won't
I know this is not the answer you were looking for so here you go (although I actually think user education never hurts and have not implemented this on my high traffic servers ;-):
Are your users being forced to use SMTP authentication to send? If not make sure you have this in place as the first step. This is important so that your security is not compromised.
Now look at your /etc/postfix/main.cf and towards the end look for
smtpdrecipientrestrictions = .......
You'll see something along these lines:
smtpdrecipientrestrictions = permitsaslauthenticated, rejectunauthdestination, permit_mynetworks, rejectrblclient sbl-xbl.spamhaus.org, rejectrblclient relays.ordb.org, permit
See if it includes rejectunauthdestination and/or rejectunverifiedrecipient and remove those.
This should do the trick (not knowing your configuration there is always a chance something doesn't work as expected).
The drawback is that this is now true for all senders and thus mail will get accepted first and bounced later if for unknown users.
You can "finetune" this so that it applies only to your local users, but this requires quite a bit of fiddling around with your configuration and will "break" Server Admin. If you don't mind, see the following page for more info or ask again
http://www.postfix.org/postconf.5.html
Alex

Similar Messages

  • Can't copy Undeliverable Mail

    I am running Mail on a Mac OS 10.4.2 xServer and find that the GUI setting "Copy undeliverable messages to" does not work as explained in the manual. When I check this option and enter the postmaster account, it does not copy but forwards all undeliverable messages to the postmaster's account. When I check the file /etc/postfix/mail.cf the line is added luser_relay = postmaster.
    On page 70 of Apples Mail Service Administration Manual, it indicates that the /etc/postfix/mail.cf file needs to be modified to add luser_relay = postmaster "To set up forwarding of undeliverable incoming mail;" not copy.
    The problem is if I forward undeliverable mail to the postmaster, the user does not get a message like they did on a 10.2 server indicating the message was not delivered.
    Does anyone know how I can get the message to bounce back to the original sender and have a copy go to the postmaster at the same time?

    OK. I can see your problem.
    Well, at least users are forced to fix the faulty address immediately. By getting a bounce later most users won't
    I know this is not the answer you were looking for so here you go (although I actually think user education never hurts and have not implemented this on my high traffic servers ;-):
    Are your users being forced to use SMTP authentication to send? If not make sure you have this in place as the first step. This is important so that your security is not compromised.
    Now look at your /etc/postfix/main.cf and towards the end look for
    smtpdrecipientrestrictions = .......
    You'll see something along these lines:
    smtpdrecipientrestrictions = permitsaslauthenticated, rejectunauthdestination, permit_mynetworks, rejectrblclient sbl-xbl.spamhaus.org, rejectrblclient relays.ordb.org, permit
    See if it includes rejectunauthdestination and/or rejectunverifiedrecipient and remove those.
    This should do the trick (not knowing your configuration there is always a chance something doesn't work as expected).
    The drawback is that this is now true for all senders and thus mail will get accepted first and bounced later if for unknown users.
    You can "finetune" this so that it applies only to your local users, but this requires quite a bit of fiddling around with your configuration and will "break" Server Admin. If you don't mind, see the following page for more info or ask again
    http://www.postfix.org/postconf.5.html
    Alex

  • Xserve mail server: setup postfix to ignore/delete undeliverable mail

    Hi,
    I've trouble with mail server on Leopard 10.5.8@xserve, that many mails has unknown recepients. In ServerAdmin I may set only copy undelivarable mail to existing mail. But I want delete this. There are some way as manually configure postfix?
    Thanks.

    The roundcube db schema needs to setup manually. See /usr/share/webapps/roundcube/INSTALL
    Also, from your /etc/webapps/postfixadmin/config.inc.php:
    $CONF['domain_path'] = 'NO';
    $CONF['domain_in_mailbox'] = 'YES';
    $CONF['maildir_name_hook'] = 'NO';
    ..which results in /var/mail/vmail/[email protected]
    From your dovecot.conf
    mail_home = /var/mail/vmail/%d/%u
    ...which results in /var/mail/vmail/domain.com/user
    That doesn't fit together.

  • How can I copy the Mail "rules" I have already setup on my old MacBook over to the new machine?

    Setting up my new MacBook Pro. How can I copy the Mail "rules" I have already setup on my old MacBook over to the new machine?
    Is there a file I can copy & paste?

    Thanks Barry & all,
    Is it enough to just copy the rule-related files ??
    i.e.
    Library/Mail/V2/MailData/RulesActiveState.plist
    Library/Mail/V2/MailData/SyncedRules.plist
    Library/Mail/V2/MailData/UnsyncedRules.plist
    What you suggest copies the local mailbox content + all the settings ...
    while what I need is much less... and I'd like to be able to sync rules also in the future
    by copying something light and simple ... not the entire Library/Mail folder
    Many thanks,
    Stefania

  • "Copy All Mail To:" sends 2 copies of each e-mail

    I am working on enabling an archive of all e-mail on our small business' 10.6.8 e-mail server.  I was thrilled to find the "Copy All Mail To:" option in Server Admin.  I setup an archive account, and entered it in the copy all mail to section of server admin. The problem I am having is that this setting is sending 2 copies of each e-mail the system processes to the e-mail address I specify.
    I have found several discussions saying the fix for this is to add the following line to /etc/postfix/main.cf
    receiveoverrideoptions = noaddressmappings
    I have successfully added this to my main.cf (made a backup first) also successfully issued the "sudo postfix reload" command afterwards.
    But still I am seeing 2 of each incoming and outgoing message relayed to my Archive e-mail address.  Any ideas on what I am missing?
    Thanks,
    Blake

    Try...
    receive_override_options = no_address_mappings
    Personally, I put this in the master.cf file. As an addition to the existing no_header_body_checks so (probably last line in file) looks like...
    127.0.0.1:10025 inet n  -       y       -       -       smtpd
      <other stuff here>
       -o receive_override_options=no_header_body_checks,no_address_mappings
    DOn't know which location would be preferred though.

  • Suggest a feature page results in undeliverable mail

    I've been trying to submit a feature request, but all I get is an email response that my submission could not be delivered. Since bug reporting doesn't seem to include bugs in their website/mail delivery, I figured posting here might get some response.
    Delivery has failed to these recipients or distribution lists:
    [email protected]
    Your message wasn't delivered because of security policies. Microsoft Exchange will not try to redeliver this message for you. Please provide the following diagnostic text to your system administrator.
    Sent by Microsoft Exchange Server 2007
    Diagnostic information for administrators:
    Generating server: corp.adobe.com
    [email protected]
    #550 5.7.1 RESOLVER.RST.NotAuthorized; not authorized ##rfc822;[email protected]
    The Actual feature request was…
    *******Enhancement / FMR*********
    Brief title for your desired feature: Table Sort
    How would you like the feature to work?
    Have a sort icon show in table headers and be able to choose multiple columns to sort the table by.
    Why is this feature important to you?
    Apartment directories often have the same info twice, once sorted by Apartment Number then Last Name then First Name, and a second table is used sorted by Last Name then First Name then Apartment Number.
    Having to create two import files with the sort criteria and import each as a table then format each table is inefficient. Better to import single table, format, then make as many duplicates as necessary and change sorting within InDesign.

    I'm afraid sending me to the same page that I am reporting as having a problem is no solution. My fault since I didn't specify Adobe - Feature Request/Bug Report Form as where I was getting the results I mentioned, but the title of my post should have made it easy to make that connection
    (Suggest a feature page results in undeliverable mail)
    Yes, I used the real form on the real web page and got nothing useful for my effort… and that hasn't changed yet.

  • File for copy e-mail

    Next problem, on hard disk is file to PST for copy e-mail that the houses that work in one place worth outlook 2007 trying to reconstruct a different mail programs but failed. How to fix pst?

    Can you please be more specific?
    If you only need to copy the emails from one computer to another, and you are using Outlook as well as the local PST file, then just copy the PST file to the other computer, then open it in the Outlook in that computer, then you will be able to access
    the emails inside it. You may also import the emails via File > Import to import the emails in that PST file to your current personal folder.
    If your PST file is corrupt, or after you complete the copy, you find the PST file cannot be opened or imported in the new computer, then you may need to repair it.
    There are a lot of online resources discussing about how to recovering corrupt or damaged PST files.
    First, the Microsoft offical tool scanpst, also called Inbox Repair Tool, can repair the PST file, you can refer the following articles:
    http://office.microsoft.com/en-001/outlook-help/repair-outlook-data-files-pst-and-ost-HA010075831.aspx
    http://support.microsoft.com/kb/272227
    https://support.microsoft.com/kb/287497
    Second, a lot of Outlook MVPs also discussing this topic on their own websites:
    http://www.msoutlook.info/question/77
    http://www.slipstick.com/problems/pst-repair/repair-a-damaged-personal-folders-pst-file/
    Third, there are many third-party Outlook recovery tools you can try, below is a list of them:
    http://www.datanumen.com/outlook-repair/compare.htm
    Nearly all these tools provide a free trial so you can try first to see if a tool works before purchase it.
    Good luck!

  • Copying Over Mail Settings

    I used the MIGRATION UTILITY but of course, since I named my account  in the new machine, it did copy over all my files but it placed them in a temp "user" but now I can't figure out which folders I need to get all my mail settimgs all up & running - so while I can redo the migration, I'd rather just be able to copy  the mail over - possible? Thanks.
    (while not the same as mail, can I copy over all my mozilla/firefox passwords without having to redo the migration?) Thanks.

    Locations may be slightly different, but...
    First Quit Mail, then copy over...
    /Users/YourUserName/Library/Preferences/com.apple.mail.plist
    On Firefox...
    http://blog.arcsource.com/2012/02/firefox-profile/
    PS, I think you should Migrate from a clean setup.

  • Undeliverable Mail in Postfix

    I would like to redirect all undeliverable messages to another host for delivery. There are options to redirect undeliverable mail to an email address but this is not what I want. I need it to go to another mail host.
    Does anyone know how to do this? Thanks.

    hmmmm
    I may have an answer for you, but am not totally sure of your problem.
    At home, I have several e-mail addresses.. some for AOL, one for work and a few for my ISP at home, and each e-mail account has been set to use a separate outgoing mail server.
    So I send an e-mail to someone from home from my work e-mail address(which is set to use my work outgoing mail server), and for some reason, it is not deliverable... Mail gives me a pop up asking if I'd like to send via another method.
    So I select to send via my home ISP. This simply changes the outgoing mail server for that single message. The mail is received by the reciepent, as if it were sent from my work e-mail address, even though it went out thru my home ISP mail server.
    Now perhaps you are aware of this and wish to have Mail automatically take care of this for you..but I am unaware of a way to make this happen. What you CAN do is this: If you have an outgoing mail server that doesn't "play nice" all the time, and you have a mail server that DOES, simply change the outgoing mail server on the account that is giving you problems to the "nice" mail server.
    Ugh.. this sounds twisetd and mixed up.. let me know if this helps whatsoever.

  • Undeliverable Mail for Postfix

    I would like to redirect all undeliverable messages to another host for delivery. There are options to redirect undeliverable mail to an email address but this is not what I want. I need it to go to another mail host.
    Does anyone know how to do this? Thanks.

    Are you trying to work around the issue of ISPs like AOL and Roadrunner blocking any mail from your postfix smtp server because your computer, that is running postfix, lives in dynamic IP space?

  • Undeliverable mail question

    hi,
    What does this dsn mean? And could it be spam?
    the subject is "Undeliverable mail"
    Message body:
    Failed to deliver to '[email protected]'
    SMTP module(domain yyyyy.com) reports:
    yyyyy.com: no response
    Two attachments came along with the message. One of them is:
    Reporting-MTA: dns; mail.zzzzz.net
    Original-Recipient: rfc822;<[email protected]>
    Final-Recipient: rfc822;<[email protected]>
    Action: failed
    Status: 4.0.0
    I checked mail.log_current and grepped for zzzzz.net:
    mail.log_yesterday:07-Mar-2006 21:16:12.76 tcp_local ims-ms E 5 rfc822;[email protected] myuser@ims-ms-daemon zzzzz.net (mail.zzzzz.net [a.b.c.d])
    mail.log_yesterday:07-Mar-2006 21:19:56.49 tcp_local ims-ms E 3 rfc822;[email protected] myuser@ims-ms-daemon zzzzz.net (mail.zzzzz.net [a.b.c.d])
    mail.log_yesterday:07-Mar-2006 21:38:36.74 tcp_local ims-ms E 3 rfc822;[email protected] myuser@ims-ms-daemon zzzzz.net (mail.zzzzz.net [a.b.c.d])
    mail.log_yesterday:07-Mar-2006 21:55:07.28 tcp_local ims-ms E 3 rfc822;[email protected] myuser@ims-ms-daemon zzzzz.net (mail.zzzzz.net [a.b.c.d])
    mail.log_yesterday:07-Mar-2006 22:42:36.60 tcp_local ims-ms E 3 rfc822;[email protected] myuser@ims-ms-daemon zzzzz.net (mail.zzzzz.net [a.b.c.d])
    thx

    thx for the explanation .Now things are clearer. Few
    more questions if you don't mind Jay:
    what about the E entries in the log:
    mail.log_yesterday:07-Mar-2006 21:16:12.76 tcp_local
    ims-ms E 5 rfc822;[email protected]
    myuser@ims-ms-daemon swip.net (mailfe05.swip.net
    [83.180.141.95]) "E" means, "Enqueue". That's when your server puts the message in the queue. Has nothing to do with sending a message. In fact, this log entry shows the message
    Coming from the tcp_local channel (external to your systems),
    and addressed to your user on the local store.
    >
    Does it mean that the my mail server was trying to
    re-send the spam again?No
    Also, when you said 'original address is bad', the
    original address is [email protected]? and the
    remote server checked that email address and found
    out that it does not exist?No.
    the address to: was "[email protected]", or whatever was there, before you changed it.
    >
    Finally, what about the aol and yahoo emails that I
    found in the FROM and TO in the attached file?
    Received: from d83-180-141-95.cust.tele2.es
    ([83.180.141.95] verified)
    by mailfe05.swip.net (CommuniGate Pro SMTP 5.0.8)
    with SMTP id 39743822; Thu, 02 Mar 2006 22:57:17
    17 +0100
    Message-ID: <000b01c63e01$377fa740$5f8db453@ppdtdv>
    From:
    =?Windows-1251?Q?=D2=E8=EC=EE=F4=E5=E9_=D2=E0=F0=E0=F1
    =EE=E2=E8=F7_=CA=EE=ED=E4=E5=E5=E2?=
    <[email protected]>
    To:
    =?Windows-1251?Q?=C1=EE=E3=E4=E0=ED_=C5=E2=E3=E5=ED=FC
    =E5=E2=E8=F7_=CC=F3=F5=E0=EC=E5=E4=E8=ED=EE=E2?=
    <[email protected]>
    Those have nothing to do with the current mail itself. They're attached/forwarded/replied previously.

  • 'Undeliverable Mail' SPAM

    I have recently started to get a fair amount of 'Undeliverable Mail' SPAM.
    Anyone else getting this?
    imac G5 20; 1gig RAM; 160HD; airport; bluetooth keyboard & mouse; bose companion 3 speakers   Mac OS X (10.4.8)  

    I've received the same before as have many others which is an indication a spammer has used your email address to appear as the sending email address for a bulk spam mailing.
    Spammers do not provide a valid sending or return email address which is constantly changed and some spammers use a valid email address pulled from their list of "known good" email addresses.
    This is likely what has occurred and if so, there isn't much if anything you can do about it.

  • Undeliverable mail - error message

    When I try to send mail, I get an Undeliverable mail error message/response. I don't know if it makes a difference if I select the me.com or mac.com as my outgoing server. I also work at a university, but I don't think that should be a problem since this just surfaced today. I've posted some additional technical details below. Has anyone else experienced this problem recently?
    Error message details:
    SMTP module(domain mac.com) reports:
    host smtp-mx2.mac.com says:
    550 5.1.1 unknown or illegal alias
    Reporting-MTA: dns; regor.[myuniversity].edu

    First of all test the other mail host. Do nslookup on the mx record for the domain. Maybe also check it from somewhere else on the internet to make sure your dns server doesnt still have an old entry cached. Once you know dns is going to the right server, try to telnet to port 25 on that server to see if you can connect to the other mail server and get a header back. If you want you could go a step further and send a message via command line but not usually necessary.
    If that server seems fine, look at your own mail server. Check dns, delivery to other addresses etc..

  • 'Undeliverable Mail Return To Sender' spam?

    As of late, we have been getting 'undeliverable mail' which appears to be spam. The long headers appear to indicate that it is indeed coming from our mail server and the body of the message goes something like this:
    This is the Postfix program at host nopali.com.
    I'm sorry to have to inform you that your message could not be
    be delivered to one or more recipients. It's attached below.
    For further assistance, please send mail to <postmaster>
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    The Postfix program
    <[email protected]>: host 127.0.0.1[127.0.0.1] said: 550 5.7.1 Message
    content rejected, UBE, id=21361-04 (in reply to end of DATA command)
    Reporting-MTA: dns; nopali.com
    X-Postfix-Queue-ID: 7260D27DAB9
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Sat, 23 Dec 2006 04:10:46 -0500 (EST)
    Final-Recipient: rfc822; [email protected]
    Action: failed
    Status: 5.0.0
    Diagnostic-Code: X-Postfix; host 127.0.0.1[127.0.0.1] said: 550 5.7.1 Message
    content rejected, UBE, id=21361-04 (in reply to end of DATA command)
    From: "Ronald Myers" <[email protected]>
    Date: December 23, 2006 4:11:11 AM EST (CA)
    To: [email protected]
    Subject: Because that is curious girdle, and Hormah, and some therefore,
    ...and there is generally a spamish content underneath.
    Has anyone encountered this?
    I thought perhaps that somehow others were able to use my mail cue, but I closed the firewall for SMTP mail to only favourable IPs. However, when I look at my mail cue, I see a bunch of things waiting to be sent out. They appear to be a bunch of spam that the server trying to return. The cue would typically have this message:
    Message ID: 266692764C8
    Date: Thu Dec 21 13:31:52
    Size: 6742
    Sender: MAILER-DAEMON
    Recipient(s) & Status:
    [email protected]:
    connect to wc.wachovia.com[169.200.182.108]: Operation timed out
    It appears that the server is trying to return spammed mail to sender and it is timing out. I am not sure, though. This would not make sense since I have spam being redirected to a separate spam_depot account.
    Any ideas on how to figure this one out?

    I can't tell you if this is a wise decision for your setup, you need to make that call.
    You are getting into settings which stray far from the GUI and the support of Apple, venture forward carefully..
    The comments within the amavisd.conf file and threads in this forum contain most/all of what you may require. Spend time reviewing the config file. all of it's options, the flow of amavis (well documented) and how amavis links to postfix...... then out of thousands of possible configurations you can make the decision of what is best for your server.
    Some hints... (which were documented in an earlier thread)
    The GUI sets tag2 and sakill_leveldflt the same:
    $sakill_leveldeflt = $satag2_leveldeflt;
    You can change this so that one set of actions is performed at tag2 and a more extreme action at the kill level. something like this works well for a well trained server:
    $satag2_leveldeflt = 3.0
    $sakill_leveldeflt = 6.0;
    When the kill level is reached, the finalspamdestiny action is performed. If you bounce or reject, you will generate bounces in your queue. If you discard, the no bounce is generated. Even if you discard, you still have a quarantine.
    The default is to quarantine the spam as files in /var/virusmails Many people never look in this folder, and it can easily fill-up. Look in your settings for something like this:
    $QUARANTINEDIR = '/var/virusmails';
    you can comment this to:
    #$QUARANTINEDIR = '/var/virusmails';
    to disable the quarantining to a directory.
    You can quarantine to an email address, read the file, it's pretty clear.
    Take the time to read through the file. Make changes one at a time and allow plenty of testing between changes. Make any files you change. Be sure to stop/start mail service to activate changes.
    Jeff

  • Can't un-tick "Copy all mail to:"

    Hi,
    I've just finished setting up mail in OS X Server 10.4.8 after changing over from MS Exchange.
    To check test emails were ariving OK, I ticked "Copy all mail to:" and entered a hotmail address.
    Now everthing is working I un-ticked "Copy all mail to:" but when ever I click "save" the tick re-appears and the hotmail address in automatically entered.
    I've tried stoping and starting the service but the problems remains.
    Could any help.
    Thanks in advance.

    Edit /etc/postfix/main.cf
    look for:
    always_bcc = [email protected]
    Delete or comment the line.
    Restart mail service.

Maybe you are looking for

  • Information broadcasting in 2004s for pdf and HTML format throws error

    hi experts, I am broadcasting via e-mail, when i use output format as MHTML or XML it works fine, when i change the output format to pdf or html (as zip file) i get the following errors <b>For PDF</b> --><b><i>Settings ZTEST1 were started from the BE

  • Is it possible to edit a google site using dreamweaver

    I'm using google sites for some of my low price costumers, and i was wondering what options exsist to use dreamveaver to update some of the gadgets like the text gadget. I know google does not support connecting fully with deamweaver or any other edi

  • How to get the data in servlet if the request encryption type is multipart/

    I am uploading files to the server. at that time,before upload ,I need to validate the upload file names. so,i am trying to get the value of those files names using request.getParameter("jobsheet"); in servlet. its giving null insted of file path. ho

  • About Receiver XI Adapter Configuration

    Hi Experts, I am configuring the Receiver XI Adapter for ABAP server proxy, I am following this link http://help.sap.com/saphelp_nwpi71/helpdata/en/f4/0a1640a991c742e10000000a1550b0/content.htm Here Addressing type is URL Address then where can I fin

  • EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); has broken.

    Hi, im getting below error in my database .. can you any one tell me tips or provide me usefull link .. EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); has broken. Database :10.2.0 .4 OS :sun