DIsable smtp auth only for an ip

Dear gurus,
I have sun messaging server 6 running perfectly alright and only new thing which I would like to incorporate is to disable smtp auth only for one ip address.I am new to this system and have gathered following information from sun messaging docs, the steps which I followed..
1) Create a table DISABLE_SMTPAUTH_IP similar to INTERNAL_IP mapping table in mapping file
INTERNAL_IP
10.18.18.19 $Y
10.18.18.38 $Y
10.18.18.30 $Y
127.0.0.1 $Y
* $N
! Added on 01092008 for disabling smtp_auth
DISABLE_SMTPAUTH_IP
external.ip.addres $Y
*$N
2) ALLOW PORT ACCESS
*PORT_ACCESS
*|*|*|*|* $C$|DISABLE_SMTPAUTH_IP;$3|$Y$E
*|*|*|*|* $C$|INTERNAL_IP;$3|$Y$E
3) Then right after the current rewrite rule in imta.cnf file Created new TCP CHANNEL
! Do mapping lookup for internal IP addresses
[] $E$R${INTERNAL_IP,$L}$U%[$L]@tcp_intranet-daemon
added a new rewrite rule:
! Do mapping lookup for "no smtp auth", non-internal IP addresses
[] $E$R${DISABLE_SMTPAUTH_IP,$L}$U%[$L]@tcp_nosmtpauth-daemon
! ttcp_nosmtpauth-daemon
tcp_nosmtpauth-daemon smtp mx single_sys subdirs 20 maxjobs 7 pool SMTP_POOL nosasl nosaslserver
tcp_nosmtpauth-daemon
! tcp_local
tcp_local smtp mx single_sys remotehost inner switchchannel subdirs 20 maxjobs 30 pool SMTP_POOL maytlsserver maysaslserver s
aslswitchchannel tcp_auth loopcheck threaddepth 32 blocklimit 5120 notices 1 2 backoff "pt5m" "pt1h" "pt2h" "pt4h" destinati
onspamfilter1optin spam
tcp-daemon mumbbmr1.dataone.in
! tcp_intranet
!tcp_intranet smtp mx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel sasl
switchchannel tcp_auth blocklimit 2500
!tcp_intranet smtp mx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel sasl
switchchannel
!tcp_intranet-daemon
run /opt/SUNWmsgr/sbin/imsimta refresh
alternatively tried imsimta cnbuild and imsimta restart
but still i get Mail rely denied when I try sending messages from the same trusted IP without doing AUTH.
I would like to know...
1) If there is something mising or wrong in above steps
2) HOw do i check if the messages from that IP(for which smtp auth is disabled) is passing from the tcp_nosmtpauth channel...
THanks for giving your valuable time...

thanks very much shane for giving time...
Please always provide the exact version of Messaging Server (./imsimta version).
mumxxxx1 # ./imsimta version
Sun Java(tm) System Messaging Server 6.2-6.01 (built Apr 3 2006)
libimta.so 6.2-6.01 (built 11:20:35, Apr 3 2006)
SunOS mumxxxx1-a-fixed 5.9 Generic_118558-28 sun4u sparc SUNW,Sun-Fire-V440
mumxxxx1#
Why would you want to disable SMTP Authentication? What are you attempting to achieve by doing this -- what is the problem you are trying to solve?
We are an ISP and therefore sometimes required to send bulk mail, for which we are currently using perl bulk mail module script and there we specify the users in text file to send message, everytime this module try sending it get Mail Relaying denied as it doesnot supply user and passwd required for smtp auth in base64.
Therefore I wanted to disable smtp auth for an ip address using which smtp auth is not reqauired and mails should be openly relayed.
Why are all of the above entries commented out? Did you intend to disable (break) the tcp_intranet channel?
no it is not commented in config files.
+./imsimta refresh is no longer a valid comment, you need to use ./imsimta cnbuild;./imsimta restart+
as per sun mesaging server 6 admin guide it is given to be working. Alterntively I tried ./imsimta cnbuild;./imsimta restart.
Please provide the mail.log_current line that matches the attempted email delivery which was rejected.
mumxxxx /opt/SUNWmsgsr/sbin # tail -f /mta/logs/imta/mail.log_current
08-Sep-2008 13:42:19.52 7079.0fca.710096 tcp_local J 0 [email protected] rfc822; [email protected] mailserv 530 5.7.1 Relaying not allowed: [email protected] SMTP
bash-3.00# telnet mumxxxx 25 Trying 10.18.18.19...
Connected to ::ffff:10.18.18.19.
Escape character is '^]'.
220 mumxxxx.datxxxx.in -- Server ESMTP (*)
ehlo mumxxxx.daxxxx.in
250-mumxxxx.daxxxxx.in
250-8BITMIME
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-HELP
250-XLOOP 82F58AB6E3453199924062C516F2E337
250-AUTH PLAIN LOGIN
250-AUTH=LOGIN
250-ETRN
250-NO-SOLICITING
250 SIZE 0
mail from: [email protected]
250 2.5.0 Address Ok.
rcpt to: [email protected]
530 5.7.1 Relaying not allowed: [email protected]
rcpt to: [email protected]
Also please clarify if you want to disable the ability to perform SMTP auth or whether you want to allow email to be sent without requiring SMTP auth -- these are two completely different objectives.
No I do not want to disable SMTP auth for everyone.DEfault is it should be forced to all except from one ip. ie disable smtp auth only for an ip address.
Regards
Pradeep

Similar Messages

  • Disable Drill options only for one dimension of  Web Analysis report

    Hi,
    Please help me on below issue.
    I created a web analysis report with 3 dimensions Accounts, MRC and Measure. I have to disable drill down and drill up options only for Measure. Accounts and MRC should be drillable where as Measure should show the selected member as static and not drillable.
    Thanks

    Hi Swetha,
    You must've realized that- Even if you select only the desired members, you end up being able to drill-down unwanted members. Correct ? :)
    The only way, I believe, is- To create a users' group at your Data source side, perhaps, Essbase & provision this new group with a Metaread filter which prevents him/her from Drilling down to the leaf node.
    PS: Giving Read access might also let the user not see the data for children. But, if you want to hide the members also, Metaread+ is the way to go.

  • Disable internet access only for specific time with GPO?

    I need to be able to disable web browsing during specific times (night shift for example). I know I can create a GPO policy and set a 'fake proxy' for IE that would blanket kill browsing but I don't want to have that enabled 24/7. Is there any way to do only from like 5pm - 5am.
    Or is there a better way to do this? I know I could setup a Squid Server and set time limits through there. Was just curious if it could be done through AD.
    This topic first appeared in the Spiceworks Community

    Ok, I just thought of a way to do it with GPO.Create the gpo to setup the fake proxy setting and also lock out the proxy setting to keep the users from disabling the setting.Setup targeted application of the GPO based on a specific AD group. Depending on if you setup the GPO policy under computer or user you can add either user names to this AD group or add computer names to this group (you could also create a nested group so you are only adding and removing one name from the targeted GPO group). Setup the task scheduler to add and remove names to this gpo application group based on time of day. Understand there will be a delay of up to 2 hours between the time the user is added to this group and the application of the GPO to the target computer. It would appear a bit clunky, but it should work.The squid route would be a bit more...

  • Smtp auth. fails for Mac mail but ok for netscpae mail ???

    Hello all,
    I am having some persistent problems with SMTP authentication to send mail from my Mac via my ISP onto the internet.
    What DOES work:
    1. sending and receiving mail from my current ISP account using Netscape mail.
    2. receiving mail from my ISP account using Mac mail
    What DOES NOT work:
    3. sending mail via my ISP using Mac Mail. The error message is that the SMTP authentication failed.
    Yes, I checked the mail port (25) and the smtp address (in plain text ascii)
    Has anyone had a similar problem, where Mac mail failes, but another mail tool succeeds? Has anyone succeeded at getting it to work for Mac mail?
    Thanks,
    Ary
    Powerbook G4   Mac OS X (10.3.9)  

    If your ISP requires POP before SMTP authentication which requires checking the account's incoming mail server for new mail before being able to send with the account's SMTP server (checking the account for new mail should be required once per session only), then authentication for the SMTP server should be set to None.
    Go to Mail > Preferences > Accounts and under the account information tab for the account preferences at the SMTP server selection, select the Server Setting button below.
    If Password is selected for SMTP authentication, change it to None and test if this resolves the problem.
    If None is selected and your ISP requires password authentication for their SMTP server, select Password and enter the account's user name and password required for the authentication.

  • How can I disable iMessage but only for one contact ?

    Hi,
    I'd like to send texts to my friend who owns an iPhone, but not on iMessage.
    (That friend owns an iPhone, but can't connect on 3G. So she gets my texts only when she can connect on wi-fi...)

    Your friend would have to disable iMessage. As far as your phone is concerned, since you have connected with her via iMessage, it will always try that.

  • SMTP Auth For Subset of Users

    I think this is not possible but thought I should ask just in case...
    Any ideas how to configure things to only allow a couple of users to smtp authenticate from WAN side of firewall?
    I'm thinking of a different port number from 25, tied into some sort of lookup table...? (you can probably tell I'm scrabbling about here
    -david

    Thanks Jeff,
    This is purely to get around a lack of secure passwords for LAN users (there are no passwords). At the moment there is no SMTP auth, only relay by LAN IP, and the firewall is closed except for SMTP & VPN. Problem is that the 2 bosses now want to send/receive email from WAN using their fancy mobile phones. However, they are not keen on now introducing secure passwords office wide so I was looking around for other possibilities before informing them that there was really no choice if they wanted to enable SMTP auth and open firewall for pop/imap (due to risk of dictionary hack).
    oh, and yes, it's pop/imap too
    (I have not looked at how these phones work exactly with pop/imap so not sure yet which protocol is preferred).
    The VPN is using the OSX Server and does get used for email from home computer. Actually, I must check to see if the phone thingy can do VPN...
    Appreciate any thoughts. I actually would like to tell them to introduce secure passwords throughout but just wanted to ensure I wasn't giving them wrong info on possible alternatives.
    -david

  • Command "imsconnutil -a" can't get the smtp auth log

    Hi
    there is the imsconnutil result
    UID IMAP last access HTTP last access POP last access
    ===================================================================================================
    admin ----NOT-RECORDED---- 15/Aug/2006:20:19:19 ----NOT-RECORDED----
    test ----NOT-RECORDED---- 17/Aug/2006:18:44:47 18/Aug/2006:12:07:01
    is there any way to find the smtp access log. any help is preciate.

    Hi Jack,
    The imsconnutil command doesn't provide information on SMTP transactions - only for client pop/imap/http connections which access the mail-store. This information is stored within the SMTP logs of the server that the user uploaded the email to.
    What information in particular were you after? (who logged in and when?)
    I'm sure it should be fairly straight-forward to parse out the information you need. The following doco lists the various flags and their meanings. You would be looking for log lines containing A e.g. ESA - "Successful enqueue with TLS and SASL (security and authentication)"
    http://docs.sun.com/app/docs/doc/819-2650/6n4u4dtv9?a=view
    Cheers,
    Shane.

  • Smtp auth required

    Hi
    As of today I am getting an alert for thunderbird saying. The mail server responded: SMTP Auth required for message submission on port 587.
    Can anyone tell me how I fix this. My tech guys say there should be a tick box in thunderbird saying the server requires SMTP Authorisation but I can't find it anywhere.

    ''christ1 [[#answer-700312|said]]''
    <blockquote>
    Tools (Alt-T) - Account Settings
    Select 'Outgoing Server (SMTP)' in the left pane, it's at the bottom of the pane.
    Select your SMTP server - Edit
    Enter your user ID.
    Thunderbird will prompt you for a password the next time you attempt to send a message.
    </blockquote>
    Hi Chris
    We have tried changing the password but this does not solve the problem.
    I am looking for a tick box that say SMTP requires authorisation.
    Thanks

  • My apple id is disabled only for mynipad.  apple supportbis unable to help me on their end. please advise

    my apple id is disabled only for my ipad. i was on phone with apple assistance and they did everything on their end to help.  they said it has something to do with itunes.  please advise

    If it works on your computer's iTunes then try logging out of it on the iPad by tapping on the id in Settings > Store (Settings > iTunes & App Stores on iOS 6+) and then log back in and see if that 'refreshes' the account on it

  • Disabled mpxio only for I/O backup

    Hi,
    I have an issue related slow backup performance,
    Based on recommendation :  mpxio does not requires enabled for tape connection
    In the list paths below :
    #luxadm -e port
    /devices/pci@400/pci@1/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl        CONNECTED   --> tape connection
    /devices/pci@400/pci@1/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0:devctl      CONNECTED --> disk connection
    /devices/pci@400/pci@2/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl        CONNECTED  -->disk connection
    /devices/pci@400/pci@2/pci@0/pci@8/SUNW,qlc@0,1/fp@0,0:devctl      NOT CONNECTED
    mpxio have been enabled when executed using stmsboot command except the following path only for tape  :
    /devices/pci@400/pci@1/pci@0/pci@8/SUNW,qlc@0/fp@0,0:devctl 
    or
    root@eccprod-DRC#grep /pci@400/pci@1/pci@0/pc /kernel/drv/fp.conf
    name="fp" parent="/pci@400/pci@1/pci@0/pci@8/SUNW,qlc@0" port=0 mpxio-disable="yes";
    Means:
    there is a existing one hba card with dual fc port which connected to each connection,one connection for tape and other for storage
    My question:
    1.  is this caused that the tape and storage connected at one hba ?
    2.  whether the tape should have a dedicated connection in one hba card ?
    Need your suggestion
    Best Regards
    -jodi

    Hi.
      Disable MPXIO pon port for tapes - It's normal.
      Disk and Tapes on same HBA on different ports - not should cause any problems.
    You say about low performance but not show any informwation about perfomance.
    iostat -xnz 5 5 at time of backup can give more usefull information.
    Regards.

  • The external GPS is used only for 911 but the device will not op without it...this causes great inconvenience for me, having to run that cable to a window in the trwo houses I use it..ids there a way to disable the GPS if I do not care about the 911 funct

    the external GPS is used only for 911 but the device will not operate without it...this causes great inconvenience for me, having to run that cable to a window in the two houses I use it..is there a way to disable the GPS if I do not care about the 911 functionability..?  this is the only downside I have with the network extender and it renders my device useless..

    Nope, GPS is a Federal requirement for anything operating a cellular telephone signal.  You don't ever plan to call 911 until you are in an emergency.  I don't see that requirement changing any time soon.
    If you are truly inconvenienced by the VZW network extender then perhaps you should disable you calling features in these areas and swap over to WiFi only.  There are many services and apps out there that can route your phone services through internet service providers. 

  • To generate quota only for disabled employees

    Hi All,
    i have one requirement here. i need to generate quota for challeneged employees. but there is no separate ESG for time quota to identify challeneged employees.
    i created challeneged groups in challenge infotype 0004. ans assigned this challenged group in genaration rule for quota types. but it is showing quota for all employees in time evaluation , It is not picking up the information from IT 0004.
    i want to resrtict quota for all employees. it should display challenged quota only for challenged employees, when i assign challenge group in generation rule for quota types.
    can anybody provide me the solution for this. it isd urgent. rewards will be given.
    Regards
    Vani

    Hai..
    Check Infotype 82.. Special Absences..
    Special Absence Data
    Additional Absence Data
    Define Types of Additional Absence Data
    Create Workers' Compensation
    Define Events for Absence Data
    Link Absences to Additional Absence Data

  • SMTP-auth via mailx results in service unavailable

    Why do my attempts to use mailx with Gandi SMTP fail with 'Service unavailable'?
    I have the following ~/.mailrc file which is recognised by mailx:
    set smtp=smtps://mail.gandi.net:465
    set smtp-auth=login
    set smtp-auth-user=harry@XXXXXXX
    set smtp-auth-password=XXXXXXX
    set from=harry@XXXXXXX
    set ssl-verify=ignore
    set nss-config-dir=/Users/neville/Thunderbird
    The result is below.
    From MAILER-DAEMON  Thu Dec 20 15:41:47 2012
    Return-Path: <>
    X-Original-To: [email protected]
    Delivered-To: [email protected]
    Received: by G4-N-2.local (Postfix)
              id D4E2DA382D6; Thu, 20 Dec 2012 15:41:47 +0000 (GMT)
    Date: Thu, 20 Dec 2012 15:41:47 +0000 (GMT)
    From: [email protected] (Mail Delivery System)
    Subject: Undelivered Mail Returned to Sender
    To: [email protected]
    Auto-Submitted: auto-replied
    MIME-Version: 1.0
    Content-Type: multipart/report; report-type=delivery-status;
              boundary="78E73A382D4.1356018107/G4-N-2.local"
    Message-Id: <[email protected]>
    This is a MIME-encapsulated message.
    --78E73A382D4.1356018107/G4-N-2.local
    Content-Description: Notification
    Content-Type: text/plain; charset=us-ascii
    This is the mail system at host G4-N-2.local.
    I'm sorry to have to inform you that your message could not
    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 mail system
    <neville@XXXXXXX>: host spool.mail.gandi.net[217.70.184.6] said: 554 5.7.1
        Service unavailable; Client host [XXXXXXX] blocked using
        pbl.spamhaus.org; http://www.spamhaus.org/query/bl?ip=XXXXXXX (in
        reply to RCPT TO command)
    --78E73A382D4.1356018107/G4-N-2.local
    Content-Description: Delivery report
    Content-Type: message/delivery-status
    Reporting-MTA: dns; G4-N-2.local
    X-Postfix-Queue-ID: 78E73A382D4
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Thu, 20 Dec 2012 15:41:47 +0000 (GMT)
    Final-Recipient: rfc822; neville@XXXXXXX
    Action: failed
    Status: 5.7.1
    Remote-MTA: dns; spool.mail.gandi.net
    Diagnostic-Code: smtp; 554 5.7.1 Service unavailable; Client host
        [XXXXXXX] blocked using pbl.spamhaus.org;
        http://www.spamhaus.org/query/bl?ip=XXXXXXX
    --78E73A382D4.1356018107/G4-N-2.local
    Content-Description: Undelivered Message
    Content-Type: message/rfc822
    Received: by G4-N-2.local (Postfix, from userid 501)
              id 78E73A382D4; Thu, 20 Dec 2012 15:41:47 +0000 (GMT)
    To: neville@XXXXXXX
    Subject: test
    Message-Id: <[email protected]>
    Date: Thu, 20 Dec 2012 15:41:47 +0000 (GMT)
    From: [email protected] (Neville Hillyer)
    test email
    --78E73A382D4.1356018107/G4-N-2.local--

    http://www.spamhaus.org says:
    Mail servers only run spam filters such as Spamhaus PBL on port 25, so if you find you are being blocked by the PBL when you try to send mail to your mail server that means you are not communicating with the mail server on the 'authenticated' port 587 but you're still on port 25. This means your 'SMTP Authentication' is not working correctly.
    http://wiki.gandi.net/en/mail/standard-settings#smtp-account says:
    SMTP Account
    Name server : mail.gandi.net
    Port : 25, 465 (with SSL) or 587 (try one or the other)
    TLS or SSL: yes
    SMTP Authentication : yes, using the same settings as for the POP / IMAP account
    I was trying to use the same settings I have used for several years with Thunderbird and Apple Mail, ie SSL on port 465.
    Is there something wrong with my settings which could be preventing mailx from using port 465?
    A few debug tips would be appreciated.
    Your link causes me to ask:  Does the mailx on Leopard support SMTP directly?

  • OS X's Mail app and SMTP auth

    We're having a problem with OS X's Mail app connecting to Tiger Server's mail server. We have the server set up to not always require SMTP auth (all SMTP auth settings unchecked in Settings > Advanced > Security), and to allow relay from only a given set of networks (Settings > Relay). In theory, this means that if you're on one of the specified networks, you're not required to authenticate, otherwise you are. This according to Apple's documentation.
    From a bit of packet sniffing, it looks like:
    1. If a user on an allowed network tries to send mail through the server, the server does not return authorization as an option.
    2. If the user has password authentication specified in Mail's SMTP Server settings, it refuses to send. If they set SMTP auth to None, the Mail app will send.
    IOW, Mail doesn't send if Authorization is enabled in the Mail app, but not given as an option by the mail server. Has anyone else seen this? Is this a bug in Mail or Postfix?

    If you have networks entered in
    'Accept SMTP relay only from these hosts and
    networks'
    Clients on these networks don't need to authenticate
    for local delivery or relay.
    So it does what you are looking for.
    Jeff
    Well, goddarn it - so it does!
    I was testing various permutation (10.3.4) just recently and it just wouldn't relay without auth if any of them was selected (honest!). That was with the trusted relay....
    ...but I just tried it again and it's fine!
    I had put it down to just another 'glitch' in the documentation.
    Oh well - glad you were there to point it out Jeff!
    Whilst we are on the subject - do you know of any way to tie authentication (outwith trusted network) to specified users? I was thinking there might be a Postfix parameter for this (sorry, I should just look them all up but maybe someone knows it already)?
    Thank, and sorry for any earlier confusion!
    -david.

  • Pop before smtp and smtp auth

    Hi Jay,
    hope all is well with you.
    what is pop before smtp and how to see if it is enabled?
    what is smtp auth and how to see if it is enabled? Is it enabled by default on MS 6.x?
    what happens if smtp auth is not enabled? Will my mail server be a relay?
    Is there any additional configuration that should be done on messaging server to allow connection for dial-up users?
    thanks,

    Hi Jay,
    hope all is well with you.
    what is pop before smtp and how to see if it is
    enabled?Pop before SMTP is a very old, and little used method for "authenticating" users. There is virtually no reason to turn this on, anymore.
    It's done through the MMP, and is the only reason to actually use the SMTP proxy that's part of MMP.
    I would not go there unless your environment requires it. Most do not. Most clients support SMTP authentication, which is much better, and is on by default.
    >
    what is smtp auth and how to see if it is enabled? Is
    it enabled by default on MS 6.x?See above. Yes, smtp authentication is on by default.
    >
    what happens if smtp auth is not enabled? Will my
    mail server be a relay?Totally different issue.
    No.
    If smtp auth is off, if you have external users, they likely will not be allowed to send to other external users..
    >
    Is there any additional configuration that should be
    done on messaging server to allow connection for
    dial-up users?If "dial-up users" means that they come from ip addresses outside your network, then smtp auth will allow them full access.
    thanks,

Maybe you are looking for

  • Unable to print PDF download in Safari in Mavericks

    I clicked on a link and it opened a PDF in Safari. However, I am unable to print it. This seems to have occurred after installing Mavericks. I have the latest Adobe Reader and the latest printer driver from CAnon for my Pixma i3600. How do I print th

  • Problem with SOAP receiver

    Hello, Our PI system is 7.4 . We have a lot of interface with related to  proxy to soap.When they are used  very intensively, errors occur in soap receiver . Types are error:  503 server  not avalibale, 401 unauthorized , invalid content type for SOA

  • Transfering iTunes  playlists from PCs to a MacBook

    My wife and I just bought our first Mac. We intend to share it, so we have set up separate user names. Our question: Is it possible for each of us to transfer our iTunes playlists from our PCs to our new MacBook and continue to maintain and sync our

  • SQL Server 2005 Endpoints

    Hello, I am trying to fetch data from SQL Server 2005, bypassing IIS. SQL 2005 Endpoints require a username and password and don't support anonymous access. How can I send a username and password for authentication? This is the Flex 2 Beta 2 code I a

  • Comparing dynamic fields of objects using equals and hashCode methods

    To compare the different objects of the same class with their contents like jobTitleId, classificationId, deptId & classificationId was to be done and do some manipulations later using Set and Map. I was able to do that by simply overriding the equal