Fedora Servers :: Sendmail / Genericstable / Virtual Domains?
Feb 18, 2009
WTF am I doing wrong with sendmail? I am trying to reverse alias a user as follows:
USER1 USER@MYDOMAIN.COM
USER1@hshlnb.hsh.com USER@MYDOMAIN.COM
That is how I have the entry in the genericstableWhen he sends mail, it comes from USER1@MYDOMAIN.COM, so I have the domain rewrite correct. The forward mapping in virtusertable works fine as well - he gets all mail redirected to the user1 account as specified.My sendmail.mc file has this:
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for linux')dnl
[code]....
View 1 Replies
ADVERTISEMENT
Jun 15, 2011
When I use sendmail (or, most commonly, a PHP or Perl script uses it) to send to any other domain except my own, it works great. When I use it to send to my own domain, however, it's trying to deliver it to localhost. Problem is, all our mail is handled by an Exchange server on a different machine, so I really don't want If I run sendmail manually for a test message to myself, here's how it comes up after the message is closed out:
Code:
echo "Subject: test" | /usr/sbin/sendmail -v me@domain.com
354 Enter mail, end with "." on a line by itself
>>> .
050 <me@domain.com>... Connecting to local...
[code]...
The message then gets dropped into my box at /var/mail/xxxx, but that's really not helpful to me -- I need to to connect to that other machine to deliver the mail there. This machine isn't used as a mail server at all. Also, if it's trying to send to a username that doesn't have an account on this server (we have many), it just fails entirely with "user unknown" (that makes sense, as there are only a couple of user accounts on the web server). how to get sendmail to connect to our mail server instead of "local"?
View 4 Replies
View Related
Jan 6, 2011
We have a application hosted in our server and it uses send mail for sending and receiving mails.mails can able to reach certain ids but it cant reach some ids. this is the log entry.
Jan 6 00:52:18 p2234270 sendmail[11009]: p046hWi5011897: to=<dinesh@heatstream.com>, ctladdr=<apache@p2234270.pubip.serverbeach.com> (48/48), delay=2+00:08:46, xdelay=00:00:01, mailer=esmtp,
pri=4530999, relay=smtp17.msoutlookonline.net. [64.78.22.100], dsn=4.1.8, stat=Deferred: 450 4.1.8
[code]....
View 4 Replies
View Related
May 5, 2010
I have sendmail setup with sasl and multiple domains.I'm sure there is an easy fix for this but I can send emails to anyuser@<anyofmyvirtualdomains.dom> and it will be accepted. I'm just trying to cut down on any confusion that may occur later. Is it possible "restrict" or classify a user into a particular domain? I've setup virtusertable and aliases but no luck in accomplishing my goal.I've searched to find no particular information on this.
View 1 Replies
View Related
Apr 19, 2010
I'm configuring sendmail that runs on Linux Slackware but find some difficulties to do some quick startup due to its complexity and massive documentation. Suppose I want to configure a sendmail that can serve 2 domains:
ethereal1m.no-ip.com
ethereal2m.no-ip.com
I use noip2 client software to connect with noip server that translates the dynamic IP addressed domains, setups POP, and does forwarding. By having 2 domains, I want to able to send email between admin@ethereal1m.no-ip.com and admin@ethereal2m.no.ip.com;therefore, my machine acts as both a server and a client. How can I setup sendmail so that it acts as both server and client? How to register email address and its domain on sendmail?
View 2 Replies
View Related
Aug 4, 2010
I have Postfix + Unix Accounts + Virtual Domains. I have a bunch of domains hosted on my machine, let's call them [URL] [URL] and [URL]... etc Until know, domain2.com, domain3.com were mapped in virtual domains to [URL] So this is how /etc/postfix/virtual looks like:
[URL]
Like I said, all mail accounts are unix accounts, so, if for example I have the user "paul" this user will receive e-mail for ALL DOMAINS. [URL]But as it turns out, I now need a COMPLETELY ISOLATED domain... let's call it [URL]. So If I create a new user, let's call it "steve" I want steve to receive e-mail ONLY on [URL] and not on all others.
I would have to redo the whole thing from the beginning. I'd have to comment out the $mydestination parameter in the main.cf file and start using only virtual domains. So if I have the following users: paul, steve, sally, megan, jenny and I want paul and steve to ONLY receive mail for domain1.com, sally and megan to receive mail for domain2.com and jenny to receive mail for domainX.com, my /etc/postfix/virtual file would have to look like this:
[URL]
I'd have to create the unix account and then start modifying the /etc/postfix/virtual file.
View 1 Replies
View Related
Jan 30, 2010
I have a postfix mail server up and running. I've added more than one domains to recive mail by adding them to the :/etc/postfix/virtual and poiting to a UNIX user account. That works fine. But when users send out mails (From squirrelmail) all users send from the same domain. How do I add a $myorgin to a virtual domain?
View 1 Replies
View Related
Jan 4, 2010
I've set up a fully functional e-mail server and can send and receive e-mails to and from an array of virtual domains without a problem. The only hiccup I have is that only root is able to send e-mails via mutt. I have not stipulated a sendmail line in the mutt configuration so it's sending e-mail with default configuration. How can I get it so that all users on the server can send outgoing e-mails via mutt?
Update: Solved this by following this http://inmyplace.info/2008/05/07/pos...ission-denied/
View 1 Replies
View Related
Mar 26, 2009
i have two Pc in my home , in my first pc i installed Fedora 8 and it has a ip adderss 192.168.10.1 and DNS Name client.redhat.com And in my second system i installed Rehat Enterprise Linux 5 it has a ip address 192.168.10.2 and DNS name server.redhat.com , and this is also my DNS server(192.168.10.2), and i also want to configure sendmail server on my second system and also tell me what is necessary entry should i make into my DNS forward lookup file for running sendmail server, i read lots of post
View 12 Replies
View Related
Aug 28, 2009
I updated sendmail during a routine set of updates. I found it replaced my old sendmail with sendmail+tcpwrappers. I had to create an entry in hosts.allow as my hosts.deny was set to deny all. Never had to do this before, but I had not updated sendmail in a while. Just a heads up in case anyone else is about to perform updates.
View 1 Replies
View Related
Jan 13, 2010
I'm running a fresh F12 server configuration install from DVD, and I'm having some issues with getting sendmail to actually function when called from a php script..
I'm using a mail() function in php run by apache. The httpd error log reports.
Httpd Error_Log
Code:
Code:
View 5 Replies
View Related
Nov 14, 2010
I am having problem with my Sendmail Server configuration. I had configured my send mail macros and make it. but i m having problem with "dnl"..i dont know what to put in this line.my ISP's name or localhost..? I am trying to create sendmail server with my dynamic IP address. i Just want basic configuration to use sendmail.
View 2 Replies
View Related
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
Sep 23, 2009
Regarding few things I am facing problem :
1. How to send one copy of that outgoing mail generated from the source. It should cc to another mail id in server's backend while mail sending.
2. I don't have any domain - internally or externally. Only have static ip, accessible from outside. Can I configure sendmail to send-receive through that ip.
3. How to transfer all mails and addressbook from exchange server to linux sendmail server.
View 1 Replies
View Related
Oct 16, 2009
I'm running FC10, with the sendmail that was part of it in Feb 09. Anyway, Up till now I've been using the user client to do spam filtering, But I'd like to start catching the spam at the sendmail level. What are my options today? I tried searching the forums and found a bunch of threads from 2001-2006, but I figured many of the ideas are now longer vaild.
View 2 Replies
View Related
Feb 22, 2011
I have a rather interesting issue. I have set up a home network and a fedora 14 box as a server. I am running the version of Sendmail that came with fedora 14. I wrote a PHP script that changes http access passwords(to give authorized access to the outside by multiple users) once a week and emails the users their new passwords. It also finds out my WAN IP (because it is dynamic, and I am using a Linksys router with NAT), and E-Mails users when this has changed along with the new access password. I have Sendmail set up so that it should log on to my websites mail server (smtp.example.net) and send the email through it.
The problem I am having is that I have set up my home server with an internal domain like exampledomain.home, but the wan IP reverse lookup returns xx.xxx.xxx.xxx.static.xxx.xx.charter.com, so that when my sendmail server connects to my smtp server for my website it gives "EHLO server.exampledomain.home" then my smtp server rejects it because the connecting IP (WAN IP) resolves toxxx.xxx.xxx.xxx.static.opls.la.charter.com gives a host not found error. Or it gives the error because server.exampledomain.home is obviously not a valid host name on the internet. I was hoping someone out there had some insight on how I could get around this without editing or adding any DNS entries to my websites domain. I would also like to avoid getting a static IP for my house as it is more expensive. I thought about making a dynamic DNS entry with dyndns.com and then making Sendmail use that host name. I dont know how to trick sendmail like that though.Here is a copy of my sendmail.mc (scrubbed of course).
divert(-1)dnl
dnl #
dnl # This is the sendmail macro config file for m4. If you make changes to
[code].....
View 4 Replies
View Related
May 29, 2011
Just upgraded to F15 and I cannot seem to get the sendmail service starting at boot time.It starts and works just fine by hand after boot, so there's nothing wrong with the sendmail
configuration itself."runlevel" shows a current run level of 5 and "chkconfig" shows sendmail on for run level 5.All the other mail service (mailman, clamd, etc.) start fine.Doing "service sendmail start" after boot gets everything up and running just fine, but itsure would be nice to have it run at boot like it used to
View 1 Replies
View Related
Jun 7, 2009
I am trying to setup sendmail on a fc10 box with dovecot running imap. I have everything configured and running on the server. For example, when I run "echo 'test' | mail -s test user@mydomain.com" or even to someuser@gmail.com, the mail goes through just fine. I can then reply from both of those accounts back to the server, no problem.
Relaying denied Cannot send mail. The SMTP server does not recognize any of the authentication methods supported by Entourage. Try changing the SMTP authentication options in Account settings or contact your network administrator.
View 10 Replies
View Related
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
Sep 7, 2010
I've been using cyrus and sendmail together for a very very long time now. Just recently I upgraded to fedora 13 and now my virtual users can not send email from the /etc/sasldb2 passwords. I get in the /var/log/messages sendmail[31427]: unable to open Berkeley db /etc/sasldb2: Unknown error: Its weird that they can still log in and get email from imapd.conf
sasl_pwcheck_method:auxprop saslauthd
sasl_auxprop_plugin: sasldb
sasl_mech_list: LOGIN PLAIN CRAM-MD5 DIGEST-MD5
[code].....
I even tried re-creating sasldb2 and sasldblistusers2 shows my two users 'one' that is also a local user account and the saslauthd authenticates when sending emails, but the virtual user 'two' can't send just only can log in to receive. /etc/sysconfig/saslauthd is set up as mech=pam. but I don't see how that would be relevant to this issue.
View 5 Replies
View Related
Jan 30, 2010
I have a CentOS 5 server in which I use Virtual Hosting and each domain has its own user/pass for login to upload files. The path is /var/www/vhosts/domain name]/httpdocs/What im attempting is setting up the creation of the [domain name] folder from an administration backend under PHP, which I am developing. What Im worried about is if I allow PHP to run command line commands such as mkdir, then what is stopping anyone from doing the same from their php files on my server??? What is the best way to properly setup my server to allow automated creation of the domain structure within my folder system
View 3 Replies
View Related
Jan 11, 2010
To start off, I realize this type of question is very hard to answer and there is no general rule. My intention is to merely get an understanding of what others are doing. Models: 1) small piece of a big pie, but many small pieces 2) big piece of the pie, but few pieces. Which model do you guys do? If one can make $100 from a site which little or know effert, why not create 100 sites like it? Benits: diversified with multiple revenue streams, hard to manage so many etc etc. OR Work hard on 1 site, focus, narrow the niche and make loads of profits. drawbacks: all eggs in 1 basket Which model do you guys employ?
View 2 Replies
View Related
Jan 29, 2010
I've built a web hosting server with ubuntu 9.10 desktop edition at home and it's up and running.how to get and set subdomains. What I mean is that I have a purchased domain [URL] and I want to add as many sub domains as I want such as [URL] so on. And more importantly every single subdomain must belong to each account.
sub domain account name
-------------------------------------------
sub1.example.com john
sub2.example.com steave
sub3.example.com myname
In this case, there are three accounts for ubuntu and each account has a permission to the corresponding sub domain only. p.s My DNS is managed by my domain company and it provides a web page where I can forward(not sure, but there are fields that I can type my sub domains) subdomains and my external IP addresss up to 20(just in case this info matters).
View 1 Replies
View Related
Mar 12, 2010
I've tried to set up an old laptop with Ubuntu server - need to use it as a web server for a group of students on a local network only. I managed to get it working fine for just one user publishing webpages etc to a folder called VAR/WWW I could FTP files into the folder and access them again via FTP or a browser. I then decided to create some subaccounts (one for each student) I did this by typnig the following commands:
Sudo usermod -g www-data student1
Sudo chown -R www-data:www-data /var/www/student1
Sudo chmod -R 775 /var/www/student1
(In this example student1 is intended to be a subfolder of www and act like a sub-domain with write authority- at least that was my intention) Problem I then get is that if I use Filezilla to access each account I cannot see where to publish the files - wherevever I place them they are not accessible from the browser. Do any of you experts out there know the answer to my problems please.
View 1 Replies
View Related
Jul 19, 2011
i've bought a vps server with 2 ip. I also bought 2 domains "eventlog.it" and I want associate them to my vps How can i do?
View 1 Replies
View Related
Jun 21, 2010
I would like to set up an ubuntu server to forward outside requests directed to different domains to different computers on my local network. The bind is I only have ONE public IP.
Here's an example of what I want to do.
- if a request is sent to www.first-domain.com, I want to forward it to a local server (say 192.168.0.10)
- if a request is sent to www.second-domain.com, I want to forward it to a local server (say 192.168.0.20)
and so on...
I will need to forward these requests not only for web sites but for other services such as SSH, mail, RDP, VNC, etc etc PS Once it hits those local servers, I know how to use iptables to forward them as desired.
View 7 Replies
View Related
Aug 3, 2011
I followed this tutorial: [URL] But the links i created are not accessible. Is it to do with [URL] not working? I was doing [URL] and [URL], but didnt work
View 9 Replies
View Related
Apr 23, 2010
I have several web servers running apache on my LAN. Each internal server hosts a number of domains.I would like to make these available to the internet and make sure they all get to use port 80 and 443.My idea was to put Apache on the firewall and have all http(s) traffic from the Internet to my firewall be redirected by Apache to the different internal apache servers. This, in theory, would allow me to keep the standard http(s) port.
Can this be done? I was thinking of mod_rewrite and mod_redirect but in all honesty, I'm a little at a loss on where to start.Can someone point me to relevant documentation or give me the basic idea on how to start?
View 2 Replies
View Related
Jan 9, 2010
I've set up a mail server using Postfix + dovecot. It works just fine sending email to users in my domain. However, I can't send email to external domains (like gmail, yahoo, etc) different than mine. I've tried sending from a remote connection using Evolution and I get the following message on mail.log
Jan 8 10:45:20 mail postfix/smtpd[14911]: connect from unknown[]
Jan 8 10:45:21 mail postfix/smtpd[14911]: NOQUEUE: reject: RCPT from unknown[]: 550 5.1.1 <lobomacz@gmail.com>: Recipient address rejected: User unknown in local recipient table; from=<user@mydomain.com> to=<lobomacz@gmail.com> proto=ESMTP helo=<[10.24.4.230]>
[Code].....
View 2 Replies
View Related
Jan 16, 2010
I'm having a problem with a new install of postfix... it won't relay mail to external domains. Internal mail is fine.I'm using virtual_mailbox_domains so that I can have multiple domains, and I've set dovecot to use local files with encrypted passwords.Here's my main.cf
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
[code]....
View 2 Replies
View Related