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.

Similar Messages

  • 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?

  • 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

  • '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 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

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

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

  • Sending php mail(); using postfix. Authentication failed.

    Trying to set up my localhost to send php mail() using postfix.
    I did the following:
    Created the sasl_passwd file
    Created the sasl_passwd.db file
    Edited mail.cf in the postfix folder to include relay host: relayhost=smtp.live.com:587
    I'm trying to relay through my hotmail account. The mail.log returns the following:
    Jan 24 13:17:30 Richards-MacBook-Pro.local postfix/error[927]: E75CCE40EE4: to=<[email protected]>, relay=none, delay=1580, delays=1580/0.07/0/0, dsn=4.0.0, status=deferred (delivery temporarily suspended: SASL authentication failed; server smtp.live.com[65.55.162.200] said: 535 5.0.0 Authentication Failed)
    Any ideas what I'm doing wrong here?

    Ok problem solved :)
    Problem was between oracle and MS exchange server. Live server oracle 9i is on linux, and testing server works on windows.
    So the problem was with configuration. Our admins corrected it and now works :). I don't know details.

  • Sending mail via postfix to gmail

    Hello All,
    I am trying to send mail using postfix to my gmail account but I never receive the emails. If I send the email to my work email account I get the email fine. Any ideas?
    Thank you!

    1. Did you check your spam folder in GMAIL?
    2. Are you using a relay server? If you're using a relay server, a lot of places will only let you relay to the internal domain. For example... if i am running a local postfix server and relaying (without authentication) to relay.companyx.com, I can only send email to <users>@companyx.com. The relay server will drop mail going to external servers (to help block spam).
    So, is your postfix server sitting on your work network?

  • How do I configure Server 3.0 to deliver "undeliverable" mail to a specific "catchall email address?

    How do I configure Server 3.0 to deliver "undeliverable" mail to a specific "catchall email address?
    I had this working in Server 2.0  dunno why it doesn't now, but I can't find the config.

    It's fairly straight forward and there is a GUI option to help you.
    In the Server app, go to Users. Select the User you want to create email aliases for. Right click, or hold down Shift-Ctrl and click on the name. Select 'Advanced Options...' from the menu. You can then enter as many aliases as you want in the 'Aliases'.
    For example: [email protected], @xyz.co.uk, [email protected]
    My example is overkill as I only really needed to add '@xyz.co.uk' as a catch all get everything sent to that domain delivered to that users email address.

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

  • Mail and postfix issue

    Just curious if the Mail.app uses postfix to send or receive email. Yesterday I edited some postfix setting to use with MAMP and it completely screwed up Mail. I was under the impression that a mail client doesn't use any of the internal/system mail settings..etc. But It messed up Mail so bad I had to use a TimeMachine backup to restore the Mail settings and application.
    What Mail was doing was that it could send email, but it would receive email. When I logged into gmail and had my Mail client on. It would suck the email I sent out of gmail and it would just disappear. But if I had my Mail client turned off. The email would stay in my gmail account.
    Anyway, I solved it. But just wanted to see if anyone knew why editing postfix settings would cause such a weird problem.
    Thanks

    If a setting doesn't exist in main.cf then it will be default.
    This URL shows the settings and their defaults:
    http://www.postfix.org/postconf.5.html
    If you want to over-ride a default, you add the setting to main.cf with your value and restart postfix (sudo postfix reload).
    Jeff

  • Undeliverable mail by MS Exchange server

    I'm the dark horse trying to use Mail on an Exchange server at work. I spent yesterday getting the connection together, and it's all working fine except for this one thing.
    Everything I send bounces back to me as undeliverable with the following message:
    Your message did not reach some or all of the intended recipients.
    Subject: Re:test
    Sent: 6/26/2007 9:34 AM
    The following recipient(s) could not be reached:
      Legitimate internal email addy on 6/26/2007 9:34 AM
      The e-mail account does not exist at the organization this message was sent to. Check the e-mail address, or contact the recipient directly to find out the correct address.
      server01.DOMAIN.local
    I rarely see this notification in Mail--it shows up in my Outlook Web Access inbox. The messages I'm sending (the ones that are supposedly undeliverable) do reach their addressees, but they go straight into the user's Exchange server's automatically created "SpamEmail" folder.
    I feel like something of a hero having navigated the pitfalls involved in setting this up so far, so I don't want to give up. Also, my option is to use Entourage, which was drastically slowing my quad core Mac Pro every time it checked to "Now update" somesuch thing or another--which was always, no matter how I had the "schedules" scheduled. I don't want to go back. (And webmail is o.k. for remote access, but not for daily office work.)
    Thanks
    Core Duo iMac 24", G4 PB, Mac Pro   Mac OS X (10.4.10)   Airport Extreme network with a Cranky Ethernet drive
    Core Duo iMac 24", G4 PB, Quad Core Mac Pro   Mac OS X (10.4.10)   Airport Extreme network with a Cranky Ethernet drive

    Without seeing the full header of one of those messages, its nearly impossible to say what's wrong and even with the full header, its not an easy issue to diagnose without more info. Your best option is to report this problem to your Exchange server's administrator and ask him or her to look at the Exchange server's log files for any issues.

Maybe you are looking for

  • Processing Sequence issue of FTP protocol

    Hi,we are using the standard SAP MDM data syndication mode which using SAP XI to publish the data to client system.In this sceanrio,we think the data files generated by MDM Syndication Server should be processed according to their time stamp in the f

  • Where the Adobe Designer PDF Form "Default Locale" read from?

    I am designing PDF form using Adobe Designer. I have set the "Default Locale" in the Edit -> Form Properties. I have set the Display Pattern of numeric field to ZZZ,ZZZ,ZZ9.99. Based on locale, Adobe should format the numeric field accordingly. So wh

  • I lost pictures in my iphone.  plz help me

    hello I lost my very important pictures in my iphone. I'm looking for a solution to recover my photos and thank you in advance

  • Unable to Install the Common Components and Oracle HTTP Server

    I am installing the Hyperion 11.1.2.1.0 in Linux 64 bit server.. I have done the downloading the files from 1to 7 for Foundation Services and Static client with all Essbase. I have unziped the all into one folder and done the installation , but i am

  • Problem in Cold Fusion MX

    we have an issue displaying content that is under a database, with a datatype ntext. CF don't give us any error but it just don't display the field that is in a ntext datatype. Is there a way to get Cold Fusion to display the content that is under th