Results 1 to 5 of 5

Thread: ssmtp alias

  1. #1
    Join Date
    Dec 2010
    Beans
    47

    ssmtp alias

    I have setup ssmtp using https://help.ubuntu.com/community/EmailAlerts and I can send email on the command line if I specify a recipient.

    I can not alias my local user to my Gmail account so that I get email from cron or at jobs. The mail goes to my local user id 'robf' @gmail.com. Since this is an invalid Gmail address I get a bounce back message.

    I'm seeing this in /var/log/mail.log
    Feb 21 11:57:00 ubuntu sSMTP[497004]: Unable to set robf="account@gmail.com"

  2. #2
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: ssmtp alias

    Your /etc/ssmtp/revaliases should contain something like
    Code:
    robf:account@gmail.com:smtp.gmail.com:587

  3. #3
    Join Date
    Dec 2010
    Beans
    47

    Re: ssmtp alias

    That is exactly what I have in my revaliases file. Any other suggestions? Much appreciate any help.

    Code:
    [robf@ubuntu] ~ $ sudo cat /etc/ssmtp/revaliases
    # sSMTP aliases
    #
    # Format:       local_account:outgoing_address:mailhub
    #
    # Example: root:your_login@your.domain:mailhub.your.domain[:port]
    # where [:port] is an optional port number that defaults to 25.
    #
    #root:account@gmail.com:smtp.gmail.com:587
    robf:account@gmail.com:smtp.gmail.com:587

  4. #4
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: ssmtp alias

    Use another MTA I guess? Like dma. ssmtp is a nice little MTA, but it was last updated 2009.

  5. #5
    Join Date
    Dec 2010
    Beans
    47

    Re: ssmtp alias

    Thanks for the info. I installed msmtp, it works, but is kinda slow with GMail. I'll give dma a try.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •