Networking :: Sendmail - Change Domainname Local Users

Mar 26, 2010

I have the following problem and tried (almost) anything to fix it but without a full success.

We're running a server with CentOS 5.4. Every night a logwatch report is send. These mails are rejected by our mailserver because some invalid details. These mails are send to local user root which is redirected to another external mail address with /etc/aliases.

At first the mail was send from root@localhost.localdomain to root@localhost.localdomain. As you can imagine, our mailserver rejected this because the localhost.localdomain parts. So I changed the sendmail config with these options:

Code:
dnl EXPOSED_USER(`root')dnl
FEATURE(masquerade_envelope)
MASQUERADE_AS(`domainA.com')
MASQUERADE_DOMAIN(`localhost.localdomain')
MASQUERADE_DOMAIN(`slave02.domainA.com')

This solved my problem partially: Mail is now coming from root@domainA.com (which is OK), but is send to root@slave02.domainA.com (slave02 is the local hostname), which is not OK. I tried everything I could find to change that last part to, but nothing seems to work.

View 4 Replies


ADVERTISEMENT

Fedora Servers :: Migrate Local Users And Sendmail Mailboxes?

Apr 21, 2010

I found 2 previous posts, one from 2005 and one from 2006. The 2005 post was not very helpful and the 2006 threads are not exactly what I was expecting. So I wanted to ask the question to be sure. I have already stood up the new fedora 12 server. The old server is also fedora 12. I need to migrate local users and sendmail mailboxes. In the past couple of years the environment was small enough to create a copy of the users and then have the users mail themselves, but I want to start migrating users/mailboxes properly.

On a unix level I am a jr admin, but I have extensive senior level experience as a windows engineer and network engineer. I do feel comfortable with using the unix command line, but usually operate the unix systems thru webmin because I am not familular with more complex commands. Ideally a software solution to migrate users and/or mailboxes from one server to another is what I am looking for, but in leiu of a software solution I still need to migrate user accounts and their mailboxes. LDAP is not in place, but if the process becomes easier with LDAP I am willing to do what is needed to set up LDAP. (I have no previous experience setting up LDAP)

I do not want to change my mail server from sendmail to different software. At least right now. Both systems are up and running. They can connect to each other via public ipv4 address' only. The new server has already been installed and configured with all the software to match the old server. How do I migrate users and sendmail mailboxes from one fedora 12 server to another fedora 12 server?

View 3 Replies View Related

Server :: Setup Different Local Delivery Agents For Different Users In Sendmail

Jun 9, 2010

The problem is to make sendmail use different LDA for diferent users in the same domain. For example, deliver bob@some.domain with procmail and genry@some.domain with mail.local.

View 1 Replies View Related

Ubuntu Networking :: App To Check Local Users On Network?

Jan 11, 2010

I remember back when I used Windows, there was a shell command call "net view", which would allow me to see all the other users on my wireless net.

Is there any command or application that can do this? I dont mind if it is a terminal command either, but I would really like to know a way that I could see other users on my network.

View 3 Replies View Related

Ubuntu Networking :: Changing Password For Local Users

May 6, 2010

I am on ubuntu server and its joined to an W3k Domain thru winbind/samba. However everything works fine and Windows and Local users can login to the machine without any problem. However when I wanted to create a local user X and change his password I couldn't. It created the local user X but I could not change the password.

View 1 Replies View Related

Ubuntu Networking :: Connect With Other Windows Users In A Local Network?

Jul 16, 2011

I have installed ubuntu 11.04 recently.. how can i connect ubuntu with other windows users in a local network...

View 1 Replies View Related

Ubuntu Servers :: Local Users Are Sending Mails Through Ms Outlook Using Local IP?

Jul 26, 2011

I have a postfix mail server on ubuntu 10.04 lts behind a router. so all local users are fetching/sending mails through ms outlook using local IP. Sometimes when internet goes down and any mail send then it bounced back immediately saying domain not found. Can u please tell me how i configure to hold all mails in postfix server rather than bounce when internet fails and will pass through when restored the internet around 15-30 minutes?

View 2 Replies View Related

Fedora :: Mapping Remote Users To Local Users In SSH?

Jun 7, 2010

Is it possible to map a remote user to a local user in SSH? The object is to avoid using $ssh user@server and instead just do $ssh server instead.

View 4 Replies View Related

Ubuntu :: How To Map Domain Users To Local Users Group

May 27, 2011

how to map all domain users form group Domain Users to local group users (and maybe some more)? Im using Ubuntu 10.04 x32. Its connected to my domain using Samba and Winbind, I can login using my domain credentials, automatically map user folder form DFS server, but I think that domain users have too much priviledges in the system and want to restrict them as much as possible

View 2 Replies View Related

General :: Sendmail Not Authenticating Users?

Jan 24, 2011

Can connect to our mail server using telnet onto port 25 and this works correctly, 'ehlo whatever' shows output as expected.

However using a mail client to connect it gives an authentication error and the following appears in the maillog file;

did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

what to look for in the config, this works correctly on our development box but not on our production server. Could it be another program is interfering with the connection?

Sendmail is running in standalone mode not through the xinetd daemon.

I am using the PLAIN AUTH method as to try and avoid getting more errors.

View 1 Replies View Related

Fedora Servers :: Sendmail Delivery To Local Boxes

Jun 1, 2009

I have fedora running as our email server at work using sendmail. It used to have spamassassin and MailScanner installed, but one of those died over the weekend and killed the mail server. We do not need either of these as we are using a web based spam filter now (postini), so I tried removing these. I have discovered that the mail is in the mqueue waiting for delivery to the users mailboxes. I have tried using "sendmail -q -v":

Code:
Running /var/spool/mqueue/n51Jx6Gg023820 (sequence 1 of 1174)
<abaughman@grandproductsinc.com>... Connecting to local...
<abaughman@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL

Running /var/spool/mqueue/n51JsuRe023619 (sequence 2 of 1174)
<ksullivan@grandproductsinc.com>... Connecting to local...
<ksullivan@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL .....

I do not have a procmail config file: /etc/procmailrc. I am not sure why, or what it should be, perhaps that is the problem. I guess I don't exactly know how this server runs all that well. I was able to get it up and running but never understood it enough to now find what is not working correctly.

View 1 Replies View Related

Red Hat / Fedora :: Setting Up A Local Mail Server On 5 Using Sendmail?

Sep 22, 2009

i have fedora5 installed on my machine MACH1, which acts as a linux server for few machines. Its over network and we have a dedicated mail server too which is globally accessible. I wanted to set up a local mail server on MACH1, so that i shall be able to send/receive mails from all the users as well as to our other global mail server(on internet).

View 3 Replies View Related

Server :: Instruct Local Copy Of Sendmail To Use As A Relay?

Oct 28, 2010

In my network I only have one machine that is configured to send email outside the network. How do I instruct my local copy of sendmail to use that server as a relay?

View 3 Replies View Related

Software :: RHEL6 Sendmail & Postfix Can't Use Local User?

Jul 3, 2011

I've tried to configure the mail service in RHEL6 but seems both sendmail and postfix can't use local user located in /etc/passwd.

Like, user Tommy and Jake they got User Unknow from maillog
Tommy:x:506:507::/home/Tommy:/bin/bash
Jake:x:507:508::/home/Jake:/bin/bash
But IF I use users' home folder not located in /home then it can go throught.mailuser2:x:513:514::/rhome/mailuser/mailuser2:/bin/bash mailuser3:x:514:515::/rhome/mailuser/mailuser3:/bin/bash

[Code]...

View 1 Replies View Related

Server :: Sendmail: Restrict Access Between Users?

Mar 16, 2011

How to prevent a user sending a mail to a particular user in an intranet mail server?I tried with /etc/mail/access file but could not.

View 4 Replies View Related

Server :: Sendmail - Some Mails Are Not Getting Delivered To Users

Jan 11, 2010

I am having Sendmail ver 8.13.1 installed on CentOS 4.5. Recently we have noticed that some emails are not getting delivered to user. Mailserver is receiving emails and they are getting processed but not getting delivered to user.

I have checked mail log and in the log it shows that email has been delivered to user below is log for reference

View 10 Replies View Related

Server :: Sendmail Stopped Authenticate Users / What To Do?

Jul 7, 2010

I don't know what happened but sendmail suddenly stopped authenticate my users who tries to send mail.
I use slackware 13.0 and sendmail for SMTP with ssl and plain authentication. Imapd works fine.
There is nothing in logs just that the client did not issue MAIL/EXPN/VRFY/ETRN during connection.

View 9 Replies View Related

Server :: Sendmail - Trusted-users Or Aliases ?

Jul 27, 2011

For a project that I have been assigned to, I need to send emails to a business partner(business_partner.com) from one production server. However, my emails neither reach their destination nor bounce back to me.

Working with our business partner's IT support, the following error was discovered in their maillogs:

Quote:

Further analysis by my IT support shows that emails are successfully sent out ("Message accepted for delivery"):

Quote:

The app I coded is not using a public internet email address (e.g. me@hidden_domain_name.com) to send these notifications.

Instead, it uses an intranet email address (the server's where my code resides: user_name@servername.hidden_domain_name.com).

We created an alias but it made no change. Would adding my public internet email address to "trusted-users" file (we use sendmail)

View 3 Replies View Related

Debian Configuration :: Domainname Locally Unreachable ?

Jan 4, 2011

I have a strange problem with my debian lenny server. I am running ispconfig 3, squirrelmail, webmin, clamav, etc on my lenny server. I have a few domain names binded to my ip adress. Until yesterday, everything worked fine. Today, i couldn't seem to reach my mailbox, and my website appeared to be offline. But when someone checks it from outside, it works fine! Only i cant reach it. This problem only occurs with one of the six domainnames i have. The rest is reachable for me.

I checked the logs, the ipadresses, everything seems fine. I have no clue what it could be... anyone suggestions?

Figured out the problem, party... it's a problem with my XP. If i boot in Windows 7 the site is reachable. Doesn't make sense tho.

View 2 Replies View Related

Server :: Sendmail - Disable Local Delivery And Queue Is Growing Up?

Jan 18, 2011

I want to setup sendmail to alert for Nagios, OSSEC, redmine, ...

I configure sendmail to work with Gmail smtp follow this guide. I disable local delivery in sendmail by adding the following lines in sendmail.mc:

Code:
define(`MAIL_HUB', `xx.localdomain.')dnl
define(`LOCAL_RELAY', `xx.localdomain.')dnl
it works but this messages seems to be stuck in sendmail queue:
Code:
sendmail -bp
...

[Code].....

View 6 Replies View Related

Server :: Sendmail DNSBL Blocking Authenticating Users?

Feb 2, 2010

I have a problem with sendmail. I am using the zen.spamhaus.org dnsbl, and it is doing a wonderful job of blocking incoming spam from open relays. But it is blocking my users who are on a dynamic ip range from any isp remotely. They should be able to authenticate and send messages no matter where they are as long as they authenticate right? I just want to use the blacklist to block incoming mail to my server that is being distributed to our email addresses.

I want to block people that are hosting mail servers and sending mail to my domain from isp sub-nets. But I don't want to block my users that are sitting on isp subnets using their mail client to authenticate over smtp and send an email from my mail servers.

View 2 Replies View Related

Software :: Sendmail Want To Restrict Some Users From Sending Mail Outside

Apr 22, 2010

I want to know is it possible in Sendmail to restrict some users from sending / receiving mail to / from outside world i.e. they should be able to send and receive mails only from local domain.

View 4 Replies View Related

Software :: Sendmail: Will Not Authorize Any Users For Outgoing Mail

Nov 19, 2010

I'm going crazy with this one. For whatever reason, sendmail will not authorize any users. I've tried multiple logins (all with good credentials) but still get login fail, ie (FYI this is a sendmail/MailScanner setup if it makes any difference):

220 hostname.net ESMTP Sendmail 8.13.8/8.13.8; Fri, 19 Nov 2010 12:07:08 -0600
ehlo hostname.net
250-hostname.net Hello testdomain.com [123.123.123.123], pleased to meet you

[code]....

View 2 Replies View Related

CentOS 5 :: Configure Sendmail To Accept Email Without Domain In Local-host-names

Mar 23, 2011

dammit... all that typing and I hit the wrong "submit" button. *sigh*

Ok, I have a couple of SMTP servers for our infrastructure. They are running Postfix. I have them configured so that specific email addresses such as support@mydomain.com and billing@mydomain.com all go to a new support server that I am building with osTicket. Lets call that server SUPP1.

SUPP1 runs sendmail from the default install of CentOS 5 i386. At this point everything runs great. New emails get added into the osTicket system via a pipe in sendmail. Here's where the problem comes in. In order to accept mail, sendmail has to have the domain listed in local-host-names and the addresses in virtusertable. That works just dandy. But in doing so, sendmail believes it is the destination SMTP server for "mydomain.com". That means that I can't send mail from that server back into my normal SMTP servers. So things like the LogWatch, cron jobs, etc can't send notifications. Is there a way to work around that? For sendmail to ignore local-host-names for outbound email or something?

View 1 Replies View Related

Server :: Restricting Some Users Send Mail To Off-site Destinations In Sendmail?

Oct 21, 2009

How to restrict some uses to send mail to outside domains except local in sendmail.I am using ( CentOS5 + Sendmail )

View 2 Replies View Related

Server :: Sendmail - Pipe All Existing Users Incoming Emails To /dev/null?

Oct 24, 2009

Well I want my sendmail to pipe all users' incoming emails to /dev/null ... I just don't want to accept emails. Every user that exist on the system currently or will be made in future, I want their incoming emails to them to be piped to /dev/null .... I just want those users to be able to send emails.

View 1 Replies View Related

Red Hat :: Local Users Can't Login / Resolve It?

Feb 7, 2011

I have an RHEL 5.3 system where NIS logins are working perfectly, but authentication doesn't seem to be working for non-root local users. I can't login either remotely or at the console with a local user, and I can't even su to them unless I'm doing so from root (i.e. when no password is required).

I've reset the password, I've deleted and recreated the user, and nothing. nsswitch.conf does have "files" listed as part of the config, which was really the main place I'd have assumed the issue could be. su gives "incorrect password", and ssh gives "userauth failure". /var/log/secure shows "su: pam_listfile(su:auth): Refused user <username> for service su", and same for the ssh attempts (with ssh in for su, of course). I've reviewed my pam.d files, and they seem to be the same as on a working machine, but I'm not 100% conversant with pam so I might be missing something.

View 1 Replies View Related

Fedora :: Pulseaudio - Access For All Local Users ?

Apr 8, 2010

This one made me scratch my head for a very long time

I want to give access to the sound device to all local users.

Currently only the user currently using the X11 system and root are able to use the sound hardware.

So it appears it's a problem of permissions but I couldn't figure where ...

View 2 Replies View Related

Ubuntu :: Share Files Among Local Users?

Apr 12, 2011

I want to have a shared area for movies, music, etc. where files are available for all users. What is the best way to do this? I've tried a few different things, (ie. creating a folder and sharing it among a group, but for some reason it doesn't seem to work the way I want it to. I'm now thinking maybe have a partition like /share and set the permissions to all in fstab, but I'm not sure.

View 9 Replies View Related

Ubuntu Security :: Disallow Both Ssh And Scp To 'other Local Users'

Jun 23, 2011

I am stuck in a weird situation and could definitely use some help from gurus in security area.

I have categorized my users into 3:
1. root user
2. other local users
3. LDAP users

I want to setup following 2 usecases:

a)
1. Allow keybased ssh and scp to root users
2. Allow ssh but disallow scp service to other local users
3. Disallow ssh and scp to LDAP users

b)

1. Allow keybased ssh and scp to root users
2. Disallow both ssh and scp to other local users
3. Disallow ssh but allow scp to LDAP users

For the 1. in both cases, I think PermitRootLogin in sshd_config could . For the 3. I am thinking of deploying rssh to control scp service access, since ssh will be restricted anyways.

Problem area is 2. primarily.

i) How to allow ssh but disallow scp to 'other local users'
ii) How to disallow both ssh and scp to 'other local users'

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved