Ubuntu :: Get Postfix To Receive Mail From One Address And Pipe It To A PHP File?
Oct 7, 2010
Im running Ubuntu server 10.04 lts
Im trying to get postfix to receive mail from one address and pipe it to a PHP file for a help desk software called Trellis Desk.
They recommended that I use Cpanel but its not free and my boss is not willing to pay for it. I need a free solution.
I know my way around Linux but Im no professional
View 1 Replies
ADVERTISEMENT
Jun 30, 2011
I set up my mail server using the guide here: [URL] I am able to receive mail, I can send mail locally, but I can't send to external addresses. This is in my mail.log: Quote: Jun 30 14:40:43 Server postfix/smtp[10725]: 2FD9322015BF: to=<myemail@gmail.com>, relay=none, delay=1634, delays=1484/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.65.27]:25: Connection timed out)
This is my main.cf:
[Code]...
View 6 Replies
View Related
Mar 10, 2011
I do not know why I could send email outside but not receive. I use relay to my ISP that port 25 is blocked by my ISP. What can I doing with configuration when it should be works to receive mail? Okay, I have sent a test e-mail between localhost and it works. I can send from mailserver to my gmail without problem. So why I cannot receive email from gmail?
View 2 Replies
View Related
Dec 3, 2010
I've set up both Postfix and Dovecot on my server. I can currently send mail via Outlook to Postfix over Port 587 (rather than Port 25), and receive mail from Dovecot on Outlook. However, the only mails I am able to receive are those originated from within the server itself. If I attempt to send an e-mail to the address my Outlook listens to, the mail will never reach my Outlook. In other words, no one on the Internet is able to send mail to me.
Can someone tell me:
1) If setting Postfix to listen over Port 587 for my Outlook to send mail outwards is preventing me to have Postfix to listen to mails coming from the Internet? Would I have to turn on both Ports 25 and 587 in /etc/postfix/master.cf?
2) I have configured my Postfix to use saslauthd by authenticating those who are on /etc/passwd. This means I can enter my Linux account details into Outlook in order to connect and download messages. However, does this mean other MTA servers on the Internet who doesn't know my account details are unable to authenticate with my Postfix server and send mails to it?
View 9 Replies
View Related
Jun 26, 2010
I am using postfix in conjunction with the ispCP Control Panel. Here's some of the recent entries in maillog, when I try to send an email from my gmail address to an email address on this server (I underlined the email addresses).
Code:
2010-06-26T17:57:43.581654-04:00 li136-183 postfix/smtpd[30721]: fatal: No server certs available. TLS can't be enabled
2010-06-26T17:57:43.838633-04:00 li136-183 postfix/smtpd[30710]: warning: connect to 127.0.0.1:12525: Connection refused
2010-06-26T17:57:43.838677-04:00 li136-183 postfix/smtpd[30710]: warning: problem talking to server 127.0.0.1:12525: Connection refused .....
View 3 Replies
View Related
Oct 29, 2010
Alright guys, I've looked over every thread regarding this issue on this forum, and many others; yet I cannot find out why my mail is being bounced without error from my external gmail account.From what I've seen, you guys need to start off by seeing my postconf -n
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
[code]...
View 9 Replies
View Related
Apr 18, 2011
nstalled Postfix + Dovecot + Roundcube on a plain CentOS 5.5 box, let say on "site.com".I cant send or receive emails. When I try to telnet from both localhost and from the outside world, it can not reach the mail server.Testing itself on port 25:
Code:
[root@srv-estudio:~]telnet mail.site.com 25
Trying 200.40.xx.xx..
[code]...
View 4 Replies
View Related
Apr 28, 2010
I want to connect OpenVPN to office network. I receive mail where is openswan configuration file, but I want to OpenVPN
conn CONNECTION-NAME
disablearrivalcheck=no
type=tunnel
left=IP MY SERVER
right=IP OFFICE SERVER
rightsubnet=LOCAL IP SERVER IN OFFICE/32
[Code]....
View 1 Replies
View Related
Mar 20, 2011
I've setup my server by following a ton of goods, and it seems to work ok, but I need to start using my server for email in order to receive orders placed via my website. I've followed this guide - [URL] I followed the steps above, and tested the mail server via telnet, and all seemed to be ok. I tried sending an email via Squirrelmail, from cs@thinclientwarehouse.co.uk TO my working email simon@c1systems.co.uk, but the server returned with the following message:
<simon@c1systems.co.uk>: host mail.c1systems.co.uk[95.128.128.129] said: 550-Verification failed for <cs@localhost.thinclientwarehouse.co.uk> 550-The mail server could not deliver mail to cs@localhost.thinclientwarehouse.co.uk. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command)
View 14 Replies
View Related
Apr 22, 2010
i basically had this system installed for our mail system.The setup is as follows:
1. Operating system installed is Debian ver. 5.0.3
2. Roundcube is installed as a webmail(if its right for me to say that)
3. The server is hosted right here at our offices
4.The server uses relay system to send mail i.e. relays all our mails to our ISP
That all i can say about the configurations becuase thats as much as i understand it.The problem now is that we are not able to send or recieve emails from both internal and external.I tried to send mail to a collegue in the office who is on our local LAN,Roundcube says sent successfully but the person does not recieve the mail.i tried to send to my yahoo address but nothing.I dont know where these mails have been trapped.
View 5 Replies
View Related
Feb 25, 2011
I have configured fetchmail, sendmail/postfix and mutt to act as a relay to receive mail. I can receive mail fine but I cannot send mail. Its working fine on my one box but on the one acting as a nat I am having issues. This is my mail log from the nat box.
Feb 25 03:42:25 TrunkmonkeyNat sendmail[4382]: p1P8gPfd004382: from=root, size=52, class=0, nrcpts=1, msgid=<201102250842.p1P8gPfd004382@localhost.localdomain>, relay=root@localhost
Feb 25 03:42:25 TrunkmonkeyNat sendmail[4383]: p1P8gPgn004383: from=<root@localhost.localdomain>, size=353, class=0, nrcpts=1, msgid=<201102250842.p1P8gPfd004382@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
[Code]....
View 116 Replies
View Related
Oct 4, 2010
so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens
View 7 Replies
View Related
Mar 11, 2010
Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"
-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...
make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:
[Code]....
View 1 Replies
View Related
Jan 12, 2011
The scenario: We have an external server that runs HTTP/DB servers for out shop system. Then, there's our local, in-house infrastructure that runs a.. yeah... Exchange 2010. The shop system on the external server needs to send mails to customers (order confirmations, invoices, etc.). seing as sending them directly through the local MTA (Postfix) would cause mail delivery problems because of reverse DNS issues, i've set the Postfix MTA to act as a satellite to our in-house Exchange Server, so the Exchange sends the mail instead, giving recipient mail servers a valid reverse DNS lookup.
Now, mails sent by the (proprietary, uneditable) shop system are relayed correctly and sent to the target e-mail address. My problem is: Mails not sent by the shop system, but by our own PHP scripts which run on that same external servers, are NOT relayed properly. So the Exchange is fine with the mails sent by the shop system, but not the mails sent by our scripts. This is what i get in the mail.log: The successfully relayed mail sent by the shop system:
[Code]....
View 2 Replies
View Related
Jul 27, 2010
I have setup a postfix mailserver and it seems to be working ok, we are only using this to relay mail to our forum users. Its not being used to recieve any email only send them out to the internet.
What is the difference between the mail.log and mail.info files? Can I turn one or both off? I see alot of messages like...
Just wondering what this string of log entries means? Also I am getting duplicates in the syslog file as well.
View 2 Replies
View Related
Aug 6, 2010
Two exchange servers internally. One is setup for example.com (192.168.1.10) and the other is setup for example2.com (192.168.1.20) Both are behind a single public IP.
I want to use postfix to sit in front of the two exchange servers. Postfix will accept mail for both domains and relay to the appropriate server. I have postfix installed with only defaults at this point.
View 2 Replies
View Related
Nov 19, 2010
I'm running SUSE linux Server version 11. I want to configure mail server with postfix & cyrus-imap. For that, i have read many documents in Internet by i met issues. I'm running DNS in this server & it's ok Now I cannont send mail through command line.
[Code]....
View 9 Replies
View Related
Jul 30, 2010
I have lenny with postfix, countier-imap, squirrelmail installed i can send emails but i can not receive any emails.
View 6 Replies
View Related
May 31, 2010
I'm running a Debian LAMP server and I am adding postfix. The initial config is working and I can send and receive mail both locally and over the WAN. The problem is that I cannot get mail delivered to the user's home directory using Maildir/. I have set the:home_mailbox = Maildir/ parameter in main.cf but mail still goes to /var/mail after Postfix reload. The system is now using Maildir/ instead of mbox but in /var/mail. I really want to get mail into the user's home directory.
View 6 Replies
View Related
Apr 25, 2009
I have configured Postfix on a Ubuntu 8.04 box using this tutorial:I can send emails but I cannot receive any email because of a "bad recipient address syntax:"The log from /var/log/mail.info says this:
Code:
Apr 25 14:46:06 360romania postfix/pickup[31716]: 74A682190661: uid=0 from=<root>
Apr 25 14:46:06 360romania postfix/cleanup[32402]: 74A682190661: message-
[code]...
View 9 Replies
View Related
Sep 27, 2010
I am would like to configure postfix to send and receive email across Ethernet (just for now). I have two machines with postfix installed both using Ubuntu 10.04 directly connected with an ethernet cable. I have successfully configured a machine to send email to gmail, however i have been unsuccessful in having these machines send email back and forth. I have been interested in setting up a little mail server at home and have just been trying some simple projects with postfix to start with. At this moment i am using ip addresses and am not concerned with using a dns server
machine A: has a fixed ip of 10.137.202.1, hostname = mail.me.com,
machine B: has a fixed ip of 10.137.202.20, hostname = mail.ubuntu.com
in the /etc/hosts file I map each hostname to ip address receptively (not sure if a good idea, but at this point I have been trying everything)
So I will execute from Machine B
echo "Here is a message" | mail -s 'Hello' cmd@[10.137.202.1]
I currently get from mail.log timed out while receiving the initial server greeting. I get from mail.err valid hostname or network address required in server description #[10.137.202.1]. Obviously when I run the mail command from cmd user i do not receive anything. I can receive mail from myself if from machine A, I sent an email using the command above. I would just like to send email from machine B and receive it on machine A via direct Ethernet connection. I have been through postfix documentation and have also read the postfix definitive guide and have had no luck.
Here is a recent main.cf as I have tried getting this to work (this is for machine A however, similar for B)
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname .....
View 2 Replies
View Related
Apr 12, 2011
I have a very basic install of dovecot and postfix on the latest version of Ubuntu server. This is an internal only email server with internal only DNS. I can send email via clients and check said emails via the command line when logged in as the appropriate user. I cannot for the life of me check said emails via SquirrelMail on the server nor using IMAP clients. I have no idea where to look and I can't find a basic tutorial for the life of me. Where should I start?
View 9 Replies
View Related
Apr 12, 2010
how I could save all of the mail sendmail processes to a named pipe?
View 5 Replies
View Related
May 6, 2010
My courier server cannot recieve mail.
My freebsd installation has worked for quite some time w/o problems.
I'm using ubuntu as a replacement and have tried using the same settings from my previous server.
I keep getting the following error.
courieresmtpd:
View 1 Replies
View Related
Jan 14, 2010
I have been running an email server on a Red Hat 9 system for 5 years, and wanting to upgrade it to the latest Fedora OS. A few days ago it crashed. The server is running Fedora 11 (up-to-date). Clients are Fedora 11 and Windows XP machines using Thunderbird for accessing email. The server is running Postfix and Dovecot. Within my local network I can send and receive emails. I can also send email to addresses outside of my local network. The only problem is that I cannot receive any email from outside the local network. I cannot think of anything aside from my firewall (iptables) or postfix config that could be causing the problem.
Below are my iptables file, and the postfix main.cf changes that I have made.
Iptables (the same file I was using on Red Hat version 9 with one minor deprecated syntax changed):
*nat
:PREROUTING ACCEPT [22:1894]
:POSTROUTING ACCEPT [14:840]
:OUTPUT ACCEPT [17:1356]
-A POSTROUTING -o eth0 -j MASQUERADE
COMMIT
*filter .....
View 11 Replies
View Related
May 3, 2011
I used this tutorial to setup to setup iSpconfig postfix courier: [URL] but i cannot send or receive email:
[Code]....
Basically when i create users in ISPconfig, something goes wrong, mysql is running and i have postfix-mysql installed and running too.
[Code]...
View 2 Replies
View Related
Jan 9, 2010
I upgraded my home server from openSUSE 10.3 to 11.2. From that day, postfix rejects every email I try to receive by using fetchmail. The main.cf file was unchanged after the upgrade, postfix starts correctly, but it does not accepts emails! The errors I receive are:
Code:
NOQUEUE: reject: RCPT from localhost[::1]: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname; from=<> to=<correctuser@somedomain.com> proto=SMTP helo=
[code]....
View 6 Replies
View Related
May 29, 2010
I was running Ubuntu 9.04, no problems. I did a new installation of 10.04 and could not send or receive mail (Thunderbird). Both would time out. tried two other mail programs to see if Thunderbird was the problem, but they did the same.So I did dual boot installation, with 9.04 and 10.04. The same: mail OK in 9.04 but not in 0.04. So that seemed to eliminate everything as a problem outside of my computer.One night I remembered that ipv6 could be a cause, and toggled it in Thunderbird. It has been an "almost". I can now receive but not send.For example, the bottom bar will say: "Connecting to smtp.edicionescc.com" and after a while time out.I can ping smtp.edicionescc.com with no problem
Jos鼯textarea></p>
<input type='hidden' name='ID[5]' value='74701' />
<input type='hidden' name='URL[5]' value='http://www.linuxquestions.org/questions/linux-
[code]...
View 1 Replies
View Related
Mar 4, 2010
How do I make Ubuntu 8.04 receive an IP address as the machine is booting up, so I can access the machine through SSH without having to log in on the X Session.
View 2 Replies
View Related
Dec 7, 2010
I just set up a new email server on Debian Lenny. It's Postfix for MTA and Dovecot for IMAPS server. I use Dovecot for authentication. I have two UNIX users on the system (except root), one was added before the installation of Postfix and Dovecot. I'm not doing any virtual things, just plain UNIX users and one domain on a dynamic IP. The first user, "webadmin" can send and receive emails just fine through the server from my mail client.
Now I just added a new user, "scarleo", and it turns out I'm unable to send and receive emails with this account. If I log in (SSH) with scarleo I can use bash mail to send emails, works fine. scarleo can also receive emails from webadmin and can connect to Dovecot to read emails. However scarleo cannot send or receive to or from anyone outside the server from my mail client. I have restarted both Postfix and Dovecot after adding the user. Do I have to do something else to make this account work like webadmin's?
A few relevant lines from mail.log: (I've modded my real IP)
Code:
Dec 7 17:44:42 homer dovecot: imap-login: Login: user=<scarleo>, method=PLAIN, rip=96.136.112.229, lip=192.168.0.18, TLS
Dec 7 17:44:42 homer dovecot: imap-login: Login: user=<webadmin>, method=PLAIN, rip=96.136.112.229, lip=192.168.0.18, TLS
Dec 7 17:45:16 homer postfix/smtpd[5915]: connect from bredband.comhem.se[96.136.112.229] .....
View 4 Replies
View Related