Software :: Sendmail Email Aliases Not Accepting Mail

Feb 3, 2011

Have tried to setup email aliases in sendmail so I can have multiple address pointing to one linux login. However none of the aliases seem to be accepting mail.

I get the following error message when trying to send to them.

I have tried restarting sendmail, have mapped the /etc/mail/virtusertable across to virtusertable.db with the following command.

Code:

Output of sendmail -bv is as follows and looks correct.

Code:

Have also added new domain into local-host-names file. I am stuck on what is left to check and why the messages are getting bounced back.

View 15 Replies


ADVERTISEMENT

Ubuntu Servers :: Use The Mail Command Line Program To Occasionally Send Log Output To Email Aliases?

Jan 27, 2011

Can anyone tell me what the pros and cons are between heirloom-mailx vs mailutils? This is for ubuntu 10.04 LTS. AT this point my only purpose is to use the mail command line program to occasionally send log output to email aliases.

View 2 Replies View Related

CentOS 5 :: How To Config Sendmail So Can Use Mail To Send Email

Aug 11, 2011

I'm trying to setup notification function for the Nagios Core which use Mail to send notification.I got an account from Rogers. I have SMTP server, email account with authentication information.My Nagios server is in a workgroup, there is now domain assigned to it, I just use nagiosserver.localdomain in /etc/hosts.I added Rogers SMTP server in /etc/mail/sendmail.mc and Future (AuthInfo) I created an /etc/mail/AuthInfo and add AuthoInfo:smtpserver "U:user" " P: pwd" "M:Plain"I added smtp server in /etc/mail/access for RelayI added root@nagiosserver.localdomain on /etc/mail/virtusertableI regenerated sendmail.cf by user m4 commandrestart sendmail service.When I ran: Mial -s test nagios4ccs@rogers.comIt did not prompt any error message , in the maillog it says the message is queued but It can not be sent out

View 3 Replies View Related

Software :: Aliases - Using /etc/aliases - Does Not Get Routed To My Email

Apr 1, 2009

I am able to send a mail message to myself from a server without any problem...

But after I have updated /etc/aliases and added the line for all of root's mail to be routed to me....

Added:
root: myemail@company.com

and ran newaliases to implement it....

If I send a mail message to root, it does not get routed to my email...

View 3 Replies View Related

Server :: Sendmail - Mail Server Rejected Email And Unable To Send

Feb 24, 2010

I have users [URL] unable to send email to [URL]. [URL] user also unable to send email to [URL]. But both email addresses are fine as they can receive email from others or from [URL] and [URL]. I able to telnet mail server 110 and 25, no problem. Version: ESMTP Sendmail 8.12.10

Mail Log:

Feb 23 11:36:35 mail sendmail[16228]: o1N3aZxt016215: to=<xxx1@gas.com>, ctladdr=<xxx@abc.com> (501/501), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=442918, relay=gas.com, dsn=5.1.2, stat=Host unknown (Name server: gas.com: no data known)

[code]....

View 4 Replies View Related

Slackware :: Fetchmail - Sendmail - Aliases ?

Sep 8, 2010

Fetchmail +sendmail played nice together, until I installed hylafax, and added an alias it requires. I just ran the usual makemap command on aliases to make aliases.db, and that's there the trouble began. Fetchmail appeared to hang, at any email account that had email in it, at the RCPT stage. I finally read the warning at the top of /etc/mail/aliases that says to run newaliases.

View 1 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

Software :: Securing Sendmail Aliases - Mailing Lists ?

Jul 28, 2010

I'm using sendmail on a small server and in addition to several users I have a few small email lists implemented in the aliases file. Is there any way to secure these aliases so that they can only be used by users with accounts on the machine already?

I'm getting a lot of external spam sent to the lists and I figure this is the easiest way to deal with it. 100% security isn't even necessary if I can stop most of the spam (i.e. causing sendmail to discard any mail sent to the lists that don't originate with the same domain name as the server would kill 99% of the spam since most of it doesn't have a spoofed email matching our server's domain name). I'm using Debian Lenny.

View 1 Replies View Related

Software :: Sendmail Segfault (ssmtp) On Gentoo Through Gmail - Can't Send Mail: Sendmail Process Failed

Jul 13, 2010

I have been trying to set up ssmtp so I can send email using Gmail's ssmtp servers. However, when I try to send mail (using mailx), I get the following message:

Code:

Can't send mail: sendmail process failed

Here's the last line from dmesg (the only one applicable, according to the timestamps and message content):

Code:

[484114.608378] sendmail[17975]: segfault at 0 ip b7dbbbf3 sp bfb0dc4c error 4 in libc-2.11.2.so[b7d44000+14e000]

Here's my ssmtp.conf:

Code:

#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#

[code].....

View 2 Replies View Related

CentOS 5 Server :: Not Accepting Incoming Mail?

Feb 20, 2009

I installed a new server running CentOS 5.2. I have iptables and SELinux off. The new server will not accept incoming mail. It will send out fine.Our mail server redirects mail for it.help to it.[url]...- [url]....is this server. Any messages sent to this address get stuck in a deferred queue. The error message on each one (from the mail server admin console) is "connection to[url]... [10.9.10.202] - connection refused". I can ping [url].... from the mail server.

This seems like a firewall issue, but it is off. Is there some configuration file I need to change to allow incoming mail? Or is there some test I can run on the new server to further troubleshoot what is going on

View 4 Replies View Related

Debian Configuration :: Why Does /etc/aliases Choke On Email Addresses

Dec 21, 2010

Related to my last post in that it is another email issue, but something else I am having a problem with.

Debian Lenny on virtual KVM (32-bit, v5.0.7)

With Postfix it is necessary to have an alias for root, eg: root: someuser

In theory, and as far as I am aware, this can also be something like: root: someone@someaddress.tld

When I use the latter, though, the following happens whenever my system tries to redirect root email messages, but not when I use the root: someuser method in the aliases file (and, yes, I do know to use newaliases after amending the file).

The firewall is not an issue (tested with and without the firewall), nor are the resolvers, and the DNS for accounts on the box is all okay and fully propagated. Also, changing the email address to something like this.address@google.com does not work, either, - same error message.

View 2 Replies View Related

General :: Email Aliases - How To Capture Some Items From Message

Jul 5, 2010

I have an email alias and I want to capture some items in the email body and put it in a database.

I'm using Linux and Bash.
In /etc/aliases I have:
bexpense: "|/usr/bin/bexpense"In /usr/bin/bexpense, I have:
#!/bin/bash
echo $1 $2 >> bexpense.out

If I just run /usr/bin/bexpense with as "bexpense test test" I get "test test" in bexpense.out. If I send email to bexpense@myserver.com, I get a blank line in bexpense.out. How do I get the subject and body of the email?

View 2 Replies View Related

Software :: Pipe Email Using Aliases File Or Script?

Jul 26, 2010

have some problems in doing my project, my project title is ' in investigate into implementation of certification authority with small network ' ( with using Postfix, openSSL ) and i have builded up two different networks using debian and after that i need to make a mail server, so i configured Postfix and made a mail server, i can send and receive emails on both networks. now i need a shell script on received emails using Postfix, like mail is coming from outside then will go to pipe and there should a script in bash, that will run and check the email and deliver to others, or throw it away some thing like that... here are some links where i was looking

[URL]

View 1 Replies View Related

CentOS 5 Server :: Configuring Email Aliases Per Domain?

May 13, 2009

I've got a server with several different virtual hosts on them, e.g. host1.com, host2.com, host3.com.

Is there a way I can set up an email alias just for an individual domain?

e.g. I want to set up help@host2.com, but not to have help@host1.com or help@host3.com.

I can't see how to do this in the /etc/aliases file...

View 2 Replies View Related

Software :: QPopper Not Accepting Mail From Local Domain?

Jan 20, 2011

I have QPopper and Sendmail setup on a Red Hat server, they both seem to be running ok and listening on usual pop and smtp ports 25 and 110.

QPopper is running through xinetd and the config file is as follows

Code:
service pop3
{
disable = no
flags = REUSE
socket_type = stream
wait = no

[Code].....

The problem is I get an error in the maillogs when trying to send mail from a PC on our local domain about the canonical client name which is to do with reverse dns. I understand this can be turned off at runtime of qpopper but nowhere seems to detail how to do this, apart from -R flag at runtime but as it is running through Xinetd I am not sure where to put it.

A few more details on the problem, if I VPN onto our network from my home desktop I can send mail fine. Receiving mail is also no problem, it is just sending. I have setup only our local domain in the access file for sendmail.

View 2 Replies View Related

General :: Sendmail Error / Unable To Work On WAN / Can Send Mail But Not Able To Recieve Mail?

Nov 15, 2010

I had configured sendmail on linux 5.2, Iam using public ip and my domain is registered[linuxforfreshers.info]. I am facing a issue that when I mail with the user sumit@linuxforfreshers.info then I am able to do it. But if somebody tries to send mail to the same user then it bounce backs. I had made the entry of domain in /etc/mail/local-host-name and also I put ok in /etc/mail/access.The mails are working properly with in LAN. But not able to work on WAN only I can send mail but not able to recieve mail.What else I need to do.

View 6 Replies View Related

Ubuntu Servers :: How Can I Create E-mail Aliases

Feb 16, 2011

I installed postfix on my ubuntu server.I have created some users.How can I create e-mail aliases?For example, I have a user named "light" and I want to create for him an e-mail address.

View 3 Replies View Related

Red Hat / Fedora :: Multiple Mail Is Sent To Aliases Group ?

May 10, 2009

I sent a mail to an aliases group from MS office 2003/2007 outlook. But every reciepient got four copies for that mail. It also occured another aliase group. The mail is configured in Linux Postfix.

View 2 Replies View Related

Server :: Of FQDNs - Sendmail - And Apache VirtualHost Server Aliases

Feb 26, 2011

I'm setting up a full server configuration on Fedora, moving it from Mandriva which sadly faces a rather uncertain future. Things are going well and I will be ready (and more familiar with Fedora) in time to upgrade to Fedora 15.

What I have done so far in regard to networking setup:

I first removed Network Manager and replaced it with the network service (chkconfig --level 25 network on). That put an end to the overwriting of /etc/hosts, which now reads simply:

View 2 Replies View Related

Programming :: Basic PHP Mail Function \ Say 'and If 'email' Is Not Equal To 0 Then Send The Mail?

Sep 9, 2010

this is my code at the moment

PHP Code: <?php
if (isset($_REQUEST['email'])) && $_REQUEST['email']!='0'{
$to = "chrisathisemail";

[code]....

View 5 Replies View Related

Software :: Sendmail: Email Redirection

Jan 31, 2010

I have a test application that sends out email. It's configured to send it through the sendmail installed on the local machine (distro: RedHat 4.8; sendmail version 8.13.1). The email addresses are external to the machine. I would like to stop most of those emails. I can't use the /etc/aliases file, because that methodology only works for operating system addresses/userid's on the local machine.

I'd like to block certain addresses from getting emailed out, so that users don't get spam from a test server that's been "cloned" from a production server. On the other hand, I don't want to turn off email altogether. I'm pretty sure that if I installed SpamAssassin I'd probably be able to rewrite certain addresses. But SpamAssassin is bloatware for what I want to do. If native sendmail is not able to filter out from sending certain emails based on the "To: " header (in the envelope) is there an app that uses sendmail's milter API that will? I've been away from heavy use of sendmail for awhile, so it had been awhile that I'd been on comp.mail.sendmail, but I notice that traffic is a fraction of what it used to be.

View 1 Replies View Related

OpenSUSE Network :: Configured PHP To Use Sendmail - No Email Sent

Feb 2, 2010

I am brand new to sendmail. I have a web application running on APACHE2. I'm told that it uses a PHP mail function to send emails for notifications. I configured my php.ini to use sendmail by adding the following line:
sendmail_path= /usr/sbin/sendmail -t -i (I've tried it without the i as well)
As far as the sendmail configuration is concerned, I used the GUI interface provided in the KDE environment (labeled Mail Transfer Agent). I inputted my outgoing mail server's IP address and login information. I also unchecked TLS since my mail server does not use that.

The problem is that no email ever gets sent. The web application states that the email was successfully sent. But I think its because it hands the email to PHP (leaving the responsibility to PHP)...then it believes the email is sent. My mail server uses plain text for authentication. Im not doing anything special with it. I told my mail server to accept connections from my linux box. I also checked my mail server's logs and see that no record of any connection from my linux server is logged.

So it seems my linux server isnt even communicating with my mail server. Both boxes are on the same network. My linux box can ping my mail server just fine. Firewall is disabled. How do I correctly configure sendmail to use an outgoing SMTP server to send emails. And how do I verify that setting works without using the web application I installed? (I want to verify whether or not the issue is with sendmail or the web application). Where do I find sendmail's logs so I can check to see why it's not hitting my mail server?

View 9 Replies View Related

General :: Sendmail Masquerading Email From Address?

Jul 18, 2010

I have my system set up with sendmail (going through my ISP SMTP server) but when I sent an email using sendmail it was defaulting the from address to user.host.domain or something similar. So I read up about masquerading [URL] and managed to get it to USERNAME@myisp.com however I want to change USERNAME to a different value because my ISP username is different from my machine username. My aim is just to get the from address to be [URL]. This machine is only used by me so I don't need it to be different for different users if that makes things any easier...?

View 4 Replies View Related

Server :: BCC All Outgoing / Incoming Email Through Sendmail

Jun 9, 2010

How could we bcc all outgoing / incoming email through my Sendmail (8.14) Server?
I tried this /etc/procmailrc
:0c
! backupmail@domain.com
But this get looped and backupmail received multiple emails of each for domain.com while sending locally from one user to another user.

View 6 Replies View Related

Server :: Sendmail: Email Blocked Due To MUA's Dynamic IP?

Feb 11, 2011

I use sendmail as the MTA for our company. Lately employees have started working from home. These home users send their email through our company MTA using SASL-AUTH. This works fine for the most part but lately we've seen problems with this. The SORBS blacklist looks not only at the IP address of our company's MTA but also at the IP address of our employees home computers. (After all, the home computer IP address is revealed in the mail header.)

SORBS has been rejecting emails sent from our home users because their dynamic IP address is present in the email headers. This is true despite their email passing through our company MTA which is on a properly forward and reverse mapped static IP. The company MTA is not listed in SORBS but the mere presence of a dynamic IP somewhere in the mail header is causing outright rejection. This seems bizarre to me considering home workers sending through a company relay is a common and reasonable business practice.

Can sendmail offer a solution here? For example, to change headers to obscure the IP address of the MUA or make the email appear to have originated directly on the MTA? I don't want to mess with internet RFC but frankly I'm out of ideas for how to get the mail delivered.

View 1 Replies View Related

Software :: Sendmail Is Not Sending Email From PHP Script

Sep 10, 2010

I can send mail through telnet and the recipient receives the email, but I cant send it through PHP.

View 6 Replies View Related

General :: Authorized Email Address - Sendmail Server?

May 4, 2010

I am having many mails transferred through my Sendmail server,but I want to configure only authorised email address through our server.optimize my mail server's configuration.

View 3 Replies View Related

Server :: Configure Sendmail As Forwarder For All Received Email?

May 4, 2011

So I have two servers in my environment, I have an app server that runs my Java App on it and then I have a utility server. Right now, I have that utility server acting as a simple mail gateway so when my app server needs to send an e-mail out, it forwards it to the utility server and the utility server sends it out to where-ever it's destined to. The Java server always sends as one specific user, let's call it bob@company.com.

This set-up is working just fine right now. Now, I also have my company.com e-mail hosted at an e-mail provider for all of my user's e-mail accounts and such. I also have a bob@company.com e-mail account so if e-mails ever bounce, they end up in this inbox. Again, this works fine.

My app is pretty email dumb so it can't authenticate itself or anything, that's why I am using sendmail on my utility server instead of my e-mail provider's SMTP server. What I would like to do is to configure sendmail to forward all outbound e-mails (and authenticate) to my e-mail provider's SMTP gateway using the bob@company.com account and credentials. Is it possible to configure sendmail to do this?

View 1 Replies View Related

Server :: Sendmail Not Forwarding Email To Domain's SMTP?

Apr 9, 2010

I have a server "test1" in domain [URL]. I installed sendmail on it. I have another mail server "mailsrv" installed in [URL] which is my primary mail server and contains all accounts and mailboxes. Now when I send email to [URL] from [URL] it sends successfully. But when I try to mail to user1@abc.com it tries to search user1 in [URL] but I want it to forward this mail to mailsrv.abc.com over SMTP port. Delivery will then be taken care by [URL]

My log shows following

Code:
Apr 9 18:37:06 test1 sendmail[7512]: o39Db6Hs007512: to=user1@abc.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30047, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o39Db6Il007513 Message accepted for delivery) It should not go to relay=[127.0.0.1], it should go to relay=[10.10.10.1]

View 4 Replies View Related

Server :: Can Restrict Sender And Receivers Email In Sendmail?

Dec 4, 2010

i have installed redhat 5.3 and install sendmail on it.it is working perfectly fine.my question is|:

(1) can i restrict the sender and receivers email in sendmail?eg. i want to do that i want to allow only particular email addresses to send and receive and all other will be discarded
(2) i made aliases for all user but it only receives received mail copy i want both sent and receive mail copy in aliases.

View 1 Replies View Related







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